- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper proposes UniPrefill, a block-wise dynamic sparsification framework for accelerating long-context LLM prefill. The key idea is to estimate token importance at full-attention layers using the attention mass from the last few query tokens, select important token blocks via a top-p rule, and then propagate the resulting token sparsity across all subsequent sublayers, including attention, linear/sliding-window attention, and FFN/GEMM layers. This makes the method applicable not only to full-attention models but also to hybrid architectures where sparse-attention-only methods provide limited benefit. The paper further implements UniPrefill as a fused kernel pipeline and integrates it into vLLM’s continuous batching scheduler, including support for KV-cache metadata, per-layer sequence length tracking, tensor parallel synchronization, and prefill-decode co-processing. Experiments on RULER with LLaMA-3.1-8B-Instruct, Qwen3-Next-80B-A3B, and Gemma-3-12B show that UniPrefill achieves up to about 2× TTFT speedup with small accuracy degradation, and the gains scale with context length and batch size.
Strengths and weaknesses
Paper Strengths:
1.Strong systems contribution. The paper goes beyond a standalone pruning heuristic and provides an actual integration into a modern serving stack, vLLM. The discussion of continuous batching, KV-cache metadata, per-layer sequence length correction, and tensor-parallel synchronization is practically valuable.
2.Practical and relevant objective. The method directly targets TTFT for long-context serving, which is an important production metric. Reporting throughput under different context lengths and batch sizes makes the evaluation more relevant to real deployments.
3.Architecture-agnostic design. Unlike sparse-attention-only methods, UniPrefill propagates token sparsity across downstream layers and reduces both attention and GEMM/FFN compute. This makes it useful for full-attention as well as linear/full-attention and sliding-window/full-attention hybrid models.
4.Clear engineering insight. Estimating token importance at full-attention layers and cascading the sparsity mask through later layers is a simple but effective idea. The method is easy to understand and seems implementable in existing inference systems.
5.Fairly broad evaluation. The paper evaluates multiple models, context lengths, and batch sizes, and includes comparisons against several long-context prefill acceleration baselines.
Weaknesses:
1.Weakly justified importance estimator. The method relies on attention mass from the last n query positions to estimate token importance. This assumes attention weight correlates with causal contribution to downstream computation and next-token prediction, which is not always reliable. The paper provides an intuitive error bound at the attention layer, but not a strong validation of the estimator across tasks and architectures.
2.Limited theoretical grounding for cross-layer propagation. Dropping tokens affects not only the current attention layer but also all subsequent attention, FFN, and hybrid layers. The paper gives a Lipschitz-style bound, but there is no strong analysis of how errors accumulate under repeated token dropping across blocks.
3.Evaluation task diversity is limited. The main accuracy evaluation is centered on RULER. While RULER is a useful long-context benchmark, it does not fully capture downstream use cases such as reasoning, code generation, multi-turn dialogue, tool use, or RAG quality. More diverse evaluations would strengthen the claim that the method preserves model quality.
4.Failure cases are not analyzed. It is unclear when sparsity propagation hurts disproportionately. For example, the method may fail when important information appears in low-attention tokens, when attention is diffuse, or when later layers recover information through MLP/hybrid dynamics. The paper would benefit from analyzing dropped-token failure patterns.
Questions
1.Can the authors provide stronger evidence that the attention-based block importance score correlates with true causal contribution to the final prediction? For example, an oracle/drop ablation or correlation with loss increase would help validate the heuristic.
2.Can the authors evaluate UniPrefill on more diverse downstream tasks beyond RULER, such as long-context reasoning, code, multi-turn dialogue, or RAG-style QA? This would clarify whether the small RULER degradation translates to real application quality.
3.Can the authors analyze failure cases where sparsity propagation causes disproportionate quality loss? For example, what kinds of prompts or tasks are most sensitive to dropped blocks?
4.How robust are the hyperparameters G, last n, top-p threshold, and attention-sink length across model families and tasks? Can a single setting work well, or is per-model tuning required?
Limitations
Partially addressed. The paper provides many implementation details, but the limitations are not fully discussed. I encourage the authors to more explicitly discuss: (1) the reliance on attention-based importance as a proxy for causal contribution; (2) possible failure modes of cross-layer sparsity propagation; (3) the limited benchmark diversity beyond RULER; (4) robustness of hyperparameters across models/tasks; and (5) interactions with other common inference optimizations such as quantization, KV-cache compression, prefix caching, and speculative decoding.
Paper formatting concerns
No
Final justification
My main concerns have been addressed, so I kept my positive rating.
We thank the reviewer for the positive feedback and address each concern below. In both the main text and the rebuttal, all experiments are conducted on 8 NVIDIA H20-96G GPUs with CUDA 12.8. The results in Table 1 of the main text are measured using Hugging Face Transformers with batch size 1. For all vLLM-related experiments, we integrate UniPrefill into vLLM 0.16.0 and use tensor parallelism with TP=8.
1. Importance estimator and cross-layer propagation
We perform leave-one-block-out analysis on LLaMA-3.1-8B, Qwen3-Next-80B, and Gemma-3-12B at 8K, 32K, and 128K. Each setting uses 60 sequences balanced across localized retrieval/QA, multi-hop reasoning, and global aggregation/counting. We evaluate full-attention layers 7/15/23, 7/23/39, and 11/23/35, respectively.
For each sequence and layer, we sample 64 non-sink blocks, remove each block separately, propagate the removal through subsequent layers, and measure teacher-forced NLL over the next 32 reference tokens: ΔLb=Ldrop,b−Ldense
The first 128 sink tokens and last 128 query tokens remain protected. We compare ΔLb with UniPrefill's importance score.
Random-score correlations are 0.01±0.03, 0.00±0.04, and 0.01±0.04 for LLaMA, Qwen3-Next, and Gemma. UniPrefill remains substantially correlated with end-to-end block-removal loss at 128K.
We also compare matched-budget selection rules. Oracle ranks blocks by leave-one-block-out NLL increase, UniPrefill uses attention scores, Random samples uniformly, and Reverse retains the lowest-scored blocks. Values are relative NLL increases over dense inference; lower is better.
UniPrefill is within 0.14–0.33 percentage points of Oracle and substantially outperforms Random and Reverse. Propagating each removal through all subsequent layers directly evaluates its cross-layer effect.
The attention-layer bound is not a formal guarantee for repeated dropping. Nevertheless, the main-paper 4K–128K average RULER scores are 90.36→90.45, 94.76→93.94, and 79.99→78.87 for LLaMA, Qwen3-Next, and Gemma. A recurrent-state analysis is also provided in our response to Reviewer JN1v, Concern 3. We will clarify that attention mass is an empirical proxy, not a formal guarantee of causal importance.
2. Evaluation beyond RULER
We add LongBench, LongBench Pro, controlled RAG (in next section), and InfiniteBench evaluations using our end-to-end vLLM implementation.
Across all 17 LongBench tasks (scientific-document QA, multi-document QA, summarization, cross-file completion, and others), LLaMA and UniPrefill score 48.08 and 47.80:
On LongBench Pro, Qwen3-Next changes from 51.54 to 51.18:
Because InfiniteBench's 171.5K inputs exceed LLaMA's effective range, we evaluate Qwen3-Next:
Similar output lengths show no truncation or instability for approximately 1K-token summaries or 29K-token calculation traces. Together, these experiments cover QA, multi-document reasoning, code completion, summarization, RAG, and long generation.
3. Failure cases
We vary evidence alignment and distribution in a controlled 64K RAG test:
Average losses are 1.0/0.7 points. The main failure mode is globally distributed evidence that remains low-attention. Top-p becomes more conservative under diffuse attention but cannot protect evidence consistently receiving low salience.
Dropping is permanent: removed tokens no longer participate in subsequent attention, projection, or FFN computation and cannot be recovered by later layers. This explains both the speedup and failure mode.
4. Hyperparameter robustness
The main paper (Section 4.4) ablates block size G and observation-query count n, showing smooth accuracy-efficiency trade-offs. We use G=64 and n=128 across models, lengths, and tasks. All results about TTFT is measured within vLLM.
We further sweep top-p, reporting 128K RULER, the 17-task LongBench average, and TTFT speedup:
Higher p often improves RULER and LongBench while reducing speedup. We select p=0.99/0.99/0.98 once for LLaMA/Qwen3-Next/Gemma and keep it fixed across lengths and tasks.
We also sweep protected attention-sink tokens:
Increasing sink length from 64 to 256 changes RULER by only 0.01–0.05 points, LongBench by 0.18–0.19 points, and TTFT by at most 0.01x. We therefore use 128 sink tokens. Only top-p is model-specific; no parameter requires task- or length-specific tuning.
5. Interactions with other common inference optimizations
KV-cache compression, prefix caching, and speculative decoding require system changes which are hard to complete within the rebuttal period. We instead evaluate FP8 model quantization with an FP8 KV cache. Both TTFT columns report speedup over the same unquantized dense baseline. And vLLM is used to evaluate the model.
Relative to unquantized UniPrefill, FP8 speeds up the TTFT a lot, with only 0.06–0.69 points of RULER loss. Integration with the other optimizations remains future work.