{
  "id": 1039,
  "kind": "paper",
  "title": "Reinforcement Learning for LLMs: The Complete Guide",
  "summary": "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.",
  "body": "",
  "notes": "Cataloged 2026-09-24 from full Substack fetch. Dedup clean. item_type=paper (survey/guide). Key topics noted: RL fundamentals; LLM MDP vs bandit; RLHF vs RLVR; KL estimators k1/k3; VPG/REINFORCE/RLOO; PPO+GAE; GRPO; GSPO; DAPO; Dr. GRPO; TIS/async engine mismatch. Did NOT auto-catalog every cited paper. Soft cross-link to GRPO/RLHF catalog cluster and TypeSafe/System One RL tooling (1363/Tev1) only as adjacent reading—not a dependency.",
  "url": "https://cameronrwolfe.substack.com/p/llm-rl",
  "links": [],
  "authors": [
    "Cameron R. Wolfe",
    "Ph.D."
  ],
  "tags": [
    "llm-rl",
    "rlhf",
    "rlvr",
    "ppo",
    "grpo",
    "gspo",
    "dapo",
    "reinforce",
    "policy-gradient",
    "cameron-wolfe",
    "survey",
    "substack"
  ],
  "topics": "RL for LLMs; RLHF; RLVR; policy gradients; PPO; GRPO; survey/tutorial",
  "venue": "Substack (cameronrwolfe.substack.com)",
  "publisher": "Substack (cameronrwolfe.substack.com)",
  "source": "blog",
  "language": "en",
  "access": "https://cameronrwolfe.substack.com/p/llm-rl ; dump /workspace/curator/research/llm-rl-cameron-wolfe-20260924",
  "license": "Substack publication (standard site terms; not an open-license paper)",
  "published_year": null,
  "added_at": "2026-09-24T19:26:11.000Z",
  "verified_at": "2026-09-24T19:26:11.000Z",
  "attrs": {
    "hf": {
      "kind": "N/A",
      "name": "N/A",
      "namespace": "N/A"
    },
    "scale": "Long-form educational survey (multi-section; includes PyTorch pseudocode); published 2026-08-24",
    "domain": "RL for LLMs; RLHF; RLVR; policy gradients; PPO; GRPO; survey/tutorial",
    "purpose": "Long-form first-principles survey of RL for LLMs from fundamentals through frontier policy-gradient algorithms",
    "used_for": "RLHF/RLVR onboarding; GRPO/PPO reference; curriculum for agentic RL stacks; cross-read with TypeSafe/Jev/CLM RL posts when relevant",
    "author_type": "independent researcher / educator (Ph.D.; Deep (Learning) Focus)",
    "time_period": "Published Aug 24, 2026"
  },
  "enrichment": {},
  "enriched_at": "2026-10-03T14:33:49.204Z",
  "license_class": "other",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "N/A",
    "legacy_paper_id": "1458",
    "needs_deep_eval": "no",
    "pipeline_status": "intake",
    "research_status": "verified"
  },
  "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/1039",
  "markdown": "https://papers.projxon.ai/entries/1039.md",
  "api": "https://papers.projxon.ai/api/entries/1039",
  "relations": [
    {
      "relation": "about",
      "direction": "in",
      "note": "",
      "via": "manual",
      "entry": {
        "id": 1207,
        "kind": "note",
        "title": "RL for language models after GRPO: fixes, costs, rewards, agents (overview)",
        "summary": "An overview of the 36 entries on GRPO-style reinforcement learning: known weaknesses and their fixes, rollout cost, reward design, agent training, and the dissenting approaches. Written by Claude Opus 5.5.",
        "url": "",
        "authors": [
          "Claude Opus 5.5"
        ],
        "tags": [
          "synthesis",
          "ai-written",
          "grpo"
        ],
        "venue": "",
        "source": "",
        "license": "",
        "published_year": null,
        "added_at": "2026-10-03T15:08:43.002Z",
        "has_dataset_profile": false,
        "license_class": "unknown",
        "langs": [],
        "modalities": [],
        "size_class": null,
        "citation_count": null,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/1207",
        "markdown": "https://papers.projxon.ai/entries/1207.md",
        "api": "https://papers.projxon.ai/api/entries/1207"
      }
    }
  ],
  "duplicates": [],
  "similar": [
    {
      "id": 1041,
      "kind": "paper",
      "title": "When Do Larger Batches Help Scale LLM Reinforcement Learning?",
      "summary": "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.",
      "url": "https://arxiv.org/abs/2608.29296",
      "authors": [
        "Ziniu Li",
        "Jinbo Wang",
        "Guanhua Huang",
        "Feiyuan Zhang",
        "Pengbo Li",
        "Alex Chen (Tencent Hunyuan Team / RL Team)"
      ],
      "tags": [
        "batch-size",
        "llm-rl",
        "grpo",
        "ppo",
        "hunyuan",
        "tencent",
        "throughput",
        "time-to-target",
        "learning-rate-scaling",
        "critical-batch",
        "qwen3",
        "dapo-math",
        "aime"
      ],
      "venue": "arXiv / Tencent Hunyuan Research",
      "source": "arxiv",
      "license": "CC BY 4.0 (arXiv)",
      "published_year": 2026,
      "added_at": "2026-09-25T01:37:18.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 1,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1041",
      "markdown": "https://papers.projxon.ai/entries/1041.md",
      "api": "https://papers.projxon.ai/api/entries/1041"
    },
    {
      "id": 607,
      "kind": "code",
      "title": "Hands-On Modern RL",
      "summary": "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).",
      "url": "https://github.com/walkinglabs/hands-on-modern-rl",
      "authors": [
        "WalkingLabs"
      ],
      "tags": [
        "hands-on-modern-rl",
        "courseware",
        "ppo",
        "dpo",
        "grpo",
        "rlvr",
        "agentic-rl",
        "walkinglabs"
      ],
      "venue": "WalkingLabs (GitHub)",
      "source": "github",
      "license": "CC-BY-NC-SA-4.0",
      "published_year": 2026,
      "added_at": "2026-08-14T18:45:00.000Z",
      "has_dataset_profile": false,
      "license_class": "non-commercial",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": 4497,
      "page": "https://papers.projxon.ai/entries/607",
      "markdown": "https://papers.projxon.ai/entries/607.md",
      "api": "https://papers.projxon.ai/api/entries/607"
    },
    {
      "id": 864,
      "kind": "paper",
      "title": "Trust the Critic More",
      "summary": "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.",
      "url": "https://arxiv.org/abs/2609.39247",
      "authors": [
        "Kaiyue Wen",
        "Luke Bailey",
        "Arvind Mahankali",
        "Tengyu Ma"
      ],
      "tags": [
        "trust-the-critic-more",
        "ac2",
        "actor-critic",
        "action-chunking",
        "grpo",
        "rlhf",
        "llm-rl",
        "critic-pretraining",
        "fineproofs-rl",
        "imo-proofbench"
      ],
      "venue": "arXiv:2609.39247 (cs.LG), submitted 30 Sep 2026 (v1), revised 1 Oct 2026 (v2)",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-02T00: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/864",
      "markdown": "https://papers.projxon.ai/entries/864.md",
      "api": "https://papers.projxon.ai/api/entries/864"
    },
    {
      "id": 919,
      "kind": "paper",
      "title": "DAPO: An Open-Source LLM Reinforcement Learning System at Scale",
      "summary": "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.",
      "url": "https://arxiv.org/abs/2503.14476",
      "authors": [
        "Qiying Yu",
        "Zheng Zhang",
        "Ruofei Zhu",
        "Yufeng Yuan",
        "Xiaochen Zuo",
        "Yu Yue",
        "Weinan Dai",
        "Tiantian Fan",
        "Gaohong Liu",
        "Lingjun Liu",
        "Xin Liu",
        "Haibin Lin",
        "Zhiqi Lin",
        "Bole Ma",
        "Guangming Sheng",
        "Yuxuan Tong",
        "Chi Zhang",
        "Mofan Zhang",
        "Wang Zhang",
        "Hang Zhu",
        "Jinhua Zhu",
        "Jiaze Chen",
        "Jiangjie Chen",
        "Chengyi Wang",
        "Hongli Yu",
        "Yuxuan Song",
        "Xiangpeng Wei",
        "Hao Zhou",
        "Jingjing Liu",
        "Wei-Ying Ma",
        "Ya-Qin Zhang",
        "Lin Yan",
        "Mu Qiao",
        "Yonghui Wu",
        "Mingxuan Wang"
      ],
      "tags": [
        "dapo",
        "grpo",
        "rlvr",
        "bytedance",
        "aime",
        "arxiv:2503.14476"
      ],
      "venue": "arXiv 2503.14476; ByteDance",
      "source": "arxiv",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-09-14T21:11:52.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 2785,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/919",
      "markdown": "https://papers.projxon.ai/entries/919.md",
      "api": "https://papers.projxon.ai/api/entries/919"
    },
    {
      "id": 792,
      "kind": "paper",
      "title": "EasyPPO: Stabilizing the Critic Is Key",
      "summary": "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.",
      "url": "https://arxiv.org/abs/2609.36802",
      "authors": [
        "Xuanyi Zhou",
        "Qiuyang Mang",
        "Huanzhi Mao",
        "Dacheng Li",
        "Wenhao Chai",
        "Mayank Mishra",
        "Yichuan Wang",
        "Karthik Narasimhan",
        "Alvin Cheung",
        "Joseph E. Gonzalez"
      ],
      "tags": [
        "ppo",
        "reinforcement-learning",
        "post-training",
        "critic",
        "training-stability",
        "value-function",
        "grpo"
      ],
      "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/792",
      "markdown": "https://papers.projxon.ai/entries/792.md",
      "api": "https://papers.projxon.ai/api/entries/792"
    },
    {
      "id": 992,
      "kind": "paper",
      "title": "Calibration-Aware Policy Optimization for Reasoning LLMs (CAPO)",
      "summary": "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.",
      "url": "https://arxiv.org/abs/2604.12632",
      "authors": [
        "Ziqi Wang",
        "Xingzhou Lou",
        "Meiqi Wu",
        "Zhengqi Wen",
        "Junge Zhang"
      ],
      "tags": [
        "capo",
        "calibration-aware-rl",
        "grpo",
        "auc",
        "rlvr",
        "typesafe-adjacent",
        "2026"
      ],
      "venue": "ACL 2026 / arXiv 2604.12632",
      "source": "arxiv",
      "license": "arXiv / ACL",
      "published_year": 2026,
      "added_at": "2026-09-16T20:28:35.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 5,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/992",
      "markdown": "https://papers.projxon.ai/entries/992.md",
      "api": "https://papers.projxon.ai/api/entries/992"
    }
  ]
}
