Explore the research collection
5 entries · Follow this search
- Paper
AutoCompact: Learning When to Compact Context in Long-Horizon Coding Agents
Trains long-horizon coding agents to proactively decide when to compact their own context — a form of model-harness co-design: the harness provides the compaction mechanism, the model learns when to invoke it, what working state to preserve, and how to continue afterward. Data collection: run the base agent on coding tasks, use a judge to review its compaction decisions, summaries, and post-compaction actions; flawed outputs are replaced with corrected ones before environment execution so trajectories continue from corrected decisions. These trajectories feed supervised fine-tuning, then joint RL optimizes coding and compaction with task-success rewards. Absolute gains: +9.2 points on SWE-bench Verified, +5.0 on SWE-PolyBench Verified. Improvements hold across all inference budgets — including with a 256K context window that never overflows (so learned compaction helps even when context space isn't the limit) and with a 16K window whose overflow triggers fallback compaction. Latest in the AutoHarness → AutoContext → AutoCompact trend of moving harness responsibilities into the model itself; related to Meta's Context Language Models paper. Open questions: scaling, robustness across harnesses, combining rule-based compaction packaged in harnesses with model-invoked proactive compaction.
- Paper
Shockingly Simple Self-retrospection Improves Agentic Models Without RL
Proposes Retrospection-Only Fine-Tuning (ROFT): post-train agentic models using only the agent's own self-generated explanations, with no external teacher and no reward-based policy update.
- Paper
An Empirical Study of Harness Design for Coding Agents
UMass Amherst / Zoom / Emory / UNC Charlotte (Fan & Zhang equal contrib.; Zoom internships; arXiv 2609.20804v1) fix a lightweight coding harness and vary planning, action space, and context management while holding the execution loop fixed. Across four models on SWE-Bench Verified and Terminal-Bench 2.1 they evaluate 176 matched settings (five CM strategies × 32k–128k windows plus planning-off and bash-only ablations). Context management gains grow as budgets tighten, mostly by preventing overflow; staging rule-based elision before LLM summarization is the strongest efficiency tradeoff, while recoverable elision adds unused machinery. Planning shifts from an accuracy scaffold for weaker models to a cost saver for stronger ones. Predefined tools help bash-weak models; bash-capable models often do fine (cheaper) with bash-only, especially on CLI tasks.
- Paper
RRSI: Regularized Recursive Self-Improvement of Agent Harnesses
RRSI regularizes BOTH proposal (annealed L0-style edit budget, evidence-aware credit, structured exploration on stall) AND selection (leakage critic, noise-adjusted floor, Ridge-style cost-aware acceptance, L1-style structural pruning) while keeping the harness fully editable. Evaluated on 8 benchmarks across 3 domains. Key numbers: up to +14.1 evolve (Gemini 3.5 Flash on Terminal-Bench 64.6→78.7); up to +4.7 OOD; ~30% fewer policy tokens than unregularized evolution. Claude Opus 4.8 frozen policy main; SWE-bench Verified 82.0→83.8 OOD; Harvey LAB evolve 90.5, OOD avg JobBench/GDPval/APEX 43.6 vs H0 39.7; ablation removing regularizers raises evolve but hurts OOD. Baselines: Meta-Harness, AHE, TTHE, HarnessX. Code MIT-style at google-research/rrsi.
- Paper
daVinci-Env: Open SWE Environment Synthesis at Scale
OpenSWE releases 45,320 executable Docker environments over 12.8k repos with open Dockerfiles/eval scripts/infra, plus difficulty-aware filtering yielding ~13k curated trajectories from ~9k quality environments (~$1.47M total spend). OpenSWE-32B/72B reach 62.4%/66.0% on SWE-bench Verified (SOTA among Qwen2.5 SFT methods) and show OOD gains on math/science without factual-recall loss.