arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2610.19358cs.LGcs.AImath.STstat.TH
收藏

Transformer的渐近行为

Asymptotic Behavior of Transformers

Google Research

Katy Blumer, Da-Cheng Juan, Jon Kleinberg, Ravi Kumar, Cyrus Rashtchian, Andrew Tomkins

AI总结:

本文研究Transformer长时间生成文本的行为,证明简单注意力型Transformer可能不收敛,还分析含多种组件的Transformer的温度阈值特性,发现无全局最小温度可使所有此类Transformer收敛。

摘要:

本文研究Transformer网络长时间生成文本的行为。我们证明,即使是仅含三个token、单层注意力的Transformer也可能无法收敛。随后,我们研究一类丰富的Transformer,其具有任意有限深度、层归一化、MLP、RoPE编码,以及局部层与全局层的任意混合。该类中的每个Transformer都存在一个softmax温度阈值,当温度高于该阈值时,其经验缓存分布会收敛到唯一极限,且与初始条件无关。我们进一步证明,尽管每个Transformer都有温度阈值,但该阈值集合的上确界为无穷大,因此不存在能迫使所有Transformer收敛的全局最小温度。

英文摘要:

In this paper we study the behavior of transformer networks generating text over long periods of time. We show that even a three-token, single-layer attention-only transformer can fail to converge. We then study a rich class of transformers with arbitrary finite depth, layer normalization, MLPs, RoPE encodings, and an arbitrary mix of local and global layers. Every transformer in this class has a softmax temperature threshold above which its empirical cache distribution converges to a unique limit, independent of initial conditions. We show further that, while each transformer has a temperature threshold, the supremum of this set is infinite, so there is no global minimal temperature that forces all transformers to converge.

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

↑