- Rating
- 4
- Clarity
- 2
- Confidence
- 5
- Originality
- 3
- Quality
- 3
- Significance
- 2
Read review
Summary
This paper proposes a prefix caching method for hybrid linear-softmax attention LLMs. The key problem is that KV cache can be reused at token granularity, while recurrent states from chunked GDN layers are much larger and are usually saved only at chunk boundary. This mismatch can turn a KV cache hit into a partial miss because the corresponding recurrent state is unavailable. The paper proposes two techniques: recurrent-aware state reuse, which estimates whether a head's recurrent state has changed enough to require recomputation or storage, and dual-scale state quantization, which compresses recurrent states by handling row-wise and column-wise outliers.
Strengths and weaknesses
Strengths
-
The paper studies a practical problem in serving hybrid linear-softmax attention LLMs. Prefix caching is important for LLM serving, and recurrent states from GDN/linear-attention layers indeed make this problem harder than in standard Transformer models.
-
The evaluation covers multiple models and workloads, and the reported improvements in TTFT are encouraging.
Weaknesses
-
The overhead analysis is incomplete. The paper shows that computing Frobenius norms inside the modified prefill kernel is cheap, but it does not clearly break down metadata writes during insertion, metadata reads during retrieval, quantization/dequantization, and cache bookkeeping.
-
The method section should more clearly separate what is stored per token, per chunk, per head. Without this, it is hard to judge whether the proposed cache retrieval path is practical for fused GDN kernels.
Questions
-
Is HybridCache insertion performed only at chunk boundaries, or can it insert selected head states at arbitrary token positions? If arbitrary positions are supported, how are intermediate recurrent states obtained in a chunkwise/fused GDN prefill kernel?
-
What are the memory levels of the additional data used by HybridCache? For example, are , , , selected head states, and quantization scales kept in registers/shared memory during kernel execution, written to HBM, or stored as part of the prefix-cache/radix-cache metadata? Please clarify this separately for insertion and retrieval.
-
Could the authors provide experiments on more recent GPUs, such as H100? Since the proposed method is closely related to memory traffic, kernel fusion, and prefill execution, results on newer hardware would help show whether the reported TTFT and throughput gains still hold beyond the current evaluation platform.
-
How would HybridCache work with fully-fused GDN kernels that do not write intermediate chunk-boundary states to HBM and may only maintain a live recurrent state or output the final state? For example, please discuss compatibility with kernels like:
If such a fully-fused kernel is used inside a serving framework, would HybridCache require breaking the fusion or adding extra state/metadata materialization? In that setting, does prefix caching still provide the same TTFT advantage reported in the paper?
Limitations
yes
Paper formatting concerns
none
Final justification
The rebuttal substantially addressed my main concerns by clarifying the insertion granularity and memory placement, providing a detailed overhead breakdown, and evaluating compatibility with fused chunked GDN kernels and newer GPUs. These results make the proposed design more practically convincing, so I raised my score from 3 to 4.
We sincerely thank the reviewer for the detailed systems questions.
[W1 End-to-End Overhead Breakdown]: We profile the additional HybridCache operations separately:
All additional operations together account for no more than 1% of the original prefill time. This overhead is substantially smaller than the recomputation avoided by HybridCache. We will add this breakdown rather than reporting only the modified-kernel microbenchmark.
[W2Q1Q2 Insertion Granularity and Memory Placement]: HybridCache inserts selected head states only at recurrent-kernel chunk boundaries, rather than at arbitrary token positions. In our SGLang/FLA configuration, the recurrent chunk size is 64 tokens. The memory placement differs between cache insertion and retrieval, as detailed below.
Cache insertion. During the recurrent prefill kernel, the current state and intermediate update terms are kept in registers or shared memory as part of the original fused computation. The decay gate gt(h) is available per token and per head, while the write norm ∥Uc(h)∥F and state norm ∥Sc(h)∥F are accumulated at chunk boundaries. These scalar statistics are computed in registers and written to GPU memory after each chunk. At a chunk boundary, HybridCache selects the K heads with the largest state deviations. Only these selected head states are passed to the fused FP4 quantization path. The state tile is loaded into registers, where the two scale reductions, normalization, FP4 encoding, and packing are performed. No intermediate normalized state tensor is materialized in HBM. The packed FP4 payload and the two scale tensors sM and sN are then written to GPU memory and attached to the corresponding radix-cache node. The token position and head index are stored as lightweight radix-cache metadata. | Data during insertion | Granularity | Temporary location | Persistent location | |---|---|---|---| | Decay gate gt(h) | per token, per head | registers/shared memory | GPU memory | | Write norm ∥Uc(h)∥F | per chunk, per head | registers | GPU memory | | State norm ∥Sc(h)∥F | per chunk, per head | registers | GPU memory / radix-cache metadata | | Selected head state | per checkpoint, selected head | registers during quantization | packed FP4 payload in GPU memory | | Scales sM,sN | per quantization group | registers during reduction | GPU memory | | Head index and checkpoint position | per selected head | — | radix-cache metadata |
Cache retrieval. When a KV-cache hit occurs at position u, HybridCache first reads the per-head checkpoint positions and the cached scalar statistics from GPU memory. The decay gates and write norms are loaded into registers and used to evaluate the deviation estimator for each head. These statistics are not copied into the recurrent-state slot. If reuse is accepted, the packed FP4 payload and its corresponding sM and sN scales are loaded from GPU memory into registers. The state is unpacked and dequantized in the fused retrieval kernel, and the reconstructed FP16/BF16 state is written directly into the destination recurrent-state slot used by the following forward pass. The dequantized intermediate state is not stored as additional radix-cache metadata; the original packed cache entry remains unchanged and continues to be owned by the radix cache. If the estimated deviation exceeds the threshold, HybridCache does not load or dequantize the selected state for reuse and instead falls back to recurrent-state recomputation. | Data during retrieval | Source | Temporary location | Destination/use | |---|---|---|---| | Head index and checkpoint position | radix-cache metadata | registers | identify the latest checkpoint for each head | | Decay gate gt(h) | GPU memory | registers | deviation estimation | | Write norm ∥Uc(h)∥F | GPU memory | registers | deviation estimation | | State norm ∥Se(h)∥F | GPU memory / metadata | registers | deviation estimation | | Packed selected state | GPU memory | registers during unpacking | reconstructed recurrent-state slot | | Scales sM,sN | GPU memory | registers | FP4 dequantization |
[Q3 Comparison on more recent GPU]: We would like to clarify that all main end-to-end experiments in the submitted paper are already conducted on eight NVIDIA H200 GPUs. Following the reviewer’s suggestion, we additionally repeat the experiements on 4 GB200 GPUs with Qwen 3.5 35BA3B:
The results show HybridCache still consistently outperforms SGLang baseline on GB200 GPUs.
[Q4 Compatibility with Fully Fused FlashInfer GDN Kernels]: Our current implementation uses SGLang’s fused Triton recurrent prefill backend. HybridCache does not require materializing a state at every token; it only requires exposing states and statistics at recurrent chunk boundaries.
For a fully fused FlashInfer kernel, there are two cases determined by
maybe_store_checkpointfunction:The kernel exposes intermediate chunk-boundary states.
HybridCache can be integrated by adding the statistic reductions and selected-state writes at those boundaries. This preserves the main kernel fusion and requires only lightweight additional HBM writes.
The kernel exposes only the final state.
HybridCache cannot insert intermediate head checkpoints without modifying the kernel.
We evaluate this trade-off using the FlashInfer backend:
The boundary-state materialization adds 3% end-to-end overhead, while HybridCache reduces TTFT by 26% through improved prefix reuse. Therefore, the net benefit remains positive under the evaluated workload.