One-shot Optimized Steering Vectors Mediate Safety-relevant Behaviors in LLMs
On the map: Mechanistic interpretability → Steering and probing for LLM safety
Abstract (arXiv)
Steering vectors (SVs) have emerged as a promising approach for interpreting and controlling LLMs, but current methods typically require large contrastive datasets that are often impractical to construct and may capture spurious correlations. We propose directly optimizing SVs through gradient descent on a single training example, and systematically investigate how these SVs generalize. We consider several SV optimization techniques and find that the resulting SVs effectively mediate safety-relevant behaviors in multiple models. Indeed, in experiments on an alignment-faking model, we are able to optimize one-shot SVs that induce harmful behavior on benign examples and whose negations suppress harmful behavior on malign examples. And in experiments on refusal suppression, we demonstrate that one-shot optimized SVs can transfer across inputs, yielding a Harmbench attack success rate of 96.9%. Furthermore, we extend work on "emergent misalignment" and show that SVs optimized to induce a model to write vulnerable code cause the model to respond harmfully on unrelated open-ended prompts. Finally, we use one-shot SV optimization to investigate how an instruction-tuned LLM recovers from outputting false information, and find that this ability is independent of the model's explicit verbalization that the information was false. Overall, our findings suggest that optimizing SVs on a single example can mediate a wide array of misaligned behaviors in LLMs. Code can be found at https://github.com/jacobdunefsky/one-shot-steering-repro and https://github.com/jacobdunefsky/one-shot-steering-misalignment.
Key facts. Cited by 29 papers in the map (data through 14 Oct 2026). Placed in Steering and probing for LLM safety, one of 13 directions in Mechanistic interpretability. Builds on 19 of its 43 references that are in the map. First posted on arXiv 26 Feb 2025.
Builds on
19 of 43 references.
References · 19
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
- 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,336
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,302
- 2024Qwen2.5-Coder Technical Reportcited by 1,203
- 2023Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Promptingcited by 1,122
- 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,085
- 2024Refusal in Language Models Is Mediated by a Single Directioncited by 1,032
- 2023In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steeringcited by 245
- 2022Extracting Latent Steering Vectors from Pretrained Language Modelscited by 225
7 more
- 2024Latent Adversarial Training Improves Robustness to Persistent Harmful Behaviors in LLMscited by 173
- 2025Emergent Misalignment: Narrow finetuning can produce broadly misaligned LLMscited by 172
- 2023Inspecting and Editing Knowledge Representations in Language Modelscited by 141
- 2024Personalized Steering of Large Language Models: Versatile Steering Vectors Through Bi-directional Preference Optimizationcited by 118
- 2023Bypassing the Safety Training of Open-Source LLMs with Priming Attackscited by 50
- 2024Relational Composition in Neural Networks: A Survey and Call to Actioncited by 23
- 2024Poser: Unmasking Alignment Faking LLMs by Manipulating Their Internalscited by 13
Built on by
Citing papers per year: 2025: 7; 2026: 22.
29 papers.
Sort:
By area:
- 2026Subliminal Steering: Stronger Encoding of Hidden Signalscited by 14
- 2025Must Read: A Comprehensive Survey of Computational Persuasioncited by 13
- 2026Where is the Mind? Persona Vectors and LLM Individuationcited by 10
- 2026Emergent and Subliminal Misalignment Through the Lens of Data-Mediated Transfercited by 8
- 2026The Cylindrical Representation Hypothesis for Language Model Steeringcited by 5
- 2026Activation Steering for Aligned Open-ended Generation without Sacrificing Coherencecited by 4
- 2025But what is your honest answer? Aiding LLM-judges with honest alternatives using steering vectorscited by 3
- 2025Breaking the Mirror: Activation-Based Mitigation of Self-Preference in LLM Evaluatorscited by 3
- 2025Task Vectors, Learned Not Extracted: Performance Gains and Mechanistic Insightcited by 3
- 2025Minimal and Mechanistic Conditions for Behavioral Self-Awareness in LLMscited by 2
- 2026AI Steerability 360: A Toolkit for Steering Large Language Modelscited by 2
- 2026Activation Steering Induces Emergent Misalignment: A More Comprehensive Evaluationcited by 2
17 more
- 2026Detecting and Controlling Sycophancy with Cascading Linear Featurescited by 2
- 2025Confidence is Not Competencecited by 1
- 2026One-shot Optimized Steering Vector for Hallucination Mitigation for VLMscited by 1
- 2026Spilled Energy in Large Language Modelscited by 1
- 2026Efficient Refusal Ablation in LLM through Optimal Transportcited by 1
- 2026Latent-space Attacks for Refusal Evasion in Language Modelscited by 1
- 2026On the Limits of Steering Vectors for Preference-Aligned Generationcited by 1
- 2025Defending Large Language Models Against Jailbreak Exploits with Responsible AI Considerationscited by 0
- 2026Security-by-Design for LLM-Based Code Generation: Leveraging Internal Representations for Concept-Driven Steering Mechanismscited by 0
- 2026Steered Generation via Gradient-Based Optimization on Sparse Query Featurescited by 0
- 2026Harnessing the Latent Space: From Steering Vectors to Model Calibrators for Control and Trustcited by 0
- 2026On the Generalization of Steering Vectors for Chain-of-Thought Faithfulnesscited by 0
- 2026Safety Cost of Steering Vectors Is Separable and Reduciblecited by 0
- 2026Refusal geometry reflects refusal training: diverse refusal prefixes can raise stable rank and weaken refusal vector ablation attackscited by 0
- 2026Steering Geometry: Validating Human Value Geometry in LLM Steering Spacecited by 0
- 2026Activation Flow: Manufacturing Activations for Steeringcited by 0
- 2026The Sharp Directions Are Against You: Curvature Analysis of Activation Steeringcited by 0
- 2026The Sharp Directions Are Against You: Curvature Analysis of Activation Steering12 Oct 2026
- 2026Activation Flow: Manufacturing Activations for Steering26 Sep 2026
- 2026Steering Geometry: Validating Human Value Geometry in LLM Steering Space5 Sep 2026
- 2026Refusal geometry reflects refusal training: diverse refusal prefixes can raise stable rank and weaken refusal vector ablation attacks26 Aug 2026
- 2026Safety Cost of Steering Vectors Is Separable and Reducible9 Aug 2026
- 2026On the Generalization of Steering Vectors for Chain-of-Thought Faithfulness31 Jul 2026
- 2026On the Limits of Steering Vectors for Preference-Aligned Generation2 Jul 2026
- 2026Harnessing the Latent Space: From Steering Vectors to Model Calibrators for Control and Trust30 Jun 2026
- 2026Detecting and Controlling Sycophancy with Cascading Linear Features23 Jun 2026
- 2026Activation Steering Induces Emergent Misalignment: A More Comprehensive Evaluation7 Jun 2026
- 2026Steered Generation via Gradient-Based Optimization on Sparse Query Features21 May 2026
- 2026Latent-space Attacks for Refusal Evasion in Language Models20 May 2026
17 more
- 2026Emergent and Subliminal Misalignment Through the Lens of Data-Mediated Transfer12 May 2026
- 2026The Cylindrical Representation Hypothesis for Language Model Steering3 May 2026
- 2026Subliminal Steering: Stronger Encoding of Hidden Signals28 Apr 2026
- 2026Where is the Mind? Persona Vectors and LLM Individuation18 Apr 2026
- 2026Activation Steering for Aligned Open-ended Generation without Sacrificing Coherence9 Apr 2026
- 2026Security-by-Design for LLM-Based Code Generation: Leveraging Internal Representations for Concept-Driven Steering Mechanisms11 Mar 2026
- 2026AI Steerability 360: A Toolkit for Steering Large Language Models8 Mar 2026
- 2026Efficient Refusal Ablation in LLM through Optimal Transport4 Mar 2026
- 2026Spilled Energy in Large Language Models21 Feb 2026
- 2026One-shot Optimized Steering Vector for Hallucination Mitigation for VLMs30 Jan 2026
- 2025Defending Large Language Models Against Jailbreak Exploits with Responsible AI Considerations24 Nov 2025
- 2025Minimal and Mechanistic Conditions for Behavioral Self-Awareness in LLMs6 Nov 2025
- 2025Confidence is Not Competence24 Oct 2025
- 2025Task Vectors, Learned Not Extracted: Performance Gains and Mechanistic Insight29 Sep 2025
- 2025Breaking the Mirror: Activation-Based Mitigation of Self-Preference in LLM Evaluators3 Sep 2025
- 2025But what is your honest answer? Aiding LLM-judges with honest alternatives using steering vectors23 May 2025
- 2025Must Read: A Comprehensive Survey of Computational Persuasion12 May 2025
- 2026Subliminal Steering: Stronger Encoding of Hidden Signalscited by 14
- 2025But what is your honest answer? Aiding LLM-judges with honest alternatives using steering vectorscited by 3
- 2026Activation Steering Induces Emergent Misalignment: A More Comprehensive Evaluationcited by 2
- 2026Detecting and Controlling Sycophancy with Cascading Linear Featurescited by 2
- 2026Steered Generation via Gradient-Based Optimization on Sparse Query Featurescited by 0
- 2026Harnessing the Latent Space: From Steering Vectors to Model Calibrators for Control and Trustcited by 0
- 2026Safety Cost of Steering Vectors Is Separable and Reduciblecited by 0
- 2026The Sharp Directions Are Against You: Curvature Analysis of Activation Steeringcited by 0
- 2026The Sharp Directions Are Against You: Curvature Analysis of Activation Steering12 Oct 2026
- 2026Safety Cost of Steering Vectors Is Separable and Reducible9 Aug 2026
- 2026Harnessing the Latent Space: From Steering Vectors to Model Calibrators for Control and Trust30 Jun 2026
- 2026Detecting and Controlling Sycophancy with Cascading Linear Features23 Jun 2026
- 2026Activation Steering Induces Emergent Misalignment: A More Comprehensive Evaluation7 Jun 2026
- 2026Steered Generation via Gradient-Based Optimization on Sparse Query Features21 May 2026
- 2026Subliminal Steering: Stronger Encoding of Hidden Signals28 Apr 2026
- 2025But what is your honest answer? Aiding LLM-judges with honest alternatives using steering vectors23 May 2025
- 2025Breaking the Mirror: Activation-Based Mitigation of Self-Preference in LLM Evaluatorscited by 3
- 2026Efficient Refusal Ablation in LLM through Optimal Transportcited by 1
- 2026Latent-space Attacks for Refusal Evasion in Language Modelscited by 1
- 2026On the Limits of Steering Vectors for Preference-Aligned Generationcited by 1
- 2026Steering Geometry: Validating Human Value Geometry in LLM Steering Spacecited by 0
- 2026Steering Geometry: Validating Human Value Geometry in LLM Steering Space5 Sep 2026
- 2026On the Limits of Steering Vectors for Preference-Aligned Generation2 Jul 2026
- 2026Latent-space Attacks for Refusal Evasion in Language Models20 May 2026
- 2026Efficient Refusal Ablation in LLM through Optimal Transport4 Mar 2026
- 2025Breaking the Mirror: Activation-Based Mitigation of Self-Preference in LLM Evaluators3 Sep 2025
- 2026Activation Steering for Aligned Open-ended Generation without Sacrificing Coherencecited by 4
- 2025Defending Large Language Models Against Jailbreak Exploits with Responsible AI Considerationscited by 0
- 2026Refusal geometry reflects refusal training: diverse refusal prefixes can raise stable rank and weaken refusal vector ablation attackscited by 0
- 2026Refusal geometry reflects refusal training: diverse refusal prefixes can raise stable rank and weaken refusal vector ablation attacks26 Aug 2026
- 2026Activation Steering for Aligned Open-ended Generation without Sacrificing Coherence9 Apr 2026
- 2025Defending Large Language Models Against Jailbreak Exploits with Responsible AI Considerations24 Nov 2025
- 2025Must Read: A Comprehensive Survey of Computational Persuasioncited by 13
- 2026Where is the Mind? Persona Vectors and LLM Individuationcited by 10
- 2026Emergent and Subliminal Misalignment Through the Lens of Data-Mediated Transfercited by 8
- 2026The Cylindrical Representation Hypothesis for Language Model Steeringcited by 5
- 2025Task Vectors, Learned Not Extracted: Performance Gains and Mechanistic Insightcited by 3
- 2025Minimal and Mechanistic Conditions for Behavioral Self-Awareness in LLMscited by 2
- 2026AI Steerability 360: A Toolkit for Steering Large Language Modelscited by 2
- 2025Confidence is Not Competencecited by 1
- 2026Spilled Energy in Large Language Modelscited by 1
- 2026Security-by-Design for LLM-Based Code Generation: Leveraging Internal Representations for Concept-Driven Steering Mechanismscited by 0
- 2026Activation Flow: Manufacturing Activations for Steeringcited by 0
- 2026Activation Flow: Manufacturing Activations for Steering26 Sep 2026
- 2026Emergent and Subliminal Misalignment Through the Lens of Data-Mediated Transfer12 May 2026
- 2026The Cylindrical Representation Hypothesis for Language Model Steering3 May 2026
- 2026Where is the Mind? Persona Vectors and LLM Individuation18 Apr 2026
- 2026Security-by-Design for LLM-Based Code Generation: Leveraging Internal Representations for Concept-Driven Steering Mechanisms11 Mar 2026
- 2026AI Steerability 360: A Toolkit for Steering Large Language Models8 Mar 2026
- 2026Spilled Energy in Large Language Models21 Feb 2026
- 2025Minimal and Mechanistic Conditions for Behavioral Self-Awareness in LLMs6 Nov 2025
- 2025Confidence is Not Competence24 Oct 2025
- 2025Task Vectors, Learned Not Extracted: Performance Gains and Mechanistic Insight29 Sep 2025
- 2025Must Read: A Comprehensive Survey of Computational Persuasion12 May 2025
Similar, not cited
Close in wording, no citation either way
- 2026Analysing the Safety Pitfalls of Steering Vectors
- 2025The Rogue Scalpel: Activation Steering Compromises LLM Safety
- 2025AlphaSteer: Learning Refusal Steering with Principled Null-Space Constraint
- 2025Guiding Giants: Lightweight Controllers for Weighted Activation Steering in LLMs
- 2026Understanding and Preserving Safety in Fine-Tuned LLMs
- 2025AdaSteer: Your Aligned LLM is Inherently an Adaptive Jailbreak Defender
- 2025ARGUS: Defending Against Multimodal Indirect Prompt Injection via Steering Instruction-Following Behavior
- 2026Steering Externalities: Benign Activation Steering Unintentionally Increases Jailbreak Risk for Large Language Models