arXiv:2610.35023cs.LGOct 2026

Manuscript Offprint

arXiv:2610.35023

BellowsKV: One Latent for Many Layers, Expanded on Demand

Jiamu Zhang, Hanjie Chen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Large language models (LLMs) are now widely utilized as the backbone of agents that reason over many turns, call tools, and pursue long-horizon tasks. To serve such a context without recomputing the past, a model stores the attention keys and values of all past tokens in a key-value (KV) cache. Each layer maintains its own cache and re-reads it at every generation step, so KV-cache memory can become the main bottleneck for GPU serving. Most compression methods operate within a single layer, by quantizing the cache entries, reducing the channel dimension, or evicting less important tokens from the cache. All three lose substantial accuracy at high compression ratios. A more recent line of work shares one compressed cache across adjacent layers to go beyond this limit. However, existing cross-layer methods also degrade sharply at high compression ratios. We find that the representation of KV Cache between adjacent layers are quite different, whereas the input hidden states are highly similar. We also find that, under the same memory budget, reducing the dimension of this shared latent loses far more accuracy than quantizing it. Based on these findings, we propose BellowsKV, a training-free method that maps the hidden states of n adjacent layers to one shared latent per token. At inference time, each layer read its own keys and values from this latent through a layer-specific projection. We keep the latent at full dimension and compress it in the two other ways instead: BellowsKV-Quant stores the latent at low precision, which is nearly lossless because the latent has no dominant outlier channels; BellowsKV-Evict makes one eviction decision per block, which the layers can share because they rank token importance very similarly. Across Llama-3.1-8B, Mistral-7B and Qwen2.5-7B, BellowsKV-Quant retains about 99% of full-cache accuracy at 3.6×3.6\times compression and 97-98% at 13−14×13-14\times, where the strongest existing cross-layer method retains at most 84% at 16×16\times. Code: https://github.com/MorrisZJ/BellowsKV

1 INTRODUCTION

The way large language models are used has shifted from answering questions to carrying out tasks. Agents debug a repository over hundreds of tool calls with the accumulated history in view (Yang et al., 2024a; Jimenez et al., 2024), assistants read and cross-reference whole document collections in one pass (Bai et al., 2024; Hsieh et al., 2024), and reasoning models think in traces tens of thousands of tokens long before they answer (OpenAI et al., 2026; Guo et al., 2025). Context windows have chased these workloads, from the 4K to 128K as the open-weight default (Grattafiori et al., 2024) and past a million tokens at the frontier (Team et al., 2024; Yang et al., 2025a). The key-value (KV) cache holds the attention keys and values of every token in the window, and each layer keeps its own cache. This way, we do not need to recompute past tokens, because we can read the cache in full at every decoding step. At this scale the cache stops being a rounding error on the weights and becomes their rival: on Llama-3.1-8B a single 131K-token sequence carries a 16.8 GB cache in 16-bit precision, slightly more than the model itself, after grouped-query attention has already shrunk it fourfold (Ainslie et al., 2023). In the real system, the LLM weights are loaded once and shared by every request in a batch, but each sequence needs its own KV cache. Serving is economical only when many sequences run at the same time (Kwon et al., 2023), so the total cache size grows with the batch size while the weights stay fixed. A batch of eight 131K-token sequences, for example,

Existing Cross-Layer Approaches

Requires expensive Retraining

[Brandon et al.; Sun et al.]

Figure

n layers, one K,V cache

retrained on billions of tokens

(a) Share by retraining

Training Free, rank is cut

[Chang et al.; Wang et al.]

Figure

xKV recomputes it per sequence

(b) Factorize the caches

Ours (BellowsKV)

Training Free, full rank, 26-28x

one latent, one read-head per layer

full rank

fixed offline, folded into weights

ratio from n layers, b bits, q tokens

(c) Share the stream (Ours)

Figure 1: Comparison of different cross-layer KV-Cache compression methods: (a) Trained-to-share architectures reach one cache only by retraining. (b) Training-free methods factorize the caches (c) BellowsKV folds the block's hidden states into one latent, buying the compression ratio from the numbers of shared layers, bits and tokens instead.

holds 134 GB of cache against 16 GB of weights. Compressing it by 4x, where most published methods operate, would still leave 33 GB. This paper targets an order of magnitude instead.

Nearly all existing KV cache compression methods work inside a single layer. Cached keys and values are quantized to fewer bits (Liu et al., 2024b; Su et al., 2025b; Zandieh et al., 2025; Han et al., 2025), tokens judged unimportant are evicted (Zhang et al., 2023; Li et al., 2024; Xiao et al., 2024), and feature channels are pruned or projected to lower rank (Chang et al., 2024; Saxena et al., 2024; Staniszewski & Łańcucki, 2026). All three directions work at moderate compression ratios, but each of them is close to its limit when further compressing the cache.

Quantization loses accuracy sharply below two bits, and accuracy depends on extra machinery around the quantization methods, such as choosing the axis along which numbers share a scale, rotating the cache so that no channel dominates a scale, or keeping a sparse set of outliers in full precision (Hooper et al., 2024). Token eviction cannot be undone when regret, because a token dropped after prefill is gone for every later decoding step and for every follow-up turn, even if attention would have needed it. Reducing the channel dimension removes components of the keys and values that attention still uses. A recent position paper argues that at a matched memory budget, quantization is preferable to rank reduction (Salfati, 2026).

However, adjacent layers compute their caches from almost the same hidden states, yet every layer still stores its own cache in full. Sharing a cache across layers is therefore the natural next move, and it has recently been tried. xKV (Chang et al., 2026) factorizes the caches of a window of layers into one shared low-rank basis, recomputed for every sequence at prefill. CommonKV (Wang et al., 2025) instead derives a shared projection from the weight matrices of the grouped layers. Both work at 4x compression, but at 16x, xKV retains at most 84% of full-cache accuracy and CommonKV at most 54%. To our knowledge, no prior work explains why cross-layer methods degrade at these ratios, or what a block of layers needs in order to share one cache without losing accuracy. Appendix A reviews all three families in full, together with the architectures that are trained to share a cache.

Therefore, we propose BellowsKV, a training-free KV cache compression method built on these three measurements. For each block of n adjacent layers, we fit a single projection offline, and it maps the hidden states of the block to one latent vector per token, and each layer reconstructs its own keys and values from that latent through its own up-projection. Two operators then compress the latent: BellowsKV-Quant stores it with uniform low-bit quantization, and BellowsKV-Evict drops tokens with a single eviction decision for the whole block. Our contributions are:

• We study what a block of adjacent layers can share. The keys and values of adjacent layers are nearly orthogonal, while the hidden states they are computed from are highly similar. The representation shared by a block tolerates quantization and eviction, but not dimension reduction (Section 2).

• We propose BellowsKV, a training-free method that stores one latent per block of n layers, together with two operators that compress this latent, BellowsKV-Quant and BellowsKV-Evict (Section 3).