用局部步骤评分提升模型推理数据选择效果
The Signal is in the Steps: Local Scoring for Reasoning Data Selection
- 按每一步的上下文判断合理性,而非整体流畅性
- 在数学、编程、科学任务中准确率显著提升
- 适合多教师数据融合与微调前的最优教师筛选
将长序列推理从教师模型压缩到学生模型,需选择训练用候选解。现有方法倾向于选择学生模型概率最高的解,即偏好对齐学生“自然”的答案。但我们发现,该方法在单一教师内有效,却在多个多样化教师的长推理链中失效。根本原因在于:学生通过重组熟悉推理步骤实现泛化,而非记忆完整解。传统全轨迹评分优化了全局流畅性,但真正可迁移的信号存在于局部步骤转换中。为此我们提出局部平均对数概率(LALP),仅用前序小窗口上下文评估每一步的合理性,衡量其是否由直接前提支持。LALP支持两个实际场景:微调前筛选最佳教师,以及从多元教师池中构建训练数据。在数学、编码和科学推理任务上,使用LALP选择最自然解时,准确率提升显著。
原文摘要 · Abstract (English)
Distilling long-form reasoning from teacher models into smaller students requires selecting which candidate solutions to train on. Recent work argues that one should select responses the student model assigns highest probability, i.e., favoring solutions ``natural'' to the student. However, we find that this approach works within a single teacher but fails when scaling to long reasoning traces from multiple diverse teachers. We identify a key cause: this approach scores entire solutions, but students generalize by recombining familiar reasoning steps, not by memorizing complete solutions. Full-trajectory scoring optimizes the wrong target; it rewards global fluency while the transferable signal lies in local step transitions. We propose Local Average Log Probability (LALP), which scores each reasoning step using only a small window of preceding context, measuring whether each step is justified by its immediate premises rather than whether the full response looks natural to the student. LALP enables two practical use cases: selecting the best teacher before fine-tuning and curating training data from diverse teacher pools. Across math, coding, and science reasoning tasks, LALP consistently improves accuracy when selecting the most natural solutions by a large margin.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。