Constitutional Classifiers: Defending against Universal Jailbreaks across Thousands of Hours of Red Teaming
2025/01/31 by Mrinank Sharma, Meg Tong, Sharma, Mrinank +89 · 8 voices · 60 citations
Social Sciences · #Criminal Law and Evidence #Law, Rights, and Freedoms #Legal Systems and Judicial Processes
paper · pdf · doi:10.48550/arxiv.2501.18837
Abstract
Large language models (LLMs) are vulnerable to universal jailbreaks-prompting strategies that systematically bypass model safeguards and enable users to carry out harmful processes that require many model interactions, like manufacturing illegal substances at scale. To defend against these attacks, we introduce Constitutional Classifiers: safeguards trained on synthetic data, generated by prompting LLMs with natural language rules (i.e., a constitution) specifying permitted and restricted content. In over 3,000 estimated hours of red teaming, no red teamer found a universal jailbreak that could extract information from an early classifier-guarded LLM at a similar level of detail to an unguarded model across most target queries. On automated evaluations, enhanced classifiers demonstrated robust defense against held-out domain-specific jailbreaks. These classifiers also maintain deployment viability, with an absolute 0.38% increase in production-traffic refusals and a 23.7% inference overhead. Our work demonstrates that defending against universal jailbreaks while maintaining practical deployment viability is tractable.
Cited by
Discussions
- How to defend LLM-based systems from jailbreaks? Add more LLMs? Experienced infosec folks know this approach well. Now there are two models one needs to jailbreak :) arxiv.org/pdf/2501.18837 [bsky, 8 points, 3 comments]
- Anthropic's Constitutional Classifiers needs an open alternative
the promise is sweet — come up with a "constitution", a list of plain-text rules, and the rest can be automated. synthetic data, LLM f [bsky, 6 points, 0 comments]
- arxiv.org/abs/2501.188... [bsky, 3 points, 0 comments]
- Constitutional Classifiers from Anthropic can be used to defend large language models against universal jailbreaks
- use natural language rules to generate synthetic training data for safeguards
- fo [bsky, 2 points, 0 comments]
- arxiv.org/pdf/2501.18837 #hardening llm (: [bsky, 2 points, 1 comments]
- have you read anthropic's recent paper on constitutional classifiers? i feel there's a ton of low hanging alpha at the nexus of both approaches (i.e. SFT output classifier on SPRI convo examples inste [bsky, 1 points, 1 comments]
- This is interesting! Confront universal jailbreaks with a practical approach using "Constitutional Classifiers." Define a clear content constitution and generate synthetic training data to build robus [bsky, 0 points, 0 comments]
- Thoroughly enjoyed reading the paper on constitutional classifiers for defending against universal jailbreaks in #AI #AISecurity #AISafety #TechSky
arxiv.org/pdf/2501.18837 [bsky, 0 points, 0 comments]
Related