Exact Linear Attention

📅 2026-05-13
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the limitations of conventional linear attention mechanisms, which suffer from approximation-induced errors, gradient explosion, and attention dilution. To overcome these issues, the authors propose a linear-complexity attention mechanism that eliminates approximation error by introducing novel kernel functions—such as the Hadamard Exp kernel and the squared Euclidean distance kernel—that satisfy non-negativity, discriminability, and geometric interpretability, enabling exact kernel decomposition. Furthermore, the model incorporates a Hyper Link structure, a Memory Lobe module, and a Mixture-of-Experts routing bias mechanism to enhance memory capacity, semantic alignment, and training stability. The resulting approach achieves efficient and accurate linear attention computation while preserving model performance and effectively mitigating gradient degradation and attention dilution.
📝 Abstract
This paper introduces Exact Linear Attention (ELA), a mechanism that achieves linear computational complexity for Transformer attention by leveraging the exact decomposition property of kernel functions, without any approximation error. It identifies and addresses gradient explosion and token attention dilution in prior linear attention methods by imposing kernel constraints that ensure non-negativity, discriminability, and geometric interpretability. Several kernel functions are proposed, including the Hadamard Exp Kernel, Summation Squared Euclidean Distance Kernel, and Subtraction Squared Euclidean Distance Kernel. Beyond the core attention formulation, the paper presents three engineering innovations: a Hyper Link structure that replaces traditional residual connections to mitigate gradient degradation, a Memory Lobe module based on bidirectional linear attention that captures transformation flow across layers to implement qualitative memory and an implicit reinforcement learning paradigm, and a routing score based bias mechanism for Mixture of Experts to improve interpretability and semantic alignment.
Problem

Research questions and friction points this paper is trying to address.

linear attention
gradient explosion
attention dilution
approximation error
Transformer
Innovation

Methods, ideas, or system contributions that make the work stand out.

Exact Linear Attention
kernel decomposition
gradient stability
Memory Lobe
Mixture of Experts
🔎 Similar Papers
No similar papers found.