Selective Synchronization Attention
Organizations: Department of Chemical Engineering, University of Arkansas, Fayetteville, AR 72701, USA
Abstract
The Transformer architecture has become the foundation of modern deep learning, yet its core self-attention mechanism suffers from quadratic computational complexity and lacks grounding in biological neural computation. We propose Selective Synchronization Attention (SSA), a novel attention mechanism that replaces the standard dot-product self-attention with a closed-form operator derived from the steady-state solution of the Kuramoto model of coupled oscillators. In SSA, each token is represented as an oscillator characterized by a learnable natural frequency and phase; the synchronization strength between token pairs, determined by a frequency-dependent coupling and phase-locking condition, serves as the attention weight. This formulation provides three key advantages: (i) natural sparsity arising from the phase-locking threshold, whereby tokens with incompatible frequencies automatically receive zero attention weight without explicit masking; (ii) unified positional-semantic encoding through the natural frequency spectrum, eliminating the need for separate positional encodings; and (iii) a single-pass, closed-form computation that avoids iterative ODE integration, with all components (coupling, order parameter, synchronization) derived from the oscillatory framework. We instantiate SSA within the Oscillatory Synchronization Network (OSN), a drop-in replacement for the Transformer block. Analysis of the synchronization matrices reveals non-uniform, head-diverse coupling patterns even at initialization, demonstrating a stronger architectural inductive bias than the approximately uniform attention produced by randomly initialized Transformers.
Figures & tables
| K tok/s ( ) | Memory ( ) | ||||||
|---|---|---|---|---|---|---|---|
| TF | D | S | TF | D | S | ||
| 128 | 8 | 1033 | 665 | 638 | 313 | 345 | 351 |
| 256 | 8 | 1527 | 1118 | 788 | 353 | 481 | 493 |
| 512 | 8 | 1636 | 950 | 700 | 481 | 993 | 1017 |
| 1024 | 4 | 1334 | 593 | 457 | 609 | 1633 | 1657 |
| 2048 | 2 | 977 | 350 | 277 | 865 | 2913 | 2937 |