arXiv:2503.18892cs.LGcs.AI2025-03被引 546

零样本强化学习让大模型自发产生推理能力,小模型也能出现顿悟时刻。

SimpleRL-Zoo: Investigating and Taming Zero Reinforcement Learning for Open Base Models in the Wild

  • 用规则奖励直接训练基础模型,无需预训练微调。
  • 多模型实验显示推理准确率与回复长度显著提升。
  • 首次在非通义系列小模型中观察到‘顿悟’现象,适合模型自进化研究者。

DeepSeek-R1表明,通过基于规则奖励的简单强化学习框架,长链式思维(CoT)可自然涌现,训练可直接从基础模型开始——这一范式称为零强化学习训练(zero RL training)。现有复现工作多聚焦于Qwen2.5系列模型,但该系列本身已具备较强指令遵循与自我反思能力,代表性有限。本文在10种不同家族与规模的基础模型上系统研究零RL训练,涵盖LLama3-8B、Mistral-7B/24B、DeepSeek-Math-7B、Qwen2.5-math-7B及所有从0.5B到32B的Qwen2.5模型。通过调整格式奖励与控制查询难度等关键设计策略,在多数设置下显著提升了推理准确率与回复长度。然而,细致监控训练动态发现,不同模型呈现各异训练模式:回复长度增加并不总伴随验证等认知行为的出现。值得注意的是,首次在非通义系列的小模型中观测到‘顿悟’(aha moment)。我们开源了实现成功零RL训练的关键设计、模型、代码与分析工具,以促进后续研究。

原文摘要 · Abstract (English)

DeepSeek-R1 has shown that long chain-of-thought (CoT) reasoning can naturally emerge through a simple reinforcement learning (RL) framework with rule-based rewards, where the training may directly start from the base models-a paradigm referred to as zero RL training. Most recent efforts to reproduce zero RL training have primarily focused on the Qwen2.5 model series, which may not be representative as we find the base models already exhibit strong instruction-following and self-reflection abilities. In this work, we investigate zero RL training across 10 diverse base models, spanning different families and sizes including LLama3-8B, Mistral-7B/24B, DeepSeek-Math-7B, Qwen2.5-math-7B, and all Qwen2.5 models from 0.5B to 32B. Leveraging several key design strategies-such as adjusting format reward and controlling query difficulty-we achieve substantial improvements in both reasoning accuracy and response length across most settings. However, by carefully monitoring the training dynamics, we observe that different base models exhibit distinct patterns during training. For instance, the increased response length does not always correlate with the emergence of certain cognitive behaviors such as verification (i.e., the "aha moment"). Notably, we observe the "aha moment" for the first time in small models not from the Qwen family. We share the key designs that enable successful zero RL training, along with our findings and practices. To facilitate further research, we open-source the code, models, and analysis tools.

强化学习推理生成大模型零样本训练

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。