Explore the research collection
4 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
Emergent One-Third Scaling Law as Attention Tries to Concentrate
Proposes an origin for neural scaling laws: any softmax learning peaked distributions, regardless of its position in the model, develops logit magnitudes that grow as a power law with exponent 1/3, becoming a training bottleneck whose loss contribution decays with the same 1/3 exponent — so total loss obeys 1/3 scaling whenever at least one softmax learns peaked distributions. Toy models show the effect for both output selection and attention-like gating, with a 'loss universality' result (any reasonable loss yields the same law; nonlinearity is the key ingredient). In real LLMs (Pythia, OLMo), loss falls and attention's internal logits grow with exponents near 1/3 while the output head shows no such growth, pointing to attention heads — not the LM head — as the bottleneck driving 1/3 loss scaling. Bypassing the output softmax with MSE training, and using sigmoid/tanh gates, preserves the law.
- Paper
MoBA: Mixture of Block Attention for Long-Context LLMs
Proposes Mixture of Block Attention (MoBA), which applies mixture-of-experts principles to the attention mechanism: the model learns where to attend across blocks rather than using predefined sparse patterns like sink or window attention. It claims superior long-context performance with seamless switching between full and sparse attention, and has been deployed for Kimi's long-context serving.
- Paper
The Loss Does Not See the Basis, but Adam Does
Shows gradient descent on W=UV^T is biased toward low-rank interpolants while Adam is not, tracing the gap to loss gauge symmetry (U,V)->(UQ,VQ). Equivariant methods (GD, momentum, shared-scalar Adam, Muon, Shampoo) can inherit gradient-flow low-rank bias; coordinate-wise Adam/RMSProp/Lion/Adafactor cannot. Sorts nine update rules on underdetermined matrix sensing; a p-dial from coordinate-wise to shared-scalar Adam restores the bias monotonically. In transformers, Adam splits two gauge-equivalent inits at step 1 (per-head W_Q^T W_K 56% apart). On two hyperspectral datasets at matched train loss, GD cuts held-out error 43-44% vs Adam at lowest sampling density.