Explore the research collection
18 entries · Follow this search
- Code
Bergson: An Open Source Library for Data Attribution
Open-source library (EleutherAI) unifying data attribution methods for LLMs across compute budgets. Implements MAGIC, SOURCE, EK-FAC, ASTRA, and TrackStar — the first open-source implementations of MAGIC, SOURCE, and TrackStar. Finetuning leaderboard: MAGIC tops (0.931), EK-FAC and ASTRA are both fast and accurate, SOURCE excels at multi-stage runs; TrackStar's efficient approximate scores enable cheap pretraining attribution via two-stage retrieval (amortize costs with on-disk gradient stores and ANN indices, then refine top scores with a more precise method). Also supports token-level attribution (claimed 10x data-filtering performance gain), GRPO rewards for attributing model behaviors, and optimizations like bucket batching and multi-node support. Answers 'how do LLMs generalize / why do they become misaligned?' by looking at the training data. Relevant to the user's LLM training setups (dataset curation, debugging misalignment) and GRPO work.
- Paper
Trust the Critic More
Standard LLM RL algorithms credit every token of a long rollout with the same advantage from the terminal reward; actor-critic methods could give finer-grained credit, but learned critics are considered too inaccurate to trust, so existing critics are used only for baseline estimation and every trajectory must be rolled to completion. AC2 (Actor-Critic with Action Chunking) removes the need to roll every trajectory to completion: it assigns credit to action chunks — short continuations of prefixes of past trajectories — where a learned critic scores the state reached at the end of each chunk, allowing policy updates without observing a terminal reward. Reliability comes from three design choices: (1) local readiness — critic-based updates on a problem only when the critic is sufficiently accurate on that particular problem; (2) when available, the critic gets a reference solution from a previous successful rollout; (3) credit over action chunks of 10k tokens rather than individual tokens. Training Qwen3-4B on FineProofs-RL and evaluating on IMO-ProofBench, AC2 exceeds GRPO's peak validation score of 18.5% using 2.5x fewer decoding FLOPs (25% fewer steps plus fewer tokens per step since trajectories aren't continued to completion). The critic is the only source of advantages, and it works even on hard tasks like Lean theorem proving. AC2 is a drop-in GRPO replacement: same objective and implementation details (e.g., clip higher), no PPO tricks.
- Paper
Targeting Pivotal Decisions for Credit Assignment in Agentic Reinforcement Learning
GRPO gives every token in a trajectory the same advantage, so the training signal cannot distinguish decisive steps from the rest. ProVer targets potentially pivotal decisions for fine-grained credit assignment: given a rollout group, an agentic judge contrasts successful and failed trajectories to propose the segment responsible for their divergent outcomes; rather than trusting the judge directly, ProVer verifies the segment by estimating its advantage from the difference in terminal success rates between current-policy continuations sampled before and after the segment, folding positive estimates into the GRPO advantages of policy tokens within the segment. Model judgment is used only to select where to verify, grounding local credit in observed outcomes without exhaustively evaluating every intermediate state. Across ALFWorld, WebShop, and SearchQA, ProVer achieves the strongest average performance at both model scales, with relative improvements over GRPO of 9.91% for Qwen3.5-2B and 7.12% for Qwen3.5-4B; informed segment selection works with modest additional generation overhead even without a frontier-scale judge.
- 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
Compute as Teacher: Turning Inference Compute Into Reference-Free Supervision
CaT aggregates G=8 policy rollouts into a pseudo-reference (synthesis via a frozen anchor) then derives rewards: answer-match in verifiable domains, self-proposed binary rubrics scored by an LLM judge in non-verifiable ones. On HealthBench, relative gains up to +30% vs the initial policy and self-proposed rubrics match physician rubrics; on MATH-500 up to +33%. Trained policy matches or exceeds inference-time synthesis at 9× less test-time compute. Gemma 3 4B / Qwen 3 4B / Llama 3.1 8B. No official code on abs.
- Paper
Evolution Strategies at the Hyperscale
EGGROLL samples rank-r adapters AB^T instead of full-rank noise, reaching ~91% of batch-inference throughput and ~100× naïve ES at large populations. Individual perturbations are low-rank but the population average is full-rank (O(1/r) to Gaussian ES). Pretrains an int8 nonlinear RNN (EGG, no activations) on MiniPile to 3.40 bits/byte vs a backprop Transformer 3.58 at matched data batch (pop 2^20). Competitive with GRPO on countdown/GSM8K (RWKV-7) and with OpenES on 16 tabula-rasa RL envs. Code https://github.com/ESHyperscale/HyperscaleES; project https://eshyperscale.github.io/.
- Paper
Ceiling of a Task: When Can a Transformer Succeed Without Its Chain of Thought?
Asks whether chains of thought do real computational work or are decorative, by viewing a transformer as a shallow circuit: one forward pass has constant depth, so any constant number of passes is a shallow circuit, and the best accuracy such a circuit can reach on a task is the task's ceiling. Three results hold for every transformer on serial tasks (ceiling below one): Necessity — replacing the chain with content-independent filler or a restated question drops accuracy to the ceiling, and to chance on a maximally serial task; Depth — no shallow computation can write the chain of a model that exceeds the ceiling; Locality — the answer is one shallow pass from the finished chain, so all serial reasoning happens in the chain. Experiments confirm the predictions: on finite-group word problems, chain-trained small transformers solve every input length and fall to chance when the chain is erased, and on MATH-500/AIME erasing the chain costs open reasoning models 0.52 to 0.82 accuracy while a sentence shuffle is harmless and a token shuffle is as harmful as erasing.
- Paper
Marathoner: Ultra-Long-Horizon Autonomous Intelligence
Marathoner: Ultra-Long-Horizon Autonomous Intelligence (arXiv 2609.34378; CC BY 4.0). Marathoner-9B, built on Qwen3.5-9B, trained for ultra-long-horizon autonomous coding with a three-stage post-training pipeline: (1) Ultra-Long-Horizon Task Synthesis -- mining major-release PRs (1000+ new lines of code each) from 10,000 GitHub repositories into task-level data in the Harbor framework format, plus 'Multi-Task Chaining' that chains multiple synthesized tasks into one harder task; (2) Rejection Sampling Finetuning -- using Kimi K3 as teacher with diverse harnesses (Claude Code, Codex, etc.), then SFT on rejection-sampled trajectories; (3) Reinforcement Learning -- GRPO in the AReaL framework with real execution in independent sandboxes, plus a novel 'Later Stage Bonus Reward' (+0.5) that explicitly rewards exceptionally valuable operations late in a run (e.g., finding a hidden bug, delivering a major optimization). Endurance: average on FrontierSWE 3.56h / 426.2 steps / 648.3 tool calls; on Terminal-Bench 2.0 0.58h / 104.8 steps / 239.4 tool calls; a case study shows an 11.8-hour trajectory (872 steps) implementing native Rust control-flow operations in Qiskit. Results with Claude Code harness: SWE-bench Verified 43.8% (Qwen3.5-9B) -> 58.4% (after RFT) -> 77.5% (final Marathoner-9B); Terminal-Bench 2.0 27.3% -> 49.7% -> 57.2%; FrontierSWE 10.2 -> 18.2 -> 26.4; NL2Repo 17.9 -> 23.8 -> 34.7; SWE-Marathon 0 -> 2.9 -> 8.2. Compares against proprietary models (Kimi K3, Claude Fable 5.1, GPT-6-Astra, GLM-5.2). Listed under cs.CV; 30 pages, 4 figures. No code, model, or dataset release visible in the paper or arXiv 'Code, Data, Media' section at research time.
- Paper
EasyPPO: Stabilizing the Critic Is Key
Argues PPO's learned critic is a major source of instability in RL for LLMs, and identifies two critic failure modes. First, filtering truncated rollouts from both actor and critic shifts the policy objective to reward conditioned on completion, letting truncation grow even as conditional reward improves. Second, heterogeneous return noise lets high-variance prompts dominate critic updates in finite batches. Introduces EasyPPO: actor-only overlong filtering (critic trains on returns from completed and truncated rollouts), noise-normalized critic regression (each prompt's critic loss weighted by the inverse standard deviation of its sampled returns, balancing noise contributions across prompts), and moderately smaller critic minibatches to confine outlier influence during gradient clipping. No new actor loss, no new policy algorithm; actor update unchanged. Across continuous-reward coding on FrontierCS, binary-reward math reasoning on AIME24, and multi-turn search on Search-R1, using Qwen3.5-9B with rollout batch sizes 512-1024, EasyPPO stays stable through the full training horizon with zero training collapse and beats vanilla PPO, VAPO, and HL-Gauss PPO; best validation scores show relative gains of 14.89%, 2.28%, and 9.47% over PPO respectively.
- Paper
MaD-RL: Matching Distributions for Calibrating LLMs with Reinforcement Learning
Meta Superintelligence Labs (equal contrib. Kulkarni/Vepuri/Demir/Nagpal et al.) introduces MaD-RL, a GRPO-compatible framework that assigns L2, forward-KL, reverse-KL, or Jensen–Shannon rewards from within-group category frequencies so the policy matches a specified categorical target (languages, styles, demographics) alongside correctness. Shows correctness-only GRPO collapses modes; recovers GAPO as the L2 special case; on Qwen3-4B with GSM8K/MATH multilingual solutions and CodeContests multi-language programming, KL/JS fit non-uniform/peaked targets better than L2, with a 1.2–8.5 pp pass@1 tradeoff vs correctness-only RLVR. No public code; Meta CDN PDF dated 2026-09-23; arXiv abs not yet indexed despite Publisher=arXiv.
- Post
vime × RL-Kernel × AMD: Bitwise Train–Rollout Consistency on ROCm (RL-Kernel v0.1.0)
vLLM Blog (2026-09-14) on RL-Kernel v0.1.0 with vime and AMD: Megatron training and vLLM rollout often disagree on logprobs for the same weights/tokens because kernels, Split-K/KV, reduction order, and intermediate precision differ, which pollutes importance ratios and KL/clipping. RL-Kernel aligns the numerical execution contract (RMSNorm, Attention, GEMM/SwiGLU, linear logprob, collectives) while vime aligns the timeline and weight sync. On ROCm they added deterministic MFMA GEMM, vocabulary reduction, HIP IPC, AITER/CK Attention schedule fixes, math/fusion last-bit fixes, and paged-KV/HIP-Graph state fixes. End-to-end Qwen3-8B BF16 GRPO on 8× MI300X (Megatron TP4/CP2; 2× vLLM TP4 colocated; 200 steps; dapo-math-17k) reports mismatch_count=0 and max_abs_diff=0 throughout on the strict path vs native mismatches every step. Apache-2.0 at github.com/RL-Align/RL-Kernel (pyproject 0.1.0; torch>=2.4.1; transformers==5.13.1; optional cuda/rocm/vllm extras). Docs https://rl-align.github.io/RL-Kernel/. Scope today: Qwen3-8B Dense + vime + CUDA/ROCm; MoE/multimodal next.
- Paper
Matryoshka attribution: Learning to attribute language model outputs to representations and weights
MAttr learns a single nested attribution ordering over model internals by optimizing a differentiable sigmoid top-k soft interchange-intervention mask while sampling k across sparsities; it avoids a separately tuned sparsity penalty and supports nodes, edges, neurons, SAE features, and weight deltas. On the official private/secret MIB Circuit Localization leaderboard, the live entry “MAttr (edge, 5k steps)” averages 5.6 versus 1.95 for the runner-up (~2.9×), with per-cell values captured in the local dump; the paper reports this official score while its figures report public-test results. A GRPO parameter-level application finds that restoring 1% of Llama-3.1-8B-Instruct parameters (2% for 1B) to base removes refusals while retaining capabilities. Primary links: arXiv abs https://arxiv.org/abs/2609.25518; PDF https://arxiv.org/pdf/2609.25518; X post https://x.com/aryaman2020/status/2102800933659000846; code https://github.com/aryamanarora/matryoshka-attribution; parameter code https://github.com/aryamanarora/matryoshka-attribution-parameters; HF circuits https://huggingface.co/aryaman/mattr-mib-circuits; author https://aryaman.io/; MIB leaderboard https://mib-bench-leaderboard.hf.space/; MIB project https://mib-bench.github.io/.
- Paper
DAPO: An Open-Source LLM Reinforcement Learning System at Scale
arXiv 2503.14476 (v2): Decoupled Clip and Dynamic sAmpling Policy Optimization—Clip-Higher, dynamic sampling, token-level PG loss, overlong filtering/shaping. Reports 50 AIME24 with Qwen2.5-32B vs naive GRPO ~30; open-sources verl-based code + DAPO-Math-17k. Discord: RL better than GRPO / ByteDance DAPO.
- Post
Reinforcing Recursive Language Models
alphaXiv blog (2026-05-13) by Daniel Kim and Rehaan Ahmad. RL-fine-tunes Qwen3.5-4B to act as native recursive language models (RLMs) in a Python REPL that can spawn child RLMs via rlm_query. Single shared policy: child rollouts inherit parent GRPO advantages (normalized by child count). Cold-start SFT from Qwen3.5-397B-A17B teacher traces, then RL with rubric LLM judges on synthetic multi-paper evidence selection (~1000 queries, up to 10 papers). Reports eval rubric scores competitive with Claude Sonnet 4.6 under the same RLM harness at ~7s vs >60s wall-clock. Training configs/RLM env live in NovaSky-AI/SkyRL.
- Code
rLLM / DeepScaleR: Agentic RL framework (Agentica)
agentica-project/deepscaler redirected to rllm-org/rllm. Original DeepScaleR work (Feb 2025 blog) scaled RL on DeepSeek-R1-Distill-Qwen-1.5B using ~40k unique math Q-A pairs (AIME 1984-2023, AMC pre-2023, Omni-MATH, Still). Current rLLM is a general agentic RL stack: GRPO/REINFORCE/RLOO/SFT/on-policy distillation; backends verl, tinker, fireworks; 60+ evals. Later Agentica results include DeepCoder-14B and DeepSWE-32B. Discord posted the old deepscaler/verl tree.
- Paper
Vector Policy Optimization: Training for Diversity Improves Test-Time Search
MIT Improbable AI / Sakana (cite Bahlous-Boldi et al.; arXiv 2605.22817). Argues scalar GRPO collapses entropy so extra samples become near-duplicates; when test-time search (best@k, AlphaEvolve) handles exploitation, training should preserve reward diversity. VPO: emit m answers in one chain; score the set as E_w[max_y w·r] with w~Dirichlet(1); drop-in GRPO advantage on the set reward. Beats GRPO/Multi-RLVR/Max-at-k/MaxRL/random-w/goal-conditioned GRPO on Maze, MuSiQue, EUREQA, ToolRL as k grows. LiveCodeBench Qwen2.5-Coder-7B: GRPO wins pass@1 but VPO wins best@k and OpenEvolve on 32 hard problems GRPO never solves. Helps when reward components are non-collinear; UltraFeedback ArmoRM dims are near-collinear and VPO does not beat scalar GRPO.
- Paper
GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning
GEPA (Genetic-Pareto; ICLR 2026 Oral). For a compound LLM system, sample traces, reflect with an LM on textual feedback (compiler errors, missed gold docs, constraint fails), mutate one module’s prompt, keep the candidate if the minibatch improves, and parent-sample from the instance-wise Pareto front instead of always mutating the global best. On Qwen3 8B across HotpotQA/IFBench/HoVer/PUPA/AIME-2025/LiveBench-Math: +9.62 pp vs baseline vs GRPO +3.68 pp at 24k rollouts, using ~4–35× fewer rollouts (aggregate ~3936). Also beats MIPROv2; GPT-4.1 Mini aggregate +12.19 pp. Code MIT gepa-ai/gepa; first-class dspy.GEPA. Discord post is Akshay Pachaar’s April 2026 X article “How to Beat GRPO Without Touching Model Weights” (DSPy cookbook; claims Berkeley beat GRPO by 10 points with 35× fewer rollouts).
- Paper
Learning More from Less: Reinforcement Learning from Hindsight
LfH applies hindsight relabeling to GRPO post-training of VLAs: a VLM proposes a hindsight instruction for a low-reward group and scores each rollout against it (0/0.5/1), then the policy trains jointly on original and relabeled groups with an importance correction from commanded to hindsight instruction. On OOD LIBERO-PRO task perturbations, matches standard GRPO final success in about 5 vs 30 steps (~5x sample efficiency) and beats a RoboMETER dense progress-reward baseline by keeping ~70-80% of groups usable vs 20-40%. Gains hold on π0.5, GR00T, and OpenVLA-OFT. On a Franka FR3 held-out pick-and-place from zero SFT success, 56% vs GRPO 22% at 160 rollouts. Relabeler is Qwen3-VL-235B-A22B-Thinking-FP8. No official code on the abs page.