arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.14445cs.LGcs.AIcs.CLcs.NE
收藏

选择性同步注意

Selective Synchronization Attention

Department of Chemical Engineering, University of Arkansas, Fayetteville, AR 72701, USA(化学工程系,阿肯色大学,法雷维尔,AR 72701,USA)

Hasi Hays

AI总结:

提出选择性同步注意机制,通过振荡模型实现高效自注意,具备自然稀疏性、统一编码和单次计算优势,替代Transformer提升模型性能。

摘要:

Transformer架构已成为现代深度学习的基础,然而其核心自注意机制却存在二次计算复杂度且缺乏生物神经计算的依据。我们提出了选择性同步注意(SSA),一种新的注意机制,它用源自耦合振子Kuramoto模型稳态解的闭合算子替代标准点积自注意。在SSA中,每个token被表示为一个具有可学习自然频率和相位的振子;token对之间的同步强度由频率依赖的耦合和相位锁定条件决定,作为注意权重。这种形式提供了三个关键优势:(i)自然稀疏性源于相位锁定阈值,其中频率不兼容的token自动获得零注意权重而无需显式掩码;(ii)通过自然频率谱实现统一的位置-语义编码,消除了对单独位置编码的需要;(iii)单次通过闭合形式计算,避免了迭代ODE积分,所有组件(耦合、顺序参数、同步)均源自振荡框架。我们将在振荡同步网络(OSN)中实例化SSA,作为Transformer块的直接替代方案。对同步矩阵的分析揭示了初始化时非均匀、头异的耦合模式,证明了比随机初始化Transformer产生的近似均匀注意更强的架构归纳偏置。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑