circuit-breakers logo

circuit-breakers

GraySwanAI/circuit-breakers

Improving Alignment and Robustness with Circuit Breakers

GraphCanon updated 2w · GitHub synced 2w

266 stars42 forksLast push 1y Jupyter Notebook MIT

Decision brief

Good fit when

  • If needing robust protection against adversarial attacks that do not compromise model capability
  • For projects seeking an alternative to refusal and adversarial training methods

Avoid when

  • When the focus is on enhancing content diversity rather than filtering harmful content
  • In scenarios where minimizing the alteration of original model output is critical

Observed Jul 16, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Dormant (679d since push)
As of 2w
Provenance
Not a fork · Organization account
As of 2w
Security (OSV)
No lockfile
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

git clone https://github.com/GraySwanAI/circuit-breakers

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

Presents Circuit Breaking, an approach to prevent AI systems from generating harmful content by altering harmful model representations, providing robust protection against adversarial attacks.

Capability facts

Languages
jupyter notebook

Source: github.language · Aug 5, 2026

Categories

Tags

README

Circuit Breakers

[Paper] | [Website] | [Models]

We present Circuit Breaking, a new approach inspired by representation engineering, designed to prevent AI systems from generating harmful content by directly altering harmful model representations. The family of circuit-breaking (or short-circuiting as one might put it) methods provide an alternative to traditional methods like refusal and adversarial training, protecting both LLMs and multimodal models from strong, unseen adversarial attacks without compromising model capability. Our approach represents a significant step forward in the development of reliable safeguards to harmful behavior and adversarial attacks.

Snapshot of LLM Results

Citation

If you find this useful in your research, please consider citing our paper:

@misc{zou2024circuitbreaker,
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={2024},
eprint={2406.04313},
archivePrefix={arXiv},
primaryClass={cs.LG}
}

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.