atlas

Research map / Architectures and efficiency / Attention and transformers

Approximation Rate of the Transformer Architecture for Sequence Modeling

NeurIPS 2024 · Architectures and efficiency › Attention and transformers · approach: Sparse efficient transformers for long context · 4 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.

Derives Jackson-type approximation rates for a single-layer, single-head Transformer on general continuous sequence-to-sequence targets, using POD-based complexity measures of the temporal coupling, and compares Transformers with RNNs on temporal ordering and mixing.

Problem

Theoretical understanding of which sequence-to-sequence relationships a Transformer can approximate efficiently, and how its approximation capacity compares to RNNs under changes in temporal structure.

Approach

Establishes a representation theorem writing any continuous sequence target as a softmax-attention form with pairwise coupling rho and pointwise f, F; defines complexity measures based on POD singular-value decay of rho (plus feed-forward approximation budgets) and proves an explicit Jackson-type rate in which the attention head dimension m_h trades off POD truncation error against feed-forward ap

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Permute the input dataset while keeping outputs unchangedTransformer · CIFAR10accuracy: 0.98 -> 0.96No clear effect
Permute the input dataset while keeping outputs unchangedTransformer · ENG-DEBLUE: 26.85 -> 25.91No clear effect
Alter temporal orderingRNN · Synthetic linear target, temporal orderingMSE: 1.02e{-7} -> 3.57e{-2}Hurt
Alter temporal orderingTransformer · Synthetic linear target, temporal orderingMSE: 2.18e{-5} -> 2.51e{-5}No clear effect
Convolve the input with a randomly generated filterRNN · Synthetic linear target, temporal mixingMSE: 1.02e{-7} -> 1.58e{-7}No clear effect
Convolve the input with a randomly generated filterTransformer · Synthetic linear target, temporal mixingMSE: 2.18e{-5} -> 2.39e{-4}Hurt

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR10 WMT2014 English-German synthetic sequence targets

Benchmarks: CIFAR10 WMT2014 English-German synthetic temporal ordering and mixing targets

Metrics: accuracy BLEU MSE training error

Baselines: RNN linear RNN

Builds on: Jackson theorem Eckart-Young theorem Kolmogorov representation theorem

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