Explore the research collection
6 entries · Follow this search
- Paper
Mixture of Self-Improving Branches For Agent Harness Optimization
Harness optimization is a practical setting for recursive self-improvement: agent-generated modifications inform subsequent changes through execution feedback. Meta-Harness implements this via iterative code generation and evaluation, but a fixed development set and fixed proposal policy channel evolution along a single trajectory, risking local optima — and a harness that solves cases the leaders miss yet ranks lower overall gets little chance for further development. Mixture of Self-Improving Branches organizes the improvement process itself into parallel branches, each with evolving development subsets and proposal policies. Every branch starts identical (same seed harnesses, full problem set, same guidance); no one assigns specialties. After each iteration, branches are compared problem by problem: a branch keeps development cases solved by more of its leading harnesses than by other branches' leaders, drops cases solved by every leading harness across all branches, and revises its own proposal policy (the proposer rewrites its own guidance) using its own search history. The whole loop runs on each branch's own data. The branches grow into different experts, and at test time a router sends each new problem to one branch's best harness before execution. Relative improvements over Meta-Harness: +34.8% on Olympiad-level math (46.0% -> 62.0%), +11.6% on Terminal-Bench 2.0 (44.8% -> 50.0%), +3.8% on SWE-bench Lite (63.6% -> 66.0%), with harness selection and router configuration based solely on development data.
- 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.
- Model
Contrastive Language Models (CLM): A System One Model for Fast and Generalizable Decision-Making
CLM (Contrastive Language Model) is a System One decision model: separate state and action encoders trained with bidirectional InfoNCE so each state is pulled toward the ground-truth action and pushed from others; at deploy time candidates are scored by cosine similarity of L2-normalized embeddings and softmaxed into typed answers (Noul/Choice/Score) or ranked for best-of-N. Released CLM-8B uses a frozen Qwen3-8B backbone (hidden 4096, last-token pooling, L2 norm) plus a trainable MLP projection head 4096→1536→1536→512 (GELU+LayerNorm; ~20M params, output dim 512); only the head is trained; LLM embeddings can be precomputed. Full Nemotron DQA pretrain ~1 hour on one RTX 4090. Dual-encoder disaggregation caches state and action embeddings independently (authors contrast with Jev state-only caching). Action-caching example (Super Mario): 4 action embeddings precomputed; per-step cost drops from 5 forwards to 1 (~4×). Zero-shot blog table (CLM vs Jev latency / success): T-Rex 16.5 vs 149.8 ms (5/5 both); BFCL V4 tool calling 76.8 vs 125.5 ms (95.2% vs 99.2%); WikiRacing 79.8 vs 225 ms (26/30 vs 30/30); Super Mario 33.5 vs 132.6 ms (5/5 both) — up to ~9× faster, roughly on-par accuracy. Latency microbench (200-token state, RTX 4090, 15 tok/candidate): at 1024 candidates CLM ~44 ms vs Jev ~579 ms (~13×) vs constrained decoding Qwen3-8B ~4.3 s (~97×); candidate-length sweep (5 cands) CLM stays ~36 ms through 2048 tok while CD goes to 3.4 s and Jev to 333 ms (~9× / ~95×). Agentic verifier (38 DeepSWE / 30 Terminal-Bench 2.1 held-out; Opus 5 / Fable 5 candidates; H100): DeepSWE CLM 81.6% vs Jev 71.1% vs Pass@1 73.7% (79 vs 449 ms, 5.7×); Terminal-Bench 2.1 CLM 87.6% vs Jev 83.1% vs Pass@1 84.0% (32 vs 131 ms, 4.1×) — Jev below Pass@1 on both. Data recipe: pretrain ~60M Nemotron DQA → midtrain ~30M Gemini 2.5 Flash-Lite hard negatives → posttrain ~1M ADP + Endless-Terminals + LiteCoder-Terminal-SFT (40% Nemotron replay / 60% agentic). Hard-neg study (~100K held-out, 1 gold+10 HN): pretrain 52.1% → two-stage 69.2% vs HN-from-scratch peak 62.4%. Replay keeps HN top-1 ~68.5% vs 56.2% agentic-only. Scaling fits (test InfoNCE): L≈(C/7.34e13)^-0.144; (D/2.12e9)^-0.117; (N/3.60e5)^-0.061; (N_enc/4.18e9)^-0.172; optimal head N*∝D^1.02 (~310 tokens/param). Posted 2026-09-23 Notion blog; Jacky Kwok† project lead; Stanford + NVIDIA Research. Roadmap: multimodal CLM-35B early next month; vision; more data/scaling. Contact jackykwok@stanford.edu.
- Paper
Composer 2 Technical Report
Cursor technical report PDF (pdfTeX creation 2026-03-24). Composer 2 is trained in two phases: continued pretraining for coding knowledge, then asynchronous RL for long-horizon multi-step coding in the real Cursor harness (read/edit/shell/grep/semantic search/web). Base selected as Kimi K2.5 (1.04T total / 32B active MoE) after FreshBench/state-tracking/perplexity comparisons vs GLM5 and DeepSeek V3.2. Introduces CursorBench from real engineering sessions. Reports CursorBench accuracy 61.3 (major gain vs prior Composer), Terminal-Bench 61.7, SWE-bench Multilingual 73.7 in their harness; closed weights via Cursor product.
- Post
SWE-1.7: Frontier Intelligence at a Fraction of the Cost
Cognition blog dated 2026-07-08 launching SWE-1.7, described as the most capable model they have trained so far. SWE-1.7 is post-trained from a Kimi K2.7 base that had already undergone extensive RL; Cognition argues additional RL still moved the Pareto frontier. Reported pass rates: FrontierCode 1.1 Main 42.3%, Terminal-Bench 2.1 81.5%, SWE-Bench Multilingual 77.8% (table also lists Kimi K2.7 Code, GPT-5.5, Opus 4.8/4.7, GLM-5.2, Composer 2.5, SWE-1.6). Training notes: entropy/stability work for long async RL, multi-cluster RL across four datacenters on three continents with object-storage weight shipping, a data-quality pipeline with execution tests and anti-reward-hacking hardening, and self-compaction for long-horizon tasks. Served in Devin (Web/Desktop/CLI) via Cerebras at 1000 TPS. No public weights or training corpus on this page.
- Paper
MemoHarness: Agent Harnesses That Learn from Experience
Decomposes the harness into six control surfaces (context, tool, generation, orchestration, memory, output) plus a dual-layer experience bank of per-case diagnoses and distilled global patterns. Training-time search (T=10) starts from a minimal harness with GPT-5.3-Codex; test-time adaptation retrieves similar successes/failures with no labels or extra search. On Terminal-Bench 18-task held-out split, 0.806 vs Codex 0.722 (+0.084); LiveCodeBench 0.900→0.967; FinanceAgent 0.600→0.767. Cross-model mean +0.098 (GLM-5 +0.233). Reported cost $6.89 vs Codex $10.28 because 13.32M of 14.18M input tokens were cached. Authors note the 18-task split, no CIs, and incomplete component ablations.