{
  "id": 778,
  "kind": "paper",
  "title": "Extrapolative Weight Averaging Reveals Correctness-Efficiency Frontiers in Code RL",
  "summary": "Studies RL for competitive programming where hidden unit tests enforce both correctness and efficiency. Training checkpoints under nested unit-test coverage reveals a correctness-efficiency frontier: higher-coverage rewards reduce optimization failures but increase correctness failures. Interpolation between low- and high-coverage checkpoints recovers the frontier; extrapolation extends it beyond trained endpoints, across pure reasoning, tool-use, and agentic coding settings and 32B/7B scales. Ensembles with extrapolative weight averaging broaden coverage and improve pass@250 on LCB/hard by 3.3% over the best single checkpoint.",
  "body": "",
  "notes": "Discovery: shared by Pierre Chambon (@PierreChambon6, FAIR/Meta AI & INRIA) in an X thread on 2026-09-29 presenting 3 papers on code optimization: https://x.com/PierreChambon6/status/2104966972043657560 | Led by Kunhao Zheng (per announcement thread). | Method: nested unit-test coverage sweeps; interpolative and extrapolative weight averaging of RL checkpoints; ensembling for inference-time scaling. | Submitted 2026-05-27.",
  "url": "https://arxiv.org/abs/2605.28751",
  "links": [],
  "authors": [
    "Kunhao Zheng",
    "Pierre Chambon",
    "Juliette Decugis",
    "Jonas Gehring",
    "Taco Cohen",
    "Benjamin Negrevergne",
    "Gabriel Synnaeve"
  ],
  "tags": [
    "weight-averaging",
    "rl",
    "code",
    "correctness-efficiency-frontier",
    "extrapolation",
    "inference-scaling"
  ],
  "topics": "reinforcement learning, code generation, weight averaging",
  "venue": "arXiv",
  "publisher": "",
  "source": "arxiv",
  "language": "en",
  "access": "public",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-09-29T00:00:00.000Z",
  "verified_at": "2026-09-29T00:00:00.000Z",
  "attrs": {},
  "enrichment": {
    "s2": {
      "venue": "arXiv.org",
      "paper_id": "05442900578417aa9f9bec7519b2f04514fdbfe0",
      "published": "2026-05-27",
      "fetched_at": "2026-10-03T14:57:49.460Z",
      "citation_count": 1,
      "reference_count": 0,
      "influential_citation_count": 0
    },
    "arxiv": {
      "id": "2605.28751",
      "title": "Extrapolative Weight Averaging Reveals Correctness-Efficiency Frontiers in Code RL",
      "authors": [
        "Kunhao Zheng",
        "Pierre Chambon",
        "Juliette Decugis",
        "Jonas Gehring",
        "Taco Cohen",
        "Benjamin Negrevergne",
        "Gabriel Synnaeve"
      ],
      "comment": "54 pages",
      "updated": "2026-05-27",
      "abstract": "Linear interpolation between fine-tuned checkpoints has been shown to trace the Pareto front between competing objectives, but whether extrapolative weight averaging can extend such frontiers to new checkpoints useful at inference time, without additional RL training, remains unclear. We study this question in RL for competitive programming, where hidden unit tests under time and memory limits enforce both functional correctness and computational efficiency. Starting from a shared initialization, we train checkpoints under nested unit-test coverage: low-coverage rewards require passing smaller-input tests, while high-coverage rewards require passing progressively larger tests up to the full suite. This sweep reveals the emergence of a correctness-efficiency frontier: on hard problems, higher-coverage reward reduces optimization failures but increases correctness failures, leaving solve rate nearly unchanged. Interpolation between low- and high-coverage checkpoints recovers this frontier, while extrapolation extends it beyond the trained endpoints. Both the frontier and its extrapolative continuation appear across three inference settings, pure reasoning, tool use, and agentic coding, and across two model scales, 32B and 7B. At the problem level, moving along the frontier changes which problems are solved, making extrapolated checkpoints complementary policies in inference-time scaling. Ensembles with extrapolative weight averaging broaden coverage and improve pass@250 on LCB/hard by 3.3% over the best single checkpoint at matched sample budget. These results show that nested unit-test coverage in code RL induces a frontier that extrapolative weight averaging can navigate, extend, and exploit.",
      "published": "2026-05-27",
      "categories": [
        "cs.LG",
        "cs.AI",
        "cs.CL"
      ],
      "fetched_at": "2026-10-03T14:57:49.460Z"
    }
  },
  "enriched_at": "2026-10-03T14:57:49.500Z",
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "859",
    "pipeline_status": "done",
    "research_status": "done"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T12:29:06.561Z",
  "page": "https://papers.projxon.ai/entries/778",
  "markdown": "https://papers.projxon.ai/entries/778.md",
  "api": "https://papers.projxon.ai/api/entries/778",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 923,
      "kind": "paper",
      "title": "RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learning",
      "summary": "Meta RLEF fine-tunes Llama 3 with PPO using public-test execution feedback; Llama 3.1 70B CodeContests improve from ~27.5% to ~40.1% (1@3). Cited by Philipp Schmid LinkedIn re Anthropic coding quality.",
      "url": "https://arxiv.org/abs/2410.02089",
      "authors": [
        "Jonas Gehring",
        "Kunhao Zheng",
        "Jade Copet",
        "Vegard Mella",
        "Quentin Carbonneaux",
        "Taco Cohen",
        "Gabriel Synnaeve"
      ],
      "tags": [
        "rlef",
        "code",
        "rl",
        "execution-feedback",
        "llama3",
        "arxiv:2410.02089"
      ],
      "venue": "arXiv 2410.02089",
      "source": "arxiv",
      "license": "arXiv non-exclusive",
      "published_year": 2024,
      "added_at": "2026-10-02T23:40:42.683Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 181,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/923",
      "markdown": "https://papers.projxon.ai/entries/923.md",
      "api": "https://papers.projxon.ai/api/entries/923"
    },
    {
      "id": 915,
      "kind": "paper",
      "title": "Training Language Models to Self-Correct via Reinforcement Learning",
      "summary": "arXiv 2409.12917 (v2): SCoRe multi-turn RL for self-correction using only self-generated data; addresses SFT distribution mismatch and behavior collapse. Reports +15.6% / +9.1% self-correction lifts on MATH / HumanEval for Gemini 1.0 Pro / 1.5 Flash baselines. Discord: Training LLMs to self-correct.",
      "url": "https://arxiv.org/abs/2409.12917",
      "authors": [
        "Aviral Kumar",
        "Vincent Zhuang",
        "Rishabh Agarwal",
        "Yi Su",
        "John D Co-Reyes",
        "Avi Singh",
        "Kate Baumli",
        "Shariq Iqbal",
        "Colton Bishop",
        "Rebecca Roelofs",
        "Lei M Zhang",
        "Kay McKinney",
        "Disha Shrivastava",
        "Cosmin Paduraru",
        "George Tucker",
        "Doina Precup",
        "Feryal Behbahani",
        "Aleksandra Faust"
      ],
      "tags": [
        "score",
        "self-correction",
        "rl",
        "deepmind",
        "arxiv:2409.12917"
      ],
      "venue": "arXiv 2409.12917; Google DeepMind",
      "source": "arxiv",
      "license": "",
      "published_year": 2024,
      "added_at": "2026-09-14T21:11:52.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 472,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/915",
      "markdown": "https://papers.projxon.ai/entries/915.md",
      "api": "https://papers.projxon.ai/api/entries/915"
    },
    {
      "id": 1267,
      "kind": "model",
      "title": "Beam (Reflection AI) — 501B open-weight MoE with the largest publicly documented RL run",
      "summary": "Reflection AI's first public model: 501B-parameter text-only MoE with 23B active per token, 1M context window, positioned as the US open-weight answer to DeepSeek/Qwen ('AI factories' for enterprises and sovereign nations). Pretrained on 23.8T tokens (95% of raw internet removed; ~1.8T high-quality tokens kept that conventional filters would drop) in under 4 weeks on 6,144 GB300 NVL72 GPUs (92.3% goodput, 9 semi-automatic rewinds); midtraining extended effective context to 1M. Architecture: interleaved local + global attention with fine-grained routed experts; auxiliary-loss-free load balancing from DeepSeek-V3 plus cosine decay of expert-bias updates (busiest expert only 1.04x average load); residual norms bounded via depth-based scaling, SandwichNorm, attention gating, and FP32 residual accumulation. RL is the central scaling axis — the largest publicly documented RL run: 10.5K GB300 GPUs for 4 weeks, 100M+ rollouts (256K max rollout context), ~1.3B sandboxes (46.4M/day) across ~1M coding/agentic/STEM environments; fully asynchronous policy gradients with every token tagged by policy version, staying stable at 1-day staleness (107 weight versions behind); 110K concurrent rollouts; new weights to the inference fleet in median 12s; 71 inference incidents handled without stopping training; no plateau on Terminal-Bench 2.1/HLE/DeepSWE; controllable length penalty taught shorter-then-longer reasoning. Company-published benchmarks: Terminal-Bench 2.1 80.1 (vs GLM 5.2 81.0), SWE-bench Pro v1 65.5 (vs GLM 5.2 62.1); claimed 3-4x more inference-efficient than GLM 5.2 on a model-compute comparison that excludes prefill/attention/overhead. Caveats: all numbers are company-published with no independent verification; weights not yet released. Company context: founded Mar 2024 by ex-DeepMind Misha Laskin (CEO) and AlphaGo co-creator Ioannis Antonoglou (CTO); Nvidia-backed, ~$25B valuation; $6.3B SpaceX Colossus 2 + $1B Nebius GB300 deals through 2029; DOE and Dept of War model-supply partnership.",
      "url": "https://www.marktechpost.com/2026/10/05/reflection-ai-introduces-beam-a-501b-open-weight-moe-model-with-23b-active-parameters-for-coding-and-agentic-workloads/",
      "authors": [
        "Reflection AI (Misha Laskin",
        "Ioannis Antonoglou)"
      ],
      "tags": [
        "beam",
        "reflection-ai",
        "open-weight",
        "moe",
        "rl",
        "sandboxes",
        "gb300",
        "async-policy-gradients"
      ],
      "venue": "Reflection AI technical announcement, 5 Oct 2026 (weights + technical report planned under Apache 2.0 later in October)",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-06T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1267",
      "markdown": "https://papers.projxon.ai/entries/1267.md",
      "api": "https://papers.projxon.ai/api/entries/1267"
    },
    {
      "id": 779,
      "kind": "paper",
      "title": "Reinforcement Learning for Code Optimization",
      "summary": "Makes execution time learnable for RL on code optimization via three stages: (1) DMC-Optim benchmark with large optimization tests and a calibrated timing sandbox; (2) composing correctness and speed into the reward using an offline simulator to pick configurations; (3) adapting GRPO and evaluation to the sparser, noisier timed-execution setting. Strongest configurations improve strict top-50% pass@1 from 18.0% to 31.3% on Qwen 2.5 7B and 30.7% to 50.4% on CWM 32B, with further gains at stricter percentiles (125% relative improvement for CWM 32B at top-30%) while preserving pure-correctness scores.",
      "url": "https://arxiv.org/abs/2607.25970",
      "authors": [
        "Pierre Chambon",
        "Kunhao Zheng",
        "Juliette Decugis",
        "Benoit Sagot",
        "Gabriel Synnaeve"
      ],
      "tags": [
        "rl",
        "code-optimization",
        "grpo",
        "dmc-optim",
        "execution-time-reward"
      ],
      "venue": "arXiv",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/779",
      "markdown": "https://papers.projxon.ai/entries/779.md",
      "api": "https://papers.projxon.ai/api/entries/779"
    },
    {
      "id": 1211,
      "kind": "paper",
      "title": "AutoCompact: Learning When to Compact Context in Long-Horizon Coding Agents",
      "summary": "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.",
      "url": "https://arxiv.org/abs/2610.02163",
      "authors": [
        "Xuan Zhang",
        "Longtao Zheng",
        "Cunxiao Du",
        "Bo An",
        "Xin Dong"
      ],
      "tags": [
        "autocompact",
        "context-compaction",
        "coding-agents",
        "swe-bench",
        "harness-co-design",
        "long-horizon",
        "rl"
      ],
      "venue": "arXiv:2610.02163 (cs.CL), submitted 1 Oct 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-03T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1211",
      "markdown": "https://papers.projxon.ai/entries/1211.md",
      "api": "https://papers.projxon.ai/api/entries/1211"
    },
    {
      "id": 794,
      "kind": "thread",
      "title": "Reward design lessons from 7,780 MiMo RL environments (X thread)",
      "summary": "X thread of reward-design lessons learned from the 7,780 RL environments Xiaomi open-sourced for MiMo training. Thread starts from the premise that in RL environments, reward design is everything. Visible lessons include: verifying rewards, reward terms and cheating (gaming), scoring broken runs as 0, and a FineEnvs-built explorer for all 7,780 environments that lets anyone open a task to read the exact agent prompt, grader and judge prompts, then run a rollout with any Hugging Face model or a custom endpoint.",
      "url": "https://x.com/adithya_s_k/status/2105186691007017123",
      "authors": [
        "Adithya S K"
      ],
      "tags": [
        "rl",
        "reward-design",
        "rl-environments",
        "mimo",
        "agents",
        "reward-hacking"
      ],
      "venue": "X (Twitter)",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-30T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/794",
      "markdown": "https://papers.projxon.ai/entries/794.md",
      "api": "https://papers.projxon.ai/api/entries/794"
    }
  ]
}
