AI
Researchers Find Prompt Cache Redundancy Can Cut LLM Memory Use by 15%
A new study identifies which parts of the KV cache—the memory buffer large language models use during inference—can be safely discarded without hurting accuracy.
When language models generate responses, they maintain a KV cache—a stored record of key-value pairs from earlier tokens that helps them decide what to generate next. That cache can consume significant memory, especially for long prompts. Researchers have now pinpointed exactly which portions of this cache can be replaced or removed without degrading performance.
The Redundancy Challenge#
Prior work suggested that prompt caches might be partly redundant, but it lacked specificity about where and when that redundancy manifests. The question was urgent for practical deployment: could you drop parts of the cache strategically to free up memory and serve more concurrent users?
How the Study Worked#
The team conducted a controlled probe across different layers of the model and at various points during decoding (response generation). Their key finding was counterintuitive: the redundancy isn't about losing information content, but rather about format. When researchers replaced the upper-layer prompt span KV cache with a simple scaffold—a chat template containing empty user content or filler tokens—the model maintained near-identical accuracy. By contrast, zeroing out the entire prompt KV cache caused a dramatic collapse in performance.
Real-World Impact#
The technique held up consistently across multiple model families (Qwen3, Gemma 3, and Llama 3) in various sizes and on different datasets. When deployed in a serving system, the approach delivered measurable gains:
- 15.4% reduction in KV memory footprint
- 18% increase in concurrent requests under memory constraints
- 13–21% improvement in throughput
These gains matter for inference efficiency, especially in settings where GPU or accelerator memory is the bottleneck.

