数据源与状态仍在导航菜单中
arxiv.org·2026/10/23
为什么重要 可学习非平稳谱核并保持线性注意力扩展,减少 QK 投影参数,对高效注意力架构有参考价值。
核化注意力为理解自注意力作为一种基于相似度的聚合机制提供了有用视角,但现有方法通常依赖固定或平稳核,限制了它们根据复杂 token 交互调整相似度结构的能力。
在本文中,我们提出 flow-based spectral kernel attention(FSKA),一个用于学习富表达力非平稳注意力核的框架。
FSKA 通过谱密度学习来表述核化注意力,并使用 normalizing flows 参数化得到的二元谱密度。
该设计使灵活且可正则化的核学习成为可能,同时保持与可扩展线性注意力计算的兼容。
我们进一步表明,富表达力的核学习支持一种简化的注意力设计,移除 query-key 投影并使用固定正交 value 投影,从而得到更高参数效率的架构。
在分类、消融和可扩展性分析上的受控实验表明,FSKA 相对现有注意力机制取得有竞争力或更好的性能,同时相比大多数基线将投影相关可训练参数减少约 40%--47%,并保持有利的线性注意力内存扩展。
Kernelized attention provides a useful perspective for understanding self-attention as a similarity-based aggregation mechanism, but existing approaches often rely on fixed or stationary kernels, limiting their ability to adapt the similarity structure to complex token interactions.
In this paper, we propose flow-based spectral kernel attention (FSKA), a framework for learning expressive nonstationary attention kernels.
FSKA formulates kernelized attention through spectral density learning and parameterizes the resulting bivariate spectral density with normalizing flows.
This design enables flexible and regularizable kernel learning while remaining compatible with scalable linear-attention computation.
We further show that expressive kernel learning enables a simplified attention design with removed query--key projections and fixed orthogonal value projections, resulting in a more parameter-efficient architecture.
Controlled experiments on classification, ablation, and scalability profiling show that FSKA achieves competitive or improved performance over existing attention mechanisms, while reducing projection-related trainable parameters by approximately 40%--47% compared with most baselines and maintaining favorable linear-attention memory scaling.
Code Available: https://github.com/ziyang18/FSKA.
原版排版与图表 · 手机无法内嵌时可在浏览器打开。PDF 插件内选文不能传给网页助手。