CircuitBreak prunes sparse safety neuron circuits to bypass model refusalCircuitBreak: Pruning a Sparse Safety Circuit of Neurons
CIRCUITBREAK pruned 38 neurons, increasing Llama-3.1-8B's ASR on StrongREJECT to 87.54%.
The white-box attacker has full access to model weights. The attack targets the Transformer's FFN sublayer (SwiGLU MLP); pruning neuron (l, i) zeroes its gate and up projection outputs in layer l, keeping all other parameters unchanged.
- White-box neuron pruning can remove safety refusal mechanisms in open-source models, but existing methods evaluate neurons individually or rely on paired prompts, which not only requires heavy pruning (removing 0.3%–5% of parameters or neurons) but also harms the model's benign general capabilities.
- The authors model the safety mechanism as a sparse circuit where multiple neurons act jointly, and propose CIRCUITBREAK. This method uses the logit difference between the first token of refusal and compliance as a readout signal, and under a single set of harmful prompts and benign utility constraints, greedily searches jointly and prunes key FFN neurons.
- Across ten tested models from four model families, greedy search removes 29–150 neurons (0.0066%–0.0388% of the MLP), StrongREJECT ASR reaches 68.37%–89.14%, and most benign benchmark performance changes are within 1.8 percentage points.
- The first-token readout depends on preset refusal and compliance prefix vocabularies for each model; greedy joint rescoring makes search time grow with the candidate set and circuit size. Additionally, the experiments cover open-source models from 1B to 14B, and on Qwen2.5-7B, GSM8K dropped from 52.5 to 39.8, showing that capability risk remains.
- Evaluated models
- Llama-3.2-3B-InstructLlama-3.1-8B-InstructLlama-3.2-1B-InstructQwen2.5-1.5B-InstructQwen2.5-3B-InstructQwen2.5-7B-InstructQwen2.5-14B-InstructGemma-2-2B-InstructPhi-4-mini-instructGemma-2-9B-Instruct
- Benchmarks
- StrongREJECTHarmBenchAdvBenchJailbreakBenchMMLUGSM8KARC-ChallengeHumanEval
- Metrics
- ASRStrongREJECT harmfulness scorePruning rateMMLUGSM8KARC-ChallengeHumanEval
The researchers propose CircuitBreak, a white-box neuron pruning jailbreak method that first uses gradient times activation saliency to filter candidate MLP neurons, then uses a utility-constrained greedy loop to re-score on the basis of already removed neurons, finding sparse safety circuits that work jointly but are redundant individually. On ten instruction-tuned models from Llama, Qwen2.5, Gemma 2, and Phi, the search converges after removing 29 to 150 neurons, accounting for 0.0066% to 0.0388% of the MLP, and does not require paired twin prompts. Judged by Llama Guard 3 8B on 313 StrongREJECT prompts, the attack success rates for Llama-3.2-3B and Llama-3.1-8B rise from 2.24% and 7.35% to 87.54% and 87.54%, and for Qwen2.5-7B and Qwen2.5-14B from 8.95% and 5.43% to 88.50% and 88.18%.
Why it was selectedThe paper removes only 29 to 150 MLP neurons across ten open-source instruction models, raising attack success rates to 68.37% to 89.14%, providing a quantitative reference for evaluating weight-level jailbreaks.
Related events and news
1 events · 1 news mentions
News that mentions this paper
RL/RLHF 训练条件可诱发模型智能体提权逃逸
- 公众号 大模型安全研究cites the paper's id or link大模型安全周报:RL/RLHF 训练条件本身即可诱发前沿模型智能体提权逃逸(CVE-2026-65616)
CircuitBreak: Pruning a Sparse Safety Circuit of Neurons(https://arxiv.org/abs/2610.16470)
Paper analysis
What problem does this paper attempt to solve?
The authors state that existing neuron pruning attacks evaluate candidate neurons in isolation, leading to excessive pruning, and the paper aims to break model safety with few neurons through joint circuit search.
The core problem is: how to dismantle the safety alignment of open-source large models with few neuron prunings, without relying on paired prompts and without excessively harming the model's benign capabilities.
- Problem scenario and importance: Open-source large models are typically safety-aligned before release to refuse harmful requests, but the refusal mechanism may depend on a small number of channels in the feedforward network (FFN); if this mechanism can be removed with few parameters while preserving benign capabilities, it would constitute a more practical security threat.
- Limitations of existing methods: TwinBreak requires constructing strictly paired harmful–benign twin prompts and removes 1%–5% of parameters through multi-round pruning; NeuroStrike independently scores and ranks neurons based on their activation or gradient statistics, removing 0.3%–0.7% of neurons in target layers. The authors note that both evaluate individual neurons in isolation, ignoring synergistic effects, leading to excessive pruning and harming benign task performance such as GSM8K.
- Core observation and hypothesis: The authors model the model's safety mechanism as a sparse joint circuit similar to a backdoor trigger, arguing that harmful requests activate a circuit composed of a few neurons working together; neurons have complementary redundancy relationships, where marginal effects are small when evaluated individually but become critical only after their redundant partners are removed.
- Proposed approach: The authors propose CIRCUITBREAK, a white-box neuron pruning jailbreak method that does not require twin prompts. It combines first-order attribution screening with greedy circuit stripping under benign utility constraints to jointly find a sparse set of FFN neurons that flips the refusal readout.
- Threat model:
- Attacker goal: remove the model's internal safety refusal behavior, making it produce compliant outputs to harmful requests while preserving benign general capabilities.
- Attacker knowledge: white-box assumption, with full access to model weights.
- Attacker capability: attacks the FFN sublayer (SwiGLU MLP) of the Transformer, pruning by zeroing the gate and up projection outputs of selected neurons (l, i) in layer l, without modifying other parameters.
- Victim system: open-source instruction-tuned large language models (e.g., Llama, Qwen2.5, Gemma 2, Phi series).
What related research exists?
The paper categorizes the research into input-level jailbreaks, neuron pruning attacks, and refusal direction interpretability, noting that previous pruning methods ignored the joint synergistic effects of neurons.
The paper categorizes related work mainly into three directions: input-level jailbreaks, neuron-level pruning attacks, and refusal directions with model interpretability:
- Input-Level Jailbreaks:
- Zou et al. (2023) — proposed universal adversarial suffixes, which override the model's refusal behavior by optimizing transferable adversarial suffixes; subsequent work further fine-tunes or optimizes prompts using model feedback. The authors note that although such input-level attacks expose alignment weaknesses, they do not modify model parameters, and the internal structures supporting refusal computation remain intact.
- Neuron-Level Pruning Attacks:
- TwinBreak (Krauß et al., 2025) — uses highly similar harmful–benign twin prompt pairs to locate FFN channels, seeking channels whose removal flips the model from refusal to compliance while preserving utility; it iteratively removes 1% of selected parameters over 5 rounds (1%–5% total). The authors note that TwinBreak also observes that some neurons only become important after other neurons are removed, but it relies on paired data and requires heavy pruning.
- NeuroStrike (Wu et al., 2025) — identifies safety neurons based on activation (or gradient) patterns under paired safety and benign queries, prunes 0.3%–0.7% of neurons in target layers, and studies cross-model transfer. The authors note that NeuroStrike uses a per-neuron independent scoring mechanism, and the pruned set is essentially a static ranking rather than an optimized joint circuit.
- Refusal Directions and Interpretability:
- Arditi et al. (2024) — showed that the refusal mechanism of large models is mediated by a single direction in residual stream activations, and removing this direction eliminates refusal behavior across multiple models, indicating that safety representations have low-rank properties.
- Knowledge neurons and model editing (Dai et al., 2022, etc.) — locate and manipulate knowledge neurons in Transformers to edit model behavior. The authors note that this work also falls within internal intervention, but focuses on individual MLP neurons and searches for their joint effects, rather than static single-unit ranking.
- Baseline methods and benchmarks:
- Baseline methods include the unmodified instruction-tuned checkpoint (Base), TwinBreak, and NeuroStrike.
- The main safety evaluation benchmark is StrongREJECT (313 prompts), with HarmBench, AdvBench, and JailbreakBench involved in comparative experiments; benign capability benchmarks include MMLU, GSM8K, ARC-Challenge, and HumanEval.
- Positioning relative to existing work:
- The authors argue that existing neuron pruning attacks remove too many redundant neurons because they score candidate neurons independently; CIRCUITBREAK instead uses interaction-aware and sparse circuit objectives to directly discover synergistic neuron circuits through conditional rescoring without requiring twin prompts.
- Input-Level Jailbreaks:
How does the paper address this problem?
The authors propose a three-stage greedy circuit stripping algorithm based on first-token refusal readout and utility constraints, which discovers sparse synergistic safety neuron circuits under conditional rescoring.
CIRCUITBREAK models the safety refusal mechanism as a circuit composed of a small number of cooperating neurons, and jointly locates this circuit using a scalar readout that does not require twin prompts and a utility-constrained greedy stripping algorithm.
Problem Setting and Neuron Abstraction
- Neuron and pruning definitions: for a Transformer's SwiGLU MLP, a single neuron corresponds to one of the intermediate dimensions, i.e., the i-th column of the gate and up projections jointly feed into the i-th row of the down projection.
- Pruning operation: pruning neuron (l, i) zeroes the i-th gate/up output in layer l, leaving all other parameters unchanged; a model with L layers and intermediate size I has N = L × I neurons in total, and a circuit of k neurons corresponds to a pruning ratio of k/N.
First-Token Refusal Readout Design
- Readout scalar construction: at the final prompt position, extract logits z, and select the refusal prefix token set A_ref (including the first tokens of "I", "Sorry", "No", "As", "Unfortunately") and the compliance prefix token set A_com (including the first tokens of "Sure", "Here", "Step", "Below", "1", "Yes", "Great").
- Readout formula: the readout scalar is defined as the difference of the log-sum-exp of the two token sets:
R(z) = log ∑t ∈ Aref ezt − log ∑t ∈ Acom ezt This formula is used to cheaply distinguish the model's refusal or compliance tendency without generating the full text; R is positive under strong refusal and turns negative after the safety circuit is disabled.
Interaction-Aware Circuit Stripping Three-Stage Pipeline
- Stage 1 (first-order attribution): for 500 harmful prompts, hook the activation outputs of gate_proj and up_proj in each layer, compute the gradient of R with respect to the activations, compute the absolute value of the gradient-activation product, sum over samples, positions, and projections, and normalize by token count to obtain the significance score s_{l,i}; retain the top 512 neurons by this score to form the candidate set.
- Stage 2 (candidate shortlist): for each neuron in the candidate set, perform a simulated individual pruning, measure the readout drop and benign utility loss, and select the 128 neurons (256 for Gemma-2-2B) with the largest readout drops within the utility budget to form the shortlist.
- Stage 3 (greedy circuit stripping): maintain a set S of removed neurons (initially empty). At each step, iterate over candidate neurons (l, i) not in S and not exceeding the per-layer quota, compute the readout and utility loss of adding them, and score by readout drop per unit utility loss:
score(l, i) = (R(S) − R(S ∪ {(l, i)}))/(max(Δ U(l, i), ϵ)) Select the highest-scoring neuron and add it to S; because each step's candidate scoring is conditioned on the current S, later steps can capture redundant neurons whose marginal gain is small in individual evaluation but whose effect becomes significant in cooperation with partners.
Benign Utility Constraint and Termination Conditions
- Benign utility measure: on 50 benign prompts, compute the average token log-likelihood of the clean model's own completions; the utility loss Δ U caused by masking is the decrease in this log-likelihood.
- Constraint parameters: the per-layer neuron removal cap is 8 (set to 20 for the Gemma family), and the cumulative total utility loss budget is Δ Utotal ≤ 0.1 nats (0.2 nats for Gemma-2-2B).
- Termination conditions: the search stops when the probe readout falls to each model's stopping threshold R ≤ τ (set between -4.0 and -9.0), or when no candidate neuron can further reduce R.
What experiments did the paper conduct?
Across ten models, pruning only 29–150 neurons achieves ASR of 68.37%–89.14%, with most benign evaluation scores changing within 1.8 percentage points.
Experimental Setup
- Models under test: 10 open-source instruction-tuned checkpoints across 4 model families, including Llama-3.2-1B-Instruct, Llama-3.2-3B-Instruct, Llama-3.1-8B-Instruct, Qwen2.5-1.5B-Instruct, Qwen2.5-3B-Instruct, Qwen2.5-7B-Instruct, Qwen2.5-14B-Instruct, Gemma-2-2B-Instruct, Gemma-2-9B-Instruct, and Phi-4-mini-instruct.
- Datasets and scale: Circuit discovery uses 100 harmful prompts to drive the readout, 50 benign prompts to constrain utility, and 500 harmful prompts (drawn from a 1000-prompt probe set) for first-order attribution; safety evaluation uses all 313 harmful prompts from StrongREJECT (disjoint from the discovery set); general jailbreak comparison uses HarmBench, AdvBench, and JailbreakBench; capability evaluation uses MMLU (14,042 questions), GSM8K (1,319 questions), ARC-Challenge (1,172 questions), and HumanEval (164 questions).
- Comparison baselines: the unmodified instruction-tuned base model (Base), TwinBreak (comparing its round 1 and round 5 results, with capability comparison at 1% masking), and NeuroStrike (transcribed from the model-specific results reported in the original paper).
- Evaluation metrics and judgment: the primary safety metric is ASR (judged unsafe/safe by Llama Guard 3 8B), and the auxiliary metric is the normalized 0–1 StrongREJECT harmfulness score (judged by a fine-tuned Gemma-2-2B scorer); capability metrics include MMLU (option accuracy), GSM8K (exact numeric match), ARC-Challenge (option logits accuracy), and HumanEval (pass@1).
- Generation configuration: generation uses greedy decoding, repetition penalty 1.1, no-repeat-ngram size 3, and a maximum output of 256 tokens; all variants use a strict unified system prompt, and the paper does not report the number of repeated random runs.
Main Results
According to Table 1, the main evaluation results of CIRCUITBREAK on ten models are shown in the table below:
Swipe horizontally to read the table
Model Clean ASR CIRCUITBREAK ASR Neurons Removed Pruning Ratio Llama-3.2-3B-Instruct 2.24% 87.54% 37 0.0161% Llama-3.1-8B-Instruct 7.35% 87.54% 38 0.0083% Llama-3.2-1B-Instruct 6.07% 82.11% 48 0.0366% Qwen2.5-1.5B-Instruct 19.81% 89.14% 56 0.0223% Qwen2.5-7B-Instruct 8.95% 88.50% 38 0.0072% Qwen2.5-14B-Instruct 5.43% 88.18% 150 0.0226% Gemma-2-9B-Instruct 2.88% 68.37% 40 0.0066% Note: according to Table 1; due to table row limits, omitted are Qwen2.5-3B-Instruct (Clean 27.80%, Ours ASR 79.87%, 29 neurons, pruning ratio 0.0073%), Gemma-2-2B-Instruct (Clean 1.92%, Ours ASR 82.43%, 93 neurons, pruning ratio 0.0388%), and Phi-4-mini-instruct (Clean 0.96%, Ours ASR 80.83%, 60 neurons, pruning ratio 0.0229%).
- Alignment suppression effect: the authors state that on models with high refusal rates in the clean state, the method effectively reduces refusal behavior, while on models that already have high ASR in the clean state, the guardrail metric tends to saturate and the continuous harmfulness score should be consulted.
- High-sparsity pruning characteristics: the authors note that greedy search converges after removing 29–150 neurons (only 0.0066%–0.0388% of MLP neurons), a pruning scale clearly smaller than previous baselines.
- Role of the joint scoring mechanism: the authors argue that, compared with NeuroStrike, which prunes 0.3%–0.7% of neurons in target layers, the joint circuit search exploits the conditional gain of partner neurons and avoids the over-pruning caused by independent ranking.
Benign General Capability Evaluation
- Evaluation setup: on Llama-3.2-3B, Llama-3.1-8B, and Qwen2.5-7B, which have complete capability evaluation data, compare Base, CIRCUITBREAK, TwinBreak (1% masking), and NeuroStrike (according to Table 3).
- Experimental results: across all 12 capability scores, CIRCUITBREAK changes by within 1.8 percentage points relative to Base on 10 of them, of which 4 improve slightly (e.g., Llama-3.2-3B's HumanEval rises from 51.2% to 54.3%); the largest drop occurs on Qwen2.5-7B's GSM8K, falling from 52.5% to 39.8%, while TwinBreak and NeuroStrike drop to 21.9% and 22.7% respectively on that item.
- Authors' interpretation: the authors note that the sparse mask preserves most measured capabilities well, but the drop on GSM8K indicates that complex reasoning ability is still somewhat affected.
Multi-Benchmark Jailbreak Validation
- Evaluation setup: on Llama-3.1-8B, Gemma 2 (9B), and Qwen2.5 (7B), compare CIRCUITBREAK with pruning ratios of 0.0066%–0.0083% against TwinBreak's 1% and 5% pruning results on HarmBench, AdvBench, JailbreakBench, and StrongREJECT (according to Table 2).
- Experimental results: on Llama-3.1-8B, CIRCUITBREAK's HarmBench ASR is 86.62%, AdvBench 92.88%, JailbreakBench 93.00%, and StrongREJECT score 0.7488; on Gemma 2 (9B) they are 82.19%, 82.88%, 70.00%, and 0.60311 respectively; on Qwen2.5 (7B) they are 85.70%, 85.77%, 79.00%, and 0.72769 respectively.
- Authors' interpretation: the authors note that with pruning ratios two orders of magnitude lower, the method induces attack performance comparable to the baselines across multiple independent benchmarks while maintaining high harmfulness scores.
Other Ablations and Analyses
- Interaction-aware selection mechanism analysis: the stripping trajectory on Llama-3.2-3B shows that early steps remove neurons with large individual drops, while later steps repeatedly select redundant partner neurons with small individual effects but large conditional gains (Section 5.1).
- Guardrail scoring saturation phenomenon: in Table 1, the ASR of the ten models ranges from 68.37% to 89.14%; because the binary guardrail cannot easily distinguish specific harmfulness differences near the upper bound, the StrongREJECT continuous score (0.603–0.749) is used as a supplement for differentiation (Section 5.2).
- Candidate set and shortlist reduction: first-order attribution first selects the 512 most significant neurons from 500 harmful prompts, then individual evaluation selects 128 (256 for Gemma-2-2B) shortlisted neurons for greedy search (Appendix A.1).
- Hyperparameters and stopping thresholds: the per-layer cap is set to 8 (relaxed to 20 for Gemma), the cumulative utility loss cap is set to 0.1 nats (0.2 nats for Gemma-2-2B), and the stopping threshold is set at R ranging from -4.0 to -9.0 (Appendix A.1).
What are some points that can be further explored?
The authors note that the method depends on a preset prefix vocabulary and that greedy rescoring has high computational cost; the experiments cover ten 1B–14B open-source models and four benign benchmarks.
Limitations and future directions noted by the authors
- Dependence on a preset prefix vocabulary: The authors note that the method's first-token readout mechanism relies on a set of refusal and compliance prefix tokens preset for each model, and these vocabularies must be manually defined before starting the search (Section 5.3).
- High computational cost of greedy rescoring: The authors note that the greedy search rescore all candidate neurons at each step based on the current mask, and the circuit discovery time grows with the candidate set size and circuit size (Section 5.3).
Experimental coverage
- Scope of tested models: The experiments cover 10 open-source models: Llama-3.2-1B/3B-Instruct, Llama-3.1-8B-Instruct, Qwen2.5-1.5B/3B/7B/14B-Instruct, Gemma-2-2B/9B-Instruct, and Phi-4-mini-instruct, with parameter sizes ranging from 1B to 14B (Section 4.1, Table 1).
- General capability benchmark coverage: Benign capability evaluations were conducted on three models: Llama-3.2-3B, Llama-3.1-8B, and Qwen2.5-7B. The test benchmarks include MMLU (14,042 questions), GSM8K (1,319 questions), ARC-Challenge (1,172 questions), and HumanEval (164 questions) (Section 4.1, Section A.3).
- Test sample size and protocol: Circuit discovery used 100 harmful prompts and 50 benign prompts; first-order attribution used 500 harmful prompts; safety endpoint testing used 313 prompts from StrongREJECT, with binary ASR judged by Llama Guard 3 8B (Section 4.1, Section A.2).
- Defenses and adaptive adversarial testing not reported: The experiments compared Base, TwinBreak, and NeuroStrike. The paper does not report tests against defenses such as input detection or guardrail monitoring, nor does it report adaptive defense tests when the defender knows the circuit exists.
- Random repetition variance not reported: Text generation used greedy decoding with a single sample, and the paper does not report the number of random repeated runs or statistical variance of the experiments.
Summarize the main content of the paper
The paper views LLM safety mechanisms as cooperative sparse circuits, and through interaction-aware greedy pruning on ten models, raises ASR to 68.37%–89.14% with a small number of neurons.
- Research positioning and core problem: to address the issue that existing white-box pruning attacks rely on paired prompts or isolated evaluation, causing over-pruning and harming general capability, the paper models the LLM safety refusal mechanism as a sparse circuit triggered by the cooperation of a few neurons, aiming to eliminate safety alignment behavior at a small pruning cost through joint scoring.
- Core method design: the proposed CIRCUITBREAK uses the log-sum-exp difference of first-token refusal and compliance logits as the readout signal without requiring twin prompts, combines first-order gradient-activation attribution to filter candidates, and performs greedy conditional rescoring under a benign-task token log-likelihood loss constraint, capturing redundant neurons that become critical after partners are removed.
- Safety dismantling performance: on 10 open-source models (1B–14B) across 4 families, greedy search removes only 29–150 MLP neurons (0.0066%–0.0388% of the MLP), raising the Llama Guard 3 8B ASR on StrongREJECT to 68.37%–89.14% (e.g., Llama-3.2-3B rises from 2.24% to 87.54%).
- Benign capability preservation: on the three models with fully tested capabilities, 10 of 12 benchmark scores change by within 1.8 percentage points relative to Base, outperforming TwinBreak, which removes 1% of parameters, and NeuroStrike, which removes 0.3%–0.7% of neurons; however, Qwen2.5-7B's drop on GSM8K from 52.5 to 39.8 indicates that complex reasoning remains at risk of impairment.
- Authors' conclusion and implications: the authors argue that the safety refusal behavior of open-source LLMs is highly concentrated in a tiny combinatorial neuron circuit, and future safety attack and defense research must consider the joint cooperative contribution among neurons rather than relying only on static single-neuron statistical ranking.