Introduction
Most modern Large Language Models (LLMs) are trained using Next-Token Prediction (NTP) with teacher forcing. While effective, this approach has a "short-sighted" bias: the model often overfits to local patterns and struggles with tasks requiring long-range planning or complex reasoning.
Previous attempts to address this via Multi-Token Prediction (MTP)—where the model predicts several future tokens at once—usually require adding extra transformer heads or auxiliary blocks. This makes them difficult to apply to existing "off-the-shelf" models during fine-tuning, as those new components must be trained from scratch, often leading to instability or poor parameter efficiency. MuToR (Multi-Token prediction with Registers) is a simple yet powerful modification to the standard transformer training recipe that provides a denser supervisory signal without requiring any architectural changes or extra inference-time compute.
Methods: Interleaving Registers for Lookahead
The authors introduce MuToR, which achieves multi-token prediction by inserting special learnable register tokens ($r_d$) between regular tokens ($x_t$) in the input sequence.
Core Components
- Interleaved Registers: During training, a register token is inserted after a regular token. This register is tasked with predicting a token $d$ steps ahead ($x_{t+d}$), where $d$ is a randomly sampled offset.
- Causal Attention Masking: To ensure the model remains compatible with standard autoregressive inference, MuToR uses a specific masking strategy. Regular tokens cannot see register tokens, while register tokens can only see preceding regular tokens. This ensures that the representation of regular tokens is never "polluted" by registers, allowing registers to be simply discarded at inference time with zero latency penalty.
- Position ID Manipulation: Registers are assigned position IDs that mimic the target token they are trying to predict. This allows the model to use its existing positional encoding (like RoPE) to understand the "lookahead" distance without needing new parameters.
2D Extension for Vision
For image generation, MuToR is adapted to predict tokens in a 2D neighborhood (e.g., predicting a patch below or to the right). This captures spatial dependencies more effectively than a 1D sequence.
Key Insights and Ideas
- Architecture-Agnostic MTP: Unlike previous MTP methods that require parallel or sequential output heads, MuToR requires zero architectural changes. It introduces only a single new learnable embedding (the register token), making it uniquely suited for fine-tuning pretrained models like Llama 3 or Gemma.
- Mitigating "Shortcut Learning": On synthetic path-finding tasks where standard models "cheat" by looking at local cues, MuToR successfully learns the underlying logic. This suggests that the lookahead objective forces the model to internalize "planning" representations in its hidden states.
- Efficiency in Vision: In the vision domain, MuToR-2D acts as a powerful regularizer. By predicting 2D neighbors, the model learns the global structure of images much faster. The authors found that a MuToR model trained for 100k steps could outperform a standard model trained for 200k steps.
- Compatibility with PEFT: Because it adds almost no parameters, MuToR integrates seamlessly with LoRA. In fact, LoRA-MuToR often matches or exceeds the performance of full-parameter fine-tuning with standard next-token prediction.
Key Results
The authors evaluated MuToR across mathematical reasoning (GSM8K, MATH500), abstractive summarization (SAMSum, DialogSum), and autoregressive image generation (ImageNet).
- Math Performance: On the GSM8K benchmark, MuToR improved Gemma 2B's accuracy from 38.87% to 42.10% and Llama 3 8B's accuracy from 66.41% to 67.85%.
- Summarization: MuToR consistently achieved higher ROUGE scores than both standard NTP and previous MTP baselines across SAMSum and DialogSum.
- Image Generation: On ImageNet, MuToR-2D achieved a significantly better FID (Fréchet Inception Distance) of 5.09 compared to the baseline's 6.18, indicating higher image quality and diversity.
- Compute Efficiency: Even when the baseline NTP model was trained for twice as many epochs to match MuToR's training compute, MuToR still maintained its lead, proving the gains are due to the objective, not just extra FLOPs.
Limitations and Future Work
Currently, registers are interleaved uniformly or placed randomly. The authors suggest that "targeted" placement—perhaps placing registers only before difficult reasoning steps or high-entropy tokens—could further improve efficiency. Additionally, while registers are currently discarded at inference, they could potentially be used for speculative decoding (using the register's prediction to skip steps), though this remains an area for future exploration.
Summary updated