arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.16074cs.LGcs.AI
收藏

Transformer模型训练中的早停策略

Early-stopping for Transformer model training

School of Mathematics, Shandong University, PR China(山东大学数学学院);Huawei Technologies Ltd.(华为技术有限公司);Shandong University-Zhong Tai Securities Institute for Financial Studies(山东大学中泰证券金融研究所)

Jing He, Hua Jiang, Cheng Li, Siqian Xin, Shuzhen Yang

AI总结:

基于随机矩阵理论,提出Transformer训练早停策略,通过重尾分布和谱签名指标监测模型收敛过程。

摘要:

本工作基于随机矩阵理论(RMT),提出了一种新的Transformer训练动态早停策略。利用幂律(PL)拟合Transformer注意力矩阵作为探针,我们将训练过程分为三个阶段:结构探索、重尾结构稳定和收敛饱和。实证研究表明,浅层自注意力矩阵$V$的谱密度始终演变为重尾分布。关键在于我们提出了两个一致且无需验证集的准则:一个用于重尾动态的定量指标和一个新的谱签名,用于指示收敛。这些准则之间的强一致性突显了RMT在监控和诊断Transformer模型训练进展中的实用性。

英文摘要:

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 $V$ 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑