atlas

Research map / Architectures and efficiency / Attention and transformers

Understanding the Expressive Power and Mechanisms of Transformer for Sequence Modeling

NeurIPS 2024 · Architectures and efficiency › Attention and transformers · approach: Sparse efficient transformers for long context · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Theoretically characterizes the approximation rates of Transformers (with dot-product-free attention, log/linear relative positional encodings, and FFN width) for sequence modeling with fixed, adaptive, and essentially sparse long-range memories, with validating experiments.

Problem

Understanding what Transformer components (dot-product attention, positional encoding, FFN, depth, heads, width) contribute to expressive power for sequence modeling with long, sparse, and complicated memory.

Approach

Establishes explicit approximation rates for Transformers on three memory classes (fixed sparse, adaptive/nested sparse, essentially sparse via convolution kernels), showing attention heads extract memory tokens via RPE kernels, FFNs approximate readout and memory functions, depth handles nested memory, dot-product is unnecessary for fixed memory but needed for adaptive memory, and log-RPE overcom

Key results

Surprising findings

Limitations

Experimental setup

Metrics: approximation error bound

Baselines: RNN LSTM standard dot-product Transformer

Builds on: Barron space approximation theory T5 relative positional encoding KERPLE Alibi

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy