Sumformer: Universal Approximation for Efficient Transformers
Silas Alberti, Niclas Dern, Laura Thesing, Gitta Kutyniok

TL;DR
Sumformer introduces a simple architecture that achieves universal approximation of sequence-to-sequence functions, providing theoretical insights into efficient Transformers like Linformer and Performer, and demonstrating that a single attention layer suffices for universal approximation.
Contribution
The paper presents Sumformer, a novel architecture that offers universal approximation for efficient Transformers and provides new theoretical proofs for their capabilities.
Findings
Sumformer can universally approximate equivariant sequence-to-sequence functions.
First universal approximation results established for Linformer and Performer.
A new proof shows one attention layer is sufficient for universal approximation.
Abstract
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,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Ferroelectric and Negative Capacitance Devices · Machine Learning and Data Classification
MethodsMulti-Head Attention · Attention Is All You Need · Absolute Position Encodings · Byte Pair Encoding · Label Smoothing · Adam · Position-Wise Feed-Forward Layer · Residual Connection · Softmax · Dense Connections
