paper-with-me

홈 › Papers

Sumformer: Universal Approximation for Efficient Transformers

2023-07-05 · Silas Alberti, Niclas Dern, Laura Thesing, Gitta Kutyniok

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.

📄 PDF Abstract BibTeX arXiv:2307.02301

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Adam 설명 없음
Position-Wise Feed-Forward Layer 설명 없음
Residual Connection 설명 없음

Similar Papers 제목 키워드 기반

Quantitative Approximation Rates for Group Equivariant Learning

2026-02-23 · Jonathan W. Siegel, Snir Hordan, Hannah Lawrence, Ali Syed 외 arxiv

The universal approximation theorem establishes that neural networks can approximate any continuous function on a compact set. Later works in approximation theory provide quantitative approximation rates for ReLU network…

Rethinking Urban Mobility Prediction: A Super-Multivariate Time Series Forecasting Approach

2023-12-04 · Jinguo Cheng, Ke Li, Yuxuan Liang, Lijun Sun 외

Long-term urban mobility predictions play a crucial role in the effective management of urban facilities and services. Conventionally, urban mobility data has been structured as spatiotemporal videos, treating longitude …

Multivariate Time Series ForecastingTime SeriesTime Series ForecastingVideo Prediction

Universal Approximation of Operators with Transformers and Neural Integral Operators

2024-09-01 · Emanuele Zappala, Maryam Bagherian

We study the universal approximation properties of transformers and neural integral operators for operators in Banach spaces. In particular, we show that the transformer architecture is a universal approximator of integr…

Transformers Meet In-Context Learning: A Universal Approximation Theory

2025-06-05 · Gen Li, Yuchen Jiao, Yu Huang, Yuting Wei 외

Modern large language models are capable of in-context learning, the ability to perform new tasks at inference time using only a handful of input-output examples in the prompt, without any fine-tuning or parameter update…

In-Context Learning

Universal Approximation Under Constraints is Possible with Transformers

2021-10-07 · ICLR 2022 4 · Anastasis Kratsios, Behnoosh Zamanlooy, Tianlin Liu, Ivan Dokmanić

Many practical problems need the output of a machine learning model to satisfy a set of constraints, $K$. Nevertheless, there is no known guarantee that classical neural network architectures can exactly encode constrain…