NITP: Next Implicit Token Prediction for LLM Pre-training

Xiangdong Zhang, Debing Zhang, Shaofeng Zhang, Xiaohan Qin, Yu Cheng, Junchi Yan

Executive Summary

Standard Large Language Model (LLM) training relies almost exclusively on Next-Token Prediction (NTP)—predicting the next discrete token ID. While highly effective, this approach provides sparse supervision that can lead to "collapsed" or anisotropic internal representations. Next Implicit Token Prediction (NITP) addresses this by forcing the model to simultaneously predict the continuous, semantic representation of the next token, using its own shallow layers as a guide. This auxiliary objective significantly boosts reasoning and knowledge performance across various architectures, adding negligible computational overhead during training and zero cost during inference.

The Problem: Representation Degeneration

Most LLMs are trained to maximize the likelihood of a specific discrete token given the preceding context. However, because the model is only evaluated on whether it selects the correct discrete label from a vast vocabulary, its internal latent representation space remains under-constrained.

This lack of constraint frequently leads to representation degeneration (or anisotropy), where the model’s internal embeddings collapse into a narrow, low-dimensional cone. When representations become too similar, the model loses expressive power. This bottleneck ultimately restricts its ability to generalize to complex downstream tasks, such as logical reasoning and deep reading comprehension.

The Solution: Next Implicit Token Prediction (NITP)

To supervise the geometry of the latent space, the authors introduce NITP, an auxiliary objective that augments discrete prediction with dense, continuous supervision.

  1. The "Implicit" Target: Rather than relying on an expensive external model for continuous labels, NITP uses the model’s own shallow layers (typically around the 20% depth mark) as the target. These early layers act as "semantic anchors," capturing rich contextual meaning before deeper layers strip away details to focus purely on token discrimination.
  2. The Prediction Task: The model must use its final hidden state at time $t$ to predict the representation of the next token ($t+1$) as it appears in those shallow layers.
  3. Architecture & Optimization: A lightweight Multi-Layer Perceptron (MLP) projection head maps the final hidden state to the target space. A stop-gradient is applied to the target to ensure the shallow layers remain stable and do not shift merely to minimize the prediction loss.
  4. Cosine Similarity Loss: The auxiliary loss uses cosine similarity to align the predicted representation with the target, ensuring the model focuses on the semantic direction of the vector rather than its magnitude.
  5. Joint Training: The total loss combines the standard NTP loss with the NITP loss. During inference, the projection head is discarded, allowing the model to operate exactly like a standard Transformer with no added latency.

Key Insights & Theoretical Grounding

  • Shallow Layers are Optimal Teachers: The authors discovered a "sweet spot" for target representations at approximately 20% of the model's depth. The very first embedding layer lacks sufficient context, while deeper layers are already prone to degeneration.
  • Temporal Shift is Essential: A critical finding is the necessity of predicting the next token's representation. Attempting to align representations at the same time step (layer-wise alignment) causes the model to collapse into trivial solutions, degrading performance.
  • Spectral Lifting: Theoretically, NITP performs "spectral lifting." Standard NTP leaves "flat valleys" in the optimization landscape where the model can drift into degenerate configurations without penalty. NITP introduces "positive curvature" to these valleys, forcing the model to maintain a robust, high-rank representation geometry.

Empirical Results

The researchers pre-trained dense and Mixture-of-Experts (MoE) models from scratch on budgets ranging from 105B to 330B tokens. NITP consistently outperformed standard NTP, with gains scaling alongside model size.

  • Performance Leaps: On a 9B MoE model, NITP achieved a 5.7% absolute improvement on MMLU-Pro, a 6.4% gain on C3, and a 4.3% boost on CommonsenseQA.
  • Enhanced Embeddings: On the Massive Text Embedding Benchmark (MTEB), NITP improved performance on 23 out of 25 tasks, demonstrating that the internal representations capture deeper, more transferable meaning.
  • High Efficiency: The auxiliary training cost is marginal—requiring only about 2% additional FLOPs and ~1.8% extra wall-clock time. Because the projection head is discarded post-training, there is zero additional inference cost.

Limitations and Future Directions

While highly effective, NITP introduces two new hyperparameters: the choice of the target layer ($k$) and the loss weight ($\lambda$). Although these proved relatively stable across the tested parameter ranges, frontier-scale models may require further tuning. Future work could explore using a combination of layers or more sophisticated projection architectures to capture finer semantic nuances. Additionally, while NITP was successfully tested with an 8192-token context window, its impact on extremely long-context models (e.g., 1M+ tokens) remains an open area for exploration.

Summary updated

BibTeX
@inproceedings{zhang2026nitp,
  author = {Xiangdong Zhang and Debing Zhang and Shaofeng Zhang and Xiaohan Qin and Yu Cheng and Junchi Yan},
  title = {{NITP: Next Implicit Token Prediction for LLM Pre-training}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=oPQmCKS1tV},
}
Figure