Explore the research collection
3 entries · 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.
- Paper
High-Dimensional Learning Dynamics of Attention-Indexed Models
ML theory paper on "attention-indexed models," a framework for multi-layer and multi-head attention architectures in the high-dimensional limit. Core result: the population-loss landscape collapses into a finite set of trace order parameters, yet under online SGD the parameter trajectories are governed by an infinite hierarchy of coupled matrix moments (each SGD step mixes S_k with the gradient tensor, so degree-w moments couple to degree-(w+1); degree-M truncations approximate the exact trajectory with exponential precision O((C/s0)^M)). Parameterization is an active regularizer: direct optimization of an attention matrix S in R^(d x d) can stay trapped on an uninformative manifold; tied attention (S = WW^T) forces a positive initial trace and yields automatic symmetry-breaking with weak recovery in Theta(d^2 log d) samples; untied attention (S = UV^T) shows a fast-slow relaxation (fast pre-activation mean drift toward a critical manifold, then slow feature recovery only if the fast boundary layer broke student symmetry). Caveats: assumes online SGD with one-pass streaming Gaussian data (no finite-sample ERM or multi-pass token reuse) and analyzes effective bilinear interactions rather than full end-to-end multi-layer QKV co-evolution.
- Paper
Memory Attention
Memory Attention (Jiale Kang) replaces the Transformer's learned value projection with V = K + Norm(E[s]) — the sum of contextual keys and layer-specific token-indexed memory vectors. Under matched training budgets it beats standard attention on WikiText perplexity and downstream average while enabling CPU offloading of the memory tables, trading parameter storage for lookup-based capacity.