Memory Inception: Latent-Space KV Cache Manipulation for Steering LLMs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Liu, Andy Zeyi, Zhang, Michael, Greenberg, Ilana, Alnasser, Adam, Baker, Lucas, Sous, John
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917476483203072
author Liu, Andy Zeyi
Zhang, Michael
Greenberg, Ilana
Alnasser, Adam
Baker, Lucas
Sous, John
author_facet Liu, Andy Zeyi
Zhang, Michael
Greenberg, Ilana
Alnasser, Adam
Baker, Lucas
Sous, John
contents Steering large language models (LLMs) is usually done by either instruction prompting or activation steering. Prompting often gives strong control, but caches guidance tokens at every layer and can clutter long interactions; activation steering is compact but typically weaker and does not support large structured reminders. We introduce memory inception (MI), a training-free method that steers in latent attention space by inserting text-derived key-value (KV) banks only at selected layers. Rather than materializing reminder content throughout the prompt cache, MI treats steering as selective KV allocation, injecting latent slots only where the model routes to them. On matched personality-steering tasks, MI gives the best overall control--drift trade-off, remaining competitive with prompting while consistently outperforming CAA. On updateable guidance, MI supports mid-conversation behavior shifts without rewriting the visible transcript, achieving the highest post-shift alignment on Qwen3. On structured reasoning, MI outperforms visible prompting on HARDMath and PHYSICS (10/12 subject$\times$mode cells), serving as proxies for structured reasoning in verifiable domains, while cutting content-matched KV storage by up to 118$\times$. These results position MI as a powerful steering method when guidance is persistent, structured, or expensive to keep in the visible transcript.
format Preprint
id arxiv_https___arxiv_org_abs_2605_06225
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Memory Inception: Latent-Space KV Cache Manipulation for Steering LLMs
Liu, Andy Zeyi
Zhang, Michael
Greenberg, Ilana
Alnasser, Adam
Baker, Lucas
Sous, John
Machine Learning
Artificial Intelligence
Steering large language models (LLMs) is usually done by either instruction prompting or activation steering. Prompting often gives strong control, but caches guidance tokens at every layer and can clutter long interactions; activation steering is compact but typically weaker and does not support large structured reminders. We introduce memory inception (MI), a training-free method that steers in latent attention space by inserting text-derived key-value (KV) banks only at selected layers. Rather than materializing reminder content throughout the prompt cache, MI treats steering as selective KV allocation, injecting latent slots only where the model routes to them. On matched personality-steering tasks, MI gives the best overall control--drift trade-off, remaining competitive with prompting while consistently outperforming CAA. On updateable guidance, MI supports mid-conversation behavior shifts without rewriting the visible transcript, achieving the highest post-shift alignment on Qwen3. On structured reasoning, MI outperforms visible prompting on HARDMath and PHYSICS (10/12 subject$\times$mode cells), serving as proxies for structured reasoning in verifiable domains, while cutting content-matched KV storage by up to 118$\times$. These results position MI as a powerful steering method when guidance is persistent, structured, or expensive to keep in the visible transcript.
title Memory Inception: Latent-Space KV Cache Manipulation for Steering LLMs
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2605.06225