- Rating
- 5
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 4
- Significance
- 3
Read review
Summary
Authors introduce an inference time indexing framework,LOUVER designed to improve the efficiency of Large Language Model (LLM) inference(decoding phase) by optimizing the KV cache retrieval. They reformulate sparse attention as a halfspace range searching problem, allowing the system to dynamically retrieve all relevant keys above a specific threshold. Method consistently achieves higher accuracy and lower latency than existing methods, while matching or exceeding dense-attention accuracy and achieving up to 15.3× GPU and 10.3× CPU speedups at 40k context length.
Strengths and weaknesses
Strength: novel application of PCA trees to retrieval optimization of KV cache impressive efficiency improvement exact method for sparse KV cache retrieval well written paper with strong experimental support and efficient implementation
Weaknesses: GPU Memory Overhead Threshold based approach could be suboptimal
Questions
'missing one critical key' does it apply to all layers of transformer?
Could you please clarify, on line 173. Why only positive half space i.e (q_t, p) >= tau considered? Why not absolute value? Which PCA algorithm is used for PCA trees building? Is it online PCA? Is it exact? Could you please clarify how you get runtime complexity of ot? Could you please clarify role of S parameter. Would not be S=1 optimal according to your runtime complexity? Please clarify role of threshold. Would it work if attention is disperse? Seems MATH 500 got very nice improvement. Do you have intuition why this dataset specifically? Do you have comparison to DeepSeek DSA?
Limitations
yes
Paper formatting concerns
n/a
We thank the reviewer for the careful assessment and address the questions one by one below.
Does "missing one critical key" apply to all layers of the transformer?
Thank you for mentioning this. It was not measured in the paper, so we ran a new experiment to address it. The Observation 1 setup (Appendix C) drops a key from every layer at once, which matches how eviction works in practice but does not isolate where the damage originates. We repeated the experiment by masking the dropped key at a single layer (Llama-3.1-8B-Instruct, (P(answer changed vs. dense))):
The effect holds at each of the three tested depths: dropping a relevant key always hurts more than dropping an irrelevant one. However, the effect is not identical across all layers. The difference is much larger in the middle layers, meaning that dropping relevant keys there is more harmful than in the early or late layers.
This depth dependence is consistent with prior observations that sparsity tolerance varies across layers, motivating per-layer budget allocation in PyramidInfer [48], PyramidKV [7], and Ada-KV [17].
Why ⟨qt,p⟩≥τ rather than ∣⟨qt,p⟩∣≥τ?
Attention depends on the signed score si=⟨qt,ki⟩/d through softmax(si). Since the exponential function is strictly increasing, a larger signed score always produces a larger attention weight when the other scores are fixed. In particular, scores a and −a have the same absolute value but very different effects: their unnormalized softmax weights are ea and e−a, whose ratio is e2a. Thus, a strongly negative dot product is not “highly relevant” in the attention computation; it is exponentially downweighted relative to a strongly positive dot product.
Using ∣⟨qt,p⟩∣ would therefore conflate strongly aligned and strongly anti-aligned keys, unnecessarily retrieving keys from the negative tail of the score distribution. The appropriate condition is the one-sided threshold ⟨qt,p⟩≥τ, which selects exactly the keys whose actual attention scores exceed the cutoff. The threshold τ may itself be negative, so “positive halfspace” refers only to the selected side of the hyperplane {p:⟨qt,p⟩=τ}, not to requiring the retrieved dot products to be positive.
Which PCA algorithm is used for building the PCA trees? Is it online PCA? Is it exact?
We use a restricted form of PCA: rather than computing eigenvectors of the key covariance, we select the split direction from the standard basis, taking the single coordinate of maximum variance (Algorithm 2). Points are then sorted along that coordinate and split at the median. It is exact and deterministic, and the max-variance coordinate serves as a cheap surrogate for the leading principal direction, which keeps the build to a few sorts per level.
The construction is not online: the tree is built once over the prefilled keys, and during decoding buffered keys are grouped and appended at each flush without revising existing groups (the update process). We note that none of these choices affects correctness, only pruning efficiency: the ball test plus exact re-check hold for any grouping, so a looser grouping yields more survivors but never a missed key.
On the runtime complexity of ot
We want to ensure that we address this question properly rather than answer a different question from the one intended. Could the reviewer clarify which runtime the question concerns? If it refers to the per-step cost of computing the attention output ot under Louver: The per-step cost is: Filter. Each of the S subspaces holds n/r balls, and each ball test costs O(d/S), giving S⋅(n/r)⋅(d/S)=O(nd/r). Note that S cancels. Exact re-check. O(fscan⋅nd), where fscan is the fraction of keys surviving the filter (Appendix G). Sparse attention. O((∣K∗∣+B)d) over the retrieved keys and the dense buffer. Total: O((1/r+fscan)nd)+O((∣K∗∣+B)d), against O(nd) for dense attention.
Could you clarify the role of S? Would S=1 not be optimal according to your runtime complexity?
The O(S⋅nlog(n/r)) expression in the paper is the one-time build cost. In the ball-filtering arithmetic S cancels: there are n/r balls per subspace and each filter is over d/S dimensions, so the filter work is S⋅(n/r)⋅(d/S)=nd/r, independent of S. In the cost model of Appendix G, per-query cost is g/r+fscan; S does not enter the gate cost g, and acts on fscan, the fraction of keys surviving to the exact dot-product stage (relevant to the pruning power of the index).
S improves fscan because of the curse of dimensionality: in high dimensions a bounding ball is loose relative to the query halfspace, so nearly every ball intersects it and little is pruned. Smaller subspaces give tighter balls and better pruning power. The ablation in Appendix G shows the effect:
At S=2 roughly 90% of keys are still scanned, and S=1 is the degenerate end of this trend. Very large S is not free either, more center arrays to stream and more per-subspace sorts add kernel and parallelization overhead, so S trades pruning power against implementation cost, and we select it empirically.
Could you clarify the role of the threshold?
τ defines the exact target set K∗={k:⟨qt,k⟩≥τ}, which is what turns sparse attention into a well-posed retrieval problem. Unlike a fixed budget k, this set size adapts per decoding step, which matters because the number of genuinely relevant keys oscillates considerably across steps (Observation 2, Figure 1c).
Given τ, retrieval is exact. τ is a monotone latency dial: raising it retrieves fewer keys and runs faster; lowering it retrieves a superset and costs time but cannot lose keys. We report a sensitivity sweep and a fallback guard in our response to Reviewer QWhg (Q1).
Would it work if attention is dispersed?
Yes---correctness is unaffected, since the pruning rule is geometric and assumes nothing about the score distribution. Dispersion is also where a threshold helps most relative to fixed-budget methods: when many keys carry real softmax mass, a fixed k drops some of them, while Louver returns everything above τ.
MATH-500 shows a very nice improvement---any intuition why this dataset specifically?
We think it comes down to the output-length and difficulty of the benchmark. MATH-500 is solved with comparatively short chains of thought ($\approx$7.6k generated tokens on average in our runs) whereas AIME forces very long generations ($\approx$20.6k). On AIME the cache is dominated by generated tokens and grows continuously, which is the regime where KV retrieval matters most for latency, that is why our long-output latency figure uses AIME. MATH-500 keeps the cache moderate and therefore reads more directly as an accuracy test.
Do you have a comparison to DeepSeek DSA?
This is a good pointer, and we will add a discussion of DSA and natively-trainable sparse attention to the related work. DSA belongs to a different category: it introduces a learned indexer and the model is trained to work with the resulting selection, so the sparsity pattern is learned as part of the architecture. Louver is training-free and operates on frozen weights at inference time, which is also why our baselines are Quest, H2O, StreamingLLM, and Twilight, the inference-time methods that form the like-for-like comparison class.