KV Cache Offloading for Context-Intensive Tasks

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Bocharnikov, Andrey, Ermakov, Ivan, Kuznedelev, Denis, Zhdanovskiy, Vyacheslav, Yershov, Yegor
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866916015227535360
author Bocharnikov, Andrey
Ermakov, Ivan
Kuznedelev, Denis
Zhdanovskiy, Vyacheslav
Yershov, Yegor
author_facet Bocharnikov, Andrey
Ermakov, Ivan
Kuznedelev, Denis
Zhdanovskiy, Vyacheslav
Yershov, Yegor
contents With the growing demand for long-context LLMs across a wide range of applications, the key-value (KV) cache has become a critical bottleneck for both latency and memory usage. Recently, KV-cache offloading has emerged as a promising approach to reduce memory footprint and inference latency while preserving accuracy. Prior evaluations have largely focused on tasks that do not require extracting large amounts of information from the context. In this work, we study KV-cache offloading on context-intensive tasks: problems where the solution requires looking up a lot of information from the input prompt. We create and release the Text2JSON benchmark, a highly context-intensive task that requires extracting structured knowledge from raw text. We evaluate modern KV offloading on Text2JSON and other context-intensive tasks and find significant performance degradation on both Llama 3 and Qwen 3 models. Our analysis identifies two key reasons for poor accuracy: low-rank projection of keys and unreliable landmarks, and proposes a simpler alternative strategy that significantly improves accuracy across multiple LLM families and benchmarks. These findings highlight the need for a comprehensive and rigorous evaluation of long-context compression techniques.
format Preprint
id arxiv_https___arxiv_org_abs_2604_08426
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle KV Cache Offloading for Context-Intensive Tasks
Bocharnikov, Andrey
Ermakov, Ivan
Kuznedelev, Denis
Zhdanovskiy, Vyacheslav
Yershov, Yegor
Machine Learning
Artificial Intelligence
Computation and Language
With the growing demand for long-context LLMs across a wide range of applications, the key-value (KV) cache has become a critical bottleneck for both latency and memory usage. Recently, KV-cache offloading has emerged as a promising approach to reduce memory footprint and inference latency while preserving accuracy. Prior evaluations have largely focused on tasks that do not require extracting large amounts of information from the context. In this work, we study KV-cache offloading on context-intensive tasks: problems where the solution requires looking up a lot of information from the input prompt. We create and release the Text2JSON benchmark, a highly context-intensive task that requires extracting structured knowledge from raw text. We evaluate modern KV offloading on Text2JSON and other context-intensive tasks and find significant performance degradation on both Llama 3 and Qwen 3 models. Our analysis identifies two key reasons for poor accuracy: low-rank projection of keys and unreliable landmarks, and proposes a simpler alternative strategy that significantly improves accuracy across multiple LLM families and benchmarks. These findings highlight the need for a comprehensive and rigorous evaluation of long-context compression techniques.
title KV Cache Offloading for Context-Intensive Tasks
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2604.08426