atlas

Research map / Architectures and efficiency / RNNs and normalization

Infinite-Width Limit of a Single Attention Layer: Analysis via Tensor Programs

NeurIPS 2025 · Architectures and efficiency › RNNs and normalization · approach: Theory of depth and width · 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.

Uses Tensor Programs to derive the exact infinite-width limit of a single multi-head attention layer under standard 1/sqrt(n) scaling and finite heads, showing the output is a hierarchical (conditionally Gaussian) non-Gaussian law.

Problem

Infinite-width Gaussian approximations (NNGP, Tensor Programs) fail to describe standard attention layers with 1/sqrt(n) scaling and finite heads; prior limits relied on 1/n scaling or infinite heads.

Approach

Extends the Tensor Programs master theorem with a new class of finite-dimensional dot-product variables that are Gaussian and independent of the Gaussian-limit vectors; the attention output is then Gaussian conditional on these random similarity scores, yielding a non-Gaussian hierarchical limit.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
increase widthMulti-head attention with H=2 · Multi-head attentionlog-KL divergence to the infinite-width limitHelped
use 1/sqrt(n) scaling instead of 1/n scalingAttention dot-product scores · n=256score variabilityHelped
increase the number of headsFinite-width attention output · n=256, H=1 versus H=256GaussianityMixed
increase width and head count proportionally with n_H=64Low-rank attention · Low-rank attentionconvergence to the infinite-width limitHelped
increase spatial dimension from s=4 to s=8Infinite-width theory · Multi-head attentiondistribution agreementNo clear effect
replace clipping activation with ReLUInfinite-width theory · Multi-head attentiondistribution agreementNo clear effect

Surprising findings

Limitations

Experimental setup

Metrics: KL divergence between finite-width and limit densities kernel density estimates of output histograms

Baselines: 1/n-scaling attention Gaussian limit infinite-head Gaussian limit (infinite attention)

Builds on: Tensor Programs NNGP infinite attention (Hron et al.) pseudo-Lipschitz master 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