Probing and Steering Safety-Related Behaviors in Large Language ModelsProbing and Steering for Safety-Relevant Behaviours in Large Language Models
Translation in progress — untranslated text is omitted.
The paper uses a unified pipeline on Llama-3.1-8B-Instruct to examine how activation probe design choices affect the detection and steering of three safety-related behaviors: deception, high-risk perception, and sycophancy. The pipeline crosses two estimators, mean difference and logistic regression, with three token pooling schemes, last-token, mean, and learnable attention, selects an appropriate layer for each behavior, and evaluates each direction both as a detector and as a steering vector. The read-write separation pattern suggested by prior work, namely that logistic regression detects best and mean-difference directions steer best, holds for deception and high-risk perception but reverses for sycophancy, and the paper states that the reversal appears to stem partly from the data rather than the estimator. The best pooling scheme and layer choice depend on the behavior and the data, the layer with the best steering effect may be far earlier than the layer with the best detection effect, and the two steering metrics, changing model perception and eliciting behavior, may point in opposite directions. The exported probes and directions support an interactive interface where users can directly score and steer text.
- Activation probes can both detect safety-relevant behaviors and use their directions to steer behavior, but prior studies each examined only a single behavior, estimator, or pooling scheme, making conclusions hard to compare across studies. The authors want to clarify how estimator, pooling, and layer selection jointly determine a direction's effectiveness at detection and steering.
- Build a shared pipeline on Llama-3.1-8B-Instruct: two estimators (mass-mean, logistic regression) × three poolings (last, mean, learned attention), across three behaviors—deception, high-risk, sycophancy—using AUROC to select the detection layer and NIE to select the steering layer block, with each direction evaluated simultaneously for detection and steering.
- The authors state that the read/write dissociation (LR detects best, MM steers best) holds for deception and high-risk and reverses for sycophancy (MM (last) detects best, LR-attention steers best); NIE readings and LLM-judged behavior scores often disagree, and at the sycophancy +1 coefficient they are even opposite.
- Limitations noted by the authors: the sycophancy probe was not tested against the echo shortcut; the judge model was not calibrated against human ratings; the last-token direction was not steered; both layer selections were anchored on mass-mean. Experiments were conducted on only one model, Llama-3.1-8B-Instruct, and the authors plan to rerun on a 70B model in the future.
Related papers
- Detecting Strategic Deception Using Linear ProbesDefensesarXiv