Skip to content

SafeSwitch: Regulating Unsafe Behavior in LLMs Using Internal Activation SignalsSafeSwitch: Steering Unsafe LLM Behavior via Internal Activation Signals

arXiv· arXiv:2502.01042· Findings of EMNLP 2025· Peixuan Han, Cheng Qian, Xiusi Chen, Yuji Zhang, Heng Ji, Denghui Zhang·Indexed by this site · 19 days ago· Originally publishedDefenses
AI summary

Researchers propose SafeSwitch, a dynamic framework that detects harmful intent through probe-based internal state monitoring and activates safety heads only when necessary, reducing harmful outputs on harmful queries by about 80%. The method also maintains strong model utility, achieves Pareto optimality among several methods, and can provide more informative, context-aware refusals, while fine-tuning less than 6% of the original parameters; the code is open-sourced on GitHub.

Read originalFindings of EMNLP 2025