Abstract
Prompt caching in large language models (LLMs) results in data-dependent timing variations: cached prompts are processed faster than non-cached prompts. These timing differences introduce the risk of side-channel timing attacks. For example, if the cache is shared across users, an attacker could identify cached prompts from fast API response times to learn information about other users' prompts. Because prompt caching may cause privacy leakage, transparency around the caching policies of API providers is important. To this end, we develop and conduct statistical audits to detect prompt caching in real-world LLM API providers. We detect global cache sharing across users in seven API providers, including OpenAI, resulting in potential privacy leakage about users' prompts. Timing variations due to prompt caching can also result in leakage of information about model architecture. Namely, we find evidence that OpenAI's embedding model is a decoder-only Transformer, which was previously not publicly known.
Community
This link is in the wrong paper
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- Adaptive Semantic Prompt Caching with VectorQ (2025)
- Safeguarding System Prompts for LLMs (2024)
- MPCache: MPC-Friendly KV Cache Eviction for Efficient Private Large Language Model Inference (2025)
- TOPLOC: A Locality Sensitive Hashing Scheme for Trustless Verifiable Inference (2025)
- MPIC: Position-Independent Multimodal Context Caching System for Efficient MLLM Serving (2025)
- Cache Me If You Must: Adaptive Key-Value Quantization for Large Language Models (2025)
- Mell: Memory-Efficient Large Language Model Serving via Multi-GPU KV Cache Management (2025)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment:
@librarian-bot
recommend
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper