Explore the research collection
9 entries · Follow this search
- Paper
Cross-Benchmark Transfer from RL on Agentic Coding Tasks
Post-trains Kimi K2.7 Code (1T params, 32B active, open-weight MoE) with RL alone on 1,700 expert-built agentic coding tasks: 1,000 repository tasks graded by hidden fail-to-pass + pass-to-pass tests of existing behavior, 700 terminal tasks graded by expert-written hidden verifiers. Reward = fraction of target checks passed, zeroed if any pass-to-pass test fails. One epoch of GSPO on a rank-32 LoRA adapter raises pass@1 on all six external benchmarks across three agent harnesses: SWE-Bench Pro 60.1->64.8, DeepSWE 31.0->43.4, Terminal-Bench 2.1 67.4->82.0, Terminal-Bench 3 1.4->12.1, Terminal-Bench 4 0.0->7.6, SWE-Marathon 5.0->25.0. Gains statistically significant (p<0.001 pooled; p=0.004 on sets released after training data collection), hold under harnesses never used in training, and median agent trajectories are 24-35% shorter. Evidence that RL-taught agentic coding skills (avoiding dropped requirements, shallow testing, behavior breakage, unchecked assumptions) transfer beyond the training distribution.
- 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
Huxley-Gödel Machine: Human-Level Coding Agent Development by an Approximation of the Optimal Self-Improving Machine
Identifies a Metaproductivity–Performance Mismatch: high SWE scores need not predict productive descendants. Clade-metaproductivity (CMP) aggregates descendant outcomes; under coding-agent assumptions a CMP oracle implements a Gödel Machine (Theorem 1). HGM estimates CMP and Thompson-samples expansion vs evaluation asynchronously. SWE-Verified-60: 56.7% vs DGM 53.3 / SICA 50.0 with 2.38× fewer CPU-hours (517 vs 1231). Full SWE-Verified 61.4% (GPT-5-mini). Agent transfers to SWE-Lite+GPT-5 at 57%, matching the best officially checked human-engineered agents. Code https://github.com/metauto-ai/HGM.
- Paper
GLM-5: from Vibe Coding to Agentic Engineering
GLM-5 is a 744B MoE (40B active, 256 experts, 80 layers) trained on 28.5T tokens with MLA then DSA continued pretrain and 200K context. Post-train is sequential Reasoning/Agentic/General RL on slime async infra plus on-policy cross-stage distillation; 10k+ verifiable SWE envs across 9 languages. SWE-bench Verified 77.8, Terminal-Bench 2.0 56.2 (61.1 on verified), BrowseComp 62.0 / 75.9 with context management, Vending-Bench 2 $4,432; Artificial Analysis Intelligence Index v4.0 score 50 (first open-weights). Code/models https://github.com/zai-org/GLM-5.
- Benchmark
ProgramBench: write-a-program-from-scratch SWE-agent benchmark; Muse Spark 1.3 results
ProgramBench: a SWE-agent benchmark where an agent must write a whole program (sqlite, ffmpeg, php, cmatrix, ngrrram, ...) from scratch. Meta Muse Spark 1.3 ranks #2 (max tier) and #3 (xhigh tier) overall on the leaderboard. Full solves by 1.3 max: 5 programs entirely -- cmatrix, eureka, ngrrram*, nomino*, wrapcheck* (* = first time any LM has solved them). ngrrram (a TUI typing trainer): the agent typed lessons into the original and captured the screen frame by frame, then recreated layouts/scoring/UI; remaining misses are small details. Progress 1.1 -> 1.3 (both xhigh): avg test pass rate 47.0% -> 68.6%; almost resolved (>=95%): 8 -> 33 programs; fully resolved: 0 -> 2; 39% fewer tokens across the benchmark. Cost: Muse Spark max averages $6.46/task -- roughly the same as GPT-5.6 Sol xhigh at $6.08, but fully resolves 5 programs vs 2 and gets >=95% on 50 vs 31; Opus 5 reaches 9 solved at $50.53/task (~8x more). Trajectories, final codebases, and test pass/fail breakdowns open-sourced; submissions open to anyone. More models coming soon (6 astra, 5.5 opus noted).
- Paper
ProgramDistill: From Interactive Web Apps to Verifiable Reference-Guided SWE Tasks
ProgramDistill (KAIST/Microsoft) is a benchmark and pipeline that turns working web apps into verifiable coding tasks: it mines 1,975 replay-verified behaviors from 26 live apps and constructs 4,063 tasks with no human labeling, asking coding agents to infer missing behavior from a live reference and reimplement it. GPT-6 Astra leads at 49.2% on full-application reconstruction; the associated dataset is public on Hugging Face.
- 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
Hawkeye: Hardware-Aware GPU Kernel Optimization with Minimal Supervision
HAWKEYE provides ~10 expert unit tests per architecture (one per recurring optimization strategy) so coding agents can stack hardware-specific optimizations across Ampere/Hopper/Blackwell/MI350 and low precisions (BF16, FP8, NVFP4, MXFP4), approaching or surpassing expert PyTorch/Triton. No numeric arXiv id found on AlphaXiv page (slug 2608.hawkeye-...); cataloged from AlphaXiv abstract.
- Post
Bootstrapping Composer with autoinstall
Cursor research blog (2026-05-06) by Shomil Jain, Joshua Warner, and Andrew Zhai. Autoinstall bootstraps RL training environments: stage 1 proposes ~10 success commands + expected outputs from a fixed checkout; stage 2 has a separate Composer agent install/mock deps until three selected commands match, retrying up to five times else discarding the env. Used Composer 1.5 to prepare envs while training Composer 2. Notes Terminal-Bench 61.7% (Composer 2) vs 47.9% (1.5). Example walkthrough on celo-org/celo-monorepo (Foundry deps, mocked auth). Inspired by Cursor cloud-agent environment setup.