- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper proposes CommunityKV, a training-free sparse attention framework that constructs a token graph from score matrix and partitions this graph using the Leiden algorithm for retrieving unit during decoding. Evaluations on LongBench v2 and BABILong across Qwen3 models achieve up to 1.86x decoding speedup over FlashAttention2 and maintain dense accuracy.
Strengths and weaknesses
Strengths:
-
This study reduces the KV-cache bandwidth and the cost of decode for the long-context LLM inference without retraining.
-
The proposed CommunityKV is intuitive and easy to understand. It builds token graphs from score matrix during prefill and retrieves semantically coherent token groups during decoding.
-
The paper provides useful system and empirical evidence, including implementation details, latency breakdowns, and ablations, showing that the proposed method can preserve accuracy while improving decoding throughput.
Weaknesses:
-
The reported speedup is not fully characterized at the end-to-end generation level. The paper should report full tokens/s including MLPs, layer normalization, sampling, scheduling, and KV-cache management, rather than focusing mainly on attention-related latency.
-
All experiments use Qwen3 family and only two long-context benchmarks. It would be stronger to evaluate additional models and more tasks.
-
The comparison to existing training-free KV-cache and sparse-attention methods is incomplete. Additional baselines such as H2O, SnapKV, StreamingLLM, and other approaches would make the empirical claims more convincing.
-
The sub-linear retrieval claim depends on empirical community scaling and the choice of the resolution parameter . The paper should better explain how the parameter is selected and how sensitive the method is to this choice across models, sequence lengths, and datasets.
-
The incremental update rule may accumulate errors during long generation. Since new tokens are assigned greedily based on an approximate retrieved set, missed important tokens may gradually degrade the community structure. Longer generation experiments would help validate stability.
6.The paper preserves the dense KV cache and adds routing graphs and centroids. The appendix suggests that per-head graphs can add nontrivial memory overhead, especially for many-layer, many-head models. Since memory is one of the main bottlenecks in long-context inference, it is better to report memory usage and compare it with the selected baselines.
Questions
1.What is the end-to-end decoding speedup? Can you report full tokens/s including all model components?
2.How does CommunityKV perform on additional models? Are the learned community structures robust across architectures with different attention patterns?
3.How sensitive is the method to the resolution parameter ?
4.How does the method compare against H2O, SnapKV, StreamingLLM?
5.What is the peak memory overhead of CommunityKV, including KV cache, graph storage, centroids, and intermediate buffers?
6.GraphKV used 7 datasets for evaluation, why did you only select two?
Limitations
Please see weaknesses and questions.
Paper formatting concerns
The font style in Figure 1 could be corrected.
Final justification
Thank you for the detailed response and additional experiments. I will maintain my score.
We thank the reviewer for the constructive review. All requested experiments have been run; results below.
W1/Q1 (end-to-end throughput): We measured full end-to-end throughput including all model components: MLPs, layer normalization, logits and token selection, KV-cache updates, plus all CommunityKV overheads (top-k extraction, graph construction, retrieval and graph memory access, incremental graph/centroid updates). Setup: batch-1 generation of 32,768 tokens at 65,536- and 131,072-token input contexts on a single H200; throughput = (generated tokens) / (wall time from immediately before prefill through the final decode step). End-to-end tok/s over the full generation (speedup versus dense):
CommunityKV delivers up to 1.52× end-to-end speedup at 64k and 1.71× at 128k; concretely, at 128k/14B, wall-clock for a full 32,768-token generation drops from 674.6s to 429.9s. Speedups grow with context length because attention’s share of total time increases. We will add end-to-end throughput tables to the revised results section.
W2/Q2 (additional models): We extended evaluation to Llama-3.1-8B-Instruct, applying the same procedure as for Qwen3: all graph-construction and partitioning hyperparameters unchanged, with only the layer-wise resolution γ recalibrated on held-out prompts (the standard calibration step described in W4/Q3, not model-specific tuning). CommunityKV transfers well: best average among training-free retrieval baselines (TokenSelect, FreeKV, SparQ) on BABILong-64k for both families (45.4 on Qwen3-8B, 42.2 on Llama-3.1-8B-Instruct) and best average on the RULER tasks evaluated on Llama (96.5) (see rebuttal to reviewer TCaq, Q1). That the same recipe is strong on a second architecture indicates the community structures reflect genuine attention locality rather than Qwen3-specific patterns.
W4/Q3 (resolution): For comparisons with methods requiring a fixed cluster count, we tune resolution independently per layer on held-out prompts to match that count and freeze the values for evaluation. More generally, the desired community count defines a quality-efficiency operating point: we calibrate layer-wise resolutions on held-out prompts, select among candidate operating points via validation accuracy, throughput, and memory, and evaluate several frozen operating points across models, sequence lengths, and datasets.
To quantify resolution sensitivity, we scaled every selected γ by m∈{1/8,…,8} (64× range), all else at the published protocol (Qwen3-8B, budget 4,096), paired on identical prompts. LongBench-v2 short (n=30): 0.345, 0.414, 0.379, 0.414, 0.379, 0.414, 0.414. Five of six perturbed arms change at most 1 of 30 prompts; the coarsest (γ/8) changes 2, flat within sampling noise.
W5 (incremental drift): We measured divergence from dense over long continuations (PG19, Python) for pure incremental updates versus periodic refresh every 512 tokens:
Incremental drift does accumulate, as the reviewer anticipates; periodic refresh bounds it (ΔNLL ≤0.14/≤0.03 at 16k, top-1 agreement 83–98%) at amortized cost. We will add this stability analysis to the appendix.
W3/Q4 (H2O, SnapKV, StreamingLLM): Thank you for identifying this gap. We evaluated all three baselines on BABILong-64k and RULER at the same token budget, (4096), and on LongBench-v2 across budgets from 128 to 4,096. Hyperparameters were matched in granularity to CommunityKV’s average community size of 16: H2O uses
recent_fraction=0.5with prefill chunks of 256; SnapKV useswindow=32,kernel=5; and StreamingLLM uses four sinks plus the (B-4) most recent tokens.BABILong-64k, accuracy %
RULER, averaged over 13 tasks, accuracy %
LongBench-v2 accuracy %, token budget 128-4096
CommunityKV is best or tied in 14/18 LongBench-v2 settings, averaging 28.8% versus 28.2% for SnapKV, 28.0% for H2O, and 27.6% for StreamingLLM. On Qwen3-8B, it leads at every budget by 1.0–2.3 points. On Qwen3-14B, H2O or SnapKV is stronger at several intermediate budgets, while CommunityKV leads at (B=128) and ties at (B=4{,}096).
RULER also reveals distinct failure modes. StreamingLLM and H2O evict information needed by later queries, while SnapKV’s prefill-fixed selection can miss targets that are not initially salient. SnapKV scores 0.01/0.00 on Qwen
multikey_2/3and 0.00 on Llamamultikey_3; CommunityKV dynamically reroutes each decoded query and obtains 0.78/0.95 on the corresponding Qwen tasks and 0.47 on Llamamultikey_3.Overall, CommunityKV is competitive on BABILong and aggregate RULER, achieves the strongest overall LongBench-v2 budget–accuracy tradeoff, and is more robust when token relevance becomes apparent only after query generation. We will add these results and implementation details to the revision.
W6/Q5 (peak memory): We measured peak GPU memory during the full end-to-end runs of Q1, decomposed into KV cache, graph storage, and centroids, for all three CommunityKV variants. All figures include the 32,768 generated tokens (i.e., 96k/160k total KV at the 64k/128k input contexts); peak model memory additionally includes weights, activations, and intermediate buffers.
For the graph-aggregated variants, graph and centroid storage together add 8–15% of KV-cache size, and the relative overhead shrinks with context length (11–15% at 64k versus 8–13% at 128k), since graph size scales sublinearly while the KV cache scales linearly. Peak model memory increases by 0.28–4.58 GiB over dense (0.5–8.6%), inclusive of all intermediate buffers.
The reviewer is correct that per-head graphs are expensive: without aggregation, graph and centroid storage reaches 52–82% of KV-cache size (up to 16.95 GiB combined at 128k/14B) and peak memory rises 17–29% over dense. This is precisely why the aggregation variants were proposed: they reduce graph-plus-centroid memory by 5-7× while also being faster (1.55–1.71× versus 1.17-1.25× end-to-end speedup at 128k), so the memory-efficient configuration is also the recommended one rather than a trade-off. Relative to eviction-based baselines, which reduce memory below dense by permanently truncating the cache, CommunityKV instead trades a modest overhead for retaining all entries. We will add the full memory table to the revised efficiency section.
Q6 (GraphKV datasets): This conflates two similarly named papers: our citation is GraphKV (Li et al., arXiv:2509.00388), which evaluates LongBench (16 English datasets) and NIAH; the seven-RAG-dataset evaluation belongs to the distinct Graph-KV (Wang et al., arXiv:2506.07334). We will clarify the citation. With RULER added in this response, the revision spans three benchmarks, three model sizes, and two model families.
We hope these additions: end-to-end throughput, a second model family, three eviction baselines, drift stability, and full memory accounting, address the concerns, and would appreciate the reviewer considering a score increase if so.