Approximate Top-k for Increased Parallelism
Not on the map. Why?
Abstract (arXiv)
We present an evaluation of bucketed approximate top-k algorithms. Computing top-k exactly suffers from limited parallelism, because the k largest values must be aggregated along the vector, thus is not well suited to computation on highly-parallel machine learning accelerators. By relaxing the requirement that the top-k is exact, bucketed algorithms can dramatically increase the parallelism available by independently computing many smaller top-k operations. We explore the design choices of this class of algorithms using both theoretical analysis and empirical evaluation on downstream tasks. Our motivating examples are sparsity algorithms for language models, which often use top-k to select the most important parameters or activations. We also release a fast bucketed top-k implementation for PyTorch.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). First posted on arXiv 5 Dec 2024.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2025: 3; 2026: 2.
5 papers.
- 2025Weight-sparse transformers have interpretable circuitscited by 44
- 2025Accelerating Linear Recurrent Neural Networks for the Edge with Unstructured Sparsitycited by 3
- 2026FlashSampling: Fast and Memory-Efficient Exact Samplingcited by 3
- 2026Guess-Verify-Refine: Data-Aware Top-K for Sparse-Attention Decoding on Blackwell via Temporal Correlationcited by 3
- 2025A Faster Generalized Two-Stage Approximate Top-Kcited by 0
- 2026Guess-Verify-Refine: Data-Aware Top-K for Sparse-Attention Decoding on Blackwell via Temporal Correlation24 Apr 2026
- 2026FlashSampling: Fast and Memory-Efficient Exact Sampling16 Mar 2026
- 2025Weight-sparse transformers have interpretable circuits17 Nov 2025
- 2025A Faster Generalized Two-Stage Approximate Top-K4 Jun 2025
- 2025Accelerating Linear Recurrent Neural Networks for the Edge with Unstructured Sparsity3 Feb 2025