Transformer中的注意力汇聚:利用、解释与缓解综述
Attention Sink in Transformers: A Survey on Utilization, Interpretation, and Mitigation
AI总结:
本文首次系统综述Transformer中的注意力汇聚现象,从基础利用、机制解释和策略缓解三个维度梳理研究现状,为未来研究提供指导。
摘要:
作为现代机器学习的基础架构,Transformer已在多个AI领域取得了显著进展。尽管其具有变革性影响,但各种Transformer中普遍存在一个挑战——注意力汇聚(Attention Sink, AS),即大量注意力集中在少数特定但无信息量的标记上。AS使可解释性复杂化,显著影响训练和推理动态,并加剧幻觉等问题。近年来,大量研究致力于理解和利用AS。然而,缺乏系统整合AS相关研究并为未来进展提供指导的全面综述。为填补这一空白,我们提出了首个关于AS的综述,围绕定义当前研究格局的三个关键维度展开:基础利用、机制解释和策略缓解。我们的工作通过突出该领域的关键概念和主要趋势,引导研究人员了解AS相关研究的演变,做出了关键贡献。我们希望本综述能成为有价值的资源,使研究人员能够在当前Transformer范式下有效管理AS,同时为下一代Transformer的创新进展提供灵感。本文的论文列表可在https://github.com/ZunhaiSu/Awesome-Attention-Sink获取。
英文摘要:
As the foundational architecture of modern machine learning, Transformers have driven remarkable progress across diverse AI domains. Despite their transformative impact, a persistent challenge across various Transformers is Attention Sink (AS), in which a disproportionate amount of attention is focused on a small subset of specific yet uninformative tokens. AS complicates interpretability, significantly affecting the training and inference dynamics, and exacerbates issues such as hallucinations. In recent years, substantial research has been dedicated to understanding and harnessing AS. However, a comprehensive survey that systematically consolidates AS-related research and offers guidance for future advancements remains lacking. To address this gap, we present the first survey on AS, structured around three key dimensions that define the current research landscape: Fundamental Utilization, Mechanistic Interpretation, and Strategic Mitigation. Our work makes a pivotal contribution by highlighting the key concepts and main trends in the field, guiding researchers through the evolution of AS-related studies. We envision this survey as a valuable resource, empowering researchers to effectively manage AS within the current Transformer paradigm, while simultaneously inspiring innovative advancements for the next generation of Transformers. The paper list of this work is available at https://github.com/ZunhaiSu/Awesome-Attention-Sink.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。