NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Prompt–Activation Duality: Improving Activation Steering via Attention-Level Interventions

Diancheng Kang, Zheyuan, Ningshan Ma, Yue Huang, Zhaoxuan Tan, Meng Jiang

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: LLM Reasoning, Memory & RAG › Activation Steering for LLM Control · Type: new method · Keywords: activation steering, KV-cache contamination, dialogue coherence, attention intervention, persona steering

Areas: Safety & Security › Safe Alignment › Refusal and Activation Steering

Summary

The paper introduces Gated Cropped Attention-Delta steering (GCAD) to improve activation steering by extracting signals from system-prompt self-attention and applying them with token-level gating, which mitigates KV-cache contamination and enhances long-horizon coherence.

Explained to a 5-year-old

People sometimes want to tell a computer program to act like a certain character, like being friendly or funny. When we change the program many times, it can forget what it was supposed to do. The program also remembers everything it says, like a diary, and that memory can get mixed up. The new idea looks at how the program reads its instructions, which are like a set of rules. It takes only a tiny piece of the instruction that tells the program to be a certain way. This helps the program stay consistent and keep the character it was supposed to be throughout a long chat.

Explained to a 5-year-old, longer

A computer program can be told to act like a certain person, for example being polite or funny. When we change the program many times, it can forget what it was supposed to do. The program also remembers everything it says, like a diary, and that memory can get mixed up. The new idea looks at how the program reads its instructions, which are like a set of rules. It takes only a tiny piece of the instruction that tells the program to be a certain way. This tiny piece is called a steering signal, and it helps guide the program's behavior. The program then decides whether to use this signal for each word it writes. By using only a small part of the instruction, the program doesn't store too much of the change. This prevents the unwanted changes from building up over many words. As a result, the program can keep the same character for a long conversation. The experiments show that the program stays more consistent and doesn't drift away from the intended behavior. This makes it easier to have reliable conversations with computer programs that act like specific characters.

For a technical reader

Activation steering typically adds vectors to the residual stream at inference, but these perturbations can be stored in the model's KV cache, causing cumulative degradation over multi-turn dialogues. The paper identifies KV-cache contamination as a key failure mode and proposes extracting steering signals from the system-prompt contributions to self-attention. By applying token-level gating and cropping the attention deltas, the approach ensures that steering follows the prompt-mediated pathways already used for behavior control. Experiments on persona-steering tasks show that this method preserves intended traits while dramatically reducing coherence drift (from -18.6 to -1.9) and improving trait expression (from 78.0 to 93.1 at turn 10). The results demonstrate that aligning steering interventions with the model's internal attention mechanisms yields more reliable and consistent dialogue behavior.

Problem

Activation steering via residual-stream perturbations can degrade coherence over long dialogues because steered token states are stored in the model's cache and reused, causing cumulative drift.

Method

The approach extracts steering signals from the system-prompt contributions to self-attention, applies them with token-level gating, and uses cropped attention to avoid contaminating the KV cache, ensuring steering follows the prompt-mediated pathways used by the model for behavioral control.

Results

The approach improves average coherence drift from -18.6 to -1.9 and raises turn-10 trait expression from 78.0 to 93.1 across persona-steering experiments.

Contributions

It identifies KV-cache contamination as a failure mode of activation steering and proposes a method to extract steering signals from prompt-based attention with gating, thereby preserving trait control and enhancing long-horizon coherence.

Practical relevance

The findings make activation steering more reliable for interactive dialogue systems, enabling consistent behavior control in long conversations.

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