Constitutional Classifiers: Defending against Universal Jailbreaks across Thousands of Hours of Red Teaming

Mrinank Sharma, Meg Tong, Jesse Mu, Jerry Wei, Jorrit Kruthoff, Scott Goodfriend, Euan Ong, Alwin Peng, Raj Agarwal, Cem Anil, Amanda Askell, Nathan Bailey, Joe Benton, Emma Bluemke, Samuel R. Bowman, Eric Christiansen, Hoagy Cunningham, Andy Dau, Anjali Gopal, Rob Gilson, Logan Graham, Logan Howard, Nimit Kalra, Taesung Lee, Kevin Lin, Peter Lofgren, Francesco Mosconi, Clare O'Hara, Catherine Olsson, Linda Petrini, Samir Rajani, Nikhil Saxena, Alex Silverstein, Tanya Singh, Theodore R. Sumers, Leonard Tang, Kevin K. Troy, Constantin Weisser, Ruiqi Zhong, Giulio Zhou, Jan Leike, Jared Kaplan, Ethan PerezarXiv 2025 · DOI

Abstract

Large Language Models (LLMs) face significant security risks from "universal jailbreaks"—systematic prompting strategies designed to bypass safety filters. This paper presents Constitutional Classifiers, a robust defense framework trained on synthetic data generated from natural language "constitutions." Through a massive red-teaming effort spanning over 3,000 hours, the system successfully blocked all attempts at universal jailbreaks in high-stakes domains like Chemical, Biological, Radiological, and Nuclear (CBRN) safety. The results demonstrate that high-level safety can be integrated into production environments with minimal impact on latency or general model performance.

Introduction

While many adversarial prompts are "one-offs," universal jailbreaks represent a more severe threat: reliable, often automated strategies capable of extracting detailed, actionable, and harmful information across diverse queries. Current defenses often struggle to balance robustness with flexibility and practical viability. Anthropic's Constitutional Classifier framework addresses these challenges by creating a multi-layered defense that is easy to update and efficient enough for real-time streaming applications.

The Constitutional Classifier Framework

The core innovation lies in moving away from slow, expensive human-labeled data toward a "Constitution"—a set of natural language rules defining safety boundaries.

The system employs a dual-layer architecture:

  1. Input Classifier: Blocks malicious prompts before they reach the model.
  2. Output Classifier: Monitors the model's response in real-time.

To ensure robustness, the classifiers are trained on synthetic data generated by a "helpful-only" model following the constitution. This data is further augmented with transformations like multi-language translation, paraphrasing, and known jailbreak templates (e.g., "DAN"). A key technical feature is the use of a "value head" in the output classifier, which predicts the harmfulness of the entire sequence at every token, allowing the system to terminate a response mid-sentence if a violation is detected.

Evaluation and Red Teaming

The framework was put to the test through an extensive bug-bounty program via HackerOne, involving 405 participants and over 3,000 hours of manual red teaming.

The evaluation utilized a detailed scoring rubric to measure how much actionable information a model leaked. Beyond human testing, the system was evaluated against:

  • Held-out Jailbreaks: 5,681 novel adversarial attempts.
  • Production Traffic: 5,000 real-world conversations from Claude.ai to measure "over-refusal" (false positives).
  • Technical Benchmarks: GPQA and MMLU (Chemistry) to ensure legitimate scientific queries weren't blocked.

Key Results and Insights

  • Unprecedented Robustness: Zero human red teamers found a universal jailbreak that could consistently extract harmful CBRN information. The system blocked 95% of held-out automated jailbreaks, a significant improvement over the 14% blocked by standard safety training alone.
  • Minimal Production Impact: The classifiers added only a 0.38% absolute increase in refusals on general traffic and a manageable 23.7% inference overhead.
  • Scalability and Agility: Safety robustness improved as the classifier model size increased. Furthermore, updating safety policies is as simple as editing the natural language constitution and re-running the synthetic data pipeline.
  • The "Swiss Cheese" Model: By stacking independent layers (input classifier, model safety training, and output classifier), the system ensures that vulnerabilities in one layer are caught by another.

Limitations and Future Work

Despite its success, the system faces challenges in highly technical domains. The classifiers showed a 26% false-positive rate on advanced chemistry questions (GPQA), highlighting the difficulty of distinguishing between "weaponization" and "advanced research." Additionally, some red teamers engaged in "rubric gaming," forcing the model to generate verbose but useless technical jargon to achieve higher scores without providing actual harmful utility. Future work will focus on scaling and refining "harmlessness" constitutions to better handle specialized scientific contexts.

Summary updated

BibTeX
@misc{sharma2025constitutional,
  author = {Mrinank Sharma and Meg Tong and Jesse Mu and Jerry Wei and Jorrit Kruthoff and Scott Goodfriend and Euan Ong and Alwin Peng and Raj Agarwal and Cem Anil and Amanda Askell and Nathan Bailey and Joe Benton and Emma Bluemke and Samuel R. Bowman and Eric Christiansen and Hoagy Cunningham and Andy Dau and Anjali Gopal and Rob Gilson and Logan Graham and Logan Howard and Nimit Kalra and Taesung Lee and Kevin Lin and Peter Lofgren and Francesco Mosconi and Clare O'Hara and Catherine Olsson and Linda Petrini and Samir Rajani and Nikhil Saxena and Alex Silverstein and Tanya Singh and Theodore R. Sumers and Leonard Tang and Kevin K. Troy and Constantin Weisser and Ruiqi Zhong and Giulio Zhou and Jan Leike and Jared Kaplan and Ethan Perez},
  title = {{Constitutional Classifiers: Defending against Universal Jailbreaks across Thousands of Hours of Red Teaming}},
  year = {2025},
  eprint = {2501.18837},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.18837},
}
Figure