Fast Attention Requires Bounded Entries
summary
Shows attention computation has a sharp threshold: if all Q,K,V entries satisfy B ≤ √log n a polynomial-approximation method yields a low-rank decomposition and an nearly linear time algorithm (n1+o(1)); if B is a constant·√log n then a reduction from approximate closest pair gives a SETH-based lower bound ruling out truly subquadratic time. Tools: Chebyshev/poly truncation, polynomial method, low-rank sketching; construction and bounds match up to log factors.
AI-written summary · about
chapters (7)
- 0:00Introduction to attention in machine learning
- 4:18Attention computation problem
- 9:21Kernel density estimation link
- 11:13Lower bound via closest pair
- 24:31Polynomial approximation algorithm
- 35:24Chebyshev polynomials & approximation
- 41:59Q&A
related talks
44mSomething for Almost Nothing: Advances in Sub-Linear Time Algorithms
30mOn Approximation Guarantees for Greedy Low Rank Optimization
11mUnderstanding Statistical-to-Computational Gaps via Low-Degree Polynomials
29mRecent Advances in Positive Semidefinite Matrix Approximation
01h 01mNearest Neighbor Methods II
47mSuccinct Representations and Efficient Algorithms Based on Linear Programming
21mLucky Talk: Chebyshev Polynomials, Moment Matching and Optimal Estimation of the Unseen
01h 10mSketching for Linear Algebra: Basics of Dimensionality Reduction and CountSketch II
