arXiv:2610.02713v1 cs.CL

WakeKV: 동작 패턴이 변하는 헤드를 위한 반응형 가역적 KV 레지던시

WakeKV: Reactive, Reversible KV Residency for Heads That Change Their Minds

Utkarsh Ranjan

제출 2026-10-02

저자 비고

arXiv Comments

Accepted to the NeurIPS 2026 Workshop on ML for Systems. 2 figures, 4 tables, appendix

한국어 초록

대부분의 KV 캐시 압축 기법은 오프라인 또는 프리필(prefill) 단계에서 어텐션(attention) 헤드를 한 번만 분류(classification)하고, 생성 전반에 걸쳐 이 분류를 고정된 상태로 유지합니다. 세 가지 모델(1.5B~8B)과 세 가지 체제(바늘 찾기 검색, 긴 사고의 연쇄(Chain-of-Thought), 멀티턴 회상)에 걸쳐 4가지 모델-체제 조합에서 헤드 동작을 측정한 결과, 대부분의 헤드가 생성 과정 중에 최소 한 번은 읽기 동작을 바꾼다는 점을 발견했습니다. 본 논문에서는 상태를 동결(freezing)하거나 영구적으로 제거하는 대신, 냉각되는 헤드를 복구 가능한 CPU 저장소로 이동시키는 반응형 레지던시 정책인 WakeKV를 제안합니다. 동일한 메모리 또는 예산 조건에서 WakeKV는 5가지 모델-체제 조합에 대한 평가 전반에 걸쳐 고정 분류 및 파괴적 제거 대비 미스율(miss rate)을 일관되게 개선하며, 적합한 4가지 조합 전반에서 세 가지 베이스라인(SnapKV, uniform R-KV, ReasonAlloc) 대비로도 우수한 성능을 보입니다. Mistral-7B 기반의 FlexiCache/vLLM 구현을 통해 실제 하드웨어에서의 이점을 확인했으며, LongBench 품질을 유지하면서 처리량을 향상시켰습니다.

원문 초록

Most KV-cache compression methods classify attention heads once, either offline or during prefill, and keep this classification fixed throughout generation. Across three models (1.5B-8B) and three regimes (needle retrieval, long chain-of-thought, and multi-turn recall), we measure head behavior on four model-regime combinations and find that most heads change their reading behavior at least once during generation. We introduce WakeKV, a reactive residency policy that moves cooling heads to a recoverable CPU reservoir rather than freezing or permanently evicting their state. At matched memory or budget, WakeKV consistently improves miss rate over frozen classification and destructive eviction, evaluated across five model-regime combinations and over three cited baselines (SnapKV, uniform R-KV, and ReasonAlloc) across four eligible combinations. A FlexiCache/vLLM implementation on Mistral-7B confirms the benefit on real hardware, improving throughput while retaining LongBench quality.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2610.02713v1

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.