For constant head dimension d, approximate attention can be computed in about n^{2-1/d} polylog(B/eps) time, while SETH-based lower bounds push near-quadratic hardness down to very small d.
More applications of the polynomial method to algorithm design
1 Pith paper cite this work. Polarity classification is still indexing.
1
Pith paper citing it
fields
cs.LG 1years
2025 1verdicts
CONDITIONAL 1representative citing papers
citing papers explorer
-
Subquadratic Algorithms and Hardness for Attention with Any Temperature
For constant head dimension d, approximate attention can be computed in about n^{2-1/d} polylog(B/eps) time, while SETH-based lower bounds push near-quadratic hardness down to very small d.