CausalNTP:噪声训练数据下因果下一词预测的世界模型训练方法
CausalNTP: A World-Model Recipe for Causal Next-Token Prediction under Noisy Training-data
论文提出 CausalNTP 训练算法,让 transformer 在下一词预测(NTP)中只依赖左上下文里因果相关的 token,而非全部上下文。作者证明将预测蒸馏到非因果数据视图、并在奥卡姆剃刀下实现时可恢复真实因果预测器。在世界模型设定下,CausalNTP 实现了 vanilla NTP 因理论限制无法达到的分布外泛化,并在自然语言问答中表现出类似增益。
arXiv:2611.28369v1 Announce Type: new Abstract: This paper shows that transformer networks trained with next-token prediction (NTP) and gradient descent do not learn to make predictions using only causally-relevant tokens in the left context, irrespective of the causal ordering of tokens during training, and identifies the learning deficiencies responsible. We introduce a causal world-model setup, for which, we characterize the Bayes-optimal predictor under the causal view of the data. We then prove that, a function that distills its predictions to non-causal views of data, when realized under Occam's Razor, recovers the true causal predictor. Based on this analysis we propose CausalNTP, a practical training algorithm that approximates this theoretical recipe and trains transformers to depend only the causally relevant tokens in left-context. Empirically in the world-model setup, CausalNTP achieves out-of-distribution generalization that vanilla NTP cannot due to its theoretical limits, regardless of data and model scale. We show similar gains and behavior in the natural language question-answering setting as a proof-of-concept.
来源:arXiv (AI + Vision + Imaging) · arxiv.org