Metraipolis › archive › dc_c2ce2c3a81e8
Visual Memory Attacks Can Persist Through The KV Cache — arXiv:2610.09027
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.09027
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-08T11:10:29.689Z
- SHA-256 of the archived text
e6550c2e023b46fdad4e20ed0ef69f29015725c8b964d10277f3ab2843d4b89b- Stable URL of this page
https://metraipolis.com/documento/dc_c2ce2c3a81e8
How to cite
Visual Memory Attacks Can Persist Through The KV Cache — arXiv:2610.09027 — arXiv (en), https://arxiv.org/abs/2610.09027 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_c2ce2c3a81e8 (Metraipolis archive dc_c2ce2c3a81e8, sha256 e6550c2e023b46fdad4e20ed0ef69f29015725c8b964d10277f3ab2843d4b89b)
BibTeX
@misc{dcc2ce2c3a81e8,
title = {Visual Memory Attacks Can Persist Through The KV Cache — arXiv:2610.09027},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.09027},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_c2ce2c3a81e8; sha256 e6550c2e023b46fdad4e20ed0ef69f29015725c8b964d10277f3ab2843d4b89b},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.09027. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Modern language model systems operate autonomously over increasingly long contexts containing untrusted text and images. Can an adversarial input continue to steer a model even after that input is removed from its context? We show that attacks can be trained to persist through the key/value (KV) cache of subsequent tokens, allowing adversarial influence to outlive direct access to its this http URL consider the Visual Memory Injection (VMI; Schlarmann and Hein, 2026) attack setting, in which an adversarial image that stays in the context plants a hidden backdoor: the model behaves normally until a chosen trigger elicits an attacker-chosen response. We first demonstrate persistence in this setting with optimized soft prompts, which remain effective after we mask the prompt from attention. We then introduce Persistent Visual Memory Injection (P-VMI), which optimizes images to preserve this adversarial behaviour after they are masked from attention. These attacks persist over conversations substantially longer than those used during optimization. On Qwen3-VL-8B-Instruct, P-VMI achieves up to approximately $90\%$ target success in its strongest configuration and remains effective under a stricter removal setting that exposes the image only on the first turn. A cache-swap ablation localizes the persistent influence to the KV cache. Finally, we show that these attacks can be trained to survive compaction that retains the KV cache of a summary generated by the same model, demonstrating that adversarial behaviour can persist in cached state without continued access to its source. 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); Computer Vision and Pattern Recognition (cs.CV). Pagina del lavoro: https://arxiv.org/abs/2610.09027 — 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-10-08T10:14:06.041Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).