Explore the research collection
1 entry · Follow this search
- Paper
Universal interpolation for deep residual self-attention networks
Theoretical result in the dual-of-infinite-width regime: approximation power from depth alone, with strong parameter sharing across layers. Two frozen, randomly initialized single-head attention blocks (never trained — only layer order, signs, and scalar gains are chosen per task) suffice to interpolate (perfectly memorize) any batch of N sequences of n tokens. The proof frames deep residual attention as the forward-Euler discretization of an ODE and uses geometric control theory (Chow–Rashevskii: alternating vector fields generate motion along Lie brackets; if commutators span the tangent space, reachability holds) plus the Ax–Schanuel theorem from transcendence theory to prove the softmax-induced singular locus has codimension ≥ 2, preserving connectedness. Caveats: causal masking breaks universality — the first token attends only to itself and evolves linearly, so when batch size N exceeds dimension d, linear relations are conserved forever and commutators can't escape; and the proof is purely existential (no bound on required depth L or scalar magnitudes), and memorization is not generalization. For looped models (Hyperloop, Mixture-of-Recursions), it confirms parameter tying carries zero theoretical expressivity penalty. For sub-dimension heads (r < d), m = ceil(d/r) frozen blocks are conjectured necessary — 576 Lie-rank tests: m = ceil(d/r) reached full rank 94/96 and 96/96 at 1e-8 tolerance; m−1 reached 0/96. Code: github.com/sibyllema/attention_universality.