Transformer的终结?论注意力机制的挑战与次二次架构的兴起
Challenging Quadratic Attention$\unicode{x2013}$A Holistic View on the Rise of Alternative Language Model Architectures
AI总结:
针对Transformer注意力机制的二次复杂度瓶颈问题,本文综述了次二次注意力变体、循环神经网络等多种次二次架构的研究进展,并从多维度分析其能否挑战纯注意力Transformer的主导地位。
摘要:
过去七年里,Transformer在序列处理任务(尤其是语言建模)中占据主导地位。然而,随着上下文长度增加,其注意力机制固有的二次复杂度仍是显著瓶颈。本文综述了近期为克服该瓶颈所做的研究,包括(次二次)注意力变体、循环神经网络、状态空间模型以及混合架构的相关进展。我们从计算与内存复杂度、基准测试结果及根本局限性方面,对这些方法进行了批判性分析,以评估纯注意力Transformer的主导地位是否很快会受到挑战。
英文摘要:
Transformers have dominated sequence processing tasks for the past seven years$\unicode{x2013}$most notably language modeling. However, the inherent quadratic complexity of their attention mechanism remains a significant bottleneck as context length increases. We review and distill the recent efforts to overcome this bottleneck, including advances in (sub-quadratic) attention variants, recurrent neural networks, state space models, and hybrid architectures. We critically analyze approaches regarding compute and memory complexity, benchmark results, and fundamental limitations to assess whether the dominance of pure-attention transformers may soon be challenged, which we consider possible, particularly in domain-specific and edge-device applications.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。