Coupled Dynamical System for Sparsemax Attention
Lianlong Sun, Michael Huang
Key points
From the paper's conclusion- We present a family of coupled dynamical systems that compute sparsemax attention.
Abstract
We present a family of coupled dynamical systems that compute sparsemax attention. Each system fuses query-key similarity and normalization into a single physical relaxation. Specifically, we cast sparsemax attention as a constrained energy minimization problem and derive a pair of coupled differential equations: one drives the energy minimization and the other enforces the constraint. At equilibrium, the system state gives exactly the sparsemax attention probabilities. We realize this formulation with continuous Ising spins and with Kuramoto oscillators. These relaxations run natively on emerging non-von Neumann platforms such as Ising machines, which have demonstrated orders-of-magnitude higher energy efficiency than digital processors, yet have so far been used mostly for unconstrained quadratic combinatorial optimization. Because analog hardware has limited precision and is noisy, we simulate both systems under these non-idealities, and inference quality degrades gracefully. Our formulation extends these emerging computing substrates from combinatorial optimization to attention, opening a path toward a new class of physical accelerators for transformer inference.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- DexAttention: Distributed Sparse Attention through Rapid Online Planning and Persistent GPU ExecutionarXiv · 2026
- Sparse Attention for Visual Generation: Toward Algorithm-System Co-DesignarXiv · 2026
- A Quantum Roadmap for Softmax Attention: Exact Born-Rule Analogs for Softmax Attention on the Probability SimplexarXiv · 2026
- Efficiently Approximating Attention Is HardarXiv · 2026
- Improving Video Sparse Attention with Fine-grained Router and Sparse RebasingarXiv · 2026
- Every Query Routes Itself: Accelerating Video Diffusion Transformers with Per-Query Routed Sparse AttentionarXiv · 2026