Diversity or Precision? A Deep Dive into Next Token Prediction

Haoyuan Wu, Hai Wang, Wujiajia, Jinxiang Ou, keyaowang, Weile Chen, Zihao Zheng, Bei Yu

TL;DR

This paper challenges the conventional wisdom that high-entropy (diverse) token distributions are better for Reinforcement Learning (RL) exploration. By reformulating standard cross-entropy pre-training as a single-step RL episode, the authors introduce a generalized objective that explicitly controls the trade-off between diversity and precision, finding that precision-oriented priors actually lead to superior reasoning performance after RL.

What Problem Does This Paper Address?

Large Language Models (LLMs) typically follow a two-stage birth: massive pre-training via next-token prediction (supervised learning), followed by Reinforcement Learning (RL) to hone reasoning capabilities. However, the success of RL is tethered to the "exploration space" established during pre-training. If a model’s initial probability distribution is too narrow, it might never find the optimal reasoning path; if it's too broad, the search space becomes unmanageably noisy.

The authors identify a gap in our understanding of how the standard cross-entropy (CE) loss—the bread and butter of pre-training—shapes this exploration space. They ask: Should we prioritize diversity (keeping many options on the table) or precision (focusing on the ground truth) during pre-training to maximize the model's ultimate reasoning potential?

Methods

The researchers begin by mathematically "bridging" supervised learning and RL. They demonstrate that the standard cross-entropy loss is actually a specific instance of policy gradient optimization where the model receives a reward for the ground-truth token and zero reward for all others.

Building on this, they propose a generalized pre-training objective with two main levers:

  1. Positive Reward Scaling ($\beta$): A modulating factor for the ground-truth token. Setting $\beta < 0$ amplifies the reward, forcing the model to concentrate probability mass on the correct token (increasing precision). Setting $\beta > 0$ attenuates the reward, resulting in a flatter, higher-entropy distribution (increasing diversity).
  2. Rank-Aware Negative Suppression ($\tilde{\lambda}, \hat{\lambda}$): Unlike standard CE, which treats all "wrong" tokens the same, this method treats them asymmetrically. It can assign small rewards to high-ranking negative tokens to maintain "plausible alternatives" while aggressively penalizing low-probability tail tokens to reduce noise.

The team tested these configurations across various architectures, including dense models (1B, 4B) and Mixture-of-Experts (MoE) models (up to 20B parameters).

Datasets

The models were trained and evaluated using a rigorous pipeline:

  • Pre-training: A 500B token corpus focused on general knowledge.
  • Mid-training: A 100B token corpus with a higher density of reasoning and coding data (excluding long-CoT data to prevent contamination).
  • RL Stage: Mathematical reasoning tasks optimized via the GRPO algorithm.
  • Benchmarks: 19 distinct benchmarks including MMLU (general knowledge), GSM8K and MATH-500 (mathematics), and HumanEval+ (coding).

Key Insights and Ideas

  • The Precision Paradox: Contrary to the intuition that a "diverse" model explores better, the authors found that precision-oriented priors ($\beta < 0$) provide a superior starting point for RL. These models converge to higher-quality solutions more reliably.
  • Entropy Collapse in "Diverse" Models: Models initialized with high global entropy ($\beta > 0$) often suffer from a sudden "entropy collapse" and a drastic shortening of response lengths during the early stages of RL. This suggests that a lack of precision during pre-training makes the model fragile when it starts searching for complex reasoning paths.
  • Scaling Benefits: The advantages of precision-focused strategies (like penalizing tail tokens) become more pronounced as model capacity increases. Larger models benefit more from a "peaked" distribution that filters out low-quality "tail" noise.
  • Local vs. Global Control: The study shows that global entropy (controlled by $\beta$) and local entropy (controlled by negative token rewards) are both vital. Maintaining high local entropy (plausible alternatives) while keeping global precision high seems to be a winning combination.

Key Results

The quantitative results across multiple scales show a clear trend:

  • Superior Scaling: As shown in Figure 2, configurations that prioritize precision (lower global entropy) demonstrate better scaling behavior as model parameters increase.
Performance growth during pre-training across different configurations.
  • RL Trajectories: In RL training for the 20B MoE model, the precision-oriented settings consistently reached higher accuracy levels on math benchmarks compared to the high-entropy baseline.
  • Stability: Figure 6 illustrates that precision-oriented models maintain a more robust policy distribution throughout RL, avoiding the sharp drop in response length seen in high-entropy models.
Entropy and response length dynamics during RL.

Limitations and Future Work

The authors acknowledge several constraints:

  • Domain Specificity: The study focuses heavily on mathematical reasoning where rewards are "verifiable" (right or wrong). It is unclear if these precision-oriented priors would be as effective for subjective tasks like creative writing or open-ended dialogue.
  • Hyperparameter Complexity: The new objective introduces several new hyperparameters ($\beta, \lambda, k$) that currently require manual tuning.
  • Future Directions: The team suggests developing adaptive strategies to set these parameters automatically and extending the analysis to a broader range of task domains beyond mathematics and code.

Summary updated

BibTeX
@inproceedings{wu2026diversity,
  author = {Haoyuan Wu and Hai Wang and Wujiajia and Jinxiang Ou and keyaowang and Weile Chen and Zihao Zheng and Bei Yu},
  title = {{Diversity or Precision? A Deep Dive into Next Token Prediction}},
  booktitle = {COLM},
  year = {2026},
  url = {https://openreview.net/forum?id=1hdTDDIDQI},
}
Figure