Comparative Characterization of KV Cache Management Strategies for LLM Inference

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Mamo, Oteo, Kogiou, Olga, Yi, Hyunjin, Yu, Weikuan
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913009256890368
author Mamo, Oteo
Kogiou, Olga
Yi, Hyunjin
Yu, Weikuan
author_facet Mamo, Oteo
Kogiou, Olga
Yi, Hyunjin
Yu, Weikuan
contents Efficient inference with Large Language Models (LLMs) increasingly relies on Key-Value (KV) caches to store previously computed key and value vectors at each layer. These caches are essential to minimize redundant computation during autoregressive token generation, lowering computational complexity from quadratic to linear. However, the growth of KV caches has posed significant system-level challenges, particularly as model sizes increase, context lengths grow, and concurrent requests compete for limited memory resources. Even though several recent frameworks for KV cache management have emerged, their comparative trade-offs in memory consumption and inference performance have not been fully understood, especially under varying request sizes and model configurations. In this work, we conduct an empirical study of three state-of-the-art KV cache management frameworks: vLLM, InfiniGen, and H2O. These frameworks employ techniques such as tensor offloading, token eviction heuristics, and speculative scheduling to balance memory usage and performance. We evaluate their performance in terms of a range of metrics such as latency, throughput, and memory usage across a spectrum of key parameters including request rates, model sizes, and sparsity levels. Our results pinpoint the conditions for each framework to perform the best, revealing the most suitable selection and configuration of KV cache strategies under memory and performance constraints.
format Preprint
id arxiv_https___arxiv_org_abs_2604_05012
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Comparative Characterization of KV Cache Management Strategies for LLM Inference
Mamo, Oteo
Kogiou, Olga
Yi, Hyunjin
Yu, Weikuan
Hardware Architecture
Artificial Intelligence
Efficient inference with Large Language Models (LLMs) increasingly relies on Key-Value (KV) caches to store previously computed key and value vectors at each layer. These caches are essential to minimize redundant computation during autoregressive token generation, lowering computational complexity from quadratic to linear. However, the growth of KV caches has posed significant system-level challenges, particularly as model sizes increase, context lengths grow, and concurrent requests compete for limited memory resources. Even though several recent frameworks for KV cache management have emerged, their comparative trade-offs in memory consumption and inference performance have not been fully understood, especially under varying request sizes and model configurations. In this work, we conduct an empirical study of three state-of-the-art KV cache management frameworks: vLLM, InfiniGen, and H2O. These frameworks employ techniques such as tensor offloading, token eviction heuristics, and speculative scheduling to balance memory usage and performance. We evaluate their performance in terms of a range of metrics such as latency, throughput, and memory usage across a spectrum of key parameters including request rates, model sizes, and sparsity levels. Our results pinpoint the conditions for each framework to perform the best, revealing the most suitable selection and configuration of KV cache strategies under memory and performance constraints.
title Comparative Characterization of KV Cache Management Strategies for LLM Inference
topic Hardware Architecture
Artificial Intelligence
url https://arxiv.org/abs/2604.05012