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

SimpleRL-Zoo:探究并驯服开放基础模型在真实场景中的零强化学习

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

HKUST(香港科技大学);TikTok(字节跳动);Meituan(美团)

Weihao Zeng, Yuzhen Huang, Qian Liu, Wei Liu, Keqing He, Zejun Ma, Junxian He

AI总结:

本研究跨10种基础模型探究零强化学习训练,提出格式奖励与查询难度等关键策略,显著提升推理性能,并首次在非Qwen小模型中观察到“顿悟时刻”,开源代码与模型。

摘要:

DeepSeek-R1 表明,通过简单的强化学习(RL)框架和基于规则的奖励,长思维链(CoT)推理可以自然涌现,其中训练可以直接从基础模型开始——这种范式被称为零 RL 训练。最近复现零 RL 训练的努力主要集中在 Qwen2.5 模型系列上,这可能不具有代表性,因为我们发现这些基础模型已经表现出强大的指令遵循和自我反思能力。在这项工作中,我们研究了跨 10 个不同基础模型的零 RL 训练,涵盖不同系列和规模,包括 LLama3-8B、Mistral-7B/24B、DeepSeek-Math-7B、Qwen2.5-math-7B 以及所有从 0.5B 到 32B 的 Qwen2.5 模型。利用几个关键设计策略——例如调整格式奖励和控制查询难度——我们在大多数设置中实现了推理准确性和响应长度的显著提升。然而,通过仔细监控训练动态,我们观察到不同基础模型在训练过程中表现出不同的模式。例如,响应长度的增加并不总是与某些认知行为(如验证,即“顿悟时刻”)的涌现相关。值得注意的是,我们首次在非 Qwen 家族的小模型中观察到“顿悟时刻”。我们分享了实现成功零 RL 训练的关键设计,以及我们的发现和实践。为了促进进一步研究,我们开源了代码、模型和分析工具。

英文摘要:

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.

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

↑