mlsanityData to 7 Oct 2026

LiteTopK: Exploiting the Curse of Dimensionality for a Fused Indexer-TopK Kernel in Long-Context Sparse Attention

arXiv 2607.11976 ↗First posted 13 Jul 2026cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Indexer-TopK, the operation to compute the scores and select the top-k candidates, is widely used by sparse attention algorithms in large language models and vector retrieval in recommendation systems and vector databases. However, existing GPU-based Indexer-TopK kernels like DeepSeek Sparse Attention (DSA) remain inefficient due to excessive global memory traffic, costly synchronization, and prohibitive memory overhead. In this study, inspired by the curse of dimensionality phenomenon, we first observe that sparse attention scores exhibit a score concentration phenomenon, where scores tend to fall within a narrow range. Based on this observation, we propose LITETOPK, an efficient fused Indexer-TopK kernel. LITETOPK first samples a small subset of data to estimate query-data score ranges, then partitions candidates into bins accordingly. This organization allows the LITETOPK kernel to maintain a tight approximate threshold online, write back only promising candidates, reduce unnecessary I/O and memory overhead while preserving exact Top-k correctness. Building on LITETOPK, we further propose LITEDSA, which exploits the similarity of top-k candidate sets among neighboring tokens. LITEDSA packs neighboring tokens' candidates for joint computation and masks out extra scores for each query, thereby reducing memory traffic while preserving correctness. Experimental results in a real-world deployment environ ment with eight B200 GPUs show that LITETOPK+LITEDSA accelerates the prefill stage of GLM 5.2 by 1.35x, with no performance loss and lower memory overhead.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 27 of its 41 references that are in the map. First posted on arXiv 13 Jul 2026.

Builds on

27 of 41 references.

References · 27

  1. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  2. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  3. 2016Pointer Sentinel Mixture Modelscited by 2,992
  4. 2017Billion-scale similarity search with GPUscited by 2,477
  5. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,107
  6. 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 877
  7. 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 848
  8. 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 755
  9. 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 507
  10. 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 487
  11. 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 391
  12. 2024The Faiss librarycited by 370
15 more
  1. 2025FlashInfer: Efficient and Customizable Attention Engine for LLM Inference Servingcited by 248
  2. 2023SparQ Attention: Bandwidth-Efficient LLM Inferencecited by 119
  3. 2024PQCache: Product Quantization-based KVCache for Long Context LLM Inferencecited by 93
  4. 2021Memory-efficient Transformers via Top-k Attentioncited by 59
  5. 2026MiniMax Sparse Attentioncited by 34
  6. 2023Rethinking the Role of Token Retrieval in Multi-Vector Retrievalcited by 28
  7. 2024TidalDecode: Fast and Accurate LLM Decoding with Position Persistent Sparse Attentioncited by 28
  8. 2025The Sparse Frontier: Sparse Attention Trade-offs in Transformer LLMscited by 28
  9. 2026IndexCache: Accelerating Sparse Attention via Cross-Layer Index Reusecited by 27
  10. 2024Embedding And Clustering Your Data Can Improve Contrastive Pretrainingcited by 17
  11. 2021Dr. Top-k: Delegate-Centric Top-k on GPUscited by 6
  12. 2025Exploiting Sparsity for Long Context Inference: Million Token Contexts on Commodity GPUscited by 5
  13. 2013Fast k-NNG construction with GPU-based quick multi-selectcited by 2
  14. 2025InteractRank: Personalized Web-Scale Search Pre-Ranking with Cross Interaction Featurescited by 2
  15. 2026BBC: Improving Large-k Approximate Nearest Neighbor Search with a Bucket-based Result Collectorcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.