atlas

Research map / Architectures and efficiency / Attention and transformers

Attention layers provably solve single-location regression

ICLR 2025 · Architectures and efficiency › Attention and transformers · approach: Sparse and structured attention · 0 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.

Introduces single-location regression, shows a simplified single-head attention predictor (erf-activated) is asymptotically Bayes optimal while linear predictors fail, and proves projected gradient descent recovers the oracle parameters from initializations on an invariant manifold.

Problem

Theoretical understanding of why attention handles token-wise sparsity (only one token determines the output, at a latent random position) and internal linear representations, which prior theory has not addressed.

Approach

Defines a synthetic regression task where the output depends on one latent-position token, proposes an erf-based simplification of a single-head softmax attention layer as the predictor, and analyzes its Bayes optimality and projected gradient training dynamics on a reduced invariant manifold.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use the oracle attention-based predictor instead of the optimal linear predictorsingle-location regression · single-location regression, asymptotic regime L = o(d)mean squared error: linear risk tends to ε²+γ²; oracle risk tends to ε²Helped
train the attention-based predictor with projected gradient descent from a generic initialization on the invariant manifoldsingle-location regression predictor · single-location regression, initialization on Mparameter recoveryHelped
use a decreasing inverse-temperature schedule instead of a constant inverse temperatureprojected gradient descent initialized off M · single-location regressionparameter recoveryHelped
use a constant inverse temperature instead of a decreasing scheduleprojected gradient descent initialized off M · single-location regressionparameter recoveryHurt
use a full Transformer layer to solve the taskTransformer · single-location regressiontask performanceHelped

Surprising findings

Limitations

Experimental setup

Datasets: synthetic single-location regression data

Benchmarks: synthetic single-location regression

Metrics: mean squared error (risk) alignment |k^T k*| and |v^T v*|

Baselines: linear regression lasso group-lasso null predictor

Builds on: Transformer softmax attention riemannian gradient descent

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