arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.04915cs.LGcs.AI
收藏

SLAY:基于Yat-kernel的几何感知球面线性化注意力

SLAY: Geometry-Aware Spherical Linearized Attention with Yat-Kernel

Columbia University(哥伦比亚大学);Google DeepMind(谷歌DeepMind)

Jose Miguel Luna, Taha Bouhsine, Krzysztof Choromanski

AI总结:

SLAY通过几何感知的球面线性化注意力机制,实现了接近softmax注意力的性能,同时保持线性时间复杂度。

摘要:

我们提出了一种新的线性时间注意力机制,基于对最近引入的E-Product的放松且计算效率高的公式,通常称为Yat-kernel(Bouhsine,2025)。所得到的交互是几何感知的,并受到物理学中反平方交互的启发。我们的方法,带Yat核的球面线性化注意力(SLAY),将查询和键限制在单位球上,使得注意力仅依赖于角度对齐。利用Bernstein定理,我们将球面Yat核表示为非负多项式-指数乘积核的混合,并推导出一种严格正的随机特征近似,从而实现线性时间O(L)的注意力。我们建立了在球面上的正定性和有界性,并证明估计器会产生明确的、非负的注意力分数。实验表明,SLAY在性能上几乎与标准softmax注意力无法区分,同时保持线性时间和内存扩展性,并在一致地超越先前的线性时间注意力机制,如Performers和Cosformers。据我们所知,SLAY代表了迄今为止最接近softmax注意力的线性时间近似,使Transformer能够扩展而无需通常的注意力线性化性能权衡。

英文摘要:

We propose a new class of linear-time attention mechanisms based on a relaxed and computationally efficient formulation of the recently introduced E-Product, often referred to as the Yat-kernel (Bouhsine, 2025). The resulting interactions are geometry-aware and inspired by inverse-square interactions in physics. Our method, Spherical Linearized Attention with Yat Kernels (SLAY), constrains queries and keys to the unit sphere so that attention depends only on angular alignment. Using Bernstein's theorem, we express the spherical Yat-kernel as a nonnegative mixture of polynomial-exponential product kernels and derive a strictly positive random-feature approximation enabling linear-time O(L) attention. We establish positive definiteness and boundedness on the sphere and show that the estimator yields well-defined, nonnegative attention scores. Empirically, SLAY achieves performance that is nearly indistinguishable from standard softmax attention while retaining linear time and memory scaling, and consistently outperforms prior linear-time attention mechanisms such as Performers and Cosformers. To the best of our knowledge, SLAY represents the closest linear-time approximation to softmax attention reported to date, enabling scalable Transformers without the typical performance trade-offs of attention linearization.

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

↑