Skip to main content
QUICK REVIEW

[论文解读] PRISM: Demystifying Retention and Interaction in Mid-Training

Bharat Runwal, Ashish Agrawal|arXiv (Cornell University)|Mar 17, 2026
Topic ModelingComputer Science被引用 0
一句话总结

PRISM 在多家族的大规模语言模型中对中期训练进行实证分析,显示在大约 270 亿高质量标记的保留感知中期训练阶段可持续提升推理能力(包括数学、代码与科学)并显著增强强化学习(RL)的有效性,同时对数据组成与架构的相互作用进行了全面表征。

ABSTRACT

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.

研究动机与目标

  • 研究中期训练数据组成、时机与架构如何影响一般能力的保留以及领域特定推理的保持。
  • 评估中期训练如何与下游强化学习(RL)在不同模型家族与规模下的相互作用。
  • 为设计鲁棒的保留感知中期训练管线提供可操作指南。

提出的方法

  • 进行对照的、规模化的大规模实验(7 个基线模型、4 个家族、2 种架构、3–24B 参数)。
  • 使用总计约 270 亿高质量令牌的定向中期训练混合,覆盖通用网页、数学、代码与科学数据。
  • 用广泛的基准套件进行评估(通用排行榜 LB-V1/LB-V2、长上下文 RULER、代码、数学、科学基准)。
  • 将完整的 PRISM→RL 管线与直接对基线模型应用 RL 进行比较,以分离交互效应。
  • 对长上下文恢复、中期训练期间的上下文长度以及令牌预算进行消融分析。
  • 在不同模型家族中进行力学分析(权重发散、CKA、信息熵、RL 权重轨迹)。
Figure 1 : PRISM overview. Mid-training decisions are decomposed into their principal design axes, including retention of general and long-context abilities, domain interaction (math, code, science), benchmark selection, reinforcement learning compatibility, and scaling behavior. PRISM enables holis
Figure 1 : PRISM overview. Mid-training decisions are decomposed into their principal design axes, including retention of general and long-context abilities, domain interaction (math, code, science), benchmark selection, reinforcement learning compatibility, and scaling behavior. PRISM enables holis

实验结果

研究问题

  • RQ1中期训练的数据混合(数学、代码、科学)如何影响在不同架构与规模上的一般能力与领域特定推理的保留?
  • RQ2中期训练如何与下游 RL 交互,且这种收益是否依赖于从中期训练状态开始?
  • RQ3哪些实际设计选项(时机、上下文长度、令牌预算)在不牺牲通用性能的前提下优化中期训练收益?
  • RQ4中期训练与 RL 之间存在何种力学差异(如权重变更范围、表示几何)?

主要发现

  • - 中期训练在不同模型上持续带来推理收益:数学提升 +15 至 +40 分,代码提升 +5 至 +12 分,GPQA-Diamond 科学基准提升 +6 至 +13 分,同时保持一般性能。
  • - 完整的 PRISM→RL 管线在六个推理基准上的宏观平均分从低于 12 提升到 29–42(改善 3–4 倍);在基线模型上进行 RL 的效果远差于此。
  • - 数据组成在中期训练阶段影响最大:在中期训练中包含科学数据可在 RL 期间带来 +17 至 +28 的 GPQA-Diamond 增益;改变 RL 混合程度导致的差异小于 2 点。
  • - 受架构与规模影响的收益具有普遍性:密集型 Transformer 与注意力-Mamba 混合架构均能从 PRISM 获得稳定增益。
  • - RL 的变化是前置且稀疏的(约 5% 参数),而中期训练则对 >90% 的参数进行密集重构,指示两者具有不同的优化机制。
  • - RL 保留中期训练的表示(CKA > 0.998),跨架构;中期训练对表示的影响是模型特定的,但 RL 主要对中期训练后的模型有效。
Figure 2 : Mid-training data mixture configurations and per-source sampling percentages. The outer ring shows individual data sources; the inner ring groups them by domain category.
Figure 2 : Mid-training data mixture configurations and per-source sampling percentages. The outer ring shows individual data sources; the inner ring groups them by domain category.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。