Whose Narrative is it Anyway? A KV Cache Manipulation Attack
Mukkesh Ganesh, Kaushik Iyer, Arun Baalaaji Sankar Ananthan · 2025
Read Whose Narrative is it Anyway? A KV Cache Manipulation Attack by Mukkesh Ganesh, Kaushik Iyer, Arun Baalaaji Sankar Ananthan (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2511-12752.txt.
Description
Mukkesh Ganesh, Kaushik Iyer, and Arun Baalaaji Sankar Ananthan demonstrate an attack that rewrites a language model's memory mid-conversation. Modern models cache key and value data from earlier text to generate quickly. That cache also encodes where the conversation is heading. The authors' attack, History Swapping, overwrites a block of the active cache with a precomputed cache from a different topic, changing its output without touching the visible prompt.
Across more than three hundred configurations on the Qwen 3 model family, only overwrites spanning every layer hijacked the topic. Three outcomes appeared: an immediate lasting shift, a partial recovery, or a delayed takeover. The experiments also revealed structure: high-level plans form early in generation, while the final layers maintain local discourse flow. The authors present the cache as a serious surface for security analysis, not just a speed trick, since whoever controls it steers the model's narrative.
Catalog record
| CREATOR | Mukkesh Ganesh, Kaushik Iyer, Arun Baalaaji Sankar Ananthan |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 24 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2511-12752