DeepSeekMath 开源了 Base、Instruct 和 RL 三种 7B 检查点。最容易被记住的数字是 MATH 上的 51.7%,以及多次作答投票后的 60.9%。但这两项成绩不是同一把尺子:前者是 RL 模型单次作答,后者让模型生成 64 个答案再投票。把它们混在一起,开源模型“追平顶级闭源模型”的故事就会显得比证据更整齐。

先把模型和数字分开

DeepSeekMath 从 DeepSeek-Coder-v1.5 7B 初始化,继续用数学网页、代码和自然语言数据预训练,再经数学指令微调和强化学习形成不同检查点。项目报告的继续预训练预算是 500B tokens,其中数学语料约 120B tokens,来自 35.5M 个网页。500B 是总训练预算,不是数学文本的规模。

论文报告的成绩按检查点拆开看,变化更清楚:

  • Base 7B.GSM8K 64.2%,MATH 36.2%。
  • Instruct 7B.GSM8K 82.9%,MATH 46.8%。
  • RL 7B.GSM8K 88.2%,MATH 51.7%。

从 Instruct 到 RL,MATH 提高 4.9 个百分点,GSM8K 提高 5.3 个百分点。这说明完整的 RL 阶段带来了提升;但这个前后对比没有把算法、奖励设计、训练数据和计算量逐项拆开,不能据此把全部功劳记在 GRPO 名下。

<svg width='100%' height='300' viewBox='0 0 760 300' role='img' aria-label='DeepSeekMath数学语料采集流程'>
<rect x='1' y='1' width='758' height='298' rx='18' fill='#fbf9f4' stroke='#e2dccf'/>
<text x='32' y='42' fill='#b25a3a' font-size='19' font-weight='700'>数学网页如何进入训练语料</text>
<line x1='32' y1='58' x2='728' y2='58' stroke='#e2dccf' stroke-width='1'/>
<rect x='36' y='100' width='150' height='92' rx='12' fill='#fff' stroke='#e2dccf'/>
<text x='111' y='137' text-anchor='middle' fill='#2c2822' font-size='15' font-weight='700'>OpenWebMath</text>
<text x='111' y='163' text-anchor='middle' fill='#7a7266' font-size='13'>种子语料</text>
<line x1='190' y1='146' x2='226' y2='146' stroke='#b25a3a' stroke-width='2'/>
<polygon points='226,141 236,146 226,151' fill='#b25a3a'/>
<rect x='240' y='100' width='150' height='92' rx='12' fill='#fff' stroke='#e2dccf'/>
<text x='315' y='137' text-anchor='middle' fill='#2c2822' font-size='15' font-weight='700'>网页筛选</text>
<text x='315' y='163' text-anchor='middle' fill='#7a7266' font-size='13'>FastText 检索</text>
<line x1='394' y1='146' x2='430' y2='146' stroke='#b25a3a' stroke-width='2'/>
<polygon points='430,141 440,146 430,151' fill='#b25a3a'/>
<rect x='444' y='100' width='126' height='92' rx='12' fill='#fff' stroke='#e2dccf'/>
<text x='507' y='137' text-anchor='middle' fill='#2c2822' font-size='15' font-weight='700'>人工标注</text>
<text x='507' y='163' text-anchor='middle' fill='#7a7266' font-size='13'>扩充领域页面</text>
<line x1='574' y1='146' x2='610' y2='146' stroke='#b25a3a' stroke-width='2'/>
<polygon points='610,141 620,146 610,151' fill='#b25a3a'/>
<rect x='624' y='100' width='100' height='92' rx='12' fill='#fff' stroke='#e2dccf'/>
<text x='674' y='137' text-anchor='middle' fill='#b25a3a' font-size='16' font-weight='700'>120B</text>
<text x='674' y='163' text-anchor='middle' fill='#7a7266' font-size='13'>数学 tokens</text>
<text x='36' y='235' fill='#7a7266' font-size='13'>Common Crawl 经去重后参与检索;采集过程迭代扩充。</text>
</svg>

51.7%和60.9%不是一场比赛

51.7% 的确接近相关论文报告的 GPT-4 52.9% 和 Gemini 1.0 Ultra 53.2%。这提供了有用参照:一个公开的 7B 模型,在竞赛数学基准上已经能交出相当有竞争力的单次作答结果。

但不同论文的提示方式、答案抽取、采样设置和评分方法未必一致,这些公开数字不能当成同条件对决。60.9% 更要单列,它是 DeepSeekMath-RL 在 MATH 上对 64 个回答做自一致性投票的成绩,不是单次作答;工具辅助评测也有自己的条件,不能和单次输出混排。

<svg width='100%' height='270' viewBox='0 0 760 270' role='img' aria-label='单次作答与多次投票评测对比'>
<rect x='1' y='1' width='758' height='268' rx='18' fill='#fbf9f4' stroke='#e2dccf'/>
<text x='32' y='42' fill='#b25a3a' font-size='19' font-weight='700'>同一模型,评测预算不同</text>
<line x1='32' y1='58' x2='728' y2='58' stroke='#e2dccf' stroke-width='1'/>
<rect x='42' y='83' width='316' height='142' rx='14' fill='#fff' stroke='#e2dccf'/>
<text x='66' y='116' fill='#2c2822' font-size='16' font-weight='700'>单次作答</text>
<text x='66' y='167' fill='#b25a3a' font-size='36' font-weight='700'>51.7%</text>
<text x='66' y='198' fill='#7a7266' font-size='13'>RL 7B · MATH</text>
<rect x='402' y='83' width='316' height='142' rx='14' fill='#fff' stroke='#e2dccf'/>
<text x='426' y='116' fill='#2c2822' font-size='16' font-weight='700'>64 次回答投票</text>
<text x='426' y='167' fill='#b25a3a' font-size='36' font-weight='700'>60.9%</text>
<text x='426' y='198' fill='#7a7266' font-size='13'>自一致性 · MATH</text>
<text x='42' y='249' fill='#7a7266' font-size='13'>采样次数改变了计算预算,也改变了成绩含义。</text>
</svg>

分数上升,因果还没拆干净

GRPO 的做法,是针对同一个提示采样多个答案,再按组内相对表现估计优势,不另训练一个独立的 critic。它让强化学习训练更直接,但 DeepSeekMath 公布的检查点对比,并没有在相同起点、奖励和计算预算下,与其他 RL 方法做严格对照。分数提升可以归于 RL 阶段,不能直接等同于 GRPO 的独立贡献。

数据审计也是类似问题。论文描述了过滤训练语料与基准重叠内容的措施,但 OpenWebMath 种子数据经过审计,不等于最终从 Common Crawl 派生的全部语料、初始检查点、指令微调数据和 RL 数据都分别完成了独立审计。过滤能降低逐字重合风险,却无法自动排除改写、翻译或公式变形带来的记忆可能。

MATH 是竞赛数学基准,GSM8K 是小学阶段文字应用题;两者的最终答案分数都不能完整证明推理过程正确,也不能代表中文数学表现。后续发布的 Qwen2.5-Math-7B-Instruct 在 MATH 上报告 83.6%,采用的是工具整合推理设置,而且属于不同时间发布的另一模型。拿它直接和 DeepSeekMath 单次作答排榜,结论没有意义。

<svg width='100%' height='250' viewBox='0 0 760 250' role='img' aria-label='DeepSeekMath三个检查点的数学评测成绩'>
<rect x='1' y='1' width='758' height='248' rx='18' fill='#fbf9f4' stroke='#e2dccf'/>
<text x='32' y='42' fill='#b25a3a' font-size='19' font-weight='700'>同一论文中的检查点成绩</text>
<line x1='32' y1='58' x2='728' y2='58' stroke='#e2dccf' stroke-width='1'/>
<text x='54' y='98' fill='#7a7266' font-size='13'>检查点</text>
<text x='300' y='98' fill='#7a7266' font-size='13'>GSM8K</text>
<text x='520' y='98' fill='#7a7266' font-size='13'>MATH</text>
<line x1='42' y1='111' x2='718' y2='111' stroke='#e2dccf' stroke-width='1'/>
<text x='54' y='145' fill='#2c2822' font-size='15'>Base 7B</text>
<text x='300' y='145' fill='#2c2822' font-size='15'>64.2%</text>
<text x='520' y='145' fill='#2c2822' font-size='15'>36.2%</text>
<text x='54' y='179' fill='#2c2822' font-size='15'>Instruct 7B</text>
<text x='300' y='179' fill='#2c2822' font-size='15'>82.9%</text>
<text x='520' y='179' fill='#2c2822' font-size='15'>46.8%</text>
<text x='54' y='213' fill='#2c2822' font-size='15'>RL 7B</text>
<text x='300' y='213' fill='#2c2822' font-size='15'>88.2%</text>
<text x='520' y='213' fill='#b25a3a' font-size='15' font-weight='700'>51.7%</text>
</svg>

对开发者来说,这些开源检查点值得复现;但复现时得固定提示、采样预算、工具和评分器。对教育与应用团队,英文竞赛题的命中率也不足以替代对错误推理、中文题和新题的验证。接下来真正能拉开可信度的,是统一条件下的匹配评测、训练各阶段的数据审计,以及对 GRPO 的受控消融。

榜单上的一分,先问清怎么算。

模型分数涨了,值得肯定;它能不能在没见过的题上稳住,才决定这份提升值不值得信。