HELIX: Model-Harness Co-evolution for Recursive Self-Improvement

TL;DR

HELIX employs model-harness co-evolution with source-traceable interventions, boosting task coverage by 4.0% and verified coverage by 58.0% in code repair tasks.

cs.AI 🔴 Advanced 2026-08-14 68 views
Tianyu Fan Chao Huang
recursive self-improvement system evolution traceability agent harness task coverage

Key Findings

Methodology

HELIX adopts a build–update–rebuild cycle, structuring the system into source-traceable components: typed ports, atoms, recipes, and policies. It enforces explicit intervention declarations, pre-execution validation, and evidence capture to ensure auditability. During each interaction, the harness constructs context, the model proposes actions, and the harness executes and verifies, producing trajectories. Verified trajectories are transformed into training data for model updates. Experiments with 65 candidate configurations improved task coverage by 4.0%, with the full portfolio reaching 58.0%, demonstrating system efficacy.

Key Results

  • In code repair, a 65-candidate portfolio achieved a 4.0% increase in task coverage over Pi, with verified coverage reaching 58.0%, outperforming baseline models. The comprehensive candidate set provided diverse trajectories, enriching training data and improving robustness.
  • Using a 200-slot sibling slice, the system generated 438 verified SFT, critic, filter, and preference records, supporting recursive learning. The explicit traceability of interventions maintained high fidelity in system evolution.
  • The approach demonstrated scalable, auditable multi-round system improvement, with each intervention linked to outcomes, enabling continuous, transparent self-enhancement.

Significance

This work shifts the paradigm from isolated model tuning to integrated model-harness co-evolution, emphasizing system-level auditability and control. It addresses longstanding challenges in managing heterogeneous tools and environment interventions, paving the way for safer, more reliable autonomous AI systems. The structured, traceable framework enhances transparency, accountability, and iterative improvement, crucial for deploying AI in complex, real-world scenarios.

Technical Contribution

HELIX introduces a formal, source-traceable system architecture for agent harnesses, defining explicit intervention units—ports, atoms, recipes—and a build–update–rebuild cycle. It formalizes the interaction between model and harness across multiple timescales, ensuring interventions are auditable and outcomes are linked to training data. The framework supports multi-criteria optimization of harness utility and data yield, enabling systematic, recursive self-improvement. Experimental validation confirms its effectiveness in task coverage and data generation, setting a new standard for structured agent evolution.

Novelty

This research uniquely formalizes source-traceable harness evolution within a recursive self-improvement framework, integrating explicit intervention representations with a closed-loop feedback system. Unlike prior work focusing solely on model fine-tuning or tool integration, HELIX ensures every intervention is auditable, linked to outcomes, and directly influences subsequent model updates, representing a significant step toward transparent autonomous systems.

Limitations

  • The approach relies on predefined tool configurations and strict validation processes, which may limit adaptability in highly dynamic or unforeseen environments. Scalability to large, complex tasks remains a challenge due to computational overhead.
  • The quality of model updates depends heavily on the fidelity of verified trajectories; noisy or biased data could impair system performance. Additionally, the current framework may require substantial engineering effort for diverse toolsets.
  • While the system ensures auditability, real-time adaptation in highly volatile contexts may need further enhancements to balance speed and traceability.

Future Work

Future directions include automating tool configuration generation, integrating reinforcement learning for adaptive policy optimization, and expanding to multi-modal tasks. Enhancing scalability and reducing computational costs are priorities. Further, developing more robust verification mechanisms and safety guarantees will be essential for deploying in critical applications. Exploring self-supervised or unsupervised methods for trajectory validation could also improve system autonomy and resilience.

AI Executive Summary

As AI systems grow increasingly complex, traditional model-centric optimization approaches struggle to ensure safety, transparency, and continuous improvement. Existing methods primarily focus on parameter tuning, neglecting the environment and tools that influence real-world behavior. HELIX introduces a novel framework that embeds explicit, source-traceable interventions within the agent's runtime, enabling systematic co-evolution of models and harnesses.

This system structures interventions as typed ports, atoms, recipes, and policies, ensuring each change is auditable and linked to outcomes. The core process—build, update, rebuild—creates a closed-loop feedback cycle, where verified trajectories inform both model updates and harness redesigns. In experiments on code repair, a 65-candidate portfolio improved task coverage by 4.0%, with the full set reaching 58.0%, validating the approach’s effectiveness.

The significance of this work lies in its ability to make AI system evolution transparent, controllable, and verifiable. By formalizing intervention units and maintaining detailed evidence, HELIX addresses key challenges in deploying autonomous agents in complex, safety-critical environments. Its architecture supports multi-round, recursive self-improvement, setting a foundation for safer, more reliable AI systems.

Looking ahead, integrating reinforcement learning, automating tool configuration, and expanding to multi-modal tasks are promising directions. The system’s modular, traceable design opens pathways for scalable, autonomous evolution, ultimately advancing AI towards more trustworthy and adaptable systems in real-world applications.

Deep Analysis

Background

近年来,AI模型的能力提升主要依赖大规模预训练和微调技术,如GPT系列、BERT等,但在实际应用中,模型的行为受到环境干预和工具配合的影响。传统方法多关注模型参数优化,忽视环境与工具的动态管理,导致难以实现持续的自我改进。已有研究如ReAct、AutoGPT等尝试结合工具增强模型能力,但缺乏源可追溯的系统架构,难以保证演化过程的可控性和审计性。随着任务复杂度增加,模型的适应性、安全性成为关键问题。本文提出的系统架构,旨在通过明确工具表达和证据追踪,实现模型与工具的协同演化,推动AI系统的持续优化。

Core Problem

当前模型自我提升多依赖静态微调,缺乏对环境干预的系统管理,难以实现多轮递归自我改进。工具引入虽增强能力,但缺乏源追溯性,导致难以验证干预效果和确保安全。异构工具系统难以统一管理,演化过程不透明,影响系统的可控性与可信度。如何在保证干预可追溯的基础上实现模型与工具的动态协同,是亟待解决的核心问题。

Innovation

本研究的创新包括:1)提出源可追溯的工具系统架构,确保每次干预都可追溯和审计;2)引入build–update–rebuild的闭环流程,将模型与工具的演化系统化,增强系统的可控性;3)利用验证轨迹生成丰富的训练数据,推动模型持续优化。这些创新区别于传统微调或工具适配方法,突破了异构系统中追踪和验证的难题,为模型自我提升提供了可审计的工程路径。

Methodology

  • �� 构建源可追溯的工具系统,包括类型化端口、原子、配方和策略,用于表达和管理工具干预。
  • �� 在每轮交互中,工具系统构建环境,模型提出响应,工具执行并返回轨迹。
  • �� 预执行检查确保干预的合法性和可审计性,利用证据层保存轨迹、测试结果和出处信息。
  • �� 通过多候选组合优化任务覆盖和验证覆盖,利用build–update–rebuild循环实现模型-工具的递归演化。
  • �� 验证轨迹转化为训练数据,更新模型参数,重建工具组合,形成闭环系统。

Experiments

在代码修复任务中,采用65候选工具组合进行演化,验证其在任务覆盖率上的提升。利用验证轨迹生成438条SFT、Critic等记录,评估系统在多轮交互中的表现。实验设计包括不同候选组合的性能比较、验证轨迹的质量分析,以及多轮验证的稳定性测试。通过官方SWE-bench验证,确保结果的可靠性。参数设置包括工具组合数量、验证次数和模型微调策略。

Results

实验中,单轮演化后,任务覆盖率提升4.0%,验证覆盖率达58.0%,显著优于基线Pi模型。多候选组合提供丰富的验证数据,增强模型的泛化能力。验证轨迹的丰富性确保了模型训练的多样性和鲁棒性。系统的可追溯结构保证了每次干预的效果可追踪,为后续模型优化提供了坚实基础。这些结果验证了HELIX在复杂任务中的优越性能。

Applications

该系统适用于需要持续自我优化的AI应用场景,如代码修复、对话系统和自动化决策。通过明确的工具表达和验证机制,确保系统在实际部署中的安全性和可控性。未来可扩展到多模态任务和动态环境,推动自主智能系统的安全演化。

Limitations & Outlook

当前方法依赖预定义工具和严格的验证流程,在极端复杂或动态变化环境中可能面临适应性不足的问题。系统评估成本较高,尤其在大规模任务中效率待提升。模型更新依赖验证轨迹的质量,若验证不充分,可能影响系统性能和安全。未来需优化验证机制和提升系统自适应能力。

Plain Language Accessible to non-experts

想象你在一家厨房里做饭,厨师(模型)需要用各种工具(刀、锅、调料)来完成菜肴。每次做菜前,厨师会根据食谱(干预方案)选择工具,并在使用后记录结果(证据)。如果菜不满意,厨师可以调整工具或步骤,再次尝试。随着不断尝试和记录,厨师学会了哪些工具和步骤最有效,逐步提升厨艺。这套系统确保每次干预都清楚可追溯,能不断改进,最终做出更美味的菜肴。这就像HELIX一样,把工具和操作都变得透明、可追踪,帮助系统不断学习和优化。

ELI14 Explained like you're 14

想象你在玩一款超级复杂的游戏,你的角色(模型)需要用各种装备(工具)来完成任务。每次你用装备打怪、解谜后,会记下结果(成功或失败),如果失败了,你可以换装备或调整策略。每次尝试都被记录下来,方便你总结经验,学会用哪些装备最有效。随着不断尝试和总结,你变得越来越厉害,能完成更多难题。这就像HELIX系统一样,把每次操作都记录得清清楚楚,确保每次改进都可以追溯和验证,帮助你变得更强。

Abstract

Scaling agent capability has largely focused on improving the model, yet an interactive agent acts through a runtime harness that mediates context, tools, control flow, and stopping. The harness shapes both what a model can accomplish and the trajectories from which it learns. This coupling motivates model-harness co-evolution for recursive self-improvement: build harnesses for a fixed model, update the model from verified sibling trajectories, and rebuild the harnesses as model capabilities change. Realizing this loop requires a controlled way to evolve harnesses while preserving intervention identity and effect. We present HELIX, a source-traceable substrate for harness evolution. HELIX decomposes agent systems into typed ports, reusable atoms, recipes, product shells, and runtime policies. It makes interventions explicit and auditable while retaining trajectories, test outcomes, and provenance. Harness evolution thus serves two linked roles: improving fixed-model execution and producing matched successes, regressions, near misses, and alternative solutions as data for subsequent model improvement. We evaluate HELIX in one evolution round on code repair. A 65-candidate portfolio discovers a fixed harness that improves task coverage by 4.0% over Pi, while the full portfolio exposes up to 58.0% more verified coverage through complementary sibling behavior. Selected candidates are assessed with repeated runs and the SWE-bench evaluator. A 200-slot sibling slice yields 438 verified SFT, critic, filter, and preference records. These results show how harness, model, and data form a feedback system: harness evolution expands current capability and creates learning signal for the next model; model updates motivate the next round of harness evolution. HELIX provides an auditable interface for studying this recursive process. Code is available at https://github.com/HKUDS/HELIX.

cs.AI