自进化智能体框架

·

研究论文 · 2026/10/16

Harness自我进化在保持模型权重不变的情况下,修改智能体的软件脚手架,包括提示、记忆、工作流和可执行组件。我们形式化了一个反馈驱动过程,其中被接受的修订在多次运行中持续存在。该框架将更新目标与提议和准入机制分离。它区分了对解释状态的更改与对工具和代码、仓库级控制逻辑以及插件组合的修订。我们通过进化优化来刻画搜索,并通过持续PAC学习检验其可靠性。在明确假设下,分析得出了期望泛化界、基于历史回归预算的保留界,以及使用新鲜独立验证数据的高概率准入规则。我们考察了持久性harness修订如何影响知识共享和组织工作流,并对科学可靠性、物理安全和机构问责产生影响。先前工作的案例说明了模型-harness协同设计、分布式执行和插件重用。可靠部署需要随着任务分布和评估器的变化进行持续验证,并为学习、运行时权限和后果性行动提供独立保障。我们在https://github.com/zgcagi/Harness-RSI提供了关于Harness RSI的相关工作、理论、算法、评估、应用及更广泛影响的全面66页讨论,以及持续更新的代码和补充材料。

该工作为智能体脚手架的自我进化提供了形式化框架和理论保证,并深入探讨了其广泛影响,对构建可靠、可问责的自我改进智能体系统具有重要参考价值。

Harness self-evolution revises an agent's software scaffolding, including prompts, memory, workflows, and executable components, while keeping model weights fixed. We formalize a feedback-driven process in which accepted revisions persist across runs. The framework separates update targets from proposal and admission mechanisms. It distinguishes changes to interpreted state from revisions to tools and code, repository-level control logic, and plugin composition. We characterize search through evolutionary optimization and examine its reliability through continual PAC-learning. Under explicit assumptions, the analysis yields an expected generalization bound, a retention bound conditional on historical regression budgets, and a high-probability admission rule using fresh, independent validation data. We examine how persistent harness revisions affect knowledge sharing and organizational workflows, with implications for scientific reliability, physical safety, and institutional accountability. Cases from prior work illustrate model--harness co-design, distributed execution, and plugin reuse. Reliable deployment requires continual validation as task distributions and evaluators change, with independent safeguards for learning, runtime privileges, and consequential actions. We provide a comprehensive 66-page discussion of related work, theory, algorithms, evaluation, applications, and the broader impact of Harness RSI, together with continuously updated code and supplementary materials, at https://github.com/zgcagi/Harness-RSI.

阅读原文

参与讨论