Shadow in the Cache: Unveiling and Mitigating Privacy Risks of KV-cache in LLM Inference
13 Aug · Zhifan Luo, Shuo Shao, Su Zhang +5 · arXiv:2508.09442
The Key-Value (KV) cache, which stores intermediate attention computations (Key and Value pairs) to avoid redundant calculations, is a fundamental mechanism for accelerating Large Language Model (LLM) inference. However, this efficiency optimization introduces significant yet underexplored privacy risks. This paper provides the first comprehensive analysis of these vulnerabilities, demonstrating that an attacker can…