How Much Cache Does Reasoning Need? Depth-Cache Tradeoffs in KV-Compressed Transformers
Abstract
The key-value (KV) cache is the dominant memory bottleneck during Transformer inference, yet little is known theoretically about how aggressively it can be compressed before multi-step reasoning degrades. We study this through -hop pointer chasing on tokens under a shared KV cache of size , attention dimension , heads, -bit precision, and a locality-respecting cache controller (satisfied by all standard KV-compression methods). We give three results. (1) Product depth lower bound (conjectured). We conjecture that any such Transformer (, ) requires depth , and isolate the sole remaining gap as a probabilistic step on the joint distribution of cache trace and pointer chain. Unconditionally, we prove a matching upper bound via windowed pointer doubling, and a max-bound . Closing the conjecture amounts to upgrading max to product. (2) Bandwidth barrier. The product bound binds only when . Any lower bound provable via per-window distinguishability counting -- including reachability, bandwidth, and combinations -- cannot exceed once . Breaking this requires lifting unconditional communication-complexity bounds for pointer chasing to Cache-Transformer depth. (3) Adaptive vs oblivious error scaling. Under random cache over doubling stages, oblivious caches give (exponential in ), while adaptive locality-respecting caches achieve exactly, independent of . The separation explains why heavy-hitter eviction empirically dominates random eviction for multi-hop reasoning.
Keywords
Cite
@article{arxiv.2604.17935,
title = {How Much Cache Does Reasoning Need? Depth-Cache Tradeoffs in KV-Compressed Transformers},
author = {Xiao Wang},
journal= {arXiv preprint arXiv:2604.17935},
year = {2026}
}