Top 3 LLM Inference Optimizations Creating Timing Attack Risks

Caching mechanisms (especially KV cache and prefix caching), dynamic/continuous batching, and speculative decoding are the primary LLM inference optimizations most susceptible to creating timing side channels. These techniques, while boosting performance, introduce observable response time variations that attackers can exploit to infer sensitive information.

Sources

Open the full topic