FAST: Factorizable Attention for Speeding up Transformers
Armin Gerami, Monte Hoover, Pranav S. Dulepet, Ramani Duraiswami

TL;DR
This paper introduces a factorizable attention mechanism for transformers that reduces computational complexity from quadratic to linear, maintaining full attention representation and enabling efficient high-dimensional processing.
Contribution
The authors propose a novel linearly scaled attention method inspired by fast multipole and fast Gauss transforms, improving efficiency without sacrificing attention quality.
Findings
Achieves linear $O(N)$ complexity in attention computation.
Maintains full attention matrix representation without sparsification.
Demonstrates robust performance across standard benchmarks.
Abstract
Motivated by the factorization inherent in the original fast multipole method and the improved fast Gauss transform we introduce a factorable form of attention that operates efficiently in high dimensions. This approach reduces the computational and memory complexity of the attention mechanism in transformers from to . In comparison to previous attempts, our work presents a linearly scaled attention mechanism that maintains the full representation of the attention matrix without compromising on sparsification and incorporates the all-to-all relationship between tokens. We explore the properties of our new attention metric and conduct tests in various standard settings. Results indicate that our attention mechanism has a robust performance and holds significant promise for diverse applications where self-attention is used.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParallel Computing and Optimization Techniques
