Explore the research collection
13 entries · Follow this search
- Paper
Strategically Diverse Sampling for Self-Training
Challenges what makes good self-training data. Standard RFT (IID sampling, filter for correctness) overrepresents strategies the model already favors, so asymptotic pass@k barely improves. Instead, first ask the model to enumerate distinct approaches, then solve each problem once per approach: GROOT builds a hierarchical tree over the approach space and samples distinct paths; Verbalized Sampling produces a probability-weighted list of approaches. Results on competitive programming and Next-Chapter Prediction: GROOT with 4 samples beats IID with 64 samples on held-out frontier pass@64 (15.5 vs 7.9); training on only the *incorrect* strategic samples still outperforms standard IID rejection sampling (17.5 VS-4-incorrect-only vs 7.9 IID-64) — diversity of approaches matters more than correctness; a 4B student's own diverse samples beat IID distillation from a 235B teacher (22.8 vs 13.4) at far lower cost. GROOT/VS-trained models also start and end higher for test-time scaling and as RL initialization (GROOT-4 hits 19% validation pass@8 ~41 RL steps before IID-64). Directly relevant to the user's LLM training/post-training setups and the SFT-vs-GRPO thread.
- 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
RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learning
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.
- Paper
Sharpening Tax in Post-Training
Tests the 'sharpening hypothesis' — that RL post-training merely sharpens a base model's existing behaviors, improving single-shot accuracy at the cost of solution coverage — in the agentic domain (multi-turn tool use), where post-training is believed to matter most. Pre-trained base LLMs with a light, model-agnostic inference harness turn out to be capable agents: they lose at pass@1 but scale more steeply with pass@k and often overtake their post-trained counterparts given a sufficient test-time budget. The mechanism: post-training pushes tasks toward two extremes (always solved or never solved), improving sampling efficiency and consistency at the cost of solution coverage. The paper proposes Sharpening Tax, a diagnostic metric quantifying the loss in test-time scalability after post-training (area between the pass@k curve and its pass@K ceiling, normalized; tax = base scalability minus post-trained scalability). Across 14 base/post-trained pairs from four model families on three agentic benchmarks (42 settings), the tax is prevalent (36 of 42 pay a positive tax at k=128), can be estimated cheaply from few rollouts (tax from 8 rollouts predicts tax at 32, Spearman rho = 0.85), and correlates with other metrics. Finally, posterior-tempered group sampling (PTGS) — a plug-and-play Bayesian sampler that adapts sampling temperature per prompt via a Beta posterior over difficulty — pays a smaller tax during RL training in two agentic environments, solving more tasks under repeated sampling while also improving pass@1.
- Paper
RLTL;DR: Self-improvement by Internalizing Self-generated Feedback
In RLVR the agent makes multiple attempts and optimizes toward the successful ones -- which breaks down in self-improvement,where tasks are so hard the agent has low or no chance of success and no teacher or example solutions exist. RLTL;DR: after each failed attempt,the policy is shown the verifier outputs and writes its own feedback as a single TL;DR insight; the next rollout is conditioned on all previous insights,sequentially sampling rollouts until a solution is found. Crucially,the in-context insights are backpropagated to internalize a direct task-to-insight mapping. On challenging tool-calling and coding datasets filtered to Pass@128=0,standard GRPO on a Qwen 3.5 9B Thinking policy stays flat at Pass@1 0-1%; RLTL;DR breaks the learning barrier to Pass@1 14-31% with insights in context during training,and 12-13% with no insight in context at eval time. A reduced variant,SFTL;DR,trains only on 4k (task,insight) tuples with no rollouts shown or backpropagated and recovers almost the full performance of RLTL;DR and classical SFT on full rollouts -- a compacted training paradigm of the form "on this sort of task,keep this sort of thing in mind". Sequential rather than parallel attempts per task; backpropagating the insight tokens semantically smooths and generalizes knowledge to similar tasks.
- Paper
Beyond Teacher Assignment: Domain-Normalized Multi-Teacher On-Policy Distillation
RL can turn one language model into several specialists (math, coding, instruction-following), and multi-teacher on-policy distillation (MOPD) merges them by having the specialist for each prompt's domain give per-token feedback. But the routing decides which specialist teaches, not how strongly its feedback moves the shared student: in Qwen3.5 models at three sizes, the MOPD student does not beat one taught by the best single specialist and captures little of the math specialist's advantage, because instruction-following feedback is several times more spread out than math feedback and dominates updates. Domain-Normalized MOPD (DN-MOPD) keeps the routing and rescales each domain's feedback by its measured spread; on six public benchmarks it improves average score over MOPD at every size, across three seeds and two answer-length limits, recovering most of the lost math gain. Controls show the gain comes mainly from turning down instruction-following feedback rather than turning up math alone.
- Paper
Context Language Models
Introduces Context Language Models (CLMs): language models that natively manage their own context by treating the context as a file and allowing unrestricted updates to it, letting the model learn what is most important to maintain in context and naturally extending to multi-agent systems where multiple agent contexts coexist as files. Building CLMs zero-shot with existing models outperforms SOTA context-management strategies: 11.4% higher accuracy with 21.5% fewer FLOPs on BrowseComp-Plus, 5% higher scores with 59% fewer FLOPs on 12-hour EdgeBench, and 65% greater improvement with the same compute on a 24-hour multi-repository agent-swarm task. Shifting context management from external harness control to intrinsic model behavior enables both in-context and parametric learning of context-management strategies: steering CLMs with natural-language instructions evolved through a skill-optimization loop improves held-out accuracy by up to 35.9 points while reducing compute. An online RL method for CLMs improves Qwen3.5-9B on BrowseComp-Plus by 47.6% while using 12% fewer FLOPs. Co-designed Suffix Cache Reuse for CLM serving further cuts server-side compute by 35% relative to standard SGLang at matched performance.
- Paper
Towards Differentially Private Reinforcement Learning with General Function Approximation
We present the first theoretical guarantees for differentially private online reinforcement learning (RL) with general function approximation, extending beyond prior work restricted to tabular and linear settings. Our approach combines a batched policy update scheme with the exponential mechanism, together with a novel regret analysis. We show that, even under general function approximation, the regret in the model-free setting under differential privacy matches the state of the art for the linear case, scaling as…
- Paper
Allspark: Weak to Strong Transfer via Alternating Chain of Thought
Asks whether reasoning improvements learned by a small, weak model can benefit a larger, stronger model without using the strong model's rollouts during training. Introduces Allspark, a training and inference framework for weak-to-strong transfer through alternating chains of thought: a weak teacher is trained with RL alongside a frozen copy of the same model, the two alternate reasoning segments, and the frozen model produces the final answer. At inference time a stronger student replaces the frozen training partner while both models remain fixed. Because they communicate through text, the teacher can steer students from different model families and with different tokenizers. Studied at two scales: controlled Qwen3-1.7B/4B experiments across math and reasoning domains, and larger-scale experiments with an Inkling-Small teacher on 96 ARC-AGI-2 development problems. The Inkling experiments show accuracy gains in within-family and cross-family settings, including transfer to Kimi K2.6 and Nemotron 3 Ultra, with benefits varying across inference settings; analyses also characterize the accuracy-token tradeoff. Motivates reusing a trained weak teacher across strong students.
- Paper
Reinforcement Learning for Code Optimization
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.
- Paper
Extrapolative Weight Averaging Reveals Correctness-Efficiency Frontiers in Code RL
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.
- Paper
Rufus-Air: An Open LLM Post-Training Recipe
Rufus-Air is an eight-stage serial post-training pipeline on GLM-4.5-Air-Base (106B-A12B): SFT, Reasoning RL, Coding RL, Instruction-Following RL, General Agent, Coding Agent, Search Agent, and RLHF. It combines public data and open-source components without newly commissioned human annotation or an in-house distillation teacher, and emphasizes difficulty filtering, reliable rewards, and infrastructure details. The resulting model improves over the official GLM-4.5-Air release on every reported benchmark except Arena-Hard v2 Creative Writing and is competitive with similarly sized open models.
- Paper
Training Language Models to Self-Correct via Reinforcement Learning
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.