ChunkKV: Semantic-Preserving KV Cache Compression for Efficient Long-Context LLM Inference
LLM;KV cache;compression;long-context
Yes
No ethics review needed.
1.	Why is there such a big difference in the reuse ratio between llama3 in Abalation (Figure 5) and llama3 in Appendix (Figuire 16)? Can you provide further explanation? For example, can you provide a detailed explanation of the experimental settings for both figures and discuss any factors that might contribute to this difference.
2.	Table 4, Mistral-7B-Instruct-v0.3, KV Size Compression Ratio = 10%, Few-shot Learning, 70.03 vs 70.41, error bold?
1.	This paper explores the granularity of token eviction, which has some enlightening significance.
2.	According to the experiment results, the proposed method seemingly has good efficiency and accuracy.
This paper proposes ChunkKV, a KV Cache compression method that performs token eviction at chunk level because of the better semantics preservation compared to discrete methods. In addition, the authors find that the chunk-based method has better similarity within layers. They perform eviction step by sharing the eviction indexes across recent layers to increase the efficiency during compression.
1.Motivation requires more elaboration and experimental verification. The comparison between the discrete eviction method and chunk-based method in Figure 1 maybe true from a human behavior perspective, as some useful information may have been corrupted. However, in LLMs, the information of the corrupted tokens may still be retained in some other preserved tokens due to the attention mechanism. The internal information of different tokens in LLMs is difficult to explain, and the explaination of the motivation seems somewhat arbitrary. For example, detailed attention score or L1 loss between full cache and compressed cache of these two methods should be explored.

2.Further explanation is needed for the experimental section (from most important to least). 

(1) The results of n=1 should be added to Figure 6 for observing the effectiveness of Chunks. 

(2) ChunkKV does not have particularly obvious advantages compared to SnapKV and Pyramid KV, and a more comprehensive comparison and fair setting are needed to demonstrate its effectiveness. Some key hyper-parameters: chunk size and reuse ratio in the main experiment, the compression ratio in NIAH. Some more detailed experimental settings: compress interval, compressing prompts or compressing the whole sequence. Higher and more diverse compression ratios are needed in main experiments. 

(3) Lacking throughput, latency, memory usage. The focus should be on overall throughput rather than single compression time because the compression time may not be important compared with model calculation, and we can manually control the compression frequency, which only requires sacrificing a small amount of accumulated KV space.

(4) The comparison of chunk size in ablation is not combined with the compression ratio, and these two hyper-parameters are intuitively highly correlated. 

I am looking forward to seeing more detailed explanations and experimental results on these points, which may hugely affect my opinions.
Yes
No ethics review needed.
Please discuss and compare with SnapKV and MiniCache. 

How do ChunKV robustly choose those hyperparameters introduced in the paper?
- The paper tackles an important problem.

- The paper combines chunking-based token selection and cross-layer similarity-based reuse, which is an interesting idea.
The paper looks into the problem of KV cache compression for long context LLM inference. In particular, it proposes to combine chunking-based token selection policy and cross-layer reuse to reduce KV cache size. Evaluation shows that the proposed method is able to achieve comparable accuracy on tested datasets.
- Limited novelty. Leveraging cross-layer similarity has been studied in MiniCache https://arxiv.org/abs/2405.14366.  It would be better if the paper has a discussion and comparison with MiniCache. Chunking-based selection is also very related to clustering-based selection, as the pool1D technique used in SnapKV (see below). 

- Inaccurate related work.  The paper claims that prior work lacks the ability to preserve semantic information in chunks. Not true. For example, SnapKV identified that discretely selecting tokens is not sufficient and proposed to use a pooling layer to get make eviction decision at clustered-token granularity. It would be better if the paper adds a discussion and comparison between the chunking method in this paper and the pooling method in SnapKV.  

- Evaluation is insufficient. The evaluation is insufficient, because it neither shows how the approach trade-offs memory vs. accuracy, nor does it provide analysis on how introduced hyperparameters affect the proposed method. 

- Hard to use in practice. The paper introduces many parameters, such as w, c, N_reuse, the number of reuse layers, but the paper does tell the readers how those parameters are selected. This adds significant tuning overhead and can also subject to overfitting on tested datasets.
Yes
No ethics review needed.
Can authors conduct additional experiments covering a broader range of tasks and various compression ratios to further strengthen the findings?
1. The writing is clear and easy to follow.

2. The paper did a lot of experiments on different tasks and ablation studies to show the effectiveness of the proposed method.
The submission introduces ChunkKV, a technique designed to manage the increased GPU memory demands associated with large-context LLM inference, which can hinder throughput significantly during inference serving. The proposed solution consists of two main components: 1. chunk based KV catch preserving techniques. 2. layer-wise index reuse technique to further reduce computational overhead. With this compression technique, ChunkKV demonstrates state-of-the-art performance across several tasks.
1.  While the proposed approach is methodologically sound, it may be seen as incremental. The concept, though well-executed, may not represent a substantial leap in novelty within the field.

2. The methodology introduces a significant inductive bias through its dependency on chunk size. This reliance makes the model's performance highly sensitive to chunk size, which in turn varies across tasks. In a closed task-specific setting, this is manageable; however, in open-ended evaluations where task specifics are not predefined, determining an optimal chunk size for every potential task becomes unfeasible. Thus, while the method may find value in specialized, known tasks, its general applicability in open settings is limited.

3. The proposed layer-reuse KV-cache offers a means to reduce computational costs, which is valuable. However, the simplicity of the solution also leads to a trade-off in performance. This compromise suggests that further refinement is needed to optimize both cost-efficiency and model efficacy without incurring a performance penalty.

While the submission has certain strengths, the limited novelty, sensitivity to chunk size, and performance-cost trade-off may limit its applicability in broader contexts. Further work addressing these areas would strengthen the contribution.
Yes
No ethics review needed.
As in Weaknesses.
1) Using the fragmentation method that keeps the semantic information leads to good results in benchmarks.
2) Further combination with layer-wise index reuse can help improve deployment efficiency.
This paper provides ChunkKV, a simple KV cache compression method that uses fragmentation to keep semantic information and achieves state-of-the-art performance on long-context benchmarks. It also proposes the layer-wise index reuse technique to reduce the additional computational time introduced by the KV caching method.
1) Concerning contributions:
- The paper highlights fragmentation in KV cache compression. However, to improve accuracy, SnapKV [1] has proposed clustering methods.
2) Concerning Experiments:
- The paper does not include actual memory reduction and latency statistics.
3) Concerning performance:
- After layer reuse, the performance drops linearly with the number of reused layers. I had hoped to see layer reuse with minimal performance loss.

[1] Li Y, Huang Y, Yang B, et al. Snapkv: Llm knows what you are looking for before generation[J]. arXiv preprint arXiv:2404.14469, 2024.
@inproceedings{
anonymous2024chunkkv,
title={Chunk{KV}: Semantic-Preserving {KV} Cache Compression for Efficient Long-Context {LLM} Inference},
author={Anonymous},
booktitle={Submitted to The Thirteenth International Conference on Learning Representations},
year={2024},
url={https://openreview.net/forum?id=8sglLco8Ti},
note={under review}
}
Large Language Models (LLMs) have demonstrated remarkable capabilities in processing extensive contexts, but this ability comes with significant GPU memory costs, particularly in the key-value (KV) cache. Although recent KV cache compression methods show strong performance, all use discrete tokens to maintain the KV cache, leading to a loss of chunk semantic information. We introduce ChunkKV, a novel KV cache compression method that retains the most informative semantic chunks while discarding the less important ones. ChunkKV preserves semantic information by grouping related tokens. Furthermore, ChunkKV exhibits a higher similarity in the indices of the retained KV cache across different layers, so we also propose a layer-wise index reuse technique to further reduce computational overhead. This technique not only improves compression efficiency, but also provides insight into the similarities between layers within LLMs. We evaluated ChunkKV on long-context benchmarks including LongBench and Needle-In-A-HayStack, as well as the GSM8K in-context learning benchmark. Our experiments, conducted with models LLaMA-3-8B-Instruct, Mistral-7B-Instruct, and Qwen2-7B-Instruct, demonstrate that ChunkKV outperforms other KV cache compression methods in performance, even surpassing the full KV cache under the same conditions. With a compression ratio of 10\%, ChunkKV achieves state-of-the-art performance on various tasks, indicating its effectiveness in semantic preservation and model performance for long-context and in-context LLM inference.
I certify that there is no URL (e.g., github page) that could be used to find authors’ identity.
I acknowledge that I and all co-authors of this work have read and commit to adhering to the ICLR Code of Ethics.
LLM KV cache compression long-context
I certify that there is no acknowledgement section in this submission for double blind review.
/pdf/297a924742ac2d3c74bf162c0f2619fa39393b7c.pdf
foundation or frontier models, including LLMs
I understand the reciprocal reviewing requirement as described on https://iclr.cc/Conferences/2025/CallForPapers. If none of the authors are registered as a reviewer, it may result in a desk rejection at the discretion of the program chairs. To request an exception, please complete this form at https://forms.gle/Huojr6VjkFxiQsUp6.
I certify that this submission complies with the submission instructions as described on https://iclr.cc/Conferences/2025/AuthorGuide.
ChunkKV: Semantic-Preserving KV Cache Compression for Efficient Long-Context LLM Inference
ICLR 2025 Conference Submission
ICLR.cc/2025/Conference/Submission