跳到正文
arXiv (AI + Vision + Imaging)· L\'eo Catteau, O. Duranthon, Lenka Zdeborov\'a·· 6 天前AI 评分28

注意力头专业化:样本复杂度中的相变

Attention Head Specialization: Phase Transitions in Sample Complexity

AI 导读

研究发现在BERT中,随数据集规模增大,专门处理句法关系的注意力头会逐步出现。作者在一个可解析的高维多注意力头模型中证明,头专业化是样本复杂度上的真实相变,对应测试误差等可观测量的非解析性。根据数据结构与正则化不同,专业化可能表现为无信息头分化,或经由一系列相变逐步恢复较弱的潜在特征。

正文 · 原文

arXiv:2611.26228v1 Announce Type: new Abstract: Attention heads specialize into distinct functions during training, often emerging in stages together with sharp changes in model behavior. While this phenomenon has mostly been studied as a function of training time, we ask how head specialization depends on the amount of available training data. Empirically, we find that heads specialized to syntactic relations in BERT emerge as the dataset size increases. We then study this phenomenon in a solvable high-dimensional model of multi-head attention and establish that, in this model, head specialization is a genuine phase transition in sample complexity, corresponding to a non-analyticity in the test error and other observables. Depending on data structure and regularization, specialization can follow uninformative head differentiation or occur through a cascade of phase transitions that progressively recover weaker latent features, providing a statistical form of simplicity bias. Finally, we relate these statistical transitions to the stagewise emergence of specialized heads during online learning, disentangling statistical from dynamical origins of head specialization.

来源:arXiv (AI + Vision + Imaging) · arxiv.org