arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2509.26643cs.CLcs.LG
收藏

不同随机种子下语言模型的收敛与发散

Convergence and Divergence of Language Models under Different Random Seeds

ETH Zürich(苏黎世联邦理工学院);University of Texas at Austin(德克萨斯大学奥斯汀分校)

Finlay Fehlauer, Kyle Mahowald, Tiago Pimentel

AI总结:

该研究通过逐词KL散度度量不同随机种子下训练的语言模型收敛性,发现四阶段收敛模式,揭示模型规模、词频与词性对收敛及分布学习稳定性的影响。

摘要:

本文研究了在不同随机种子下训练的语言模型(LMs)的收敛性,将收敛性定义为不同种子间期望的逐词Kullback--Leibler(KL)散度。通过比较语言模型收敛性随模型规模与训练检查点的变化规律,我们识别出四阶段收敛模式:(i)初始均匀阶段,(ii)快速收敛阶段,(iii)快速发散阶段,(iv)缓慢再收敛阶段。此外,我们观察到更大的模型在训练后期再收敛速度更快,而较小的模型实际上从未实现再收敛;这些结果表明,要学习稳定的分布,可能需要达到一定的模型规模。将分析限定在特定词频或词性(PoS)标签时进一步发现,不同语言类别的收敛性并不均衡:高频词和功能词比对应的低频词和实义词收敛更快、更可靠。总体而言,我们的发现揭示了影响模型训练中所学分布稳定性的因素。

英文摘要:

In this paper, we investigate the convergence of language models (LMs) trained under different random seeds, measuring convergence as the expected per-token Kullback--Leibler (KL) divergence across seeds. By comparing LM convergence as a function of model size and training checkpoint, we identify a four-phase convergence pattern: (i) an initial uniform phase, (ii) a sharp-convergence phase, (iii) a sharp-divergence phase, and (iv) a slow-reconvergence phase. Further, we observe that larger models reconverge faster in later training stages, while smaller models never actually reconverge; these results suggest that a certain model size may be necessary to learn stable distributions. Restricting our analysis to specific token frequencies or part-of-speech (PoS) tags further reveals that convergence is uneven across linguistic categories: frequent tokens and function words converge faster and more reliably than their counterparts (infrequent tokens and content words). Overall, our findings highlight factors that influence the stability of the learned distributions in model training.

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

↑