Metraipolis › archive › dc_f8275e62d1fb

Mirage: Provable Defense Against LLM KV Cache Timing Side Channels with Topology-Aware Isolation — arXiv:2611.10756

Source
arXiv (en)
Original
https://arxiv.org/abs/2611.10756
License (as archived)
CC0-1.0
Archived
2026-11-10T18:42:45.420Z
SHA-256 of the archived text
136d3a936f316d16c11fdda682dae3012a36ce8d58bb9f23baa7f30b05bc38ed
Stable URL of this page
https://metraipolis.com/documento/dc_f8275e62d1fb

How to cite

Mirage: Provable Defense Against LLM KV Cache Timing Side Channels with Topology-Aware Isolation — arXiv:2611.10756 — arXiv (en), https://arxiv.org/abs/2611.10756 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_f8275e62d1fb (Metraipolis archive dc_f8275e62d1fb, sha256 136d3a936f316d16c11fdda682dae3012a36ce8d58bb9f23baa7f30b05bc38ed)
BibTeX
@misc{dcf8275e62d1fb,
  title = {Mirage: Provable Defense Against LLM KV Cache Timing Side Channels with Topology-Aware Isolation — arXiv:2611.10756},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2611.10756},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_f8275e62d1fb; sha256 136d3a936f316d16c11fdda682dae3012a36ce8d58bb9f23baa7f30b05bc38ed},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.10756. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Large Language Models (LLMs) are increasingly deployed as shared multi-tenant services, relying on advanced optimizations like KV cache and prefix sharing to improve throughput and reduce latency. However, these optimizations introduce a critical vulnerability: attackers can exploit time-to-first-token (TTFT) variations between KV cache hits and misses to infer sensitive prompt tokens via prefix-matching side-channel attacks. Existing defenses indiscriminately restrict cross-tenant cache sharing, which incurs prohibitive performance overhead and negates the fundamental efficiency benefits of the KV cache. We propose Mirage, a topology-aware emission obfuscation framework that provably bounds timing leakage without sacrificing the performance gains of cache sharing. Instead of stalling the GPU or forcing redundant recomputations, Mirage delays token emission at the gateway so the attacker observes a natural cache miss distribution, while the GPU seamlessly continues serving other requests at full speed. Mirage uses a Privacy Odometer that persistently tracks the topological novelty of prefix fan-out expansions to distinguish aggressive probing from benign traffic. Once a prefix exceeds a safety threshold, Mirage engages a two-phase policy that uses a dynamic estimator to pad the TTFT to a calibrated cache-miss baseline. On a 500-sample public corpus across three models, Mirage suppresses the timing side-channel to near the random-guessing floor, while maintaining a significantly lower TTFT than defense baselines. We further show that Mirage withstands a strong adaptive adversary and the same principle carries over to semantic caching layers.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno).
Categorie arXiv: Cryptography and Security (cs.CR) ; Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2611.10756 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-11-10T18:37:37.602Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).