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

自注意力模型中的动态亚稳态

Dynamic metastability in the self-attention model

Inria(法国国家信息与自动化研究所);Sorbonne Université(索邦大学);ENS Paris-Saclay(巴黎-萨克雷高等师范学校);Yale University(耶鲁大学);MIT(麻省理工学院)

Borjan Geshkovski, Hugo Koubbi, Yury Polyanskiy, Philippe Rigollet

AI总结:

该研究针对作为Transformer玩具模型的自注意力粒子系统,证明了其动态亚稳态猜想,关联了梯度流慢运动框架,并揭示了亚稳态后能量的阶梯状演化与鞍点间转移特性。

摘要:

我们研究自注意力模型——一种单位球面上的相互作用粒子系统,它是Transformer的玩具模型,而Transformer是近期大语言模型取得成功背后的深度神经网络架构。我们证明了[GLPR23]中猜想的动态亚稳态的存在:尽管粒子会在无限时间内坍缩为单个簇,但它们会在数个簇的构型附近被捕获并维持指数级长的时间。通过利用该系统的梯度流解释,我们还将所得结果与Otto和Reznikoff[OR07]在粗化和Allen-Cahn方程背景下提出的梯度流慢运动的总体框架建立了联系。最后我们探究了指数级长亚稳态周期之后的动力学,结果表明在适当的时间重标度下,能量会在有限时间内达到全局最大值并呈现阶梯状分布,轨迹表现出鞍点到鞍点的类行为,这与近期关于两层神经网络梯度下降训练动力学分析的研究相呼应。

英文摘要:

We consider the self-attention model - an interacting particle system on the unit sphere, which serves as a toy model for Transformers, the deep neural network architecture behind the recent successes of large language models. We prove the appearance of dynamic metastability conjectured in [GLPR23] - although particles collapse to a single cluster in infinite time, they remain trapped near a configuration of several clusters for an exponentially long period of time. By leveraging a gradient flow interpretation of the system, we also connect our result to an overarching framework of slow motion of gradient flows proposed by Otto and Reznikoff [OR07] in the context of coarsening and the Allen-Cahn equation. We finally probe the dynamics beyond the exponentially long period of metastability, and illustrate that, under an appropriate time-rescaling, the energy reaches its global maximum in finite time and has a staircase profile, with trajectories manifesting saddle-to-saddle-like behavior, reminiscent of recent works in the analysis of training dynamics via gradient descent for two-layer neural networks.

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

↑