Activation Steering: Steering Vectors and Representation Engineering › Activation Steering
Language AI HandbookAll chapters Activation Steering: Steering Vectors and Representation Engineering › Activation SteeringSection view · Sections in this chapter1 / 13 ↓
Reading tools Definitions, links & notes
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
If you could reach into a language model's internal computation and nudge it in a specific direction, what would you change? That question drives the field of activation steering: a family of techniques that directly modify the hidden states of a transformer at inference time to shift the model's behavior in predictable, measurable ways. Unlike prompting, which works through the model's input, or fine-tuning, which works through gradient updates to the model's weights, activation steering works through the model's internal activations, the continuous-valued vectors that flow between layers and carry the model's running representation of the input.
The appeal is immediate. Prompting is indirect: you describe what you want and hope the model interprets it correctly. Fine-tuning is expensive: it requires labeled data, GPU time, and careful hyperparameter tuning. Activation steering is direct and cheap. You find the direction in activation space that corresponds to the behavior you want, add it during inference, and the model moves. The whole pipeline can be accomplished in a few minutes with a handful of example prompts.
Activation steering connects interpretability with model control. The interpretability work covered in prior chapters gave us tools for understanding what a model has learned: attention patterns in the Attention Visualization chapter revealed which tokens the model attends to; probing classifiers located linguistic features in residual stream representations; sparse autoencoders decomposed activations into interpretable features; and mechanistic interpretability's circuit-level analysis traced computation through specific attention heads and MLP neurons. Activation steering takes that understanding one step further. Instead of merely observing what a model knows, it asks whether we can use that knowledge to change what a model does.
The core insight is deceptively simple. If a model's internal representations encode concepts as directions in activation space, then adding a vector that points in the direction of a concept should increase the model's tendency to express that concept, while subtracting it should suppress the concept. This idea, sometimes called "activation addition," lets researchers and practitioners shift model behavior without retraining, fine-tuning, or modifying weights.
The practical stakes are concrete. Activation steering has been used to suppress harmful outputs, amplify specific reasoning styles, shift a model from one persona to another, and test causal hypotheses about how internal representations influence behavior. It also raises deep questions about the nature of representation in neural networks, since the technique works best when concepts are linearly encoded, which is itself an empirically testable claim for how we understand transformer models.
This chapter covers the full field of activation steering: the theoretical grounding in the linear representation hypothesis, how steering vectors are constructed and applied, the more systematic framework of representation engineering, experimental findings, practical diagnostics, and current alignment and safety applications.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!