Universal interpolation for deep residual self-attention networks

cs.LG Sibylle Marcotte, Joan Bruna · Oct 1, 2026
Local to this browser
What it does
This paper asks whether deep self-attention networks can exactly interpolate arbitrary finite datasets using only depth, without adapting parameters to the task. The authors prove that universal interpolation is possible with as few as two...
Why it matters
They also characterize when causal masking prevents interpolation. The results matter because they provide a theoretical foundation for looped and recurrent-depth transformers that share parameters across layers.
Main concern
The paper delivers a strong, rigorous universality result: two random frozen attention blocks can drive any sufficiently generic batch to any other target batch through deep composition alone. The proof strategy—reducing interpolation to...
Community signal
0
0 up · 0 down
Sign in to vote with arrows
AI Review AI reviewed
Plain-language introduction

This paper asks whether deep self-attention networks can exactly interpolate arbitrary finite datasets using only depth, without adapting parameters to the task. The authors prove that universal interpolation is possible with as few as two frozen Gaussian-initialized single-head residual attention blocks, composed with data-dependent signs, durations, and ordering. They also characterize when causal masking prevents interpolation. The results matter because they provide a theoretical foundation for looped and recurrent-depth transformers that share parameters across layers.

Critical review
Verdict
Bottom line

The paper delivers a strong, rigorous universality result: two random frozen attention blocks can drive any sufficiently generic batch to any other target batch through deep composition alone. The proof strategy—reducing interpolation to Lie-algebra rank via the Chow–Rashevskii theorem—is elegant. However, the guarantees are non-constructive, the admissible domains exclude many practical token configurations, and no bounds are given on the required depth or parameter norms, tempering immediate practical impact.

“Our main result establishes it for residual softmax attention using only two frozen single-head blocks with Gaussian-initialized projection matrices.”
paper · Abstract
What holds up

The reduction of exact and universal interpolation to Lie-rank conditions is solid and well-motivated. The transfer from continuous to finite depth is carefully justified (Propositions 2.9 and 2.10), and the two-block noncausal result (Theorem 3.5) is striking and cleanly proven using analyticity and connectedness arguments. The causal masking analysis precisely identifies an obstruction that is both real and unavoidable.

“to transfer exact (resp. universal) interpolation from continuous to finite depth under the corresponding Lie-rank conditions (Proposition 2.9, resp. Proposition 2.10)”
paper · Introduction, contributions bullet
“to show that only two frozen random single-head noncausal attention blocks suffice for universal interpolation on a connected domain of full measure”
paper · Introduction, contributions bullet
Main concerns

The interpolation domains are severely restricted: tokens must be nonzero and pairwise non-collinear, sequences cannot be related by signed permutations, and the set where two blocks suffice is only guaranteed to be open, connected, and full-measure—not explicit. For causal attention, exact interpolation fails whenever the batch size exceeds the token dimension ($N > d$) because first-token linear relations are preserved, and the positive result requires fixing linear relations beforehand. Additionally, the authors explicitly note that their constructions "do not give a bound on total depth or parameter norms in terms of dataset size and architecture dimensions," so the required depth could be arbitrarily large and the control sequence is not exhibited.

“Neither construction gives a bound on total depth or parameter norms in terms of dataset size and architecture dimensions.”
paper · Section 2.3, after Proposition 2.10
“Full ambient rank $N n d$ holds exactly when the $N$ first tokens are linearly independent, which requires $N \leq d$.”
paper · Proposition 3.8
Evidence and comparison

The paper fairly distinguishes its fixed-generator setting from prior exact-interpolation results (which adapt all parameters to the data) and classical universal-approximation theorems (which typically require infinite width). The motivation from looped transformers is well-placed. However, the evidence is entirely theoretical: the main guarantees are probability-one existence proofs over random Gaussian draws, with no empirical demonstration that the claimed interpolation can be realized on concrete datasets or that the necessary depth is practical.

“These questions are particularly relevant to recent Transformer architectures that reuse a small number of blocks across depth.”
paper · Introduction
Reproducibility

The authors provide PyTorch code for Lie-algebra rank computations and numerical tests in Appendix M, which aids verification of the rank criteria. Independent reproduction of the main universal interpolation claims is nevertheless blocked by the non-constructive nature of the proofs: the frozen blocks are random, and while a finite control sequence is guaranteed to exist, no algorithm is given to compute it, nor are bounds on the number of layers provided. Verifying the theorem on a specific dataset is therefore not currently feasible.

“We provide a PyTorch implementation to investigate these criteria numerically”
paper · Section 2.2.2
“We provide code that can reproduce our results as supplementary materials, and describe experimental details and results in Appendix M.”
paper · Reproducibility statement
Abstract

Universal approximation is a necessary qualitative property of learning architectures to benefit from scaling laws. While it is generically verified on a variety of neural architectures and random feature models, it typically involves infinite width limits. In this work, we focus on deep self-attention models and consider instead the `dual' regime, where approximation power is enabled entirely by depth, and featuring strong parameter sharing across layers, motivated by recent models such as the Looped Transformers. More specifically, we ask whether one can find a predefined finite set of parameters, each defining an attention block, such that the resulting finite set of transformations can map any collection of $N$ sequences of $n$ tokens to any other collection of $N$ sequences of $n$ tokens. Crucially, these transformations are \emph{fixed independently of the input and output} collections: only the order in which the blocks are applied, their signs, and their durations depend on the particular interpolation task. Our main result establishes it for residual softmax attention using only two frozen single-head blocks with Gaussian-initialized projection matrices. The result holds at both continuous and finite depth. We also characterize the restrictions imposed by causal masking and establish corresponding universal interpolation guarantees.

Challenge the Review

Pick a starting point or write your own. Challenges run in the background, so you can keep reading while the AI investigates.

No challenges yet. Disagree with the review? Ask the AI to revisit a specific claim.