DisSparse: Pipelined Top-$p$ Sparse Attention for Long-Context LLM Serving
Nurlan Nazaraliyev, Elaheh Sadredini, Nael Abu-Ghazaleh
NeurIPS 2026
TL;DR. DisSparse adapts top-p sparse attention into vLLM by decoupling block selection from the scheduler and hiding selection latency in a two-stream pipeline, achieving 1.17x - 1.80x faster top-p selection and up to 8x larger batch sizes than dense vLLM.
Abstract. Long-context LLM inference is bottlenecked by the memory demands of the key-value (KV) cache, whose size scales linearly with context length. Dynamic sparse attention reduces this bottleneck by fetching and attending only to a critical subset of tokens. The dominant primitive in dynamic sparse attention research and deployment is fixed-budget top- selection, which is favored because its deterministic block count aligns with the static memory allocation that systems like vLLM rely on. Top- uses a fixed budget regardless of how attention mass is distributed across heads, layers, and decode steps, leading to either wasted bandwidth on heads with peaky attention or dropped context on heads with diffuse attention. Top- (nucleus) selection adapts naturally to this variation but has seen limited adoption in production serving systems due to two system-level challenges: variable block counts that break deterministic block allocation and computationally expensive selection kernels that exceed the cost of attention itself. We present DisSparse, a serving system that integrates top- sparse attention into vLLM end-to-end. DisSparse decouples block selection from the scheduler's critical path, hides selection latency behind layer computation via a two-stream pipeline, and introduces a single-pass histogram-based top- kernel. We further observe \emph{intra-block sparsity}, the inflation of selection budgets caused by mixing high- and low-importance tokens within fixed-size KV cache blocks, and address it with a token relocation kernel guided by accumulated prefill attention scores. Across long- and medium-context benchmarks on multiple models, DisSparse achieves 1.17$\times$ to 1.80$\times$ speedup in sparsity analysis (block selection) over state-of-the-art top- methods with negligible accuracy loss and supports up to 8$\times$ larger maximum batch sizes than dense vLLM under the same memory budget. Code is available at https://github.com/nnurlan008/DisSparse.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:50 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper presents an end-to-end integration of top- sparse attention into vLLM. It introduces innovations like two-stream pipeline, fused INT4 top-p kernel, and many other design choices to achieve a practical implementation. DisSparse can support substantially larger batch sizes than dense vLLM under the same memory budget
However, the paper still has following weaknesses:
-
The motivating observations heavily rely on a single model (LLaMA 3.1-8B). For observations claimed to be general properties of LLM attention, evidence across diverse model families (e.g., Qwen3, Gemma) is necessary.
-
The evaluation is incomplete. How does DisSparse compare (in both accuracy and efficiency) to recent head-wise adaptive top- methods (e.g., AdaKV, Expected Attention, KVzip) under the same memory budget? All main experiments are conducted on sub-10B models, how does the method work on recent large models (30B+ and large MoE models)?
-
There is incompatibility between the two-stream pipeline and vLLM’s current CUDA Graph implementation. CUDA Graph is critical for reducing kernel launch costs. How this can be resolved in practical and what is its actual performance impact on various LLM models?
Final justification
The authors carefully responsed to all the reviewers' questions and concerns. The authors included Gemma as another model motivating the work. The authors also added more evaluations to demostrate the performance of the proposed work over other works and additional ablations are provided. The CUDA Graph concern is also resoved.
I would recommend to accept the paper.
Read meta-review
Meta-review
The paper presents an end-to-end integration of top- sparse attention into vLLM. It introduces innovations like two-stream pipeline, fused INT4 top-p kernel, and many other design choices to achieve a practical implementation. DisSparse can support substantially larger batch sizes than dense vLLM under the same memory budget
However, the paper still has following weaknesses:
-
The motivating observations heavily rely on a single model (LLaMA 3.1-8B). For observations claimed to be general properties of LLM attention, evidence across diverse model families (e.g., Qwen3, Gemma) is necessary.
-
The evaluation is incomplete. How does DisSparse compare (in both accuracy and efficiency) to recent head-wise adaptive top- methods (e.g., AdaKV, Expected Attention, KVzip) under the same memory budget? All main experiments are conducted on sub-10B models, how does the method work on recent large models (30B+ and large MoE models)?
-
There is incompatibility between the two-stream pipeline and vLLM’s current CUDA Graph implementation. CUDA Graph is critical for reducing kernel launch costs. How this can be resolved in practical and what is its actual performance impact on various LLM models?
Final justification
The authors carefully responsed to all the reviewers' questions and concerns. The authors included Gemma as another model motivating the work. The authors also added more evaluations to demostrate the performance of the proposed work over other works and additional ablations are provided. The CUDA Graph concern is also resoved.
I would recommend to accept the paper.
2 comments
Update
Dear Area Chair,
Two updates since our earlier response.
2b. Larger models. The pending QMSum and Repobench-p results have been completed, so the Qwen3-32B evaluation now covers all 12 LongBench datasets: DisSparse averages against for full attention, ahead of Twilight at . These supersede the 10-dataset averages above.
We have also since evaluated an MoE model, which we could not complete within the original rebuttal window. On Qwen3-30B-A3B (128 experts, 8 active), DisSparse averages against for full attention across 8 of the 12 datasets, with the remainder still running. MoE replaces the FFN rather than the attention path, so DisSparse's selection mechanism remains unchanged. Please see our response to Reviewer 9ERX for the table.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 4/4
- Originality
- 3/4
- Contribution type
- use_inspired
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper looks at sparse attention for long-context LLM serving, with a focus on making top-p selection practical in systems such as vLLM. The main observation is that top-k is easy to support in serving systems because the budget is fixed, but this fixed budget does not match the very different attention patterns across heads, layers, and decoding steps. The authors therefore build a top-p sparse attention system with a separate INT4 metadata cache, a pipelined selection/prefetch design, a fused histogram-based top-p kernel, and a token relocation step to reduce block-level waste. The experiments suggest that the method can keep accuracy close to dense attention while improving sparse selection latency and allowing larger batch sizes in long-context settings.
Strengths and weaknesses
Strengths
- Long-context LLM serving is increasingly limited by KV-cache memory capacity and bandwidth. The paper focuses on a highly relevant bottleneck and argues convincingly that fixed-budget top-k sparse attention is not well matched to the dynamic nature of attention distributions.
- The work carefully considers how top-p sparse attention interacts with the serving scheduler, memory manager, KV-cache layout, block allocation, and execution pipeline. This makes the contribution more practical.
- The two-stream design is a nice idea: the system uses the hidden state from the current layer to run top-p analysis and prefetch KV blocks for the next layer, while the compute stream executes the current layer. This is a clean way to hide selection and prefetch latency behind useful computation.
- The reported improvements are easy to understand from a serving perspective. DisSparse can support substantially larger batch sizes than dense vLLM under the same memory budget, and the fused top-p selection kernel also provides clear speedups over prior top-p implementations.
Weaknesses
- The main gains appear to come from long-context, larger-batch, KV-cache-bound workloads. For small batch sizes, the paper reports that DisSparse can be slower than dense vLLM due to incompatibility between the two-stream pipeline and vLLM’s current CUDA Graph implementation. This suggests that the practical benefit depends heavily on the serving workload and engineering integration. The overall system also introduces considerable complexity, including an INT4 metadata cache, asynchronous transfer, executor-side allocation, CPU offloading, and custom kernels, which may make real-world deployment challenging.
- The evaluation covers several long- and medium-context benchmarks, but sparse attention is especially vulnerable in scenarios requiring precise retrieval of rare but crucial information. The paper would benefit from additional experiments on needle-in-a-haystack tasks, multi-hop long-context retrieval or agentic workflows where attention patterns may drift over time.
- The paper evaluates dense models only. While the attention/KV-cache bottleneck still exists for MoE models, MoE serving introduces expert routing, load imbalance, expert parallel communication, and different memory bottlenecks. It is therefore unclear whether the proposed pipeline and system gains transfer to modern MoE LLM serving.
Questions
The paper states that DisSparse is orthogonal to KV-cache compression, eviction, and other serving optimizations. However, it is unclear how much additional benefit remains when combined with modern KV quantization, prefix caching, speculative decoding, offloading systems, or other sparse attention methods. The paper would be stronger if it demonstrated the composability of DisSparse with these existing techniques.
Limitations
Yes.
Final justification
I have carefully considered the rebuttal. The additional RULER experiments substantially address my concern about retrieval robustness, and the new Qwen3-30B-A3B results provide useful initial evidence that DisSparse can extend to MoE models. My remaining concerns are mainly practical: the benefit is still concentrated in long-context, memory-bound workloads, while small-batch performance depends on resolving the current CUDA Graph integration issue, and the claimed composability with other KV-cache optimizations is not yet empirically demonstrated. Overall, I find the work technically solid and practically meaningful, and the rebuttal strengthens the evaluation, but these remaining limitations make Borderline Accept (4) an appropriate score.
Formatting concerns
NA
4 comments
Rebuttal
W1: Impact on large contexts? Cuda Graph disadvantage in small context?
We agree that DisSparse targets long-context, large-batch, KV-cache-bound serving; the scenario where the growing cache is the bottleneck. Where the KV cache is not the bottleneck, honestly, no sparse-attention method (DisSparse or prior work) is needed to manage bandwidth or capacity, so we do not claim a benefit there. We believe that the Cuda graph overheads are a fixable issue with the current vLLM implementation, which assumes a single stream.
Note: The rest of W1 is same as the response to W3 and Q3: CUDA Graph compatibility in the first review.
vLLM's CUDA graph capture assumes a single-stream execution model: it captures one static graph of kernel launches on the default stream. DisSparse's two-stream pipeline runs the selection stream (top-p analysis and prefetch for layer ℓ+1) concurrently with the compute stream (attention and FFN for layer ℓ), and the cross-stream dependencies and per-step block fetches. Since vLLM's current single-graph capture, cannot support the dual stream architecture of DisSparse we disable graph capture. As a result, DisSparse has an overhead for per-kernel launch and accounts for the up to ~1.5x TPOT gap at small batch sizes, as shown in Figure 10. This is a limitation of vLLM's current capture implementation: multi-stream CUDA graph capture is supported by CUDA itself (via graph capture across multiple streams with event dependencies), and is a feature request in vLLM (vLLM issue #30211).
On the CUDA Graph gap, we ran the experiment, and it seems to substantially close the gap. Disabling torch.compile and enabling two-stream CUDA graph capture improves small-batch TPOT by up to 30% on Llama-3.1-8B and Phi-3-mini. The reason this required disabling torch.compile is more technical, and worth stating precisely. Under torch.compile, TorchDynamo treats forward-pass arguments as symbolic inputs, and a torch.cuda.Stream is not something it can symbolize, so the compiled path and the two-stream pipeline are mutually exclusive. PyTorch itself supports multi-stream graph capture, but vLLM does not yet expose it.
We also want to be clear about the scope of the system claim. Our end-to-end results are not intended to show a latency win; they show that decode-stage sparse attention lets DisSparse sustain substantially larger batch sizes than dense vLLM under the same GPU memory budget, an outcome that holds regardless of the graph-capture gap and that is the practical benefit in the memory-bound regime the method targets.
W2: Needle in haystack/retrieval benchmarks.
Thank you for suggesting these additional experiments. We ran additional experiments on the RULER benchmark to evaluate DisSparse performance on retrieval tasks, where a sparse method drops a rare but critical token. We evaluated 11 RULER subtasks (all needle-in-a-haystack variants: single, multi-key, multi-value, multi-query; plus variable tracking and common/frequent-word extraction). We evaluated at 16K and 32K, 50 samples each, on Llama-3.1-8B-Instruct, comparing full attention, Twilight, and DisSparse, each with and without a Quest selector. All configs run through an identical RULER pipeline with byte-for-byte shared prompts, tokenization, and scoring; the only difference across runs is the attention configuration: Full, Quest+Twilight, Twilight (only), Quest+DisSparse, and DisSparse (only). On the eight needle subtasks specifically, DisSparse matches full; single-needle retrieval is 100% for both at both lengths, and the eight-task NIAH average is within half a point of full throughout. Because top-p retains whatever attention mass a retrieval head places on the needle rather than truncating at a fixed budget, the needle survives selection. Across all 11 subtasks, every method: full, both Twilight variants, and both DisSparse variants, lands within ~0.4 points at 16K and ~0.8 points at 32K. Retrieval-focused evaluation on RULER.
| Config | 16K Avg (11) | 32K Avg (11) |
|---|---|---|
| Full | 94.86 | 89.09 |
| Quest + Twilight | 94.88 | 88.66 |
| Twilight | 94.71 | 88.98 |
| Quest + DisSparse | 95.08 | 88.32 |
| DisSparse | 94.71 | 89.14 |
Both DisSparse variants match their Twilight counterparts to within noise (DisSparse vs Twilight: 94.71/94.71 at 16K, 89.14/88.98 at 32K), supporting that the histogram-INT4 selection kernel does not sacrifice retrieval accuracy relative to using the full cache, or compared to previous top-p implementations such as Twilight.
One task, common-word extraction, drops sharply at 32K for all configs including full (full: 1.2%). Inspecting the raw generations, at 32K the model emits a generic English-stopword list regardless of the actual gold words, identically across every method. We argue that this is a documented model-capability limit that RULER is designed to surface, not a sparsity-induced failure; it affects full and sparse baselines equally. Excluding it, the full/sparse agreement at 32K is tighter still.
W3: MoE?
Thank you for raising this point. As the review also mentions, MoEs are architecturally different from dense models. MoEs employ different experts to process each individual token and load imbalance, expert parallel communication, and introduce different memory bottlenecks. One easy way could be to deploy sparse attention for each expert/GPU and handle its own KV cache. In this way, each expert can be thought of as an independent dense model. However, we think that this requires rigorous analysis in a multi-GPU setup running at expert parallelism, which is out of the scope of our paper. This support requires significant revisions to our framework, and we hope to be able to tackle this idea in our future work.
Q: Support claims that DisSparse is orthogonal to KV cache compression, eviction, and other optimizations.
Thank you for the opportunity to clarify this question. We acknowledge that interactions with other optimizations present a promising avenue for future research. We note that certain approaches should be orthogonal, as they operate on distinct components of the pipeline, such as KV cache compression, including eviction and quantization vs sparse attention. The text will be revised to explicitly delineate the study's limitations and clarify the relationship between our work and other optimization strategies.
Thank you for the detailed review. We would like to kindly check whether our responses address your concerns. We are more than happy to provide further details or run additional experiments before the August 3 deadline.
The rebuttal is helpful. I believe that my current score accurately reflects my assessment of this submission, so I decide to keep the score unchanged.
Thanks a lot for the comment. We are glad that the rebuttal was helpful. We would also like to share benchmark results on an MoE model, which we obtained after our initial response. The model is Qwen3-30B-A3B (128 experts, 8 active), with the same top-p threshold used throughout the paper ():
| Dataset | Full Cache | DisSparse |
|---|---|---|
| Qasper | 40.55 | 39.96 |
| MF-en | 49.27 | 48.84 |
| HotpotQA | 53.73 | 53.51 |
| 2WikiMQA | 36.85 | 36.13 |
| Musique | 28.77 | 27.64 |
| TriviaQA | 88.21 | 89.21 |
| PR-en | 100.00 | 100.00 |
| LCC | 71.50 | 71.28 |
| Avg. (8 of 12) | 58.61 | 58.32 |
Repobench-p, QMSum, Multi-News, and GovReport datasets, including other configurations, such as Quest-DisSparse, and baselines, are still running, and we will post them as they complete.
One thing we noticed here is that MoE (such as in Qwen3 models) changes the FFN rather than the attention part: routing happens after attention, so the KV cache stays per-layer and shared regardless of which experts a token activates. DisSparse's selection mechanism therefore remains unchanged, which lines up with the numbers above.
These results will go into the revised paper. If they address your third weakness (W3), we would be very grateful if you would consider whether they change your assessment/score.
- Rating
- 3/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper presents DisSparse, a serving system that integrates top-p (nucleus) sparse attention into vLLM for long-context LLM inference. The authors argue that the dominance of top-k in production is a consequence of system constraints rather than algorithmic merit, and address two core challenges of top-p deployment: expensive score computation and non-deterministic memory demand. DisSparse proposes a fused INT4 histogram-based top-p kernel, a two-stream pipelined execution, a hybrid block allocator, and a token relocation mechanism to address intra-block sparsity. Experiments on multiple models demonstrate up to 1.45× selection speedup over Twilight and up to 8× larger batch sizes over dense vLLM under the same memory budget.
Strengths and weaknesses
Strength
- The systems-level contributions are well-motivated and concrete. The fused INT4 top-p kernel, two-stream pipelined execution, and token relocation each address identifiable inefficiencies in integrating dynamic sparse attention into a real serving framework (vLLM).
- The direction of adaptive, head-aware KV selection is meaningful. Moving beyond a globally fixed top-k budget toward a selection policy that respects per-head attention variability is a worthwhile problem, and this paper makes a practical step in that direction.
- End-to-end integration with vLLM is a meaningful contribution in itself, and the batch size scaling result (up to 8×) is a practically significant outcome.
Weakness
- Presentation (minor, but notable): All of figures, tables (and algorithms) placements are not aligned with standard single-column formatting conventions. Font sizes across figures and tables are inconsistent. These do not affect the technical content but substantially reduce readability and should be addressed.
- Motivating observations rely on a single model family (major): Several key observations driving the paper's motivation — skewed attention distributions, temporal variation in token budgets (Figure 1, 5) — are shown exclusively on LLaMA 3.1-8B. For observations claimed to be general properties of LLM attention, evidence across diverse model families (e.g., Qwen3, Gemma) is necessary. The strength of the motivation is weakened by the narrow empirical basis.
- Missing evaluation on larger models (major): All main experiments are conducted on sub-10B models. From a serving perspective, the KV cache bottleneck is more severe and crucial at 30B+ scale, and it is unclear whether DisSparse's design choices (e.g., cosine similarity assumption between consecutive layers, token relocation effectiveness) hold at that scale.
- Missing comparison with head-wise adaptive top-k methods (major): The paper positions top-p selection as superior to fixed top-k, but does not compare against head-wise adaptive top-k methods such as AdaKV [1], Expected Attention [2], and KVzip [3]. These methods address the same per-head budget variability motivation. Without a direct accuracy and efficiency comparison, the advantage of top-p over head-wise top-k remains unsubstantiated. This is a critical gap given that the top-k vs. top-p axis is central to the paper's argument.
[1] Feng et al, Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference, NeurIPS 25 [2] Devoto et al, Expected Attention: KV Cache Compression by Estimating Attention From Future Queries Distribution, Arxiv 25 [3] Kim et al, KVzip: Query-Agnostic KV Cache Compression with Context Reconstruction, Arxiv 25 (edited)
Questions
- How does DisSparse's accuracy and efficiency compare to head-wise adaptive top-k methods (e.g., AdaKV, Expected Attention, KVzip) under the same memory budget?
- Can the authors provide the motivating observations (Figures 1, 5) for additional model family (Qwen3/3.5, Gemma-4) and 30B+ scale outside the LLaMA series to support the generality of the claims?
Limitations
See above
Formatting concerns
NA
4 comments
Rebuttal
W1: Presentation issues.
Thanks for raising this issue. The problem comes from wrapped floats in Sections 3–5 and from figures generated with mismatched matplotlib defaults. We will convert everything to standard top-placed floats positioned at first reference, regenerate all plots from a single style file so that fonts are uniform and no smaller than the caption text, and enlarge the compressed appendix tables. No results or claims are affected.
W2 and Q2: Do observations generalize across model families/sizes?
Thanks for highlighting this point. Briefly, we conducted experiments similar to our motivational experiments on two larger models on samples from Wikitext: Gemma-2-27B-it, and Qwen-3-32B, obtaining similarly encouraging estimates of the opportunity. We would be happy to add these figures in the revised paper. In summary, the same pattern of motivating observations in Figures 1 and 5 in the paper holds for these larger models. Specifically, our experiments confirm that the critical token count is highly variable per KV-head, per layer, and even per decode step.
Qwen3-32B (64 layers, 8 KV heads). Architecturally, Qwen models are close to the Llama family, with dense, standard GQA. Qwen demonstrates scale rather than a different attention design. The pattern in Figure 1 holds. Averaged per layer, the tokens needed to reach p = 0.95 range from over 6000 in the earliest layers (0–6) down to roughly 100 in the later layers, and the count for a fixed layer varies significantly across decode steps. Layers 0–6 are consistently the most diffuse, similar to initial layers in Llama-3.1-8B, but two isolated bands around layers 17 and 38 also need noticeably more tokens than their neighbors. That non-monotonicity strengthens the arguments for top-p: a per-layer k tuned offline would have to discover those bands, whereas top-p finds them naturally with added runtime for top-p, which Figure 9 demonstrates. At the head level (layer 8: mostly concentrated/focused), the eight KV heads separate cleanly: some KV heads (concentrated/focused) need a few 10s of tokens, and others (diffused) need more: over 3000 tokens in some decode steps. Importantly, the ordering is stable across the decode trace, consistent with the retrieval/local head specialization we cite in Section 3, and each KV head’s critical token count fluctuates per decode step.
Gemma-2-27B-it (46 layers, 16 KV heads). Gemma is architecturally different from the Llama family: it alternates local sliding-window layers (4096-token window) with global layers (8192-token span). We conducted a per-head analysis, discovering two main observations.
First, within a single global layer, the budget requirement is dominated by one head. For example, in layer 5 (global), one KV head carries essentially all the long-range mass, swinging between roughly 800 and 3400 critical tokens across decode steps, while the other fifteen heads require much fewer tokens. A fixed k large enough to cover the most critical head over-provisions the other fifteen by thousands of tokens each, exactly the per-head waste the paper motivates. Top-p spends the budget on a head-by-head basis only where it is needed.
Second, the local layers are far sparser than their window cap implies. In layer 6 (local/sliding), the most diffuse head peaks near 1000 tokens and typically sits at 300–600, well below the 4096-token window; the remaining heads are lower still. So the two layer types have structurally different budgets; a global layer needs up to ~3400 tokens on its dominant head, and a neighboring local layer needs only a few hundred. A fixed-k budget must be set for the worst case and is then systematically over-provisioned on every local layer, or it has to be hand-tuned per layer type. Top-p handles both with one threshold and no architecture-specific configuration. We think hybrid local/global attention is a setting where adaptive budgets are more clearly necessary than in the uniform-architecture models we originally evaluated, not less.
W3: Do observations generalize to larger models?
Cosine Similarity: We observe the same trend on Qwen3-32B: consecutive-block hidden-state cosine similarity remains high (0.951 ± 0.001, averaged over 4 PG-19 documents at 32K context), consistent with the pattern reported for other models in the paper.
The following are the accuracy results with LongBench V1 datasets for the Qwen3 32B model:
| Dataset | Full | Twilight | Quest+DisSparse | DisSparse |
|---|---|---|---|---|
| Qasper | 44.00 | 43.27 | 43.10 | 43.89 |
| MF-en | 48.22 | 48.06 | 47.58 | 48.32 |
| HotpotQA | 56.33 | 56.65 | 57.08 | 57.86 |
| 2WikiMQA | 49.01 | 47.53 | 48.38 | 48.73 |
| Musique | 37.81 | 36.20 | 35.23 | 36.51 |
| Multi-News | 25.30 | 25.39 | 25.43 | 25.28 |
| GovReport | 33.01 | 32.77 | 32.78 | 32.55 |
| TriviaQA | 69.88 | 62.71 | 64.08 | 68.45 |
| PR-en | 99.50 | 89.50 | 89.00 | 98.50 |
| LCC | 18.92 | 18.98 | 18.89 | 18.43 |
| Avg. | 48.20 | 46.11 | 46.16 | 47.85 |
QMSum and Repobench-p are still pending. We will update results once we get the numbers.
W4 and Q1: Headwise comparison to top-k solutions.
Briefly, we carried out experiments to compare DisSparse to AdaKV (we will add the others if the paper is accepted). DisSparse outperforms AdaKV in accuracy results with the same/similar token budget. The experiment is on the Llama3.1-8b model for 12 datasets from LongbenchV1.
We choose Ada-SnapKV baselines, as they are the strongest baselines in Ada-KV. The numbers in the labels represent the corresponding budget.
| Dataset | AdaKV-512 | AdaKV-1024 | Quest+DisSparse (520) | DisSparse (610) |
|---|---|---|---|---|
| Qasper | 31.06 | 36.35 | 46.60 | 45.60 |
| MF-en | 50.27 | 51.63 | 52.50 | 52.90 |
| HotpotQA | 53.90 | 54.97 | 54.80 | 55.10 |
| 2WikiMQA | 43.48 | 43.95 | 46.50 | 44.70 |
| Musique | 28.16 | 28.73 | 24.80 | 28.00 |
| GovRep | 22.02 | 24.28 | 34.50 | 33.90 |
| QMSum | 23.28 | 24.16 | 25.40 | 25.20 |
| M-News | 21.49 | 23.23 | 27.40 | 27.20 |
| TriviaQA | 91.67 | 91.48 | 90.30 | 90.60 |
| PR-en | 99.50 | 100.00 | 99.50 | 99.50 |
| LCC | 60.37 | 62.83 | 63.30 | 63.00 |
| Repo. | 55.35 | 56.49 | 59.70 | 60.40 |
| Avg. | 48.38 | 49.84 | 52.11 | 52.18 |
Update for W3
Update on Qwen3 32B results
We have obtained the results for the pending QMSum and Repobench-p datasets. Here is the full table.
| Dataset | Full | Twilight | Quest+DisSparse | DisSparse |
|---|---|---|---|---|
| Qasper | 44.00 | 43.27 | 43.10 | 43.89 |
| MF-en | 48.22 | 48.06 | 47.58 | 48.32 |
| HotpotQA | 56.33 | 56.65 | 57.08 | 57.86 |
| 2WikiMQA | 49.01 | 47.53 | 48.38 | 48.73 |
| Musique | 37.81 | 36.20 | 35.23 | 36.51 |
| Multi-News | 25.30 | 25.39 | 25.43 | 25.28 |
| GovReport | 33.01 | 32.77 | 32.78 | 32.55 |
| TriviaQA | 69.88 | 62.71 | 64.08 | 68.45 |
| PR-en | 99.50 | 89.50 | 89.00 | 98.50 |
| LCC | 18.92 | 18.98 | 18.89 | 18.43 |
| QMSum | 23.75 | 23.86 | 23.62 | 23.59 |
| Repo. | 26.66 | 29.39 | 26.28 | 25.17 |
| Avg. | 44.37 | 42.86 | 42.62 | 43.94 |
Thank you for the detailed review. We would like to kindly check whether our responses address your concerns. We are more than happy to provide further details or run additional experiments before the August 3 deadline.
We wanted to share one additional result before the deadline, in case it is useful to your assessment. We evaluated DisSparse on an MoE model (Qwen3-30B-A3B, 128 experts with 8 active) on LongBench: average against for full attention across 8 of 12 datasets, with the remainder still running. Please check our last response to Reviewer 9ERX's comment. If anything there remains unclear, we would be glad to answer before the deadline.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper introduces DisSparse, which attempts to make top-p sparse attention practical in production systems like vLLM. It does this by having the model executor dynamically allocate temporary blocks after top-p on an INT4 version of the KV cache determines which blocks are needed, and it also uses a fused histogram-based kernel to approximate the top-p threshold in one pass instead of doing expensive sorting or binary search. However since tokens within a block can be quite skewed in terms of their importance, naively doing this might result in loading more token blocks than necessary, so the method also relocates important tokens from prefill and packs them in the same blocks.
Strengths and weaknesses
Strengths: I appreciate the systems-level contributions of this paper and the attempt to actually implement this in a real production system like vLLM, which is challenging in its own right. The problem statement is relevant and interesting, and I appreciate the paper's efforts to circumvent the static allocation problem for top-p. I think exploiting the property of these models having high cosine similarity between hidden states of successive layers is also interesting. The histogram-based INT4 top-p kernel is also a meaningful contribution and the reported recall of at least 97% versus FP16 exact top-p is encouraging. The paper is also well-written, and I appreciate the authors clearly stating all weaknesses.
Weaknesses:
- The main issue I have is the additional INT4 KV cache that has to be maintained. However, I understand that these dynamic inference-time sparse attention methods all require a heuristic to determine importance, so this is not a deal breaker. I can also envision that perhaps the INT4 KV cache can be used for other purposes like self-speculative decoding, in case the user wants to switch between top-p sparse attention and spec dec.
- The other main issue I have is that the paper states that the method is compatible with colocated inference, but they only show results for disaggregated inference. I would like the authors to comment on reasoning for this.
- The last concern i have is that there seems to be some issue with CUDA graph compatibility. The authors mention that this is an engineering challenge rather than an inherent issue with the method, but I would like the authors to give more details on this.
Some minor points as well:
- add citations for low-rank on line 35
- clarify what and are on line 77
Questions
- Can the authors please comment on why they chose to go with an INT4 KV cache for the heuristic as opposed to other methods like attention with low-rank KV cache? Also, do the authors have an opinion on whether it might be better to just read fewer bits of the mantissa of the original FP16 cache or if this would be inefficient from a latency standpoint as it would not allow for coalesced reads?
- Please comment on why the method was only evaluated for disaggregated inference and not the colocated setting. Results here for the colocated setting would also be helpful.
- Please comment on CUDA graph compatibility, and please provide more details on why this is just an engineering challenge. CUDA graph compatibility is very important for low-latency serving, so it is slightly concerning to see this.
I would be willing to raise my score if my questions and concerns are adequately addressed.
Limitations
yes
Final justification
The rebuttal adequately addressed my concerns about CUDA graph compatibility and disaggregated inference, so I am changing my score from weak accept to accept.
Formatting concerns
N/A
4 comments
Rebuttal
W1 and Q1: Why use INT4 cache, rather than other approaches.
The primary advantage is in size. The INT4 cache is a quantized replica of the main FP16 key cache only (no value cache), making it 8x smaller than the main cache. Top-p algorithms generally require smaller replica data that can mimic the original data to compute approximate attention. Another benefit of using an INT4 quantized cache is the ease of calculation. Also, Table 1 in the paper shows INT4 approximation preserves ≥97% recall against exact FP16 top-p across all thresholds, so INT4 is faithful enough for selection while being cheaper to read. For low-rank representation, one would need to calculate the low rank of the main cache once for the prefill KV cache, which is complex compared to computing the quantization, and per KV cache update during the decode phase. However, this decision is orthogonal to the top-p selection part.
With respect to other possibilities, such as reading fewer bits of mantissa, this requires keeping the original cache in memory, which we are trying to avoid. It could also introduce overheads, such as separately keeping the mantissa and the exponent (or incurring overheads to mask off parts of the mantissa). This could probably be more complex and costly than just saving the INT4 cache. However, reads from the memory might not be optimal: A warp reading the high byte of consecutive FP16 elements still touches a contiguous region, but GPU global memory is serviced at a fixed transaction granularity (32-byte sectors on NVIDIA hardware). A stride-2 byte access spans the same sectors as a full-precision read, so the full FP16 data is fetched from DRAM, and half of each sector is discarded. This might eliminate the bandwidth saving that motivates the metadata cache in the first place. The strided access also precludes wide vectorized loads, increasing the number of load instructions issued per useful byte. Also, keeping mantissa in FP16 costs 10bits and loses the exponent part which can have huge impact in attention score calculation, therefore, could also give us wrong top-p result. Hence, we could also end up getting no space benefit (10bits of mantissa vs 4bits of INT4) with wrong/inaccurate approximation.
We agree that the INT4 cache is reusable beyond the selection, such as for speculative decoding and think this is a promising direction for future work.
W2 and Q2: Sparse vs. colocated configurations; why no experiments with colocation?
We thank the reviewer for raising this concern. On long-context workloads (16K average), decode accounts for ~78% of total inference time on the 2-GPU setup, and this fraction grows with context length, so the decode stage is the bottleneck and a more important target to optimize for overall performance. As we mentioned in the paper, DisSparse is not fundamentally disaggregation-specific: the two-stream pipeline, the fused INT4 kernel, and token relocation all operate within the decode engine and apply unchanged in a colocated deployment. To show the large batch advantage of DisSparse, we have adapted DisSparse to a colocated inference server and conducted an experiment on LongBench V2 with Llama-3.1-8b.
Results (achievable max batch size) for colocated inference on NVIDIA A100 40GB GPU:
| Prompt length | Dense concurrent # | Sparse colocated concurrent # | Ratio |
|---|---|---|---|
| 8K | 14 | 26 | 1.86x |
| 16K | 8 | 14 | 1.75x |
The ratio of improvement is lower than the disaggregated scenario, but remains substantial. We believe this lower advantage occurs because the colocated system performance is influenced by the dense prefill phase. The decode generation length is 252 on average.
W3 and Q3: CUDA Graph compatibility.
vLLM's CUDA graph capture assumes a single-stream execution model: it captures one static graph of kernel launches on the default stream. DisSparse's two-stream pipeline runs the selection stream (top-p analysis and prefetch for layer ℓ+1) concurrently with the compute stream (attention and FFN for layer ℓ), and the cross-stream dependencies and per-step block fetches. Since vLLM's current single-graph capture, cannot support the dual stream architecture of DisSparse we disable graph capture. As a result, DisSparse has an overhead for per-kernel launch and accounts for the up to ~1.5x TPOT gap at small batch sizes, as shown in Figure 10. This is a limitation of vLLM's current capture implementation: multi-stream CUDA graph capture is supported by CUDA itself (via graph capture across multiple streams with event dependencies), and is a feature request in vLLM (vLLM issue #30211).
On the CUDA Graph gap, we ran the experiment, and it seems to substantially close the gap. Disabling torch.compile and enabling two-stream CUDA graph capture improves small-batch TPOT by up to 30% on Llama-3.1-8B and Phi-3-mini. The reason this required disabling torch.compile is more technical, and worth stating precisely. Under torch.compile, TorchDynamo treats forward-pass arguments as symbolic inputs, and a torch.cuda.Stream is not something it can symbolize, so the compiled path and the two-stream pipeline are mutually exclusive. PyTorch itself supports multi-stream graph capture, but vLLM does not yet expose it.
We also want to be clear about the scope of the system claim. Our end-to-end results are not intended to show a latency win; they show that decode-stage sparse attention lets DisSparse sustain substantially larger batch sizes than dense vLLM under the same GPU memory budget, an outcome that holds regardless of the graph-capture gap and that is the practical benefit in the memory-bound regime the method targets.
Minor points Thanks for highlighting these missing citations and explanations.
Citations for low-rank:
- Sparse Attention in Latent Space for KV Cache Compression
- Loki: Low-rank Keys for Efficient Sparse Attention
Explanation for N and B:
- N = the number of tokens (KV cache length / sequence length)
- B = the number of histogram bins
Thank you for the detailed review. We would like to kindly check whether our responses address your concerns. We are more than happy to provide further details or run additional experiments before the August 3 deadline.
We wanted to share one additional result before the deadline, in case it is useful to your assessment. We evaluated DisSparse on an MoE model (Qwen3-30B-A3B, 128 experts with 8 active) on LongBench: average against for full attention across 8 of 12 datasets, with the remainder still running. Please check our last response to Reviewer 9ERX's comment. If anything there remains unclear, we would be glad to answer before the deadline.
Thank you to the authors for preparing the rebuttal. My concerns about CUDA graph compatibility and disaggregated inference were adequately addressed, so I am updating my rating to accept.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Response to the Meta Review
Dear Area Chair,
Thank you for the Meta Review. We summarize below where each question is addressed with new experiments in our author responses (details and tables are in the referenced reviewer responses).
We repeated the motivating measurements (Figures 1 and 5) on Qwen3-32B and Gemma-2-27B-it. The per-layer, per-head, and per-decode-step variation in critical-token count holds on both families. Gemma's alternating local/global architecture is a particularly clear case for adaptive budgets: within a global layer, a single head carries nearly all the long-range mass (swinging between ∼800 and ∼3400 critical tokens across decode steps) while the other fifteen need far fewer, and local layers use far fewer tokens than their sliding-window cap against a 4096-token sliding-window cap. Therefore, these experiments strengthen the idea that a fixed budget is systematically mis-set, whereas top-p adapts with one threshold. Please check the response to W2 and Q2 of Reviewer TJSZ for more details.
We compared against Ada-KV (Ada-SnapKV, its strongest variant) on Llama-3.1-8B across 12 LongBench datasets. At a token budget of 610, DisSparse exceeds Ada-SnapKV even at budget 1024 (52.18 vs. 49.84 average) and wins on 9 of the 12 datasets. Please check the response to W4 and Q1 of Reviewer TJSZ for more details.
We added Qwen3-32B accuracy on LongBench: DisSparse averages 47.85 against 48.20 for full attention, i.e., within 0.35 points, and 1.7 points above Twilight (46.11) at the same threshold. We also verified the layer-similarity assumption the two-stream pipeline relies on at this scale: consecutive-layer hidden-state cosine similarity is 0.951±0.001 on Qwen3-32B. We were not able to evaluate large MoE models within the rebuttal window; large MoE model serving usually requires an expert-parallel multi-GPU setup beyond our 2×A100-40GB testbed, and introduces different challenges, such as expert routing, load imbalance, and expert parallel communication, so we accept it as a future direction. Please check the response to W3 of Reviewer TJSZ for more details.
We ran a controlled experiment to isolate how much of the small-batch gap is graph-capture overhead. Enabling two-stream CUDA-graph capture improves small-batch TPOT by up to 30% on Llama-3.1-8B and Phi-3-mini, which closes most of the ∼1.5× gap and confirms that the slowdown is mostly kernel-launch overhead rather than the method itself. The remaining constraint is in vLLM's integration: its capture path is built around a single-stream execution model, and in our setup, enabling the two-stream pipeline required disabling
torch.compileto get graph capture working at all. Multi-stream capture is supported by CUDA and PyTorch and is a vLLM feature request (#30211), so we regard this as an engineering limitation, not a fundamental one. The batch-size gains that are the paper's main system result hold regardless of this gap. Please check the response to W3 and Q3 of Reviewer i1By and W1 of Reviewer 9ERX for more details.Additional results in the reviewer threads
Beyond the responses to the main questions, our responses to Reviewer concerns contain further new results the Meta Review does not include, which we summarize below:
We are grateful for the reviewers' excellent feedback and questions, and we are happy to respond to any follow-up questions or provide further details.