EchoKV: Efficient KV Cache Compression via Similarity-Based Reconstruction

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Ji, Shiyu, Wang, Yixuan, Liu, Yijun, Zhu, Qingfu, Che, Wanxiang
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911678714609664
author Ji, Shiyu
Wang, Yixuan
Liu, Yijun
Zhu, Qingfu
Che, Wanxiang
author_facet Ji, Shiyu
Wang, Yixuan
Liu, Yijun
Zhu, Qingfu
Che, Wanxiang
contents The increasing memory demand of the Key-Value (KV) cache poses a significant bottleneck for Large Language Models (LLMs) in long-context applications. Existing low-rank KV compression methods reduce this footprint by modifying model projections, limiting the flexibility to switch back to standard full-cache inference when sufficient memory is available. In this paper, we propose EchoKV, a flexible KV cache compression framework that supports on-demand transitions from full KV caching to compressed caching. Unlike traditional compression-decompression paradigms, EchoKV utilizes a lightweight network to reconstruct the discarded KV components from a partial subset, exploiting intrinsic inter-layer and intra-layer similarities among attention heads. We further introduce a lightweight two-stage fine-tuning strategy, requiring only a few minutes on a single A100 GPU for a 7B model. Experimental results on LongBench and RULER demonstrate that EchoKV consistently outperforms existing methods across multiple compression ratios and backbone models while preserving the throughput of full-cache inference in short-context scenarios.
format Preprint
id arxiv_https___arxiv_org_abs_2603_22910
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle EchoKV: Efficient KV Cache Compression via Similarity-Based Reconstruction
Ji, Shiyu
Wang, Yixuan
Liu, Yijun
Zhu, Qingfu
Che, Wanxiang
Computation and Language
The increasing memory demand of the Key-Value (KV) cache poses a significant bottleneck for Large Language Models (LLMs) in long-context applications. Existing low-rank KV compression methods reduce this footprint by modifying model projections, limiting the flexibility to switch back to standard full-cache inference when sufficient memory is available. In this paper, we propose EchoKV, a flexible KV cache compression framework that supports on-demand transitions from full KV caching to compressed caching. Unlike traditional compression-decompression paradigms, EchoKV utilizes a lightweight network to reconstruct the discarded KV components from a partial subset, exploiting intrinsic inter-layer and intra-layer similarities among attention heads. We further introduce a lightweight two-stage fine-tuning strategy, requiring only a few minutes on a single A100 GPU for a 7B model. Experimental results on LongBench and RULER demonstrate that EchoKV consistently outperforms existing methods across multiple compression ratios and backbone models while preserving the throughput of full-cache inference in short-context scenarios.
title EchoKV: Efficient KV Cache Compression via Similarity-Based Reconstruction
topic Computation and Language
url https://arxiv.org/abs/2603.22910