Power Law Guided Dynamic Sifting for Efficient Attention
Nirav Koley, Prajwal Singhania, Abhinav Bhatele

TL;DR
This paper introduces SiftAttention, an efficient approximate attention method guided by power-law insights, reducing memory bandwidth and improving inference speed on GPUs for large language models.
Contribution
It proposes a novel attention approximation that replaces top-k with a threshold-based filtering guided by power-law distributions, enhancing GPU efficiency.
Findings
Reduces memory bandwidth during attention computation.
Maintains model quality better than existing approximate methods.
Significantly improves inference efficiency on GPUs.
Abstract
Efficient inference on GPUs using large language models remains challenging due to memory bandwidth limitations, particularly during data transfers between High Bandwidth Memory (HBM) and SRAM in attention computations. Approximate attention methods address this issue by reducing computational and memory overhead but often rely on expensive top- operations, which perform poorly on GPUs. We propose SiftAttention, a novel approximate attention method that replaces the top- step with a computationally efficient element-wise filtering operation based on a threshold value. Our intuition for doing this is based on our empirical observation that the -th quantile of attention scores follows a predictable power-law over sequential generation steps. Exploiting this insight, our approach dynamically estimates a threshold value per prompt at each generation step. Only attention scores…
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
TopicsAdvanced Neural Network Applications · Big Data and Digital Economy · Machine Learning in Healthcare
MethodsSoftmax · Attention Is All You Need
