
Steering Vector
A steering vector is a mathematical instruction that is fed directly into the internal states of an AI language model in order to specifically alter its behavior – without retraining the model. This can be used, for example, to control whether a model responds more pessimistically or optimistically.
An AI language model processes text internally as lists of numbers, so-called activations. At any given moment, these numbers describe which “state” the model is in — whether it is currently thinking about something sad, technical, or dangerous. A steering vector is such a list of numbers that is added into this state from the outside in order to steer the model in a particular direction. This does not change the model itself, only its momentary state during a request.
Intervention without retraining
Normally there are two ways to change a model’s behavior. First: you retrain it — which costs weeks of time and a lot of computing power. Second: you phrase the request differently, hoping the model recognizes the intent. Steering vectors offer a third way. They intervene directly in the processing, without requiring retraining or dependence on the right wording.
This is especially relevant for safety research. Researchers want to understand how models internally handle concepts like “lying,” “danger,” or “refusal.” With steering vectors, they can specifically strengthen or weaken these concepts and observe what happens. This makes it possible to test hypotheses about a model’s internal structure.
How a steering vector is created
To create a steering vector, you need pairs of example sentences: one sentence that contains a concept, and a sentence as similar as possible that does not contain it. For example: “I am happy” and “I am sad.” The model is made to process both sentences, and the activations that result are observed. The steering vector is then the difference — that is, the direction in which the numbers shift when the concept appears.
This difference vector can then be applied to any new requests. It is added to the activations before the model generates its response. The more strongly it is weighted, the more clearly the behavior changes. If the “cheerfulness” vector is amplified strongly enough, the model will respond with unnatural optimism even to bleak questions.
A common misconception is to confuse steering vectors with simple prompting. With prompting, you change the text of the input. With steering, you intervene one level deeper: in the numbers with which the model internally computes. This makes steering vectors more robust against attempts to trick the model through clever wording.
Steering vectors in research and practice
The method became known through work by Anthropic and the Alignment Forum, a platform for AI safety research. There, in 2023, researchers showed that models can be made to talk or stay silent about certain topics through steering — even when the original text contained no hint of it whatsoever. Since then, activation steering has been an active field of research.
In practice, the technique could be used to make models more reliable in certain contexts — for example, a customer service model that consistently remains factual without needing to be specially trained for it. At the same time, the experiments show that models possess internal structures that correspond remarkably well to human concepts. This is an important finding for the field of interpretability, i.e., the research that seeks to understand what is actually going on inside a model.
Steering vectors therefore appear regularly in reports on AI safety, whenever the question is whether and how model behavior can be controlled. They are not a finished product, but a tool of basic research — one that shows that the inner world of language models is more structured than it appears from the outside.