English

Power-based Partial Attention: Bridging Linear-Complexity and Full Attention

Machine Learning 2026-01-28 v2

Abstract

It is widely accepted from transformer research that "attention is all we need", but the amount of attention required has never been systematically quantified. Is quadratic O(L2)O(L^2) attention necessary, or is there a sub-quadratic attention mechanism that can achieve comparable performance? To answer this question, we introduce power-based partial attention (PPA), an attention mechanism of order O(L1+p)O(L^{1+p}), where 0p10 \leq p \leq 1, such that p=0p=0 corresponds to sliding window attention with linear complexity, and p=1p=1 corresponds to full attention. With this attention construction, we can explore how transformer architecture performance varies as a function of the attention scaling behavior controlled by pp. The overall trend from our experiments shows an S-curve-like behavior where the performance transitions from sliding-window (linear-complexity) attention to full attention over a narrow window of pp values, and plateaus as pp approaches 11. In our experiments, we show that there exists 0<p<10<p<1 such that O(L1+p)O(L^{1+p}) attention is sufficient to achieve similar results as O(L2)O(L^2) full attention.

Keywords

Cite

@article{arxiv.2601.17334,
  title  = {Power-based Partial Attention: Bridging Linear-Complexity and Full Attention},
  author = {Yufeng Huang},
  journal= {arXiv preprint arXiv:2601.17334},
  year   = {2026}
}

Comments

12 pages, 3 figures

R2 v1 2026-07-01T09:18:20.800Z