Why have linear attention methods often underperformed softmax attention in model quality?
Last updated
Linear attention replaces
softmax(QKᵀ)with a kernelφ(Q)φ(K)ᵀfor O(n) cost, but this compresses all context into a fixed-size d×d state. Keys then interfere, so recall and copying degrade as length grows (softmax keeps a full KV cache).It loses softmax's sharp, peaky focus on single tokens, giving diffuse low-rank weights. Random-feature approximations (Performer) are noisy and the normalizer can be unstable.
Plain accumulation never forgets old information. Newer variants with gating, decay, or delta-rule updates (RetNet, GLA, Mamba, DeltaNet) close much of the gap, and FlashAttention reduced the need to trade quality for speed.