# EntroKV: Entropy-Guided Dynamic Budget Allocation for KV-Cache Compression

EntroKV: 엔트로피로 헤드마다 KV 캐시 예산 나누기

Wenhao Gao, Haoran Cao, Yueyan Li, Yonggao Xiao, Caixia Yuan, Xiaojie Wang · International Conference on Machine Learning · 2026년 9월 29일

- **연구 문제** 기존 KV 캐시 압축은 모든 헤드에 같은 예산을 줍니다. 헤드마다 잃는 정보가 달라서 민감한 헤드는 정보를 잃고 쉬운 헤드는 자원을 낭비합니다.
- **연구 방법** EntroKV는 어텐션 엔트로피로 헤드별 보존 예산을 정합니다. 어텐션 가중치는 백엔드가 이미 계산한 값을 재사용해 추가 행렬곱이 없습니다.
- **주요 결과** LongBench에서 Llama-3.1-8B-Instruct 기준으로 Entro-SnapKV는 48.15±0.15점을 얻어 SnapKV의 47.01±0.18점보다 높았습니다.

## 고정 예산 배분의 한계

긴 문맥을 다루는 LLM에서 KV 캐시는 입력 길이에 따라 선형으로 커져 메모리와 지연의 병목이 됩니다. 기존 압축 방법은 대체로 모든 레이어와 어텐션 헤드에 같은 보존 예산을 주거나 고정된 규칙으로 예산을 나눕니다. 그러나 헤드마다 같은 예산에서 잃는 정보의 양이 다르므로, 균일 배분은 쉽게 압축되는 헤드에 자원을 낭비하고 민감한 헤드에서는 정보를 잃습니다. 이 논문은 이 불균형을 줄이는 온라인 신호를 찾는 것을 목표로 합니다.

## 어텐션 엔트로피로 헤드별 예산 정하기

EntroKV는 정규화한 어텐션 엔트로피를 헤드별 압축 민감도의 신호로 사용합니다. 엔트로피는 어텐션 분포가 얼마나 퍼져 있는지를 나타내며, 길이 n에 따른 스케일을 줄이기 위해 log n으로 나눈 값을 씁니다. 보정 데이터셋에서 얻은 전역 기준 엔트로피 H̄와 현재 입력의 헤드별 엔트로피를 α로 섞고, β로 전체 보존 비율을 조절해 B\_hl = β\[(1−α)H̄ + αH̃\_hl\]로 헤드별 예산을 정합니다. 어텐션 가중치는 백엔드가 이미 계산한 관측 윈도우에서 재사용하므로 추가 행렬곱은 필요하지 않습니다. 이후 예산은 정수 quota로 바뀌어 SnapKV 같은 백엔드의 top-K 선택 규칙에 넘겨집니다.

## 장문맥 벤치마크 결과

LongBench와 RULER에서 세 모델을 비교했습니다. Llama-3.1-8B-Instruct에서 SnapKV의 LongBench 점수는 47.01±0.18이었고, 엔트로피 기반 Entro-SnapKV는 48.15±0.15였습니다. 보존 비율은 0.3 이하로 고정하였고 다섯 번 독립 실행의 평균과 표준편차를 보고했습니다. 병합 방식인 CaM과 D2O에서도 같은 방식의 예산 배분을 적용해 비교했으며, 이 결과는 해당 백엔드와 모델 설정에 대한 것입니다.

## 예산 비율에 따른 정확도

Llama-3.1-8B-Instruct에서 예산 비율 β를 바꾸며 Full Cache와 비교했습니다. 비율 0.2에서 Full Cache 성능의 약 98%가 유지되었다고 보고되며, 비율 0.3에서는 압축되지 않은 기준에 가깝게 나타났습니다. 이 수치는 해당 모델과 LongBench 설정에서의 관찰입니다.

## 한계

논문은 어텐션 회수율과 하위 작업 성능의 관계가 모든 시나리오에서 엄밀히 단조롭지 않을 수 있다고 밝힙니다. 또한 EntroKV는 어텐션 점수를 사용하는 압축 연산자와 호환되며, 어텐션을 쓰지 않는 방식으로 확장하는 것은 열린 문제로 남겨져 있습니다. 실험은 텍스트 기반 LLM과 NLP 벤치마크에 한정되었고, 멀티모달 설정은 다루지 않았습니다.

## 논문 정보

- **저자**: Wenhao Gao, Haoran Cao, Yueyan Li, Yonggao Xiao, Caixia Yuan, Xiaojie Wang
- **학회·저널**: International Conference on Machine Learning · 게재
- **최초 공개일**: 2026년 9월 29일
- **등록일**: 2026년 11월 26일
- **원문 이용 조건**: [원문에서 확인 ↗](https://proceedings.mlr.press/v306/gao26a.html)
- **제공 범위**: 논문 정보, 해설

[논문 원문 ↗](https://proceedings.mlr.press/v306/gao26a.html)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 원문 인용

Wenhao Gao, Haoran Cao, Yueyan Li, Yonggao Xiao, Caixia Yuan, Xiaojie Wang (2026). EntroKV: Entropy-Guided Dynamic Budget Allocation for KV-Cache Compression. International Conference on Machine Learning. https://proceedings.mlr.press/v306/gao26a.html

**BibTeX**

```
@article{gao2026entrokv,
  title = {{EntroKV: Entropy-Guided Dynamic Budget Allocation for KV-Cache Compression}},
  author = {Wenhao Gao and Haoran Cao and Yueyan Li and Yonggao Xiao and Caixia Yuan and Xiaojie Wang},
  year = {2026},
  journal = {International Conference on Machine Learning},
  url = {https://proceedings.mlr.press/v306/gao26a.html}
}
```

## 이 논문의 용어

- [LongBench](https://refivu.com/terms/ff37fb1a4d82-longbench)
- [RULER](https://refivu.com/terms/5b6224fe4e4c-ruler)
- [Top-k](https://refivu.com/terms/4da682fbc552-top-k)
- [CAM](https://refivu.com/terms/eb4f6b51430f-cam)
- [attention entropy](https://refivu.com/terms/dda59e58e28d-attention-entropy)
- [SnapKV](https://refivu.com/terms/7bb8afd60c40-snapkv)
- [CWE](https://refivu.com/terms/a027cef30cc4-cwe)
- [Karush–Kuhn–Tucker](https://refivu.com/terms/887915da54f9-karush-kuhn-tucker)
- [NIAH](https://refivu.com/terms/1e157a12b6b9-niah)
- [observation window](https://refivu.com/terms/d2e9f66e87c5-observation-window)

## 다른 논문 해설

- [CoT-Proxy: Cross-Format Transfer for Distilling Long-Horizon Policies](https://refivu.com/papers/133530c1-3978-43b6-aece-30ba42baee72-cot-proxy-cross-format-transfer-for-distilling-long.md)
- [RSA-CP: Efficient Conformal Prediction in Small-Sample Regimes via Random Score Alignment](https://refivu.com/papers/21bdc1a9-8a21-4757-b322-ec7470296d48-rsa-cp-efficient-conformal-prediction-in-small-sample.md)
- [Effective Model Pruning : Measuring the Redundancy of Model Components](https://refivu.com/papers/1e8cd0f7-b3bc-4b55-a972-43c970121d81-effective-model-pruning-measuring-the-redundancy-of-model.md)
- [ProSST: Protein Language Modeling with Quantized Structure and Disentangled Attention](https://refivu.com/papers/1e763f88-1816-4af3-b7f6-f9f54f343798-prosst-protein-language-modeling-with-quantized-structure.md)
- [$\\textit{Read-ME}$: Refactorizing LLMs as Router-Decoupled Mixture of Experts with System Co-Design](https://refivu.com/papers/a806bfd3-525b-49ad-a578-7f75e77b4d70-textit-read-me-refactorizing-llms-as-router-decoupled.md)
- [SeeA\*: Efficient Exploration-Enhanced A\* Search by Selective Sampling](https://refivu.com/papers/80e3d55e-cbd4-4f3f-88b9-118fcd1bb5c9-seea-efficient-exploration-enhanced-a-search-by-selective.md)
- [Memory as Dynamics: Learning Reliability-Guided Predictive Models for Online Video Perception](https://refivu.com/papers/9edb7769-5017-4985-b695-21eab77d07d7-memory-as-dynamics-learning-reliability-guided-predictive.md)
- [Escaping the Mode: Multi-Answer Reinforcement Learning in LMs](https://refivu.com/papers/57396737-909e-4ef4-acf5-3d267b659acf-escaping-the-mode-multi-answer-reinforcement-learning-in.md)
- [Breaking Semantic Artifacts for Generalized AI-generated Image Detection](https://refivu.com/papers/4e046749-44ad-45fe-a59b-ca849df10c45-breaking-semantic-artifacts-for-generalized-ai-generated.md)
- [Towards Estimating Bounds on the Effect of Policies under Unobserved Confounding](https://refivu.com/papers/b9f2b061-ed7b-4b7a-b0f1-55430eefad3f-towards-estimating-bounds-on-the-effect-of-policies.md)
- [How Many Sources, Not Just How Many Problems: Planning the Precision of LLM Evaluations from Earlier Results](https://refivu.com/papers/1af869bf-a94d-4c3d-8125-3cd015747743-how-many-sources-not-just-how-many-problems.md)
- [Refusal Is Not Scored: A Coverage Limit in Content-Based Bias Evaluation](https://refivu.com/papers/d282d82d-de6e-498c-898b-66902724ac0d-refusal-is-not-scored-a-coverage-limit-in.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/057d5e1a-3097-4692-bf08-f2e331814f7d-entrokv-entropy-guided-dynamic-budget-allocation-for-kv)
