mlsanityData to 14 Oct 2026

Sparse Attention Remapping with Clustering for Efficient LLM Decoding on PIM

arXiv 2505.05772 ↗First posted 9 May 2025cs.CL cs.LGcited by 3

On the map: Efficient LLM inference and serving → KV cache optimization

Abstract (arXiv)

Transformer-based models are the foundation of modern machine learning, but their execution, particularly during autoregressive decoding in large language models (LLMs), places significant pressure on memory systems due to frequent memory accesses and growing key-value (KV) caches. This creates a bottleneck in memory bandwidth, especially as context lengths increase. Processing-in-memory (PIM) architectures are a promising solution, offering high internal bandwidth and compute parallelism near memory. However, current PIM designs are primarily optimized for dense attention and struggle with the dynamic, irregular access patterns introduced by modern KV cache sparsity techniques. Consequently, they suffer from workload imbalance, reducing throughput and resource utilization. In this work, we propose STARC, a novel sparsity-optimized data mapping scheme tailored specifically for efficient LLM decoding on PIM architectures. STARC clusters KV pairs by semantic similarity and maps them to contiguous memory regions aligned with PIM bank structures. During decoding, queries retrieve relevant tokens at cluster granularity by matching against precomputed centroids, enabling selective attention and parallel processing without frequent reclustering or data movement overhead. Experiments on the HBM-PIM system show that, compared to common token-wise sparsity methods, STARC reduces attention-layer latency by 19%--31% and energy consumption by 19%--27%. Under a KV cache budget of 1024, it achieves up to 54%--74% latency reduction and 45%--67% energy reduction compared to full KV cache retrieval. Meanwhile, STARC maintains model accuracy comparable to state-of-the-art sparse attention methods, demonstrating its effectiveness in enabling efficient and hardware-friendly long-context LLM inference on PIM architectures.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 50 of its 60 references that are in the map. First posted on arXiv 9 May 2025.

Builds on

50 of 60 references.

Closest ancestors · 12

Same direction, newest first

  1. 2025SentenceKV: Efficient LLM Inference via Sentence-Level Semantic KV Caching1 Apr
  2. 2025Dialogue Without Limits: Constant-Sized KV Caches for Extended Responses in LLMs2 Mar
  3. 2025RocketKV: Accelerating Long-Context LLM Inference via Two-Stage KV Cache Compression19 Feb
  4. 2024ClusterKV: Manipulating LLM KV Cache in Semantic Space for Recallable Compression4 Dec
  5. 2024Model Tells You Where to Merge: Adaptive KV Cache Merging for LLMs on Long-Context Tasks11 Jul
  6. 2024InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache Management28 Jun
  7. 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference16 Jun
  8. 2023SparQ Attention: Bandwidth-Efficient LLM Inference8 Dec
  9. 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs3 Oct
  10. 2023Efficient Memory Management for Large Language Model Serving with PagedAttention12 Sep
  11. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models24 Jun
  12. 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Time26 May

Other references · 38

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  5. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  6. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  7. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
  8. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
  9. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  10. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  11. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
  12. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
26 more
  1. 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 916
  2. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
  3. 2017The NarrativeQA Reading Comprehension Challengecited by 597
  4. 2022Efficiently Scaling Transformer Inferencecited by 539
  5. 2019SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarizationcited by 535
  6. 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 486
  7. 2023LMSYS-Chat-1M: A Large-Scale Real-World LLM Conversation Datasetcited by 461
  8. 2019Multi-News: a Large-Scale Multi-Document Summarization Dataset and Abstractive Hierarchical Modelcited by 431
  9. 2021QMSum: A New Benchmark for Query-based Multi-domain Meeting Summarizationcited by 365
  10. 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 353
  11. 2021Efficient Attentions for Long Document Summarizationcited by 345
  12. 2023ToolQA: A Dataset for LLM Question Answering with External Toolscited by 274
  13. 2023Using an LLM to Help With Code Understandingcited by 228
  14. 2022Pre-Trained Language Models for Interactive Decision-Makingcited by 221
  15. 2023LongCoder: A Long-Range Pre-trained Language Model for Code Completioncited by 112
  16. 2024Squeezed Attention: Accelerating Long Context Length LLM Inferencecited by 57
  17. 2019Pythia: AI-assisted Code Completion Systemcited by 55
  18. 2024NeuPIMs: NPU-PIM Heterogeneous Acceleration for Batched LLM Inferencingcited by 52
  19. 2023Ramulator 2.0: A Modern, Modular, and Extensible DRAM Simulatorcited by 30
  20. 2025PAPI: Exploiting Dynamic Parallelism in Large Language Model Decoding with a Processing-In-Memory-Enabled Computing Systemcited by 20
  21. 2023Pathfinding Future PIM Architectures by Demystifying a Commercial PIM Technologycited by 14
  22. 2024IANUS: Integrated Accelerator based on NPU-PIM Unified Memory Systemcited by 13
  23. 2020Accelerating Bandwidth-Bound Deep Learning Inference with Main-Memory Acceleratorscited by 7
  24. 2025Make LLM Inference Affordable to Everyone: Augmenting GPU Memory with NDP-DIMMcited by 6
  25. 2022Accelerating Neural Network Inference with Processing-in-DRAM: From the Edge to the Cloudcited by 5
  26. 2025PIM-LLM: A High-Throughput Hybrid PIM Architecture for 1-bit LLMscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Progressive Sparse Attention: Algorithm and System Co-design for Efficient Attention in LLM Serving
  2. 2026Unifying Sparse Attention with Hierarchical Memory for Scalable Long-Context LLM Serving
  3. 2024MagicPIG: LSH Sampling for Efficient LLM Generation
  4. 2025Hardware-Efficient Attention for Fast Decoding
  5. 2026Sparse Attention as a Range Searching Problem: Towards an Inference-Efficient Index for KV Cache
  6. 2026AQPIM: Breaking the PIM Capacity Wall for LLMs with In-Memory Activation Quantization
  7. 2025Ecco: Improving Memory Bandwidth and Capacity for LLMs via Entropy-aware Cache Compression
  8. 2025PAT: Accelerating LLM Decoding via Prefix-Aware Attention with Resource Efficient Multi-Tile Kernel