The Hidden Dimensions of LLM Alignment: A Multi-Dimensional Analysis of Orthogonal Safety Directions
Wenbo Pan, Zhichao Liu, Qiguang Chen, Xiangyang Zhou, Haining Yu, Xiaohua Jia
Abstract
Large Language Models' safety-aligned behaviors, such as refusing harmful queries, can be represented by linear directions in activation space. Previous research modeled safety behavior with a single direction, limiting mechanistic understanding to an isolated safety feature. In this work, we discover that safety-aligned behavior is jointly controlled by multi-dimensional directions. Namely, we study the vector space of representation shifts during safety fine-tuning on Llama 3 8B for refusing jailbreaks. By studying orthogonal directions in the space, we first find that a dominant direction governs the model's refusal behavior, while multiple smaller directions represent distinct and interpretable features like hypothetical narrative and role-playing. We then measure how different directions promote or suppress the dominant direction, showing the important role of secondary directions in shaping the model's refusal representation. Finally, we demonstrate that removing certain trigger tokens in harmful queries can mitigate these directions to bypass the learned safety capability, providing new insights on understanding safety alignment vulnerability from a multi-dimensional perspective. Code and artifacts are available at https://github.com/ BMPixel/safety-residual-space .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
7 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Toward Stable Value Alignment: Introducing Independent Modules for Consistent Value Guidance cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Toward Stable Value Alignment: Introducing Independent Modules for Consistent Value Guidance cites Inference-Time Intervention: Eliciting Truthful Answers from a Language Model
- Toward Stable Value Alignment: Introducing Independent Modules for Consistent Value Guidance cites Training language models to follow instructions with human feedback
- Detecting What Queries Seek: Steering LLM Safety with FFN Output Activation Monitoring cites Refusal in Language Models Is Mediated by a Single Direction
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model cites Language Models are Few-Shot Learners
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model cites Training language models to follow instructions with human feedback
- Inference-Time Intervention: Eliciting Truthful Answers from a Language Model cites Language Models are Few-Shot Learners
- Inference-Time Intervention: Eliciting Truthful Answers from a Language Model cites Training language models to follow instructions with human feedback
- Safety Depth in Large Language Models: A Markov Chain Perspective cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Safety Depth in Large Language Models: A Markov Chain Perspective cites Training language models to follow instructions with human feedback
- SOM Directions Are Better than One: Multi-Directional Refusal Suppression in Language Models cites Refusal in Language Models Is Mediated by a Single Direction
- Training language models to follow instructions with human feedback cites Language Models are Few-Shot Learners
- Safety Subspaces are Not Linearly Distinct: A Fine-Tuning Case Study cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Safety Subspaces are Not Linearly Distinct: A Fine-Tuning Case Study cites Training language models to follow instructions with human feedback
- Safety Subspaces are Not Linearly Distinct: A Fine-Tuning Case Study cites Refusal in Language Models Is Mediated by a Single Direction
- Refusal in Language Models Is Mediated by a Single Direction cites Inference-Time Intervention: Eliciting Truthful Answers from a Language Model
- Refusal in Language Models Is Mediated by a Single Direction cites Training language models to follow instructions with human feedback
Cited by top-tier papers7
- Safety Subspaces are Not Linearly Distinct: A Fine-Tuning Case StudyKaustubh Ponkshe, Shaan Shah, Raghav Singhal, Praneeth VepakommaICLR 2026 · 9 citations
- SOM Directions Are Better than One: Multi-Directional Refusal Suppression in Language ModelsGiorgio Piras, Raffaele Mura, Fabio Brau, Luca Oneto et al.AAAI 2026 · 4 citations
- Safety Depth in Large Language Models: A Markov Chain PerspectiveChing-Chia Kao, Chia-Mu Yu, Chun-Shien Lu, Chu-Song ChenNeurIPS 2025 · 2 citations
- Toward Stable Value Alignment: Introducing Independent Modules for Consistent Value GuidanceWenhao Chen, Sirui Sun, Shengyuan Bai, Guojie SongICML 2026
- Detecting What Queries Seek: Steering LLM Safety with FFN Output Activation MonitoringXiaohao Luo, Ying Wei, Rui ZhaoACL 2026
Builds on21
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
- Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning et al.NeurIPS 2023 · 10,924 citations
- Inference-Time Intervention: Eliciting Truthful Answers from a Language ModelKenneth Li, Oam Patel, Fernanda B. Viégas, Hanspeter Pfister et al.NeurIPS 2023 · 1,549 citations
- Refusal in Language Models Is Mediated by a Single DirectionAndy Arditi, Oscar Obeso, Aaquib Syed, Daniel Paleka et al.NeurIPS 2024 · 1,166 citations
Related papers
- The Geometry of Refusal in Large Language Models: Concept Cones and Representational IndependenceTom Wollschläger, Jannes Elstner, Simon Geisler, Vincent Cohen-Addad et al.ICML 2025
- LLMs Encode Harmfulness and Refusal SeparatelyJiachen Zhao, Jing Huang, Zhengxuan Wu, David Bau et al.NeurIPS 2025 · 93 citations
- Attack via Overfitting: 10-shot Benign Fine-tuning to Jailbreak LLMsZhixin Xie, Xurui Song, Jun LuoNeurIPS 2025 · 11 citations
- Beyond Surface Alignment: Rebuilding LLMs Safety Mechanism via Probabilistically Ablating Refusal DirectionYuanbo Xie, Yingjie Zhang, Tianyun Liu, Duohe Ma et al.EMNLP Findings 2025 · 2 citations
- Understanding Refusal in Language Models with Sparse AutoencodersWei Jie Yeo, Nirmalendu Prakash, Clement Neo, Ranjan Satapathy et al.EMNLP Findings 2025
