arXiv · 2611.28369
CausalNTP: A World-Model Recipe for Causal Next-Token Prediction under Noisy Training-data
Abstract
Inject the phrase "the answer is 42" to a natural language math problem, and a transformer trained with standard next-token prediction will often change its answer to 42. Inject an irrelevant background sentence and the response drifts. We show that these failure modes are a property of the standard next-token-prediction (NTP) objective itself, some of which cannot be fixed by model scale, data scale, or choice of token-ordering in training dataset: NTP either teaches a transformer to explicitly exploit non-causal tokens its left-context that correlates with the target, or renders a model that is never taught to avoid them during inference. We formalize said failure modes by deriving the Bayes-optimal predictor under samples drawn from a causal DAG, where the notion of causal relationship between nodes are clearly defined. In this setting, we show that standard NTP fails to find models that ignore non-parent nodes present in the left-context. We propose an objective whose minimizer is a predictor that achieves the causally correct value even when the training data contains partially corrupted targets. We then prove that an Occam realization of this minimizer -- the smallest circuit that implements this predictor -- reads only the causal parents of the target, and hence guarantees that the predictor predicts the target correctly even outside the support of the training distribution. CausalNTP is a practical algorithm that approximates this objective; it lifts GSM8K accuracy under adversarial hint and irrelevant context injection from $60.0\%$ to $70.6\%$ in the clean-target regime, and from $44.1\%$ to $59.9\%$ when $10\%$ of training targets are themselves wrong.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Devansh Arpit. 2026-11-28. CausalNTP: A World-Model Recipe for Causal Next-Token Prediction under Noisy Training-data. https://arxiv.science/abs/2611.28369
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.