跳到正文
原文
MarkTechPost(RSS)· Asif Razzaq·· 3 小时前AI 评分58

Google Research 开源 RRSI:智能体在模型权重冻结下自我改进 harness 并避免过拟合

Google Research Open-Sources RRSI: AI Agents That Improve Their Own Harness Without Overfitting

AI 导读

Google Cloud AI Research 联合 UNC-Chapel Hill、Stanford 和圣路易斯华盛顿大学发布 RRSI(Regularized Recursive Self-Improvement),让 LLM 智能体在不改动模型权重的情况下改写自身 harness 的提示词、工具、记忆、控制流和子智能体。

正文

Google Cloud AI Research, with UNC-Chapel Hill, Stanford and Washington University in St. Louis, has released RRSI (Regularized Recursive Self-Improvement). It lets an LLM agent rewrite its own harness: prompts, tools, memory, control flow and sub-agents. Model weights never change. RRSI constrains the improvement loop itself, so gains hold on benchmarks the agent never optimized against.

Deployable? Yes, as a research framework. The code is Apache 2.0, needs Python 3.10+, and accepts any LiteLLM model string. Defaults assume Claude Opus 4.8 on Vertex AI.

Why Self-Improving Harnesses Overfit

Harness evolution loops propose edits, score them on a fixed evolve set and keep the winner. The same tasks are reused every round, so the loop can memorize them. The RRSI research names 3 failure modes: benchmark-specific fitting, noise chasing and complexity accumulation. Each one widens the gap between evolve-set scores and real transfer.

How RRSI Works

RRSI keeps every harness component editable. It regularizes how the search moves instead.

Proposal side

  • Annealed edit budget: a cosine schedule lets early rounds bundle several edits. Late rounds allow a single attributable change.
  • Evidence-aware credit: each candidate is logged with its component, hypothesis, diff, score change and cost change. The proposer reads this ledger, so falsified ideas are not retried.
  • Structured exploration: when progress stalls inside the noise band, budget shifts to components the run never touched.

Selection side

  • Leakage critic: rejects task names, entities, answers or benchmark-specific logic before any scoring.
  • Noise-adjusted floor: gains must clear the variance measured on the unchanged base harness.
  • Cost rule: extra inference tokens must be paid for by measured gain.
  • Pruning: components that stop producing gains become deletion targets.

The research team frame these as analogies to classic regularizers. The edit budget maps to L0, pruning to Lasso (L1) and the cost rule to Ridge (L2).

Results Across 8 Benchmarks

All 6 held-out splits improved. With Gemini 3.5 Flash as the policy, Terminal-Bench 2.1 rose from 64.6 to 78.7. SWE-bench Verified rose from 76.8 to 79.0.

The harness is also lighter. On the agentic workspace instance, RRSI uses 2.42M policy tokens per trial. Unregularized evolution uses 3.80M. The abstract reports this as 30% fewer; the project page says 36%.

RRSI vs Closest Competitors

Scores come from Table 1 of the RRSI research paper. All methods share the same starting harness, policy, evolve split and candidate budget.

FeatureRRSIMeta-HarnessAHETTHEHarnessX
Core ideaRegularized proposal and selectionAgentic proposer over code, scores and traces of all prior candidatesObservability-driven loop; edits paired with verified predictionsEvolves harness during test time, no gold labelsModular typed primitives, trace-driven adaptation
Model weightsFrozenFrozenFrozenFrozenFrozen
Cost rule and pruningYesNo*No*No*No*
Harvey LAB evolve score90.593.090.791.191.8
OOD average (H0 = 39.7)43.640.639.238.039.7

*Per the RRSI research team. OOD average is the mean of JobBench, GDPval and APEX-Agents, computed from Table 1.

Meta-Harness leads on the Harvey LAB evolve split. RRSI has the smallest evolve gain but the only OOD average more than 1 point above H0.

Interactive Explainer

How RRSI Regularizes Agent Self-Improvement

The model stays frozen. The harness (prompts, tools, memory, control flow) evolves, but every edit must pass the regularizers.

Pick a candidate edit, then press Run. Watch where RRSI stops it.

ProposerReads full edit ledger, shrinking edit budget

Leakage criticScreens diff before scoring

EvaluateRun on evolve set

GateNoise floor + cost rule

Harness Ht+1Accepted, then pruning check

Candidates are illustrative. The rules they hit are the ones described in the RRSI paper.

// edit ledger: component | hypothesis | Δscore | Δcost | verdict

bt = ⌈ bmin + (bmax − bmin) · ½(1 + cos(πt / T)) ⌉

round 0round T−1

Cosine schedule from the paper (Eq. 4). Slider values are for exploration; the paper lists its own settings in Appendix D.

?Noise-adjusted floor: score must not drop more than δ below the best so far

?Clear gain: ΔS > δ, otherwise the paper’s within-band rule applies

?Cost rule: ΔC ≤ β0 + β1ΔS

…

Illustrative thresholds (β0 fixed at 5% here). In RRSI, δ is estimated on the unchanged base harness and β values are tuned on the evolve set, then frozen.

Data: RRSI paper · GitHub · project pageBuilt by Marktechpost

Getting Started

Copy CodeCopiedUse a different Browser

git clone https://github.com/google-research/rrsi.git && cd rrsi
pip install -e ".[dev]"
python3 rrsi.py --domain coding baseline
python3 rrsi.py --domain coding run

Each round drafts 2 candidates in separate git worktrees, screens them, evaluates both and fast-forwards the branch to the winner. The coding instance also needs Docker and harbor. New domains plug in through a single adapter module.

Key Takeaways

  • RRSI evolves prompts, tools, memory and workflows while model weights stay frozen.
  • A leakage critic, noise floor, cost rule and pruning decide which edits stick.
  • Terminal-Bench 2.1 rose from 74.2% to 80.2% with Claude Opus 4.8.
  • SWE-bench Verified, never used for selection, rose from 82.0% to 83.8%.
  • Apache 2.0 code on GitHub; research-grade, not an official Google product.

Check out the Paper, Codes and Technical details. All credit goes to the researcher of this project. Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.

Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.? Connect with us

The post Google Research Open-Sources RRSI: AI Agents That Improve Their Own Harness Without Overfitting appeared first on MarkTechPost.

来源:MarkTechPost(RSS) · marktechpost.com