atlas

Research map / Learning theory and algorithms / Kernels and regression theory

Transformers are Minimax Optimal Nonparametric In-Context Learners

NeurIPS 2024 · Learning theory and algorithms › Kernels and regression theory · approach: Statistical perspectives on generalization · 3 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.

Gives statistical risk bounds for in-context learning of a deep ReLU network followed by one linear attention layer pretrained on nonparametric regression tasks, showing near-minimax optimal ICL rates in Besov and piecewise smooth classes plus joint n,T lower bounds.

Problem

Statistical foundations of in-context learning: how well a pretrained transformer (DNN plus linear attention) can estimate nonparametric regression functions in context, and how pretraining task count T and prompt length n govern the error.

Approach

Decompose the in-context risk into a DNN approximation error, an in-context generalization gap (depends on n) and a pretraining generalization gap (depends on T), then instantiate with ReLU DNN and transformer classes over Besov spaces to show minimax-optimal ICL rates; add information-theoretic lower bounds jointly in n and T.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use sufficiently many pretraining tasks, T\gtrsim n^\frac{2\alpha+2d}{2\alpha+d}, with N\asymp n^\frac{d}{2\alpha+d}DNN + linear attention ICL · Besov spacemean-squared risk: n^{-\frac{2\alpha}{2\alpha+d}}Helped
Use sufficient pretraining and an anisotropic Besov representationDNN + linear attention ICL · Anisotropic Besov spacemean-squared risk: n^{-\frac{2\widetilde{\alpha}}{2\widetilde{\alpha}+1}}Helped
Learn an informative representation of the coarser basis during pretrainingDNN + linear attention ICL · Coarser basismean-squared risk: n^{-\frac{2\tau}{2\tau+d}} -> n^{-\frac{2\alpha}{2\alpha+d}}\log nHelped
Use insufficient pretraining, T=O(1), rather than enough tasks to learn the representationDNN + linear attention ICL · Coarser basismean-squared risk: n^{-\frac{2\alpha}{2\alpha+d}} -> n^{-\frac{2\tau}{2\tau+d}}Hurt
Use a fixed non-adaptive representation when p<2ICL and other meta-learning methods · Besov space with p<2approximation error: N^{-\alpha/d+(1/p-1/2)_+}Hurt

Surprising findings

Limitations

Experimental setup

Datasets: synthetic nonparametric regression tasks sampled from Besov and piecewise gamma-smooth function classes

Metrics: mean squared estimation risk (L2) minimax rate exponents

Baselines: linear attention meta-learning bounds non-adaptive linear approximation (Kolmogorov width)

Builds on: linear attention ICL analyses DNN minimax optimality results for Besov spaces Bernstein-type covering bounds for ERM

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