- Rating
- 4
- Clarity
- 3
- Confidence
- 5
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper proposes SparDA, a sparse decoupled attention mechanism for efficient long-context LLM inference. The key idea is to introduce a lightweight Forecast projection that predicts the sparse KV blocks needed by the next layer, thereby decoupling sparse selection from the current-layer attention query. This design enables lookahead KV prefetching from CPU to GPU and reduces sparse-selection overhead by using a compact GQA-level indexer. The method is trained as a lightweight add-on to existing sparse-pretrained models, with only the Forecast projections updated. Experiments on two 8B sparse-attention models show that SparDA largely preserves accuracy while improving long-context prefill and decode throughput, especially under KV-cache offloading settings.
Strengths and weaknesses
Strengths
- The method is simple, effective, and broadly applicable to sparse-attention architectures with explicit sparse-selection paths.
- The additional training cost is small: only lightweight Forecast projections are trained while the base model is kept frozen.
- The paper provides a clear system-level motivation: decoupling selection from attention can expose future memory-access patterns and enable CPU-GPU prefetch overlap.
- The empirical results suggest that SparDA can maintain comparable accuracy to the sparse baseline while improving inference efficiency in long-context settings.
Weaknesses
- Although the reported accuracy is comparable, the actual speedup appears limited in several settings. In Tables 3 and 4, meaningful gains mainly emerge at very long context lengths or particular batch-size regimes.
- The paper does not evaluate token-level sparsity settings. While the proposed decoupling principle seems general, the efficiency conclusions may differ substantially for token-level sparse attention such as DSA.
- The offloading speedup appears strongly constrained by CPU-GPU bandwidth. At larger batch sizes, the benefit over non-offloaded sparse inference becomes less clear, suggesting that the method may be bottlenecked by PCIe transfer rather than computation.
Questions
- How do the authors expect SparDA to behave under token-level sparse attention such as DSA? Would the main bottleneck shift from block selection and prefetching to a different component?
- If KV-cache offloading is not used, can the cross-layer Forecast design provide other benefits beyond reducing sparse-selection overhead?
- In decoding, top-k selection can sometimes occupy a non-negligible fraction of latency. Is it possible to offload part of the top-k computation to CPU and exploit cross-layer parallelism, or would CPU-GPU synchronization make this impractical?
Limitations
yes
Paper formatting concerns
No
Final justification
A focused but technically solid and well-executed contribution, with convincing results and clear practical value within its intended scope.
We thank the reviewer for the precise system-level questions. New experimental evidence for W2/Q1 and direct answers to each point below.
W1 & W3 — where the speedup lives, and the bandwidth limit at large batch. We do not claim uniform speedups across settings. Both trends the reviewer observes are discussed in the paper and follow from one mechanism: the decode speedup comes from overlapping KV prefetch with layer execution on the GPU. (1) Context length: KV-cache capacity is the main bottleneck at very long context, and that is exactly SparDA's target (as reflected in the title). At short contexts the KV cache fits on GPU and selection is a small fraction of layer time, so there is little for any selection/prefetch optimization to win. (2) Batch size: prefetch latency can only be fully hidden while per-layer prefetch time (transferred bytes / PCIe bandwidth) stays below per-layer compute time. Prefetch bytes grow linearly with batch, while decode-layer compute grows sublinearly (its FFN component is memory-bound at small batch), so the balance shifts with batch: compute-dominated at small batch, maximum benefit near balance (approaching 2× on the overlapped portion), transfer-dominated at large batch, where the un-hidden remainder grows. This is the PCIe-bound behavior the reviewer notes, it is why the sweet spot sits in the medium batch range, and it is why the crossover shifts between A100 (PCIe Gen4) and H100 (Gen5). The no-prefetch ablation (Table 10) collapses below Sparse at large batch while full SparDA holds up much longer. (3) Against non-offload sparse, the relevant axis is capacity, not per-token latency: offloading exists to serve batches and contexts that do not fit in GPU memory at all, and there SparDA's 5.3× throughput gain comes from the larger feasible batch. When the working set fits on GPU, non-offload remains preferable. The two modes are complementary.
W2 / Q1 — token-level sparse attention (DSA). We agree efficiency conclusions may differ under token-level sparsity, and we want to be upfront about what we can and cannot show in the rebuttal window.
What we can show — the decoupling transfers. We trained a Forecast indexer on GLM-5.1 (754B MoE) with native token-level DSA (frozen backbone, same recipe, 64K) and compared accuracy against the model's own native DSA selector:
So the prerequisite for any efficiency gain, namely that a one-layer-ahead indexer can drive token-level selection without accuracy loss, holds at 754B scale. Two adaptation notes: the Forecast is trained against the DSA indexer's query (its selection distribution) rather than the dense attention query, and it keeps the indexer's head count, since GLM-5.1's indexer is already heavily reduced relative to full attention and shrinking the Forecast further cost accuracy. SparDA is therefore applied only at decode, where the main benefit lies: one-layer-ahead selection enabling KV offloading and prefetch.
Why no efficiency numbers yet. GLM-5.1 inference requires multi-node serving with complex parallelism: our evaluation runs on SGLang over 4 nodes × 8 H100 with a TP of 8, PP of 4, and EP of 8 (carved out of the TP groups, so the MoE layers use the same 8 GPUs per node with expert sharding instead of tensor sharding). Our offloading/prefetch runtime currently targets single-GPU-per-replica execution. Extending KV offload and lookahead prefetch across this parallelism stack (per-rank KV partitions, pipeline-stage boundaries, expert all-to-all in flight) is substantial engineering beyond the rebuttal timeframe. We therefore present accuracy-side evidence only and do not claim efficiency numbers for DSA.
How the bottleneck would shift? Two factors actually favor prefetch overlap at this scale. (i) Per-layer compute time is larger: token-level selection makes the indexer itself a significant cost (per-token scoring over the full context), and MoE layers add batch-scaling inefficiencies (expert all-to-all communication, load imbalance). A longer layer critical path means a wider window in which prefetch can hide. (ii) Emerging hardware raises the transfer side: Grace-Hopper / Grace-Blackwell superchips couple CPU and GPU via NVLink-C2C at 900 GB/s, about 7× PCIe Gen5 x16 (128 GB/s). Both factors extend latency-hiding to larger batch sizes than our PCIe-based results show.
Q2 — benefits without offloading, beyond reducing selection overhead? Yes: the decoupling changes where selection sits in the execution schedule, not just its cost. With one-layer-ahead selection, layer l+1's selection can execute concurrently with layer l's compute instead of serializing in front of the attention kernel, and this holds GPU-only, with no offloading involved. The payoff is largest for frontier models such as GLM-5.1: within a transformer block there, the indexer and the MoE consume most of the latency, and they have complementary execution profiles. The MLA-based indexer is more compute-bound than the MoE at small-to-medium batch (especially with speculative decoding / MTP inflating the per-step token count), while the MoE is memory-bound in that regime. In the native design the indexer must finish before attention, serializing the two. Cross-layer Forecast decouples them, so a compute-bound kernel and a memory-bound kernel can be co-scheduled on the GPU, which can achieve substantially better utilization than running either alone. We leave this scheduling opportunity to future work.
Q3 — offloading top-k to CPU with cross-layer parallelism. We considered this and kept top-k on GPU in our implementation, for four concrete reasons: (1) The top-k is small by construction: selection is block-level over compressed scores, so at 128K context the candidate set is only ~2K blocks per KV head, vs 128K candidates for token-level selection. After the compact GQA-level indexer, the top-k itself is a minor cost. (2) CUDA-graph compatibility: our steady-state decode path replays captured CUDA graphs with the selection top-k inside. A CPU top-k cannot live inside a graph and would force a graph break plus per-step relaunch overhead. (3) Avoiding synchronization: CPU top-k adds a device-to-host score copy and host-to-device index copy per layer, with the associated stalls. (4) CPU scheduling: a per-layer CPU top-k could interfere with kernel launches from the CPU side, which decode latency is sensitive to. For token-level sparsity where the candidate set is ~64× larger and selection is genuinely expensive, this becomes an interesting direction.