Enhancing Model Defense Against Jailbreaks with Proactive Safety Reasoning
Xianglin Yang, Gelei Deng, Jieming Shi, Tianwei Zhang, Jin Song Dong

TL;DR
This paper introduces Safety Chain-of-Thought (SCoT), a proactive safety reasoning method that improves LLM defenses against jailbreaks by analyzing harmful inputs before response generation, surpassing traditional reactive approaches.
Contribution
The paper presents SCoT, a novel reasoning-based defense that enhances LLM safety by proactively assessing harmful requests and generating detailed refusals, outperforming existing methods.
Findings
SCoT significantly reduces vulnerability to jailbreak attacks.
SCoT improves generalization across diverse harmful queries.
SCoT maintains strong language modeling capabilities.
Abstract
Large language models (LLMs) are vital for a wide range of applications yet remain susceptible to jailbreak threats, which could lead to the generation of inappropriate responses. Conventional defenses, such as refusal and adversarial training, often fail to cover corner cases or rare domains, leaving LLMs still vulnerable to more sophisticated attacks. We propose a novel defense strategy, Safety Chain-of-Thought (SCoT), which harnesses the enhanced \textit{reasoning capabilities} of LLMs for proactive assessment of harmful inputs, rather than simply blocking them. SCoT augments any refusal training datasets to critically analyze the intent behind each request before generating answers. By employing proactive reasoning, SCoT enhances the generalization of LLMs across varied harmful queries and scenarios not covered in the safety alignment corpus. Additionally, it generates detailed…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Safety Systems Engineering in Autonomy · Information and Cyber Security
