Experiments in Scaling Reinforcement Learning with Verifiable Rewards
[HPP] Nathan LambertApril 7, 20251h 0min
31 connectionsΒ·40 entities in this videoβEvolution of Reinforcement Learning in LMs
- π‘ The history of RL in LMs includes early successes like TD-Gammon in the 1990s, using neural networks and self-play.
- π Reward modeling was proposed by DeepMind as a research direction, laying groundwork for RHF system diagrams.
- π RLHF (Reinforcement Learning from Human Feedback) was crucial for models like InstructGPT and ChatGPT, acting as a catalyst for renewed interest in RL with language models.
Understanding Post-Training Objectives
- π― Supervised Fine-Tuning (SFT) forms the foundation, teaching models formatting and desired response shapes using auto-regressive loss.
- π§ Preference Tuning, including algorithms like DPO, uses comparison data to refine model style and abilities like math and code.
- β¨ Reinforcement Fine-Tuning (RLVR) is the most open-ended, allowing models to search for and upweight behaviors useful for solving specific tasks.
Reinforcement Learning with Verifiable Rewards (RLVR)
- β RLVR simplifies the RL agent-environment model, where the language model is the agent, the prompt is the state, and the completion is the action.
- π οΈ Rewards are verified using scoring functions that check for correctness, such as for math problems, code snippets, or specific text formatting.
- π Reward shaping becomes important for multi-domain problems, allowing for weighting of different intermediate solutions and answers.
Algorithmic Insights and Practicalities
- π¬ GRPO (Group Relative Policy Optimization) is a key algorithm, closely related to PPO, used in models like DeepSeek R1.
- π Research explores variations like DAPO and Dr. GRPO, focusing on optimizing loss normalization and addressing length bias in token-level losses.
- β οΈ Implementation and data quality are often more critical for stable and significant performance gains than subtle algorithmic differences, which can introduce variability.
Future Trajectories and Challenges
- π± Expanding RLVR to new domains like tool use, factual knowledge, and agentic behaviors is an active area of research.
- β‘ Inference time scaling is a significant focus, with RL being a popular method to improve performance by encouraging longer, more detailed responses.
- π There's potential for post-training to become a central component of language model development, integrating diverse verifiers and RL environments to scale compute and reasoning capabilities.
Knowledge graph40 entities Β· 31 connections
How they connect
An interactive map of every person, idea, and reference from this conversation. Hover to trace connections, click to explore.
Hover Β· drag to explore
40 entities
Chapters19 moments
Key Moments
Transcript223 segments
Full Transcript
Topics15 themes
Whatβs Discussed
Reinforcement Learning (RL)Verifiable Rewards (RLVR)Language ModelsReinforcement Learning from Human Feedback (RLHF)Post-TrainingSupervised Fine-Tuning (SFT)Preference TuningDirect Preference Optimization (DPO)Reward ModelingProximal Policy Optimization (PPO)Group Relative Policy Optimization (GRPO)Inference Time ScalingTool UseChain of ThoughtReward Shaping
Smart Objects40 Β· 31 links
PeopleΒ· 2
ConceptsΒ· 22
CompaniesΒ· 7
MediasΒ· 6
ProductsΒ· 3