RRSI:智能体框架的正则化递归自我改进

·

研究论文 · 2026/09/22

LLM 智能体的能力在很大程度上由其 harness(围绕冻结主干模型的提示、控制流、工具、记忆和上下文管理)放大。近期方法通过迭代提出并选择 harness 的组件级编辑来自动化这一过程,实际上在智能体系统层面建立了一种递归自我改进(RSI)。然而,这种递归演化可能通过记忆训练任务而过拟合,表现出较大的分布内增益,但在分布外基准上缩小甚至消失。我们提出 RRSI(Regularized Recursive Self-Improvement of Agent Harnesses),将正则化原则引入 harness 自我改进,通过约束演化候选的提出和选择来实现。提出者采用时间退火预算,限制候选可捆绑的编辑数量,并基于演化历史鼓励未探索的轨迹。选择器配备评论器和修剪器:评论器筛选特定于基准的提案,修剪器移除过小、过于昂贵或不再有用的更改。这些约束共同倾向于可复用的智能体机制,而非特定于基准的机制甚至噪声。在涵盖编码、智能体工作空间和工程设计任务的八个基准上,RRSI 在其演化所针对的划分上获得高达 14.1 分的提升,在五个分布外基准上获得高达 4.7 分的提升,同时产生的 harness 比未正则化演化少用 30% 的策略 token。代码见 https://github.com/google-research/rrsi,项目页见 https://regularized-rsi.com/。

该工作针对智能体 harness 自动演化中的过拟合问题提出正则化方案,在多个基准上显著提升分布外性能并降低 token 消耗,对构建可复用、高效的智能体系统具有参考价值。

An LLM agent's capability is largely magnified by its harness, namely the prompts, control flow, tooling, memory, and context management surrounding the frozen backbone model. Recent methods increasingly automate this process by iteratively proposing and selecting component-wise edits of an agent harness, practically establishing a form of recursive self-improvement (RSI) at the agent-system level. However, such recursive evolution may overfit by memorizing the training tasks, showing large in-distribution gains that shrink or even vanish on out-of-distribution benchmarks. We introduce Regularized Recursive Self-Improvement of Agent Harnesses (RRSI), which incorporates the principles of regularizations into harness self-improvement by constraining the evolution candidate proposal and selection. The proposer operates with a temporally annealed budget, limiting how many edits a candidate can bundle, and it encourages unexplored trajectories based on evolution history. The selector is equipped with a critic and a pruner: the critic screens benchmark-specific proposals, while the pruner, removes changes that are too small, too expensive, or no longer useful. Together these constraints favor reusable agent mechanisms over benchmark-specific ones or even noises. Across eight benchmarks spanning coding, agentic workspace and engineering design tasks, RRSI gains up to 14.1 points on the split it evolves against and up to 4.7 points on the five out-of-distribution benchmarks, while producing a harness that runs on 30% fewer policy tokens than the unregularized evolution. Code is available at https://github.com/google-research/rrsi and project page is https://regularized-rsi.com/.

阅读原文

参与讨论