mlsanityData to 14 Oct 2026

Long-Context Modeling with Dynamic Hierarchical Sparse Attention for Memory-Constrained LLM Inference

arXiv 2510.24606 ↗First posted 28 Oct 2025cs.CLcited by 7

Not on the map. Why?

Abstract (arXiv)

The quadratic cost of attention limits the scalability of long-context LLMs, especially under limited hardware memory budgets. While attention is often sparse, existing static sparse methods cannot adapt to task- or input-dependent variations, and recent dynamic approaches rely on predefined templates or heuristics that may sacrifice generality. We propose Dynamic Hierarchical Sparse Attention (DHSA), a data-driven framework that predicts attention sparsity online while keeping the LLM backbone frozen. DHSA performs hierarchical routing by estimating importance at the chunk level and propagating it to token-level interactions, preserving causally important dependencies while enabling efficient sparsification. Across Needle-in-a-Haystack test, LongBench and RULER, DHSA maintains near-dense accuracy in highly sparse regimes, achieving 12--20% relative accuracy gains over Block Sparse Attention at comparable prefill cost. With a memory-efficient tiled backend, DHSA delivers up to 10× prefill speedup at 128K context length. On LLaMA-3.1-8B (4-bit), DHSA scales to 100K context on a single 24GB GPU, where dense attention fails. We provide complementary GPU and CPU backends, enabling DHSA to run across diverse hardware environments and multiple open-weight model families. These results demonstrate DHSA as an efficient and adaptable solution for memory-constrained long-context LLM inference.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 39 of its 49 references that are in the map. First posted on arXiv 28 Oct 2025.

Builds on

39 of 49 references.

References · 39

  1. 2017Attention Is All You Needcited by 60,361
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  4. 2024Qwen2.5 Technical Reportcited by 4,942
  5. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  6. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  7. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  8. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
  9. 2020Longformer: The Long-Document Transformercited by 3,413
  10. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
  11. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  12. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
27 more
  1. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
  2. 2022Fast Inference from Transformers via Speculative Decodingcited by 1,653
  3. 2019Generating Long Sequences with Sparse Transformerscited by 1,546
  4. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
  5. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  6. 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,121
  7. 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 880
  8. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 832
  9. 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 637
  10. 2024TinyLlama: An Open-Source Small Language Modelcited by 618
  11. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
  12. 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 501
  13. 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Timecited by 439
  14. 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funnelingcited by 432
  15. 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 401
  16. 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 383
  17. 2024DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Headscited by 288
  18. 2023LongNet: Scaling Transformers to 1,000,000,000 Tokenscited by 204
  19. 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 200
  20. 2023Compressing Context to Enhance Inference Efficiency of Large Language Modelscited by 189
  21. 2023LM-Infinite: Zero-Shot Extreme Length Generalization for Large Language Modelscited by 124
  22. 2024SeerAttention: Learning Intrinsic Sparse Attention in Your LLMscited by 124
  23. 2024ChatQA 2: Bridging the Gap to Proprietary LLMs in Long Context and RAG Capabilitiescited by 53
  24. 2025LogitSpec: Accelerating Retrieval-based Speculative Decoding via Next Next Token Speculationcited by 14
  25. 2025Analytical FFN-to-MoE Restructuring via Activation Pattern Analysiscited by 8
  26. 2024The Compressor-Retriever Architecture for Language Model OScited by 5
  27. 2024From Pruning to Grafting: Dynamic Knowledge Redistribution via Learnable Layer Fusioncited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 7.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026AsyncTLS: Efficient Generative LLM Inference with Asynchronous Two-level Sparse Attention
  2. 2025Kascade: A Practical Sparse Attention Method for Long-Context LLM Inference
  3. 2025Progressive Sparse Attention: Algorithm and System Co-design for Efficient Attention in LLM Serving
  4. 2026SparDA: Sparse Decoupled Attention for Efficient Long-Context LLM Inference
  5. 2025SALE : Low-bit Estimation for Efficient Sparse Attention in Long-context LLM Prefilling
  6. 2025Tactic: Adaptive Sparse Attention with Clustering and Distribution Fitting for Long-Context LLMs
  7. 2026Unifying Sparse Attention with Hierarchical Memory for Scalable Long-Context LLM Serving
  8. 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention