Kernelized Activation Steering
Laziz Abdullaev, Minh-Hieu Pham, Bach Do, Khoat Than, Tan Nguyen
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: LLM Reasoning, Memory & RAG › Activation Steering for LLM Control · Type: new method · Keywords: activation steering, kernel methods, nonlinear interventions, generative model control, LLM alignment
Summary
Kernelized Activation Steering (KAS) lifts activation steering into a reproducing kernel Hilbert space to produce locally adaptive, nonlinear steering that outperforms existing methods such as DiM.
Explained to a 5-year-old
We want to tell a computer how to change the way it thinks to make it nicer or more helpful. Right now, people give it one simple direction that works everywhere. This paper makes a new way that gives different directions depending on where the computer is thinking. It uses a special math trick that works like a smooth brush to adjust the thoughts a little at a time. This helps the computer be nicer and also keep its ideas organized.
Explained to a 5-year-old, longer
Imagine a computer program that creates stories, pictures, or answers. Sometimes we want it to be friendly, funny, or helpful. To do that, we give it a direction, like a nudge, so it will think in a certain way. The old way gives the same nudge everywhere, even where it might not fit. This paper makes a new kind of nudge that changes depending on where the program is thinking. It uses a special math idea that looks at how close the thoughts are to each other. This helps the nudge be smoother and more precise. It can make the program nicer in some places while leaving other parts unchanged. The new method also works like the old one when we use a simple brush, so it is not completely different. It can be used to stop bad answers, change the style of pictures, or make the program more helpful. This makes the computer smarter about how to adjust its own thoughts. It also helps researchers understand how to control AI better. Overall, the new approach is easier to use and works better than the old one.
For a technical reader
The paper introduces a kernel-based framework that formulates activation steering as an optimization problem using kernel evaluations, producing activation-dependent steering scores. This enables locally adaptive, nonlinear interventions while preserving the original linear steering as a special case. Experiments on jailbreaking LLMs and image style control show consistent improvements over existing methods.
Problem
Standard activation steering methods apply a single input-independent steering vector across all activations, which limits expressivity and ignores the local structure of the activation space.
Method
The approach lifts activation steering into a reproducing kernel Hilbert space, formulating steering as an optimization problem using kernel evaluations to produce an activation-dependent steering score, enabling locally adaptive, nonlinear steering while recovering the linear case as a special case.
Results
The approach consistently outperforms existing methods on standard activation steering tasks.
Contributions
It introduces a unifying kernel-based framework that enables locally adaptive, nonlinear steering, recovers the linear case as a special case, and provides geometry-aware interventions.
Practical relevance
It enables more precise control over generative model attributes such as sentiment, style, and helpfulness, facilitating safer and more aligned AI systems.
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