arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.17074cs.LG
收藏

PRISM:解开中期训练中保留与交互的谜团

PRISM: Demystifying Retention and Interaction in Mid-Training

IBM Research, MIT-IBM Watson AI Lab(IBM研究院,MIT-IBM沃森人工智能实验室)

Bharat Runwal, Ashish Agrawal, Anurag Roy, Rameswar Panda

AI总结:

PRISM通过七种基础模型的受控实验,发现中期训练能显著提升数学、代码和科学基准测试成绩,同时保持整体性能,且数据组成比强化学习更重要。

摘要:

我们提出了PRISM,对大语言模型中期训练设计进行综合实证研究。通过在七个基础模型(Granite、LLaMA、Mistral、Nemotron-H)上进行受控实验,涵盖四种家族、两种架构类型(密集Transformer和注意力-Mamba混合)以及从3B到24B参数的规模,我们发现中期训练约27B高质量令牌能带来数学+15至+40分、代码+5至+12分、科学+6至+13分的提升,同时保持整体性能。完整的PRISM到RL流水线使六个推理基准的宏平均从低于12提升到29-42(3-4倍提升),而直接对大多数基础模型应用RL效果有限,AIME分数接近零。数据组成在中期训练中最为关键,而非RL:在中期训练中包含科学数据可解锁RL中的+17至+28点GPQA-Diamond提升,而改变RL混合比例仅产生小于2分的差异。机制上,中期训练密集重构了超过90%的模型权重,而RL则对约5%的参数进行稀疏、前端优化。表示分析(CKA)确认RL在不同架构中一致保持中期训练的表示几何(超过0.998 CKA)。关键的是,RL应用相同的权重变化,无论起始点如何,但仅在中期训练模型上成功,这与中期训练将模型置于从其中RL可以有效提升性能的配置一致。我们的结果表明,保留意识的中期训练对可靠推理增强非常有效,并为设计稳健的中期训练流水线提供了实用指导。

英文摘要:

We present PRISM, a comprehensive empirical study of mid-training design choices for large language models. Through controlled experiments across seven base models spanning four families (Granite, LLaMA, Mistral, Nemotron-H), two architecture types (dense Transformer and attention-Mamba hybrid), and scales from 3B to 24B parameters, we show that mid-training on approximately 27B high-quality tokens yields consistent gains of +15 to +40 points on math, +5 to +12 points on code, and +6 to +13 points on science benchmarks while preserving general performance. The full PRISM to RL pipeline improves macro-average across six reasoning benchmarks from under 12 to 29-42 (a 3-4x improvement), whereas RL applied directly to most of the base models remains substantially less effective, with AIME scores near zero. Data composition matters most at mid-training, not RL: including science data during mid-training unlocks +17 to +28 point GPQA-Diamond gains during RL, while changing the RL mix produces less than 2 point differences. Mechanistically, mid-training densely restructures over 90% of model weights, while RL makes sparse, front-loaded refinements to approximately 5% of parameters. Representation analysis (CKA) confirms that RL consistently preserves mid-training's representational geometry (over 0.998 CKA) across architectures. Crucially, RL applies identical weight changes regardless of starting point, yet only succeeds on mid-trained models, consistent with mid-training placing the model in a configuration from which RL can effectively improve performance. Our results demonstrate that retention-aware mid-training is highly effective for reliable reasoning enhancement and provide practical guidance for designing robust mid-training pipelines.

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

↑