arXiv(opens in a new tab)Computer ScienceMar 2025Cited by 124 papers on PaperVantageClassic Paper

Manuscript Offprint

arXiv:2503.20783

Understanding R1-Zero-Like Training: A Critical Perspective

Zi-Yan Liu, Changyu Chen, Wenjun Li, Penghui Qi, Tianyu Pang, Chao Du, Wee Sun Lee, Min Lin

Abstract

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%43.3\% accuracy on AIME 2024 with a 7B base model, establishing a new state-of-the-art.

https://github.com/sail-sg/understand-r1-zero

Figure 1: Left: Dr. GRPO introduces simple yet significant modifications to address the biases in GRPO (Shao et al., 2024), by removing the length and std normalization terms. Right: Our unbiased optimizer effectively prevents the model from generating progressively longer incorrect responses, thereby enhancing token efficiency.

Figure 2: Model performance comparison. Oat-Zero-7B is RL-tuned with our minimalist recipe described in Sec. 1 (third paragraph). Please see App. B for more results.

1 Introduction

DeepSeek-R1-Zero (Guo et al., 2025) revolutionizes the pipeline of large language model (LLM) post-training by introducing the R1-Zero-like training paradigm: directly applying RL to base LLMs without relying on supervised fine-tuning (SFT) as a preliminary step. This new paradigm is appealing due to its simplicity and the demonstrated RL scaling phenomenon: the model reasoning capabilities improve along with a continual increase in model’s response length. This phenomenon is also accompanied by the “Aha moment”, at which the model learns emergent skills such as self-reflections.

In this paper, we aim to understand R1-Zero-like training by studying two essential components: base models and RL. In the first part, we investigate various attributes of base models, with the focus on the Qwen2.5 model family (Yang et al., 2024a; Yang et al., 2024b), which has been used in recent attempts to reproduce R1-Zero (Pan et al., 2025; Zeng et al., 2025; Liu et al., 2025b; Hu et al., 2025), as well as DeepSeek-V3-Base (Liu et al., 2024), from which the real R1-Zero model was RL-tuned. In the second part, we identify the bias in optimization of GRPO (Shao et al., 2024), which may lead to progressively longer incorrect responses. To this end, we propose a simple modification to eliminate the bias, i.e., to get GRPO Done Right (Dr. GRPO), which leads to better token efficiency (highlighted in Fig. 1).

Our analysis on base models and RL suggests a minimalist recipe for R1-Zero-like training: we RL-tune Qwen2.5-Math-7B using the (unbiased) Dr. GRPO algorithm on MATH (Hendrycks et al., 2021) level 3-5 questions with the Qwen-Math template, and achieve state-of-the-art performance (Fig. 2) with only 2727 hours compute on 8×8\times A100 GPUs. We hope our findings presented in this paper, models released, and the codebase open-sourced could benefit future research in the field. As an overview, we summarize the takeaways of this paper below:

Overview of takeaways • (Sec. 2.1) Template is crucial to make base models answer questions instead of completing sentences. In addition, all base models already possess math-solving capability prior to RL. • (Sec. 2.2) Intriguingly, Qwen-2.5 base models get an immediate ∼60%\sim 60\% improvement by not using template, making us hypothesize that they may pretrain on concatenated question-answer texts when cooking the models. • (Sec. 2.3) Nearly all base models already exhibit the “Aha moment”, including DeepSeek-V3-Base. • (Sec. 3.1, Sec. 3.2) Dr. GRPO effectively fixes GRPO’s bias in optimization, achieving better token efficiency. • (Sec. 3.3) Model-template mismatch can destroy reasoning capabilities before RL reconstructs it. • (Sec. 3.4) Math pretraining on Llama-3.2-3B improves its RL ceiling.

References (33)

Cited by (124)