EMNLP Findings2025
SafeSwitch: Steering Unsafe LLM Behavior via Internal Activation Signals
Peixuan Han, Cheng Qian, Xiusi Chen, Yuji Zhang, Heng Ji, Denghui Zhang
摘要
Large language models (LLMs) exhibit exceptional capabilities across various tasks but also pose risks by generating harmful content.Existing safety mechanisms, while improving model safety, often lead to overly cautious behavior and fail to fully leverage LLMs' internal cognitive processes.Inspired by humans' reflective thinking capability, we first show that LLMs can similarly perform internal assessments about safety in their internal states.Building on this insight, we propose SafeSwitch, a dynamic framework that regulates unsafe outputs by utilizing the prober-based internal state monitor that actively detects harmful intentions, and activates a safety head that leads to safer and more conservative responses only when necessary.SafeSwitch reduces harmful outputs by approximately 80% on harmful queries while maintaining strong utility, reaching a Pareto optimal among several methods.Our method is also advantageous over traditional methods in offering more informative, context-aware refusals, and achieves these benefits while only tuning less than 6% of the original parameters.SafeSwitch demonstrates large language models' capacity for self-awareness and reflection regarding safety, offering a promising approach to more nuanced and effective safety controls.Codes for this work are available at https:// github.com/Hanpx20/SafeSwitch.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Rescorla-Wagner Steering of LLMs for Undesired Behaviors over Disproportionate Inappropriate Context 引用了 Locating and Editing Factual Associations in GPT
- LLMs Encode Harmfulness and Refusal Separately 引用了 Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!
- LLMs Encode Harmfulness and Refusal Separately 引用了 Refusal in Language Models Is Mediated by a Single Direction
- Language Models Are Capable of Metacognitive Monitoring and Control of Their Internal Activations 引用了 Refusal in Language Models Is Mediated by a Single Direction
引用它的顶会 Paper6
- LLMs Encode Harmfulness and Refusal SeparatelyJiachen Zhao, Jing Huang, Zhengxuan Wu, David Bau 等NeurIPS 2025 · 93 次引用
- Language Models Are Capable of Metacognitive Monitoring and Control of Their Internal ActivationsJi-An Li, Huadong Xiong, Robert C. Wilson, Marcelo G. Mattar 等NeurIPS 2025 · 49 次引用
- Self-Aligned Reward: Towards Effective and Efficient ReasonersPeixuan Han, ADIT KRISHNAN, Gerald Friedland, Jiaxuan You 等ICLR 2026 · 10 次引用
- GAVEL: Towards Rule-Based Safety through Activation MonitoringShir Rozenfeld, Rahul Pankajakshan, Itay Zloczower, Eyal Lenga 等ICLR 2026 · 4 次引用
- Rescorla-Wagner Steering of LLMs for Undesired Behaviors over Disproportionate Inappropriate ContextRushi Wang, Jiateng Liu, Cheng Qian, Yifan Shen 等EMNLP 2025
它引用的 Paper24
- Tree of Thoughts: Deliberate Problem Solving with Large Language ModelsShunyu Yao, Dian Yu, Jeffrey Zhao, Izhak Shafran 等NeurIPS 2023 · 5,068 次引用
- Locating and Editing Factual Associations in GPTKevin Meng, David Bau, Alex Andonian, Yonatan BelinkovNeurIPS 2022 · 3,415 次引用
- Let's Verify Step by StepHunter Lightman, Vineet Kosaraju, Yuri Burda, Harrison Edwards 等ICLR 2024 · 3,045 次引用
- Refusal in Language Models Is Mediated by a Single DirectionAndy Arditi, Oscar Obeso, Aaquib Syed, Daniel Paleka 等NeurIPS 2024 · 1,166 次引用
- Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!Xiangyu Qi, Yi Zeng, Tinghao Xie, Pin-Yu Chen 等ICLR 2024 · 1,104 次引用
相关 Paper
- ProSafePrune: Projected Safety Pruning for Mitigating Over-Refusal in LLMsZijun Chen, Wenbo Hu, Ya Li, Lei Miao 等ICLR 2026
- CARE: Decoding-Time Safety Alignment via Rollback and Introspection InterventionXiaomeng Hu, Fei Huang, Chenhan Yuan, Junyang Lin 等NeurIPS 2025 · 5 次引用
- Dynamic Evaluation with Cognitive Reasoning for Multi-turn Safety of Large Language ModelsLanxue Zhang, Yanan Cao, Yuqiang Xie, Fang Fang 等ACL 2025
- AlphaAlign: Incentivizing Safety Alignment with Extremely Simplified Reinforcement LearningYi Zhang, An Zhang, XiuYu Zhang, Leheng Sheng 等ICLR 2026 · 15 次引用
- Think Twice, Generate Once: Safeguarding by Progressive Self-ReflectionHoang Phan, Victor Li, Qi LeiEMNLP Findings 2025 · 1 次引用
