arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2307.02301cs.LGcs.CLstat.ML
收藏

Sumformer:高效Transformer的通用逼近

Sumformer: Universal Approximation for Efficient Transformers

Ludwig-Maximilians-Universität München(慕尼黑路德维希-马克西米利安大学);Stanford University(斯坦福大学);Technical University of Munich(慕尼黑工业大学)

Silas Alberti, Niclas Dern, Laura Thesing, Gitta Kutyniok

AI总结:

本文提出Sumformer这一新颖简单架构,首次为Linformer和Performer建立通用逼近理论,并证明单层注意力Transformer即可实现通用逼近。

摘要:

自然语言处理(NLP)随着Transformer的引入取得了令人瞩目的飞跃。ChatGPT是最著名的例子之一,它甚至改变了研究界之外人们对人工智能可能性的看法。然而,除了令人印象深刻的性能之外,Transformer相对于序列长度的二次时间和空间复杂度对处理长序列构成了显著限制。虽然Linformer和Performer等具有线性复杂度的高效Transformer架构已成为有前景的解决方案,但对它们的理论理解仍然有限。在本文中,我们提出了Sumformer,一种新颖且简单的架构,能够通用逼近等变序列到序列函数。我们利用Sumformer首次给出了Linformer和Performer的通用逼近结果。此外,我们为Transformer推导了一个新的证明,表明仅一个注意力层就足以实现通用逼近。

英文摘要:

Natural language processing (NLP) made an impressive jump with the introduction of Transformers. ChatGPT is one of the most famous examples, changing the perception of the possibilities of AI even outside the research community. However, besides the impressive performance, the quadratic time and space complexity of Transformers with respect to sequence length pose significant limitations for handling long sequences. While efficient Transformer architectures like Linformer and Performer with linear complexity have emerged as promising solutions, their theoretical understanding remains limited. In this paper, we introduce Sumformer, a novel and simple architecture capable of universally approximating equivariant sequence-to-sequence functions. We use Sumformer to give the first universal approximation results for Linformer and Performer. Moreover, we derive a new proof for Transformers, showing that just one attention layer is sufficient for universal approximation.

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

↑