[Paper Review] Understanding R1-Zero-Like Training: A Critical Perspective
The paper critically analyzes base models and RL in R1-Zero-like training, identifies biases in GRPO, introduces Dr. GRPO, and demonstrates a minimalist recipe achieving state-of-the-art on AIME 2024 with a 7B model.
DeepSeek-R1-Zero has shown that reinforcement learning (RL) at scale can directly enhance the reasoning capabilities of LLMs without supervised fine-tuning. In this work, we critically examine R1-Zero-like training by analyzing its two core components: base models and RL. We investigate a wide range of base models, including DeepSeek-V3-Base, to understand how pretraining characteristics influence RL performance. Our analysis reveals that DeepSeek-V3-Base already exhibit ''Aha moment'', while Qwen2.5 base models demonstrate strong reasoning capabilities even without prompt templates, suggesting potential pretraining biases. Additionally, we identify an optimization bias in Group Relative Policy Optimization (GRPO), which artificially increases response length (especially for incorrect outputs) during training. To address this, we introduce Dr. GRPO, an unbiased optimization method that improves token efficiency while maintaining reasoning performance. Leveraging these insights, we present a minimalist R1-Zero recipe that achieves 43.3% accuracy on AIME 2024 with a 7B base model, establishing a new state-of-the-art. Our code is available at https://github.com/sail-sg/understand-r1-zero.
Motivation & Objective
- Assess how base-model pretraining characteristics influence RL performance in R1-Zero-like training.
- Identify optimization biases in GRPO that affect model length and difficulty weighting.
- Propose unbiased optimization (Dr. GRPO) to improve token efficiency without sacrificing reasoning.
- Explore interactions between templates, question set coverage, and RL dynamics.
- Demonstrate a minimalist RL recipe that achieves strong results on math benchmarks.
Proposed method
- Model-wide analysis of base models (Qwen2.5, Llama-3.1, DeepSeek variants) on 500 MATH questions to assess answering ability, exploration, and self-reflection.
- Analysis of GRPO optimization biases leading to increasing response length and question-difficulty weighting.
- Proposed Dr. GRPO by removing length and std normalization terms to recover unbiased PPO objectives.
- Empirical RL experiments using Oat framework with Dr. GRPO on MATH-based datasets and standard math benchmarks.
- Investigation of template-versus-no-template effects and question-set coverage on RL dynamics.
- Domain-specific pretraining experiments showing improved RL ceilings on math tasks.
Experimental results
Research questions
- RQ1Do base-model pretraining characteristics bias RL outcomes in R1-Zero-like training?
- RQ2Does GRPO introduce length and difficulty biases that inflate response length or misweight questions?
- RQ3Can Dr. GRPO provide unbiased, token-efficient RL optimization without sacrificing reasoning performance?
- RQ4How do templates and question-set coverage interact to shape RL dynamics and final performance?
- RQ5Does domain-specific pretraining raise the RL ceiling for math reasoning in R1-Zero-like training?
Key findings
- Qwen2.5 base models can achieve high answering rates without templates, suggesting pretraining on concatenated QA texts.
- All tested base models show math-solving capability prior to RL, and many exhibit an Aha moment even before RL.
- Dr. GRPO removes length and standard-deviation normalization biases, improving token efficiency while preserving reasoning performance.
- GRPO’s length and difficulty biases can distort optimization, leading to longer incorrect outputs and uneven question weighting.
- A minimalist RL recipe (Dr. GRPO with Qwen2.5-Math-7B and Math-level prompts) achieves strong results with modest compute (state-of-the-art on AIME 2024).
- Domain-specific math pretraining (FineMath/NuminaQA) can raise the RL ceiling for math reasoning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.