Training-Trajectory-Aware Token Selection

Zhanming Shen, Jiaqi Hu, Zeyu Qin, Hao Chen, Wentao Ye, Zenan Huang, Yihong Zhuang, Guoshan Lu, Junlin Zhou, Junbo Zhao

Abstract

Efficient distillation is a key pathway for converting expensive reasoning capability into deployable efficiency, yet in the frontier regime where the student already has strong reasoning ability, naive continual distillation often yields limited gains or even degradation. We observe a characteristic training phenomenon: even as loss decreases monotonically, all performance metrics can drop sharply at almost the same bottleneck, before gradually recovering. We further uncover a token-level mechanism: confidence bifurcates into steadily increasing Imitation-Anchor Tokens that quickly anchor optimization and other yet-to-learn tokens whose confidence is suppressed until after the bottleneck. And the characteristic that these two types of tokens cannot coexist is the root cause of the failure in continual distillation. To this end, we propose Training-Trajectory-Aware Token Selection (T3S) to reconstruct the training objective at the token level, clearing the optimization path for yet-to-learn tokens. T3 yields consistent gains in both AR and dLLM settings: with only hundreds of examples, Qwen3-8B surpasses DeepSeek-R1 on competitive reasoning benchmarks, Qwen3-32B approaches Qwen3-235B, and T3-trained LLaDA-2.0-Mini exceeds its AR baseline, achieving state-of-the-art performance among all of 16B-scale no-think models.

Introduction: The Phenomenon of Imitation Shock

Distilling the complex reasoning capabilities of massive models like DeepSeek-R1 into smaller, deployable students is a primary goal in modern LLM development. However, in the "frontier regime"—where the student model is already highly capable—standard distillation often encounters a significant hurdle. Researchers have observed a universal pattern: while training loss decreases smoothly, downstream performance on reasoning benchmarks plummets sharply to a minimum point before slowly recovering. This phenomenon, termed "Imitation Shock," suggests that early training phases are dominated by surface-level mimicry that actively interferes with deep reasoning capabilities.

Figure 1: Training metrics illustrating the Imitation Shock. While loss (a) decreases monotonically, performance scores (c, d, e) drop significantly at the bottleneck before recovery.

Methodology: Training-Trajectory-Aware Token Selection (T3S)

The core insight of this work is that "Imitation-Anchor Tokens" (easy tokens the model quickly masters) and "Yet-to-learn Tokens" (complex reasoning steps) are fundamentally at odds during optimization. Gradients that help the model learn easy anchors can suppress the learning of reasoning tokens.

To resolve this, the authors propose Training-Trajectory-Aware Token Selection (T3S). This method identifies the "Imitation Bottleneck" by tracking training accuracy and then profiles tokens based on how their confidence evolves. Tokens that the model is already confident in at the bottleneck are masked from the loss function. This clears the optimization path, allowing the model to focus on the harder reasoning steps. For Diffusion LLMs (dLLMs), T3S employs a "Union Masking" strategy to ensure the model repeatedly practices generating these critical yet-to-learn tokens.

Key Results and Discussion

T3S demonstrates that high-quality reasoning can be distilled using remarkably small datasets. By focusing on the right tokens, models can achieve performance far beyond their weight class.

Performance Gains

Using only ~200 curated examples, a Qwen3-8B student model surpassed its teacher, DeepSeek-R1, on competitive math benchmarks. Similarly, a Qwen3-32B model trained with T3S achieved reasoning performance comparable to the massive 235B parameter version. The method also proved highly effective for non-autoregressive models; T3S-trained LLaDA-2.0-Mini achieved an AIME25 score of 53.33, a significant jump from its 30.0 baseline, setting a new state-of-the-art for 16B-scale models without explicit "thought" tokens.

Figure 3: The Imitation Shock is a universal pattern, seen here in the performance trajectory of an R1-Distilled Llama3 student.

Inference Efficiency

Beyond raw accuracy, T3S-trained models are more efficient at inference, generating 15–25% fewer tokens than standard SFT models. This indicates that the model learns to find more direct and effective reasoning paths rather than verbose, repetitive patterns.

Conclusion

T3S addresses the fundamental conflict between imitation and reasoning in LLM distillation. By leveraging training trajectories to selectively mask tokens, it enables small models to match or exceed the reasoning capabilities of their massive teachers with minimal data. This approach highlights the importance of token-level optimization strategies in the development of efficient, high-performing reasoning models.

Summary updated

BibTeX
@inproceedings{shen2026training,
  author = {Zhanming Shen and Jiaqi Hu and Zeyu Qin and Hao Chen and Wentao Ye and Zenan Huang and Yihong Zhuang and Guoshan Lu and Junlin Zhou and Junbo Zhao},
  title = {{Training-Trajectory-Aware Token Selection}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=G6PSKuGEEe},
}
Figure