arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.20783cs.LGcs.AIcs.CL
收藏

理解R1-Zero类训练:一个批判性视角

Understanding R1-Zero-Like Training: A Critical Perspective

Sea AI Lab(海智实验室);National University of Singapore(新加坡国立大学);Singapore Management University(新加坡管理学院)

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

AI总结:

本文批判性分析R1-Zero类训练,揭示基础模型预训练偏差和GRPO优化偏差,提出无偏方法Dr. GRPO及极简配方,在AIME 2024上以7B模型达43.3%准确率。

摘要:

DeepSeek-R1-Zero已经表明,大规模强化学习(RL)可以在没有监督微调的情况下直接增强大型语言模型(LLMs)的推理能力。在这项工作中,我们通过分析其两个核心组成部分:基础模型和强化学习,批判性地审视了R1-Zero类训练。我们研究了一系列广泛的基础模型,包括DeepSeek-V3-Base,以理解预训练特征如何影响强化学习性能。我们的分析揭示,DeepSeek-V3-Base已经表现出“顿悟时刻”,而Qwen2.5基础模型即使在没有提示模板的情况下也展现出强大的推理能力,这表明存在潜在的预训练偏差。此外,我们识别出组相对策略优化(GRPO)中的一种优化偏差,该偏差在训练过程中人为地增加了响应长度(尤其对于错误的输出)。为了解决这个问题,我们引入了Dr. GRPO,一种无偏的优化方法,它在保持推理性能的同时提高了令牌效率。利用这些见解,我们提出了一种极简的R1-Zero配方,在AIME 2024上使用7B基础模型达到了43.3%的准确率,确立了新的最先进水平。我们的代码可在https://github.com/sail-sg/understand-r1-zero获取。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑