arXiv cs.AI· Andy Zeyi Liu, Michael Zhang, Ilana Greenberg, Adam Alnasser, Lucas Baker, John Sous·· 2 天前AI 评分39
Memory Inception:通过潜空间 KV cache 操作引导 LLM
Memory Inception: Latent-Space KV Cache Manipulation for Steering LLMs
AI 导读
一项 arXiv 研究提出 memory inception(MI),一种免训练的 LLM 引导方法,仅在选定层插入由文本导出的 KV cache,实现潜空间注意力引导。
正文 · 原文
Abstract: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.
| Subjects: | Machine Learning (cs.LG); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2605.06225 [cs.LG] |
| (or arXiv:2605.06225v3 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2605.06225 arXiv-issued DOI via DataCite |
Submission history
From: Andy Zeyi Liu [view email]
[v1]
Thu, 7 May 2026 13:19:33 UTC (2,782 KB)
[v2]
Sat, 9 May 2026 16:46:54 UTC (2,782 KB)
[v3]
Thu, 3 Dec 2026 14:51:42 UTC (4,992 KB)
来源:arXiv cs.AI · arxiv.org