NeurIPS 2026QuestionsPapersAreasAboutMarkdown

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

Zeyi, Michael Zhang, Ilana Greenberg, Adam Alnasser, Lucas Baker, John Sous

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: LLM Reasoning, Memory & RAG › Activation Steering for LLM Control · Type: new method · Keywords: LLM steering, latent-space KV cache, memory-efficient prompting, attention manipulation, training-free steering

Areas: LLM Reasoning › Efficient Reasoning › Memory and Forgetting; Memory › Agent Memory Systems › Memory Augmentation; AI Agents › Agent Capabilities › Agentic RAG

Summary

Memory Inception (MI) steers LLMs by inserting text-derived key-value banks into selected attention layers, offering a training-free balance between prompting and activation steering with strong control and low memory overhead.

Explained to a 5-year-old

We want to tell a big computer brain how to act. Instead of writing long instructions each time, we hide little notes inside its memory. These notes help guide its answers without taking up a lot of space. The notes are placed in special spots inside the brain’s thinking layers. This way the brain can remember what we want it to do for a long time.

Explained to a 5-year-old, longer

We want to tell a big computer brain how to act. Instead of writing long instructions each time, we hide little notes inside its memory. These notes help guide its answers without taking up a lot of space. The notes are placed in special spots inside the brain’s thinking layers. This way the brain can remember what we want it to do for a long time. The notes are like tiny reminders that the brain can look at when it needs them. They are not shown to the user, so they stay hidden. The brain uses these notes to steer its behavior, like gently nudging it in the right direction. This helps the brain stay consistent across many questions. It also saves memory because we don’t need to keep huge instruction texts. The method works without training the brain, so it’s quick to set up. It can be used for many different tasks, like making the brain answer politely or solve physics problems. Overall, it gives a clever way to guide the brain quietly and efficiently.

For a technical reader

The paper addresses the trade-off between prompt-based steering and activation steering in large language models. It proposes inserting key-value banks derived from guidance text into selected attention layers, allowing the model to recall steering information without storing full prompts. This latent-space manipulation is training-free and reuses pre-RoPE keys for efficiency. Evaluations on personality-steering and physics reasoning benchmarks show performance comparable to prompting while drastically reducing memory usage. The approach is particularly useful when persistent, structured guidance is needed in long interactions.

Problem

Steering LLMs often relies on either prompting, which can clutter long interactions due to cached guidance tokens, or activation steering, which is compact but provides weaker, less fine-grained control. There is a need for a method that combines strong control with low memory overhead and fine-grained, structured guidance.

Method

The approach inserts text-derived key-value banks at selected layers of the model’s attention, treating steering as selective KV allocation. It formulates steering as attention over prompt, target, reference, and auxiliary banks, using canonical pre-RoPE key storage for reuse. This is done without any training, making it a training-free method.

Results

On personality-steering tasks, the approach matches or exceeds prompting in control strength and matches contrastive activation addition in drift mitigation. On the PHYSICS benchmark it outperforms visible prompting on average, wins 10 out of 12 subject times mode cells, and reduces content-matched KV storage by up to 118×.

Contributions

A training-free steering method that manipulates latent-space KV caches to provide strong, fine-grained, and memory-efficient guidance. Demonstrations on personality-steering and physics reasoning tasks show competitive performance and substantial reductions in KV storage.

Practical relevance

It enables persistent, structured guidance for LLMs with low memory overhead, useful in long-running interactions and applications requiring compact reminders.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction