arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.07772cs.LGmath.APmath.DSmath.OC
收藏

训练诱导的标记聚类逃逸:Transformer的均场建模

Training-Induced Escape from Token Clustering in a Mean-Field Formulation of Transformers

RIKEN Center for Advanced Intelligence Project(RIKEN先进人工智能研究中心);Imperial College London(帝国理工学院伦敦分校);The University of Tokyo(东京大学);Kyoto University(京都大学)

Noboru Isobe, Daisuke Inoue, Masaaki Imaizumi

AI总结:

研究揭示训练过程如何使标记聚类动态在最终层发生逃逸,通过均场理论分析注意力驱动的聚类偏移机制。

摘要:

Transformers通过迭代变换标记表示进行推理。这一逐层计算已通过实证研究,而近期的均场理论解释了注意力如何驱动标记分布趋向聚类。然而,现有均场分析大多将模型参数视为给定,未探讨训练如何重塑这一聚类图景。本文研究了噪声均场Transformer中仅训练参数线性前馈网络(FFN)的场景,基于$ L^2 $正则化。研究发现并分析了训练诱导的动态相变:在初始阶段遵循注意力驱动的聚类后,标记分布可在最终层离开聚类区域。数学分析基于熵正则化的相互作用能,捕捉注意力的聚类偏移。更广泛地,研究结果指向一种训练感知的均场Transformer动力学理论,其中训练与推理动态被共同处理。

英文摘要:

Transformers perform inference by iteratively transforming token representations across layers. This layerwise computation has been studied empirically, and recent mean-field theories of Transformer dynamics explain how attention can drive token distributions toward clustering. However, existing analyses treat model parameters as prescribed, leaving open how training reshapes this clustering picture. We study this question in a noisy mean-field Transformer in which only a parameter-linear FFN is trained under $L^2$ regularization. We identify a training-induced phase of the inference dynamics across layers: after clustering in the early layers, the token distribution can leave the clustered regime near the final layers. A single gradient-descent update already produces this escape, and minimizers of the training objective satisfy an exponential turnpike bound under which clustering persists through the interior layers. Our analysis is based on an entropy-regularized interaction energy that captures the clustering bias of attention, for which we establish a double-well landscape and a local Polyak-Łojasiewicz inequality. More broadly, our results point toward a training-aware mean-field theory in which training and inference dynamics of Transformers are treated together.

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

↑