# Reinforcement Learning for LLMs: The Complete Guide

- **ID:** 1039
- **Kind:** paper
- **URL:** https://cameronrwolfe.substack.com/p/llm-rl
- **Authors:** Cameron R. Wolfe, Ph.D.
- **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)
- **License family:** Other (auto-classified)
- **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
- **Added:** 2026-09-24
- **Verified:** 2026-09-24
- **Research status:** verified
- **Needs deep evaluation:** no
- **Page:** https://papers.projxon.ai/entries/1039

## 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.

## Attributes

- **Purpose:** Long-form first-principles survey of RL for LLMs from fundamentals through frontier policy-gradient algorithms
- **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
- **Used for:** RLHF/RLVR onboarding; GRPO/PPO reference; curriculum for agentic RL stacks; cross-read with TypeSafe/Jev/CLM RL posts when relevant
- **Time period:** Published Aug 24, 2026
- **Author type:** independent researcher / educator (Ph.D.; Deep (Learning) Focus)

## Research 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.

## Related entries

- Discussed in: [RL for language models after GRPO: fixes, costs, rewards, agents (overview)](https://papers.projxon.ai/entries/1207) (note, #1207)

## Similar entries

- [When Do Larger Batches Help Scale LLM Reinforcement Learning?](https://papers.projxon.ai/entries/1041) (paper, #1041)
- [Hands-On Modern RL](https://papers.projxon.ai/entries/607) (code, #607)
- [Trust the Critic More](https://papers.projxon.ai/entries/864) (paper, #864)
- [DAPO: An Open-Source LLM Reinforcement Learning System at Scale](https://papers.projxon.ai/entries/919) (paper, #919)
- [EasyPPO: Stabilizing the Critic Is Key](https://papers.projxon.ai/entries/792) (paper, #792)
- [Calibration-Aware Policy Optimization for Reasoning LLMs (CAPO)](https://papers.projxon.ai/entries/992) (paper, #992)
