arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.09182cs.LG
收藏

通过图神经网络视角理解Transformer的失效模式

Understanding the Failure Modes of Transformers through the Lens of Graph Neural Networks

Department of Computer Science(计算机科学系);Southern Methodist University(南方 Methodist 大学)

Hunjae Lee

AI总结:

本文通过图神经网络视角分析Transformer的失效模式,揭示信息传播瓶颈及改进方向。

摘要:

Transformer以及更具体的解码器-only Transformer主导了现代大语言模型架构。尽管它们表现出色,但并非没有问题,导致了令人惊讶的失效模式和可预测的不对称性能退化。本文通过图神经网络(GNN)理论的视角研究了许多观察到的Transformer失效模式。我们首先论证了深度学习,包括Transformer,本质上是关于可学习信息混合和传播的。这使得研究模型失效模式成为研究信息传播中的瓶颈。这自然导向GNN理论,其中已有丰富的关于信息传播瓶颈和模型理论失效模式的文献。然后我们论证了GNN面临许多问题,同样也影响到Transformer。此外,我们分析了解码器-only Transformer的因果性质如何在信息传播中产生有趣的几何特性,导致可预测且可能毁灭性的失效模式。最后我们发现现有Transformer研究中的解决方案往往是随意的,由直觉驱动而非理论动机。因此,我们将许多此类解决方案统一到更理论的视角下,提供对它们为何有效、它们实际上解决的问题以及如何进一步改进以针对特定Transformer失效模式的见解。总体而言,本文试图弥合Transformer中观察到的失效模式与该领域缺乏理论理解之间的差距。

英文摘要:

Transformers and more specifically decoder-only transformers dominate modern LLM architectures. While they have shown to work exceptionally well, they are not without issues, resulting in surprising failure modes and predictably asymmetric performance degradation. This article is a study of many of these observed failure modes of transformers through the lens of graph neural network (GNN) theory. We first make the case that much of deep learning, including transformers, is about learnable information mixing and propagation. This makes the study of model failure modes a study of bottlenecks in information propagation. This naturally leads to GNN theory, where there is already a rich literature on information propagation bottlenecks and theoretical failure modes of models. We then make the case that many issues faced by GNNs are also experienced by transformers. In addition, we analyze how the causal nature of decoder-only transformers create interesting geometric properties in information propagation, resulting in predictable and potentially devastating failure modes. Finally, we observe that existing solutions in transformer research tend to be ad-hoc and driven by intuition rather than grounded theoretical motivation. As such, we unify many such solutions under a more theoretical perspective, providing insight into why they work, what problem they are actually solving, and how they can be further improved to target specific failure modes of transformers. Overall, this article is an attempt to bridge the gap between observed failure modes in transformers and a general lack of theoretical understanding of them in this space.

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

↑