ZeroS: Zero-Sum Linear Attention for Efficient Transformers
Abstract
Linear attention methods offer Transformers complexity but typically underperform standard softmax attention. We identify two fundamental limitations affecting these approaches: the restriction to convex combinations that only permits additive information blending, and uniform accumulated weight bias that dilutes attention in long contexts. We propose Zero-Sum Linear Attention (ZeroS), which addresses these limitations by removing the constant zero-order term and reweighting the remaining zero-sum softmax residuals. This modification creates mathematically stable weights, enabling both positive and negative values and allowing a single attention layer to perform contrastive operations. While maintaining complexity, ZeroS theoretically expands the set of representable functions compared to convex combinations. Empirically, it matches or exceeds standard softmax attention across various sequence modeling benchmarks.
Keywords
Cite
@article{arxiv.2602.05230,
title = {ZeroS: Zero-Sum Linear Attention for Efficient Transformers},
author = {Jiecheng Lu and Xu Han and Yan Sun and Viresh Pati and Yubin Kim and Siddhartha Somani and Shihao Yang},
journal= {arXiv preprint arXiv:2602.05230},
year = {2026}
}
Comments
Camera-ready version. Accepted at NeurIPS 2025