Shadows in the Cache: Revealing and Mitigating KV-cache Privacy Risks in LLM InferenceShadow in the Cache: Unveiling and Mitigating Privacy Risks of KV-cache in LLM Inference
AI summary
The paper analyzes the privacy risks of the KV-cache in LLM inference, designing three types of attacks—direct inversion, collision and semantics-based injection—that can reconstruct sensitive user inputs from the cache. The authors propose the KV-Cloak defense based on invertible matrix obfuscation and operator fusion, and claim that it reduces reconstruction quality to random noise while model accuracy barely decreases and performance overhead is very small. This work addresses cache-side privacy issues in trustworthy LLM deployment.