Element-wise Attention Is All You Need
Not on the map. Why?
Abstract (arXiv)
The self-attention (SA) mechanism has demonstrated superior performance across various domains, yet it suffers from substantial complexity during both training and inference. The next-generation architecture, aiming at retaining the competitive performance of SA while achieving low-cost inference and efficient long-sequence training, primarily focuses on three approaches: linear attention, linear RNNs, and state space models. Although these approaches achieve reduced complexity than SA, they all have built-in performance degradation factors, such as diminished âspikinessâ and compression of historical information. In contrast to these approaches, we propose a novel element-wise attention mechanism, which uses the element-wise squared Euclidean distance, instead of the dot product operation, to compute similarity and approximates the quadratic complexity term exp(qickjc) with a Taylor polynomial. This design achieves remarkable efficiency: during training, the element-wise attention has a complexity of O(tLD), making long-sequence training both computationally and memory efficient, where L is the sequence length, D is the feature dimension, and t is the highest order of the polynomial; during inference, it can be reformulated as recurrent neural networks, achieving a inference complexity of O(tD). Furthermore, the element-wise attention circumvents the performance degradation factors present in these approaches and achieves performance comparable to SA in both causal and non-causal forms.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). First posted on arXiv 10 Jan 2025.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026Free Energy Mixercited by 1
- 2026Free Energy Mixer6 Feb 2026
Similar, not cited
Close in wording, no citation either way
- 2024Loki: Low-rank Keys for Efficient Sparse Attention
- 2025Sigmoid Self-Attention has Lower Sample Complexity than Softmax Self-Attention: A Mixture-of-Experts Perspective
- 2026Not All Attention Is Equal: A Quantitative Survey of the EEI Trade-off
- 2024ATP: Enabling Fast LLM Serving via Attention on Top Principal Keys
- 2026Kwai Summary Attention Technical Report
- 2024Short-Long Convolutions Help Hardware-Efficient Linear Attention to Focus on Long Sequences
- 2025AQUA: Attention via QUery mAgnitudes for Memory and Compute Efficient Inference in LLMs
- 2025Efficient Context Scaling with LongCat ZigZag Attention