English

Early-stopping for Transformer model training

Machine Learning 2025-12-30 v2 Artificial Intelligence

Abstract

This work, based on Random Matrix Theory (RMT), introduces a novel early-stopping strategy for Transformer training dynamics. Utilizing the Power Law (PL) fit to tansformer attention matrices as a probe, we demarcate training into three stages: structural exploration, heavy-tailed structure stabilization, and convergence saturation. Empirically, we observe that the spectral density of the shallow self-attention matrix VV consistently evolves into a heavy-tailed distribution. Crucially, we propose two consistent and validation-set-free criteria: a quantitative metric for heavy-tailed dynamics and a novel spectral signature indicative of convergence. The strong alignment between these criteria highlights the utility of RMT for monitoring and diagnosing the progression of Transformer model training.

Keywords

Cite

@article{arxiv.2510.16074,
  title  = {Early-stopping for Transformer model training},
  author = {Jing He and Hua Jiang and Cheng Li and Siqian Xin and Shuzhen Yang},
  journal= {arXiv preprint arXiv:2510.16074},
  year   = {2025}
}
R2 v1 2026-07-01T06:44:05.738Z