跳到正文
arXiv (AI + Vision + Imaging)· Jianhao Huang, Allan Zhang, Ali Payani, Baharan Mirzasoleiman·· 9 天前AI 评分22

推理数据在预训练中扮演什么角色:线性Transformer权重分配理论分析

Understanding the Role of Reasoning Data in Pretraining

AI 导读

研究构建了每个事实都提供原子训练信号、仅部分事实出现在推理监督中的设定,以测量模型对仅在原子信号中出现、未用于推理链训练的状态转移的泛化能力。对线性Transformer推导出使留出转移平方误差最小的原子训练信号权重,其主导阶最优值随推理链长度增加、随推理链中留出事实比例上升而下降,该趋势在含MLP、softmax注意力与交叉熵损失的完整Transformer层中依然成立。

正文 · 原文

arXiv:2611.19042v1 Announce Type: new Abstract: Reasoning data expose models to multi-step reasoning, but reasoning traces may cover only a subset of the available facts. How should pretraining balance atomic facts with reasoning traces? We study this question by constructing a setting in which every fact provides an atomic training signal, while only a subset appears in reasoning supervision, enabling us to measure generalization to transitions observed atomically but never used in training traces. For a linear transformer, we derive the weight assigned to atomic training signals that minimizes held-transition squared error and show that its leading-order optimum increases with reasoning-chain length and decreases with the fraction of facts held out from reasoning traces. These trends persist in a full transformer layer with an MLP, softmax attention, and cross-entropy loss. We further validate the role of reasoning complexity and data coverage in two natural-language settings: controlled multi-hop reasoning and mathematical pretraining. Together, our results provide a principled view of how reasoning-chain structure and data coverage should shape the allocation of training data during pretraining.

来源:arXiv (AI + Vision + Imaging) · arxiv.org