arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.02364cs.LGcs.AIcs.CL
收藏

Transformer中的损失景观简并性与阶段性发展

Loss Landscape Degeneracy and Stagewise Development in Transformers

Timaeus;Department of Computer Science, University of Oxford(计算机科学系,牛津大学);Department of Econometrics and Business Statistics, Monash University(计量经济学与商业统计系,墨尔本大学);School of Mathematics and Statistics, the University of Melbourne(数学与统计学系,墨尔本大学)

Jesse Hoogland, George Wang, Matthew Farrugia-Roberts, Liam Carroll, Susan Wei, Daniel Murfet

AI总结:

本研究基于奇异学习理论,提出Transformer模型发展与损失景观局部简并性相关,通过实验验证训练存在简并性变化阶段且与结构行为变化同步,为理解深度学习提供新视角。

摘要:

深度学习涉及在神经网络参数空间的高维损失景观中寻优。在训练过程中,神经网络内部会形成并重构复杂的计算结构,导致输入输出行为发生变化。揭示支配神经网络结构与行为发展的规律是深度学习科学的核心议题。 基于奇异学习理论框架,我们提出模型发展与损失景观局部几何的简并性深度相关。我们通过监测训练全程的损失景观简并性(以局部学习系数量化),针对Transformer语言模型和上下文线性回归Transformer展开研究。结果表明,训练可划分为损失景观简并性变化的不同阶段,且这些简并性变化与Transformer内部计算结构及输入输出行为的显著变化同步。 这一发现为Transformer中简并性与发展的关联性提供了有力证据,凸显了基于简并性的视角在理解现代深度学习方面的潜力。

英文摘要:

Deep learning involves navigating a high-dimensional loss landscape over the neural network parameter space. Over the course of training, complex computational structures form and re-form inside the neural network, leading to shifts in input/output behavior. It is a priority for the science of deep learning to uncover principles governing the development of neural network structure and behavior. Drawing on the framework of singular learning theory, we propose that model development is deeply linked to degeneracy in the local geometry of the loss landscape. We investigate this link by monitoring loss landscape degeneracy throughout training, as quantified by the local learning coefficient, for a transformer language model and an in-context linear regression transformer. We show that training can be divided into distinct periods of change in loss landscape degeneracy, and that these changes in degeneracy coincide with significant changes in the internal computational structure and the input/output behavior of the transformers. This finding provides suggestive evidence that degeneracy and development are linked in transformers, underscoring the potential of a degeneracy-based perspective for understanding modern deep learning.

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

↑