Explore the research collection
42 entries · showing 25–42 · Follow this search
- Paper
When Do Larger Batches Help Scale LLM Reinforcement Learning?
Tencent Hunyuan RL Team paper (arXiv 2608.29296v1, cs.LG; companion research post hy.tencent.com/research/100116, EN/ZH, page date 2026-09-21) on when larger batches cut wall-clock time-to-target for online LLM RL. Decomposes T=N*/q: larger batch helps only when throughput gain exceeds samples-to-target penalty (r_q>r_N). Two-stage recipe: (1) establish approximate sample-indexed batch-size invariance via Adam √LR retuning η(B)=η0√(B/B0); (2) optimize generation/train throughput within that regime (generation–training asymmetry: decode often bandwidth-bound, sublinear collection time vs ~linear train). GRPO on Qwen3-30B-A3B-Instruct-2507, filtered DAPO-MATH-17K (4,853 rows), G=8, mean@32 AIME 2024/2025: invariance ~P=64–1024; degrade at 2048/4096. Best tuned P=1024: time-to-target 11.90→8.42 h (−29%, 0.71×) with +41% throughput and r_N=1, no extra GPUs; at P=2048/4096 a +60% sample cost outweighs +30%/+36% throughput (T 1.23×/1.18×). PPO on Hunyuan MoE policy+value (3B active each), G=1: aligns ~256–2048, degrades at 4096; gen throughput up to 2.29× (B 256→1024). Fixed-LR control slower despite higher throughput. No public code/HF/dataset links.
- Paper
Reinforcement Learning for LLMs: The Complete Guide
Cameron R. Wolfe’s Aug 24, 2026 Substack guide traces RL for LLMs from fundamentals (MDPs, returns, value/advantage, KL, importance sampling) through LLM formulations (token-level MDP vs completion bandit; RLHF vs RLVR) to policy-gradient algorithms used in practice: VPG, REINFORCE/RLOO, PPO with GAE, and GRPO, plus GRPO-era extensions (GSPO, DAPO, Dr. GRPO, truncated importance sampling) and related infrastructure notes (TRL, OpenInstruct). Written as a self-contained overview pointing to Lambert’s RLHF Book, Sutton & Barto, Spinning Up, Raschka, Schulman notes, Lilian Weng, and prior Deep (Learning) Focus posts—not a single new empirical paper. Cataloged as a survey-style paper/blog item; citations are noted thematically rather than auto-expanded into separate catalog rows.
- Dataset
SmolDataEnvs (FineEnvs): 5K+ verifiable data-science RL tasks
FineEnvs SmolDataEnvs (HF release 2026-09-24; X @adithya_s_k) is a load-and-go dataset of 5,394 verifiable data-analysis tasks (train 5,000 / test 250 / eval 144) built from jupyter-agent notebooks over 471 Kaggle datasets. Each row has a question, gold answer, reward_mode with numeric tolerances, difficulty, and pointers to input files in an HF bucket; grading is deterministic (exact→numeric→list/percent→symbolic) with no LLM in the reward path. Held-out splits are deliberately harder (~38–40% hard vs ~14% hard in train). Family also ships Harbor env suites (harbor-train/test/eval), SFT trajectories (SmolDataEnvs-sft, 4,677), tutorial FineEnvs/04-smoldataenvs, and example 2B SFT/GRPO models under AdithyaSK/. MIT on Hub datasets; FineEnvs code Apache-2.0.
- 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
Jina-OCR-v1: Efficient Document Parsing with Speculative Decoding and Dense Verifiable Rewards
Jina-OCR-v1 builds on DeepSeek-OCR’s compressed-vision encoder + 3B MoE decoder (~570M active/token), adds a FastMTP speculative head that recursively shares one draft block over K=3 prediction steps with greedy verification (lossless). Post-training: instruction alignment, hard-doc robustness FT, then GRPO with dense verifiable rewards (deterministic formula/table/structure checks with partial credit). Data: cleaned public corpora + targeted synthetic pages. Default dynamic-res: OmniDocBench v1.6 91.14, olmOCR-Bench 83.4; claimed highest page throughput in their comparison at 2.57 pages/s. On NVIDIA L4, FastMTP ~2× greedy AR decode. Weights: https://huggingface.co/jinaai/jina-ocr-v1.
- Paper
Decoupling Reasoning and Confidence: Resurrecting Calibration in RL from Verifiable Rewards (DCPO)
DCPO (Decoupled Calibration Policy Optimization): theory that joint accuracy+calibration RL has fundamental gradient conflict; solution separates reasoning vs confidence tokens with masked gradients (accuracy reward on reasoning, calibration reward on confidence), using GRPO group sampling for low-variance calibration targets. Claims GRPO-parity accuracy with best-in-paper calibration / less overconfidence on math+code. Cites RLCR (Brier-in-reward) and CCGSPG as entangled baselines. Code: icip-cas/DCPO (VERL). Same problem family as TypeSafe calibrated-decision North Star; still AR text models.
- Paper
Calibration-Aware Policy Optimization for Reasoning LLMs (CAPO)
2026 calibration-aware RL line (with RLCR/DCPO). Shows GRPO-style uncertainty-agnostic advantages improve accuracy while degrading relative calibration (incorrect answers can get lower perplexity). CAPO replaces that with a theoretically consistent logistic AUC surrogate + reference-model noise masking so gradients jointly push accuracy and calibration. Reports up to ~15% calibration gains at parity/better accuracy on math reasoning (1.5B), plus inference-time scaling and abstention/precision–coverage benefits. Still generative AR reasoning LMs — objective cousin to TypeSafe RLCD claims, not a parallel decision API.
- 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.
- Other
OpenEnv Integration for Training LLMs with Environments
Living TRL docs (main). White-box path: environment_factory plus GRPOTrainer auto-discovers public tool methods, runs the multi-turn loop, and reads env.reward (Echo, Wordle, multi-env Wordle+Catch). Black-box/harness path (experimental): HarnessRolloutWorker plus AsyncGRPOTrainer lets a production agent such as opencode own planner, tools, and stop condition inside an OpenEnv ResourceSession; a transparent_proxy records token ids and logprobs; verify() plus optional rollout_reward_fn / train_turn_fn / agent_turn_fn score the outcome and filter turns. Reference script examples/scripts/openenv/opencode.py on agentica-org/DeepCoder-Preview-Dataset; sibling HF-sandbox script for multi-node rollouts. OpenEnv itself is Gymnasium-style step/reset/state with Hub-hosted Spaces. Discord posted the opencode harness hash.
- 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).
- Code
Hands-On Modern RL
walkinglabs/hands-on-modern-rl is VitePress courseware plus chapter labs: seven parts / 26 chapters from CartPole, MDPs, DQN, policy gradients, PPO, and offline RL into RLHF, DPO, GRPO, RLVR, reasoning models, tool-use/coding/browser/GUI agents, and VLM/audio/embodied RL, with safety/evaluation close. Equations sit next to compact PyTorch. CC BY-NC-SA 4.0. README flags AI-assisted drafting not yet fully reviewed. English translation and PDF via CI (2026-05-15).
- Code
ReZero
ReZero (Retry-Zero) adds a reward_retry term to GRPO so the policy is paid for issuing a later search query after an unsuccessful first attempt, but only if the trajectory still emits a well-formed final answer. Paper arXiv 2504.11001: Llama-3.2-3B-Instruct on Apollo 3 mission chunks (341 chunks / 32 held-out) peaks at 46.88% accuracy vs 25% without the retry reward (1xH200). Repo trains via train_grpo.py, ships data/ plus a Gradio demo, and points to Menlo/ReZero-v0.1-llama-3.2-3b-it-grpo-250404 (and GGUF). GitHub menloresearch/ReZero redirects to janhq/ReZero. No LICENSE file on the repo; arXiv Atom API states no license.
- 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.
- Paper
Inverse RL Helps Align AI by Imitating Humans
PARED (Projected Alignment Reward Estimated from Demonstrations) trains a lightweight logistic discriminator that separates expert demonstrations from policy samples in a practitioner-chosen response-level feature space (Gemma-3-27B helpfulness/harmlessness scores plus five LDA topics; length excluded as a shortcut). No task-specific preference labels. As inference-time best-of-16 on GPT-OSS-20B, wins 63.4% of non-tied Gemini-2.5-Flash judgments. On-policy GRPO of Qwen2.5-3B-Instruct: with 4,000 audience-conditioned HH demos, ab-initio PARED reaches 84.6% vs Instruct (SFT 81.1%) and post-hoc PARED wins 86–88% vs its SFT init; with 500 demos, Instruct-init PARED 70.7% vs SFT 58.0%. Separate adult/child rewards improve both audiences. Demonstrations are prompted GPT-5.1 completions, not human data. No official code on the abs page.
- Paper
Noisy Data is Destructive to Reinforcement Learning with Verifiable Rewards
Shows prior 100%-noisy RLVR sets were contaminated: a GPT-5 Pro + math-verify + LLM-judge + manual pipeline found 16.4% of DeepScaleR labels marked incorrect were actually correct. After sanitizing to 12,769 truly incorrect items, Qwen2.5-Math-7B GRPO on 100% noise is 8–10% worse than clean data (9% on MATH-500) and no better than format-only rewards; random labels fall below the base model. Dr.GRPO, TIS, PGFC, DAPO, and SAPO fail to beat GRPO under 50% noise. On a manually corrected 600-example BIRD subset (372/600 originally noisy), real annotation errors cost 5–12% vs the cleaned set. Code/data https://github.com/uiuc-kang-lab/rlvr-noisy-data.