mlsanityData to 14 Oct 2026

Polar Sparsity: High Throughput Batched LLM Inferencing with Scalable Contextual Sparsity

arXiv 2505.14884 ↗First posted 20 May 2025cs.LG cs.AIcited by 6

Not on the map. Why?

Abstract (arXiv)

Accelerating large language model (LLM) inference is critical for real-world deployments requiring high throughput and low latency. Contextual sparsity, where each token dynamically activates only a small subset of the model parameters, shows promise but does not scale to large batch sizes due to union of active neurons quickly approaching dense computation. We introduce Polar Sparsity, highlighting a key shift in sparsity importance from MLP to Attention layers as we scale batch size and sequence length. While MLP layers become more compute-efficient under batching, their sparsity vanishes. In contrast, attention becomes increasingly more expensive at scale, while their head sparsity remains stable and batch-invariant. We develop Selective Head Attention with hardware-efficient, sparsity-aware GPU kernels, delivering up to (2.2×) end-to-end speedups for models like OPT, LLaMA-2 & 3, Qwen, Mistral across various batch sizes and sequence lengths without compromising accuracy. To our knowledge, this is the first work to demonstrate that contextual sparsity can scale effectively to large batch sizes, delivering substantial inference acceleration with minimal changes, making Polar Sparsity practical for large-scale, high-throughput LLM deployment systems. Our code is available at: https://github.com/susavlsh10/Polar-Sparsity.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 43 of its 58 references that are in the map. First posted on arXiv 20 May 2025.

Builds on

43 of 58 references.

References · 43

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  3. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  4. 2020Scaling Laws for Neural Language Modelscited by 6,586
  5. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  6. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  7. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  8. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  9. 2016Pointer Sentinel Mixture Modelscited by 3,096
  10. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  11. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
  12. 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,848
31 more
  1. 2022Fast Inference from Transformers via Speculative Decodingcited by 1,653
  2. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
  3. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,346
  4. 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 737
  5. 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 717
  6. 2021Sparsity in Deep Learning: Pruning and growth for efficient inference and training in neural networkscited by 527
  7. 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 252
  8. 2020SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruningcited by 234
  9. 2023PowerInfer: Fast Large Language Model Serving with a Consumer-grade GPUcited by 217
  10. 2021MoEfication: Transformer Feed-forward Layers are Mixtures of Expertscited by 152
  11. 2024Keyformer: KV Cache Reduction through Key Tokens Selection for Efficient Generative Inferencecited by 126
  12. 2022The Lazy Neuron Phenomenon: On Emergence of Activation Sparsity in Transformerscited by 122
  13. 2023ReLU Strikes Back: Exploiting Activation Sparsity in Large Language Modelscited by 94
  14. 2024Attention Score is not All You Need for Token Importance Indicator in KV Cache Reduction: Value Also Matterscited by 73
  15. 2022Mixture of Attention Heads: Selecting Attention Heads Per Tokencited by 60
  16. 2024Training-Free Activation Sparsity in Large Language Modelscited by 55
  17. 2024ProSparse: Introducing and Enhancing Intrinsic Activation Sparsity within Large Language Modelscited by 45
  18. 2024CATS: Contextually-Aware Thresholding for Sparsity in Large Language Modelscited by 41
  19. 2024Sparsing Law: Towards Large Language Models with Greater Activation Sparsitycited by 22
  20. 2024Prompt-prompted Adaptive Structured Pruning for Efficient LLM Generationcited by 21
  21. 2025R-Sparse: Rank-Aware Activation Sparsity for Efficient LLM Inferencecited by 21
  22. 2024Learn To be Efficient: Build Structured Sparsity in Large Language Modelscited by 20
  23. 2025Probe Pruning: Accelerating LLMs through Dynamic Pruning via Model-Probingcited by 14
  24. 2024ShadowLLM: Predictor-based Contextual Sparsity for Large Language Modelscited by 13
  25. 2023ESPN: Memory-Efficient Multi-Vector Information Retrievalcited by 8
  26. 2024A2SF: Accumulative Attention Scoring with Forgetting Factor for Token Pruning in Transformer Decodercited by 8
  27. 2025Optimizing LLM Inference Throughput via Memory-aware and SLA-constrained Dynamic Batchingcited by 8
  28. 2023Mini-GPTs: Efficient Large Language Models through Contextual Pruningcited by 6
  29. 2025Token-Driven GammaTune: Adaptive Calibration for Enhanced Speculative Decodingcited by 6
  30. 2024LLM-Barber: Block-Aware Rebuilder for Sparsity Mask in One-Shot for Large Language Modelscited by 1
  31. 2024BATON: Enhancing Batch-wise Inference Efficiency for Large Language Models via Dynamic Re-batchingcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 4.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026S-HPLB: Efficient LLM Attention Serving via Sparsity-Aware Head Parallelism Load Balance
  2. 2025DeltaLLM: Delta-Key Sparse Attention for Edge LLMs
  3. 2025HGCA: Hybrid GPU-CPU Attention for Long Context LLM Inference
  4. 2026WiSparse: Boosting LLM Inference Efficiency with Weight-Aware Mixed Activation Sparsity
  5. 2025La RoSA: Enhancing LLM Efficiency via Layerwise Rotated Sparse Activation
  6. 2023SparQ Attention: Bandwidth-Efficient LLM Inference
  7. 2026STS: Efficient Sparse Attention with Speculative Token Sparsity
  8. 2026TopK-Guided: Adaptive, Budget-Aware Activation Sparsity for Efficient LLM Inference