Explore the research collection
4 entries · Follow this search
- Paper
PivotOPD: Learning to Recover from Pivotal Mistakes in Multi-Turn Agents
On-policy distillation (OPD) for training language agents with dense teacher supervision on student trajectories. In multi-turn interaction an incorrect action changes the states the student encounters later, so errors compound. Across three Qwen3 models (8B-235B), more than half of failed rollouts contain an early "pivotal mistake" -- an action that moves the agent farther from task completion -- and these are often recoverable: a few guided turns after the pivotal turn can restore task success. PivotOPD jointly trains the student to prevent pivotal mistakes and to recover from the states they create: at each pivotal mistake the teacher provides a gold action plus recovery actions for the next few turns. Preventive distillation uses the gold action with reverse KL to steer the student away from the mistake; recovery distillation uses the recovery actions with forward KL to transfer recovery behaviors the student rarely samples. Strongest average performance vs 13 baselines on ALFWorld, WebShop, and Search-based QA for Qwen3-1.7B and Qwen3-8B students (+5.5% over the strongest baseline on ALFWorld with the 1.7B student); gains transfer to SWE-Bench Verified, raising a Nemotron-3.5 student's resolve rate by +3.2%.
- Paper
TraceML: What Auto-Research Agents Miss in Long-Horizon ML Development
TraceML: a trajectory-level analysis tool for auto-research agents and systematic agent-human comparisons. Reconstructs ML development trajectories (human Kaggle notebook histories; agent git commits and search journals) into a unified schema: every code version labeled with ML-pipeline stages (8 coarse, 136 fine tags) and each edit with action, intent, magnitude, and score effect. Released as the traceml CLI so users can analyze their own agent runs (AIDE, MLEvolve journals, any git workspace). Scale: 4,465 human Kaggle trajectories across 134 competitions (151,088 labeled code versions); paired subset of 430 human + 207 agent trajectories on 7 competitions. Findings: agents collapse into narrow loops -- Codex spends 89% of edits tuning the submission (62nd percentile finish), MLEvolve 63% mutating its model (48th percentile), while top-10% humans mix data work, validation, model changes, and ensembling (97th/92nd percentile finishes); humans pivot on 25% of transitions vs 9% (Codex) / 58% (MLEvolve); top humans return to earlier approaches on 9% of eligible versions (78% end higher), Codex 1 of 658, MLEvolve 0 of 344. A ~1,000-token planning prompt distilled from human practice improved scores in 5 of 7 competitions (2 within noise, none regressed) -- "closes only the instructable part of the gap."
- Paper
LongHarness Bench: Stress-Testing Language Model Harnesses for Long-Context Reasoning
A benchmark evaluating both the effectiveness and efficiency of long-context LM harnesses (RLMs, ReAct, mini-swe-agent-style coding agents). Existing long-context evaluations are saturated across harnesses, so the four hard tasks require strategic/efficient reasoning (multiple valid strategies with very different costs), hard retrieval (both GREP and semantic), and extensive multi-step reasoning. Example: Constraint Solving asks for every person satisfying 5 conditions scattered across documents; checking the most selective condition first narrows candidates far more cheaply than checking every condition. 5 frontier LMs x 4 agentic harnesses: best setup reaches only 68% macro-average accuracy and no single harness leads across all tasks. Clear accuracy gaps, plus >10x efficiency differences even with the same LM and similar accuracy: more compute does not always mean better accuracy. mini-swe-agent is especially strong, reaching the best performance at a cost close to direct inference. Establishes efficiency as an axis for long-context evaluation and provides a testbed for harnesses that process context strategically rather than exhaustively.
- Paper
LibraryDesignBench: can agents design libraries other agents can use?
Agents will soon replace humans as the main users and designers of libraries; a good library lets future agents write correct programs with less code. LibraryDesignBench: one agent designs a library, and three other agents write programs with it. 15 design tasks across four languages, with no prescribed APIs, abstractions, or guidance, to elicit genuine design decisions; programs are scored on correctness and simplicity. Results: agents using libraries designed by Opus 5.5 or Fable 5.1 pass as many tests as with the production human-written library while writing simpler code; with DeepSeek V4 Pro's libraries, agents do worse than with no library at all. Despite full design freedom, agents converged on the same patterns as the human library for 11 of 15 tasks. Most excess code stems from the library's design, not the implementer: rigid interfaces led agents to reimplement functionality (adding bugs), verbose interfaces forced more code. Giving the designer explicit guidance (start from prototypes, test with fresh subagents, more examples) made downstream programs shorter and improved score modestly at roughly twice the design cost. A standalone spin-off benchmark, LibraryUseBench, tests how well a model uses a real library with minimal guidance: Opus 5.5 leads, Sonnet 5.5 close behind, every newer model improves on its predecessor. Supported by DARPA, NSF, PrimeIntellect, and SnorkelAI's Open Benchmark Grant.