Understanding Reasoning in Thinking Language Models via Steering Vectors
Constantin Venhoff, Iván Arcuschin, Philip Torr, Arthur Conmy, Neel Nanda
TL;DR
The paper addresses how to control internal reasoning in thinking LLMs by introducing steering vectors that operate in activation-space directions. It defines a causal framework using Activation Patch- ing and the Difference of Means to extract vectors that modulate behaviors such as backtracking, uncertainty-estimation, and example testing, with validation across 500 tasks and three model sizes within the DeepSeek-R1-Distill family. The authors demonstrate inference-time, interpretable control by adding or subtracting steering vectors to residual activations, supported by attribution-patching for layer selection and consistent behavior shifts across models. These findings advance fine-grained, task-adaptive manipulation of thinking processes in LLMs and highlight both practical utility and avenues for future generalization and robustness, including annotation reliability and broader model applicability.
Abstract
Recent advances in large language models (LLMs) have led to the development of thinking language models that generate extensive internal reasoning chains before producing responses. While these models achieve improved performance, controlling their reasoning processes remains challenging. This work presents a steering approach for thinking LLMs by analyzing and manipulating specific reasoning behaviors in DeepSeek-R1-Distill models. Through a systematic experiment on 500 tasks across 10 diverse categories, we identify several reasoning behaviors exhibited by thinking models, including expressing uncertainty, generating examples for hypothesis validation, and backtracking in reasoning chains. We demonstrate that these behaviors are mediated by linear directions in the model's activation space and can be controlled using steering vectors. By extracting and applying these vectors, we provide a method to modulate specific aspects of the model's reasoning process, such as its tendency to backtrack or express uncertainty. Our approach offers practical tools for steering reasoning processes in thinking models in a controlled and interpretable manner. We validate our steering method using three DeepSeek-R1-Distill models, demonstrating consistent control across different model architectures.
