Explore the research collection
2 entries · Follow this search
- Paper
You Need Better Attention Priors
Generalizes attention through the lens of Entropic Optimal Transport (EOT): standard attention corresponds to a transport problem regularized by an implicit uniform prior. GOAT (Generalized Optimal Transport Attention with Trainable priors) replaces that naive assumption with a learnable, continuous prior that decouples spatial geometry from token semantics — standard positional encodings (e.g., RoPE) entangle position with meaning and corrupt semantic representations when forced to handle structural biases like attention sinks. The prior maintains full compatibility with optimized kernels like FlashAttention (zero compute overhead). GOAT also provides an EOT-based explanation of attention sinks and a solution that avoids standard attention's representational trade-offs. By absorbing spatial information into the core attention computation, GOAT learns an extrapolatable prior combining the flexibility of learned positional embeddings with the length generalization of fixed encodings — strong long-context extrapolation beyond training length.
- Paper
The Origin of Edge of Stability
Introduces the edge coupling A_η(x,y)=L(x)+L(y)-(1/(2η))||x-y||^2, a discrete generating function whose x-criticality is the GD update. Differencing consecutive edges yields a propagator with stability boundary 2/η; a second-order expansion telescopes so weighted curvature is forced toward 2/η. Mean-value localization transfers the forcing to the true Hessian eigenvalue on each step segment with no residual gap. Full criticality classifies fixed points and period-two orbits; a center reduction reduces branching to a quartic on the half-amplitude. For two-layer linear nets the transverse theory is width-invariant and period-doubling appears continuously for η>1/σ_1. No official code on the abs page.