Improving Alignment and Robustness with Circuit Breakers

Andy Zou, Long Phan, Justin Wang, Derek Duenas, Maxwell Lin +5 more
2/3/2026

No official code found. Best implementation: GraySwanAI/circuit-breakers (264 stars, MIT, last commit 2024-09-24).

Abstract

AI systems can take harmful actions and are highly vulnerable to adversarial attacks. We present an approach, inspired by recent advances in representation engineering, that interrupts the models as they respond with harmful outputs with"circuit breakers."Existing techniques aimed at improving alignment, such as refusal training, are often bypassed. Techniques such as adversarial training try to plug these holes by countering specific attacks. As an alternative to refusal training and adversarial training, circuit-breaking directly controls the representations that are responsible for harmful outputs in the first place. Our technique can be applied to both text-only and multimodal language models to prevent the generation of harmful outputs without sacrificing utility -- even in the presence of powerful unseen attacks. Notably, while adversarial robustness in standalone image recognition remains an open challenge, circuit breakers allow the larger multimodal system to reliably withstand image"hijacks"that aim to produce harmful content. Finally, we extend our approach to AI agents, demonstrating considerable reductions in the rate of harmful actions when they are under attack. Our approach represents a significant step forward in the development of reliable safeguards to harmful behavior and adversarial attacks.

View on arXivView PDF

Code Implementations(1)

MIT

Improving Alignment and Robustness with Circuit Breakers

26442Shell, PythonJun 6, 20242 years agoMIT

Similar Papers

Cite this paper

@article{zou2026improving,
  title  = {Improving Alignment and Robustness with Circuit Breakers},
  author = {Andy Zou and Long Phan and Justin Wang and Derek Duenas and Maxwell Lin and Maksym Andriushchenko and Rowan Wang and Zico Kolter and Matt Fredrikson and Dan Hendrycks},
  year   = {2026},
  eprint = {2406.04313},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2406.04313},
  url    = {https://arxiv.org/abs/2406.04313},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.04313.svg)](https://codeofpaper.com/paper/2406.04313)

Discussion