# Minimally Invasive Steering of Language Models

*Taha Entesari, Jingyu, Daniel Khashabi, Mahyar Fazlyab*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/153525) · [Open on the map](../papers.html#p153525)

Category: [LLM Reasoning, Memory & RAG](../pcat/19.md) › [Activation Steering for LLM Control](../pgroup/108.md) · Type: new method · Keywords: test-time alignment, language model steering, KL-based regularization, Fisher quadratic penalty, reward-driven adaptation

Areas: [RL for LLMs & Agents](../areas/llm-rl.md) › Language Model Alignment › Fine-Tuning Methods

## Summary
We introduce a minimally invasive pre-logit steering method that optimizes additive interventions to frozen LLM hidden states to improve reward while preserving base model behavior via a KL-based effort penalty.

## Explained to a 5-year-old
A big computer brain called a language model can be helped by tiny nudges when it is used, without changing its memory. These nudges are chosen so the brain still works like before but does better at the task. The nudges are made using a special rule that measures how much the brain might get confused. This helps when the reward (what we want) changes often or is hidden from the brain. The method lets us align the brain safely at test time, keeping it stable and useful.

## Explained to a 5-year-old, longer
A language model is a big computer program that can talk and write. Sometimes we want it to do something different when we use it, but we don’t want to change its whole brain. So we give it small pushes, called nudges, that help it follow new goals. These nudges are added to its hidden parts, so the original model stays untouched. To make sure the nudges are not too strong, we use a rule that measures how much the model might get confused. This rule comes from a kind of math that looks at how the model’s outputs change. The math tells us how to compute the nudges quickly, even for long texts. We also split the nudges into two parts: one that follows the model’s usual pattern and another that follows the new reward. For small nudges, the two parts work almost the same, which makes the method reliable. This way we can align the model at test time, when the reward may be user-specific or change over time. The method is training-free, meaning we don’t need to retrain the whole model. Overall, it gives a safe and efficient way to steer language models without breaking what they already know.

## For a technical reader
The paper presents a way to adjust a frozen large language model at inference time by adding small vectors to its hidden representations, which improves a reward signal without changing the model’s parameters. Instead of using a simple L2 penalty, the method derives a regularization term from the KL divergence between the steered and original token distributions, giving a principled measure of deviation. This regularization can be computed efficiently using analytic gradients that involve matrix-vector products with the model’s output head, making it as cheap as a quadratic penalty. The gradient of the KL divergence is split into an analytic Fisher component and a trajectory-dependent score-function component, and a set of surrogate approximations are introduced that are equivalent to first order for small steering. The result is a training-free, reward-driven alignment procedure that lets practitioners steer language models safely and efficiently in dynamic environments.

## Problem
Adapting large language models to runtime objectives without updating parameters is challenging because reward signals can be user-specific or black-box, and naive interventions may deviate too far from the base model. The problem is to align models at test time while keeping changes minimal and controllable.

## Method
The approach adds steering vectors to hidden states and regularizes them with a KL-based effort penalty derived from a Fisher-quadratic form, enabling analytic gradients via matrix-vector products. It decomposes the KL gradient into an analytic Fisher component and a trajectory-dependent score-function component, using surrogates that are equivalent for small steering. This yields a training-free, reward-driven alignment procedure.

## Contributions
A principled KL-based effort penalty for steering that admits analytic gradients, a decomposition of the KL gradient into Fisher and score-function terms, and a hierarchy of Fisher surrogates with provable equivalence for small steering, enabling training-free test-time alignment.

## Research questions this paper is counted under

- [How can we adapt large language models efficiently while balancing plasticity, data efficiency, and preservation of existing capabilities?](../q/35.md)

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](../feedback/?on=p/153525)
