Saved in:
Bibliographic Details
Main Authors: Kim, Minsoo, Kundu, Arnav, Kim, Han-Byul, Dixit, Richa, Cho, Minsik
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2509.17396
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918512306421760
author Kim, Minsoo
Kundu, Arnav
Kim, Han-Byul
Dixit, Richa
Cho, Minsik
author_facet Kim, Minsoo
Kundu, Arnav
Kim, Han-Byul
Dixit, Richa
Cho, Minsik
contents Modern large language models (LLMs) extend context lengths to millions of tokens, enabling coherent, personalized responses grounded in long conversational history. However, the Key-Value (KV) cache grows linearly with the extended dialogue history, causing the model's memory footprint to quickly exceed device limits. While recent KV cache compression methods attempt to reduce memory usage, most apply cache eviction after processing the entire context, incurring unbounded peak memory usage. Additionally, query-dependent eviction narrows the cache semantics to a single query, leading to failure cases in multi-turn conversations. In this paper, we introduce EpiCache, a training-free KV cache management framework for long conversational question answering (LongConvQA) under fixed memory budgets. EpiCache bounds cache growth through block-wise prefill and preserves topic-relevant context via episodic KV compression, which clusters conversation history into coherent episodes and performs episode-specific KV cache eviction. Across three LongConvQA benchmarks (LongMemEval, Realtalk, and LoCoMo), EpiCache improves accuracy by up to 30%, achieves near full-cache accuracy under 4-6x compression, and reduces latency and peak memory by up to 2.4x and 3.7x, respectively.
format Preprint
id arxiv_https___arxiv_org_abs_2509_17396
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle EpiCache: Episodic KV Cache Management for Long-Term Conversation on Resource-Constrained Environments
Kim, Minsoo
Kundu, Arnav
Kim, Han-Byul
Dixit, Richa
Cho, Minsik
Computation and Language
Modern large language models (LLMs) extend context lengths to millions of tokens, enabling coherent, personalized responses grounded in long conversational history. However, the Key-Value (KV) cache grows linearly with the extended dialogue history, causing the model's memory footprint to quickly exceed device limits. While recent KV cache compression methods attempt to reduce memory usage, most apply cache eviction after processing the entire context, incurring unbounded peak memory usage. Additionally, query-dependent eviction narrows the cache semantics to a single query, leading to failure cases in multi-turn conversations. In this paper, we introduce EpiCache, a training-free KV cache management framework for long conversational question answering (LongConvQA) under fixed memory budgets. EpiCache bounds cache growth through block-wise prefill and preserves topic-relevant context via episodic KV compression, which clusters conversation history into coherent episodes and performs episode-specific KV cache eviction. Across three LongConvQA benchmarks (LongMemEval, Realtalk, and LoCoMo), EpiCache improves accuracy by up to 30%, achieves near full-cache accuracy under 4-6x compression, and reduces latency and peak memory by up to 2.4x and 3.7x, respectively.
title EpiCache: Episodic KV Cache Management for Long-Term Conversation on Resource-Constrained Environments
topic Computation and Language
url https://arxiv.org/abs/2509.17396