Abstract
Large Language Models (LLMs) have achieved impressive performance across diverse tasks but continue to struggle with learning transitive relations, a cornerstone for complex planning. To address this issue, we investigate the Multi-Token Prediction (MTP) paradigm and its impact to transitive relation learning. We theoretically analyze the MTP paradigm using a Transformer architecture composed of a shared output head and a transfer layer. Our analysis reveals that the transfer layer gradually learns the multi-step adjacency information, which in turn enables the backbone model to capture unobserved transitive reachability relations beyond those directly present in the training data, albeit with some inevitable noise in adjacency estimation. Building on this foundation, we propose two strategies to enhance the transfer layer and overall learning quality: Next-Token Injection (NTI) and a Transformer-based transfer layer. Our experiments on both synthetic graphs and the Blocksworld planning benchmark validate our theoretical findings and demonstrate that the improvements significantly enhance the model's path-planning capability. These findings deepen our understanding of how Transformers with MTP learn in complex planning tasks, and provide practical strategies to overcome the transitivity bottleneck, paving the way toward structurally aware and general-purpose planning models.
Introduction
Standard Large Language Models (LLMs) are typically trained using Next-Token Prediction (NTP). While this objective enables models to mimic linguistic patterns with high fidelity, it often falls short in tasks requiring complex transitive reasoning. In planning scenarios, a model might know that state $A \to B$ and $B \to C$, yet fail to infer a path from $A \to C$ if that specific shortcut was absent from the training corpus. This phenomenon, termed the transitivity bottleneck, limits the utility of LLMs in domains like robotic motion planning or mathematical theorem proving where multi-step composition is essential.
Recent advancements have introduced Multi-Token Prediction (MTP) as a way to improve inference efficiency, popularized by models like DeepSeek-V3. This paper investigates whether MTP offers more than just speed—specifically, whether it can resolve the transitivity bottleneck by forcing models to learn the underlying structural graph of a problem.
Methodology and Theoretical Framework
The authors analyze MTP through a mechanistic lens, focusing on how gradients flow through a modified Transformer architecture.
Architecture
The proposed architecture separates the prediction task into a shared backbone and specialized transfer layers. The backbone generates a hidden state representing the current context, which is then processed by independent transfer layers to predict tokens at subsequent steps ($n+1, n+2, \dots$).
Mechanistic Insights: The Adjacency Map
A key theoretical contribution of this work is the proof that the transfer layer in an MTP setup effectively learns to approximate the adjacency matrix of the task's state-space graph. By predicting the $(n+2)$-th token, the model is forced to reconcile the current state with a future state, effectively supervising the backbone to learn transitive reachability.
Enhancements: NTI and Transformer Transfer Layers
To further improve performance, the authors introduce two key modifications:
- Next-Token Injection (NTI): Ground-truth embeddings of the next token are injected into the input of the transfer layer for the following token. This provides a stable signal that bypasses initial backbone noise, allowing the transfer layer to learn graph structures more efficiently.
- Transformer-based Transfer Layer: Replacing simple linear mappings with small Transformer blocks allows the model to capture more complex, non-linear dependencies across dimensions when projecting future states.
Experimental Evaluation
The proposed methods were tested on two distinct benchmarks: Synthetic Directed Acyclic Graphs (DAGs) and Blocksworld. In DAGs, models were tasked with finding paths of varying degrees of reachability (Degree-0 to Degree-3). Degree-2 and Degree-3 paths were never explicitly shown as single sequences during training, requiring the model to perform transitive inference.
Key Results
- Transitive Reasoning: On the most challenging "Degree-3" synthetic paths, the enhanced 2-token MTP model achieved approximately 45% accuracy, significantly outperforming the 33% accuracy of the standard 1-token baseline.
- Planning Performance: In Blocksworld, the combination of NTI and a 6-layer Transformer-based transfer layer yielded substantial gains. With a limited training set of 500 paths, the enhanced model reached 85.7% accuracy, compared to 77.9% for the baseline.
- Interpretability: Weight analysis confirmed that the transfer matrices in MTP-trained models align closely with the ground-truth adjacency matrix of the problem space, whereas NTP models fail to capture these structural relations.
Discussion and Conclusion
This research demonstrates that Multi-Token Prediction is a powerful tool for enhancing the structural reasoning capabilities of language models. By explicitly learning adjacency information through transfer layers, models can overcome the transitivity bottleneck and discover novel paths. However, limitations remain. The authors identified an "embedding bottleneck" where performance on larger graphs degrades unless the embedding dimension is scaled accordingly, suggesting a limit to the structural information a fixed-size vector can hold. Future work will explore extending these insights to natural language and reinforcement learning frameworks to further bolster general-purpose planning.
Summary updated