mlsanityData to 26 Nov 2026

Multi-layer Indexer: Overlapping Selection and Attention in DeepSeek Sparse Attention

arXiv 2611.03768 ↗Submitted 2 Nov 2026cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Sparse attention cuts the cost of long-context inference by making the attention matrix sparse: each query attends only a subset of the sequence, chosen by a fixed pattern or, in recent production LLMs, learned per query. In DeepSeek Sparse Attention (DSA), the attention of DeepSeek-V3.2 and the GLM-5 family, every layer is preceded by a lightning indexer that scores the whole cache and keeps the k=2048 highest-scoring tokens for the layer to attend. At long context this indexer scan, not the sparse attention it feeds, is where the decode time goes. But adjacent layers select nearly the same tokens, so a layer can attend the selection of the previous indexer layer instead of its own. This removes the dependency: each indexer then runs concurrently with the attention of its layer. The resulting Multi-layer Indexer (MLI) needs no retraining and no new weights. Its default realization changes no kernel, running inside SGLang's production decode graph; an optional fused decode kernel accelerates it further on DeepSeek-V3.2. MLI composes with IndexCache (the cross-layer reuse GLM-5.2 ships as IndexShare): IndexCache drops the indexer from some layers, and MLI hides the scan on the rest. We serve DeepSeek-V3.2 and GLM-5 under IndexCache's protocol at retentions 1/2 to 1/32 (the fraction of layers that keep an indexer) and contexts 10K to 195K. At equal retention the composition decodes faster than IndexCache: up to 14.5% faster on DeepSeek-V3.2 and 9.8% on GLM-5 at 1/2, and 7.9% and 5.1% at 1/4, largest where IndexCache keeps the most indexers and growing with context. At retention 1/r it is faster still than IndexCache at 1/(2r) while keeping twice the fresh selections: at 128K it reaches 1.32x the unmodified model's decode throughput at 1/4, above IndexCache's 1.28x at 1/8. Its LongBench, RULER and LongBench v2 accuracy stays within a few percentage points of IndexCache's.

Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 23 of its 26 references that are in the map. Submitted 2 Nov 2026.

Builds on

23 of 26 references.

References · 23

  1. 2020Longformer: The Long-Document Transformercited by 3,606
  2. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,444
  3. 2020Big Bird: Transformers for Longer Sequencescited by 1,729
  4. 2019Generating Long Sequences with Sparse Transformerscited by 1,641
  5. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,559
  6. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,557
  7. 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 1,003
  8. 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 941
  9. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 892
  10. 2026GLM-5: from Vibe Coding to Agentic Engineeringcited by 740
  11. 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 581
  12. 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 469
11 more
  1. 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 447
  2. 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 431
  3. 2025MoBA: Mixture of Block Attention for Long-Context LLMscited by 232
  4. 2024SeerAttention: Learning Intrinsic Sparse Attention in Your LLMscited by 142
  5. 2026IndexCache: Accelerating Sparse Attention via Cross-Layer Index Reusecited by 46
  6. 2025InfLLM-V2: Dense-Sparse Switchable Attention for Seamless Short-to-Long Adaptationcited by 40
  7. 2024TidalDecode: Fast and Accurate LLM Decoding with Position Persistent Sparse Attentioncited by 39
  8. 2024Selective Attention Improves Transformercited by 33
  9. 2025Kascade: A Practical Sparse Attention Method for Long-Context LLM Inferencecited by 15
  10. 2025HeadInfer: Memory-Efficient LLM Inference by Head-wise Offloadingcited by 13
  11. 2024IceFormer: Accelerated Inference with Long-Sequence Transformers on CPUscited by 11

Built on by

Not cited yet.