Manuscript Offprint
arXiv:2610.35530CANS: Capability-Preserving Neuron Steering for Large Language Models
ABSTRACT
Activation steering offers training-free and dynamic control of target behaviors in large language models, but existing methods can impair general capabilities and require domain-specific intervention designs. We introduce Capability-Preserving Neuron Steering (CANS), a unified framework that balances target-behavior control with capability preservation. To make target-behavior improvement and general-capability preservation tractable, we introduce two proxies: log-probabilities of target tokens in model generated responses, and output-distribution KL divergence on general-purpose inputs. Combining the local approximation of the two proxies yields a closed-form solution, enabling lightweight steering without iterative model training or additional inference-time computation. The resulting neuron-wise scaling coefficients achieve effective steering while limiting general-capability loss. A shared data-construction and intervention procedure supports adaptation across domains using sampled responses with target-behavior filtering and target-span annotations. Across safety, toxicity, and hallucination control on Qwen and Llama models, CANS achieves comparable or better steering while better preserving MMLU, BBH, and IFEval performance than SFT, CAA, and neuron-level baselines. On Qwen3-4B, CANS reduces Harm-Bench attack success from 15.50% to 1.75% with a 1.11-point decrease in average capability. These results support CANS as a practical approach to behavioral control across domains.
https://github.com/Eric-Arya/CANS-Steer
1 INTRODUCTION
Large language models (LLMs) are increasingly deployed in high-stakes applications (OpenAI, 2023; Grattafori et al., 2024; Yang et al., 2025). Despite their broad capabilities, they can produce unsafe or toxic content (Gehman et al., 2020; Wei et al., 2023; Zou et al., 2023) and hallucinate factually incorrect statements (Ji et al., 2023; Manakul et al., 2023). The predominant countermeasure is training to control target behavior, including supervised fine-tuning (SFT) (Bianchi et al., 2024), reinforcement learning from human feedback (RLHF) (Ouyang et al., 2022), and direct preference optimization (DPO) (Rafailov et al., 2023). However, these approaches require additional training cost, and do not inherently support dynamic, continuously adjustable control. These limitations motivate lightweight methods that control specific behaviors at inference time.
A prominent family of such methods is activation steering, which modifies model behavior through activation interventions. These include two widely adopted intervention levels: the vector level, targeting residual-stream hidden states (Rimsky et al., 2024; Arditi et al., 2024) or attention-head outputs (Li et al., 2023), and the neuron level, which modifies individual activations (Suau et al., 2024; Dai et al., 2022). We focus on feed-forward network (FFN) neurons, defined as coordinates of the FFN's intermediate activations. Prior work demonstrates their causal role in behavioral control: neuron interventions can control human value-related behaviors (Yang et al., 2026), restore safety.
Equal contribution.
Corresponding author.

Figure 1: Overview of CANS. CANS uses target-token log-probabilities for target-behavior control (left) and output-distribution KL on general-purpose inputs for general-capability preservation (right). Local approximations of these two proxies yield closed-form adaptive scaling across all neurons under a shared preservation budget (center), enabling the same steering effect with minimal general-capability loss.
behavior (Chen et al., 2025), and regulate over-compliance with false premises and harmful instructions (Gao et al., 2025). These findings motivate neuron-level steering as a fine-grained mechanism for controlling model behavior.
However, these methods face two central challenges. First, improvements in target-behavior control can compromise general capability. This loss of capability can partly be attributed to the polysemanticity of LLM neurons: a single neuron can encode information relevant to both the target behavior and general-purpose tasks (Olah et al., 2020; Elhage et al., 2022; Gurnee et al., 2023; Bricken et al., 2023). Rescaling neurons associated with a target behavior can disrupt shared functions needed for general tasks (Suau et al., 2024; Haider et al., 2026). Second, cross-domain generalizability is limited by domain-specific intervention designs (Suau et al., 2024; Gao et al., 2025; Zhao et al., 2025; Chen et al., 2025), so applying them to a new target behavior can require redefining how neurons' contribution to a target behavior is scored, which neurons to intervene on, and by what magnitude. Empirically, we find that transferring these procedures across domains often yields limited steering gains and/or substantial capability loss.
To this end, we propose Capability-Preserving Neuron Steering (CANS), as illustrated in Figure 1. The central idea is to assign each neuron a coefficient that accounts for both its contribution to the target behavior and its impact on general capabilities. CANS applies this adaptive scaling across all FFN neurons, favoring changes that support the target behavior with less disruption to other capabilities. To make this objective computationally tractable, we introduce two practical proxies. For target-behavior control, we estimate how each neuron affects the likelihood of target word spans in model responses associated with the behavior we want to promote or suppress. For capability preservation, we measure how much an intervention changes the model's output distribution on general-purpose reference text. This provides a label-free signal of disruption without requiring separate evaluations of every capability. We derive a closed-form optimal solution to the resulting optimization problem, yielding a steering coefficient for each neuron. These coefficients balance estimated target-behavior gains against output-distribution disruption, supporting effective steering with limited general-capability loss. CANS also supports cross-domain generalizability through a shared data-construction protocol and steering procedure: adapting to a new domain requires only sampling responses from the unmodified model, filtering them, and annotating target spans.
We evaluate CANS on safety, toxicity, and hallucination control using Qwen3-4B and models from the Llama family. Across the evaluated settings, CANS achieves a more favorable steering-capability trade-off than the compared neuron-level steering baselines, with low computational overhead. For example, on the safety benchmark HarmBench (Mazeika et al., 2024), CANS reduces Qwen3-4B's attack success rate from 15.50% to 1.75% with a 1.11-point decrease in average capability. For toxicity, it reduces the same model's toxic-prompt rate on RealToxicityPrompts (Gehman et al., 2020) from 19.17% to 1.00% with no loss in average capability. For hallucination, it reduces Llama-3.1-8B-Instruct's hallucination rate on TruthfulQA (Lin et al., 2022) from 17.75% to 0.75% with only a 0.06-point decrease in average capability.
2 RELATED WORK
Activation steering for behavioral control. Activation steering controls LLM behavior by modifying internal activations at inference time, with representative methods including intervention at vector and neuron levels. At the vector level, methods modify residual-stream hidden states or attention-head outputs. Fixed-direction approaches use steering vectors precomputed from reference examples (Rimsky et al., 2024; Li et al., 2023). However, a single direction may not capture complex patterns in behavior-related activation distributions, limiting the expressiveness of fixed-direction steering (Zhao et al., 2026). Adaptive methods vary steering directions with hidden states with additional training or inference cost (Kong et al., 2024; Pham & Nguyen, 2024; Zhao et al., 2026), whereas CANS steers each activation in a single step by the closed-form coefficients, avoiding training or iterative activation updates. At the neuron level, methods modify the scalar activations of individual neurons. Such interventions have been used to reduce hallucinations (Gao et al., 2025), mitigate toxicity (Suau et al., 2024), improve safety (Zhao et al., 2025; Chen et al., 2025) and steer responses toward specified human values (Yang et al., 2026). Although these methods evaluate capability retention, they do not explicitly incorporate a capability-preservation criterion into their steering objectives. CANS instead optimizes neuron-wise strengths under a preservation budget on general-purpose reference inputs. These methods also rely on domain-specific criteria for locating and modifying neurons, whereas CANS provides a generalizable framework for steering target behaviors across domains.
Capability preservation during model behavior control. Improving a target behavior can impair the model's general capability. For example, RLHF can reduce performance on other language tasks (Ouyang et al., 2022), while safety-oriented activation patching can improve safety at the expense of helpfulness (Chen et al., 2025). Training-based safeguards include KL regularization against a reference model (Ziegler et al., 2019; Stiennon et al., 2020; Ouyang et al., 2022; Bai et al., 2022a;b; Rafailov et al., 2023) and representation-retention losses (Zou et al., 2024), but require iterative model fine-tuning. CANS instead optimizes neuron-wise strengths under a preservation budget on general-purpose reference inputs, with an optimal closed-form solution to the local proxy and no iterative model fine-tuning.
3.1 GRADIENT-BASED STEERING OBJECTIVE
We construct a differentiable target-behavior proxy P from response-token log-probabilities. For example, if the model generates “... is unethical” in response to a harmful prompt, we mark “unethical” as the target span (denoted by A in the triple below) and increase its likelihood to encourage refusal. For undesired behavior, we instead decrease target-token likelihoods. We scale the neurons to change P, shifting target-token probabilities in the desired direction. Gradients of P estimate the local steering effect of neuron scaling. Figure 4 shows that changes in the proxy P correlate with changes in the target behavior.
Target-token log-probability proxy. Let be the total number of neurons, where is the number of layers and is the number of feed-forward neurons in layer . Let collect their scaling coefficients across layers, where multiplies neuron 's activation and leaves it unchanged. We denote the steered model's conditional token distribution by , where denotes the unmodified model parameters; recovers the unmodified model.
Let contain triples : a prompt , a filtered response sampled from the unmodified model, and a nonempty set of target-token positions. See § 4 for construction details. Define
(1) where promotes content and suppresses it. The corpus-level proxy is
Our goal is to improve target behavior relative to the unmodified model. We therefore measure the change in P, which captures the intervention’s steering benefit relative to the model’s baseline proxy value.
First-order steering objective. Let denote the scaling change, and let g be the gradient of P with respect to at the unmodified model ( ). Under local smoothness,
We define the first-order steering objective as
This objective approximates the change in P induced by neuron-wise scaling, rather than its absolute value. Computing it requires g, which the following proposition expresses as activation–gradient products.
Proposition 1 (Neuron-scaling gradient). For a differentiable proxy P, the neuron-scaling gradient at the unmodified model is
Here is neuron j's activation before the down-projection, and p ranges over all prompt and response positions influencing the proxy.
Thus, sums activation–gradient products over positions and averages over examples. A positive favors amplification, whereas a negative favors attenuation locally around .
We use as the local steering benefit and combine it with the preservation cost introduced next to jointly optimize neuron-wise scaling coefficients.
3.2 KL-BASED CAPABILITY PRESERVATION
We use output-distribution stability on general-purpose inputs as a proxy for capability preservation. For equal scaling changes, neurons that disturb these outputs more incur greater preservation cost. The KL divergence quantifies this drift and can be locally approximated using the Fisher information matrix. Figure 5 shows that KL drift is indeed related to downstream capability.
KL-based preservation proxy. We fix reference prompts drawn from a general-purpose source corpus. For each prompt , we sample continuations from the unmodified model, where indexes continuations of that prompt. The reference dataset is the resulting collection of prompt–continuation pairs , with , counting each sampled pair separately. It is not the source corpus itself. Construction details are in § 4. Let and denote the steered and unmodified distributions over length-T continuations, respectively. We define
Here the expectation weights each reference prompt x equally. Small indicates limited distributional drift on the reference inputs. We use this reference-distribution stability as a proxy for capability preservation, rather than a direct guarantee on downstream performance.
Local quadratic approximation. To obtain a tractable preservation cost, we expand K around . For a context x and continuation y, define the gradient of the sequence log-probability with respect to neuron-scaling coefficients at the unmodified model as
Proposition 2 (Local KL–Fisher approximation). Assume common support, valid interchange of differentiation and expectation, and twice continuous differentiability of K near 1. For ,
where the expectation weights reference prompts x equally and averages over continuations y drawn from the unmodified model conditioned on x.
At the unmodified model, and , and the KL Hessian equals the Fisher matrix . Thus, approximating the change in is equivalent to approximating itself.
Diagonal preservation cost. To reduce storage and computational costs, we retain only the diagonal Fisher entries. Let denote the diagonal Fisher entry for neuron . We define
where the damping parameter stabilizes directions with small curvature. Larger diagonal entries impose greater cost on changing the corresponding neurons. The resulting is a practical local approximation to .
Sequence-level Fisher estimation. For each prompt–continuation pair in , we sum continuation-token log-probabilities without length normalization and differentiate with respect to at the unmodified model. We estimate by squaring each continuation’s gradient before averaging over all sampled pairs. See Appendix E for implementation details.
3.3 CLOSED-FORM OPTIMAL NEURON SCALING
We combine the first-order steering benefit with the quadratic preservation cost to jointly determine neuron-wise scaling coefficients. The local optimization problem is
where is the quadratic preservation budget. The damping parameter makes positive definite, yielding a bounded feasible region.
Closed-form solution. The optimal intervention follows the steering gradient reweighted by the inverse preservation curvature.
Theorem 1 (Optimal adaptive neuron scaling). For , , and , the local constrained problem has the unique optimizer
Equivalently, the solution assigns each neuron the coefficient
Adaptive scaling across all neurons. The solution balances each neuron's steering gradient against its preservation cost . Positive gradients favor amplification, while negative gradients favor attenuation locally around . For a given budget, neurons with smaller receive smaller adjustments. CANS thus assigns an individual scaling coefficient to each neuron, accounting for both steering benefit and preservation cost. This avoids uniform interventions on selected neurons, such as shared scaling in H-Neurons (Gao et al., 2025), activation zeroing in knowledge-neuron interventions (Dai et al., 2022), and neuron removal in CRISPR (Yang et al.,
2024). Such uniform interventions ignore differences in neurons’ steering benefits and preservation costs, potentially causing less effective steering and unnecessary disruption to general capabilities.
To avoid extreme interventions, we clip the optimal scaling coefficients before deployment:
where is the deployed scaling coefficient for neuron , and bounds its deviation from 1. Since F is diagonal and positive definite, clipping cannot increase the quadratic preservation cost and thus preserves feasibility for the proxy budget. Appendix Figure 12 visualizes how far the neuron-wise scaling coefficients deviate from 1 before clipping.
Weight folding. We fold the clipped coefficients into the down-projection weights:
where is the unmodified down-projection matrix at layer , whose columns are neuron output weights; collects that layer's clipped coefficients, and is the modified matrix. Here, diag places the coefficients on a diagonal matrix. Scaling these columns implements the same neuron intervention without extra inference-time computation; other parameters stay unchanged.
3.4 COMPUTATIONAL COMPLEXITY
Steering-gradient estimation requires forward–backward pairs, while diagonal Fisher estimation requires such pairs after reference-continuation sampling. Each backward pass computes all neuron-scaling gradients simultaneously. For a fixed model and intervention parameterization, these statistics are computed once and reused across steering budgets; the Fisher estimate is also shared across domains under the same reference sampling setup. The aggregated gradient and diagonal Fisher require storage, excluding model parameters and backpropagation activations. Closed-form coefficient computation and clipping take time. Finally, folding the multipliers into the down-projection columns adds neither parameters nor inference-time operations.
4 EXPERIMENTAL SETUP
CANS uses a steering corpus to obtain target-behavior signals and a general-purpose corpus to estimate output-distribution drift.
Steering corpus. For each prompt intended to elicit a behavior of interest, we sample multiple responses from the unmodified model, retain one that exhibits the behavior, and annotate target spans using an LLM or rule-based matching to get . We apply this procedure to three typical domains. For safety, we retain refusals to Circuit Breakers prompts (Zou et al., 2024) and mark the first refusal cues using the substring matcher from (Zou et al., 2023). For toxicity, we filter RealToxicityPrompts completions (Gehman et al., 2020) with a toxicity classifier (Logacheva et al., 2022) and annotate toxic spans with an LLM. For hallucination, we retain model-generated TruthfulQA answers (Lin et al., 2022) judged correct and annotate their answer spans with an LLM. We promote refusal cues and correct-answer spans, and suppress toxic spans. Details are in Appendix D.
General-purpose corpus. We draw reference prompts from the WikiText-2 training split (Merity et al., 2017) and sample continuations per prompt from the unmodified model. The resulting prompt–continuation pairs form our reference dataset for estimating sequence-level output drift without task-specific answer labels. Sampling details and examples are provided in Appendix E. Other general-purpose corpora can be substituted; general-purpose corpus ablations are reported in Appendix F.
Hyperparameter selection for CANS. We set damping to the median Fisher diagonal entry. For safety and toxicity, we set , clipping the scaling coefficients to [0.25, 1.75]; for hallucination, we use no cap, directly applying the optimal neuron-wise scaling coefficients from Theorem 1 without clipping. Figure 3 shows the budget sweep.
Models and Evaluation. To test generality across model families, we evaluate Qwen3-4B with thinking disabled (Yang et al., 2025) and one Llama model in each of three domains: safety on

Qwen3-4B · Safety
Qwen3-4B · Toxicity
Qwen3-4B · Hallu.
Figure 2: Results in three domains at the strongest observed domain steering. Red: undesirable-behavior rate ↓; blue: average capability ↑ (inverted axis). Steering methods report their lowest undesirable-behavior rate and corresponding capability; SFT uses the checkpoints specified in Appendix G. Panel scales differ; full numerical results appear in Table 1.
HarmBench (Mazeika et al., 2024), toxicity on RealToxicityPrompts (Gehman et al., 2020), and hallucination on TruthfulQA (Lin et al., 2022) (Appendix Table 5). Each domain-specific Llama model matches the main model setting in a representative prior study: SN-Tune for safety (Zhao et al., 2025), AurA for toxicity (Suau et al., 2024), and H-Neurons for hallucination (Gao et al., 2025). For general capability, we use IFEval for instruction following (Zhou et al., 2023), BIG-Bench Hard (BBH) for reasoning (Suzgun et al., 2023), and MMLU for knowledge and problem solving (Hendrycks et al., 2021). Aggregated Capability is their equally weighted mean. Evaluation sets and protocols are detailed in Appendix Table 6 and Appendix G.1.
Baselines. We use the unmodified model as a reference and group baselines into three categories: (1) training-based method: supervised fine-tuning (SFT) with LoRA (Hu et al., 2022); (2) steering-vector method: CAA (Rimsky et al., 2024); and (3) neuron-level methods: SN-Tune (Zhao et al., 2025), dynamic activation patching (abbreviated as DAP here) (Chen et al., 2025), AurA (Suau et al., 2024), H-Neurons (Gao et al., 2025), and CANS-Grad-Only, a baseline that uniformly scales a subset of neurons selected by target-span log-probability gradients. Implementation and comparison details appear in Appendix G.
5 EXPERIMENTAL RESULTS
We evaluate CANS through four research questions: (RQ1) Can CANS promote target behavior while preserving general capability? (RQ2) Can the preservation budget control steering strength while constraining general capability loss? (RQ3) Do changes in the target-behavior proxy reflect target-behavior improvement, and does KL divergence reflect general-capability loss? (RQ4) How accurately does approximate ? How accurately does the undamped approximate ?
RQ1: CANS promotes target behavior with limited capability loss. CANS achieves a more favorable steering-capability trade-off than all compared baselines for safety and toxicity on both model families and hallucination on Llama-3.1 (Figure 2; Appendix Figures 7–9 show the individual capability scores.). For example, it reduces Qwen3's toxic-prompt rate from 19.17% to 1.00% with no loss in average capability. In comparison, SFT reaches 4.50% with a 0.57-point capability loss. CANS also strongly suppresses hallucination on Llama-3.1 with nearly unchanged capability, whereas gains on Qwen3 hallucination remain modest across all compared methods. In their original domains, baseline methods can improve target behavior, but at a great cost of general capability:

(log scale)
Qwen3-4B · Safety
(log scale)
Qwen3-4B · Toxicity
(log scale)
Qwen3-4B · Hallu.
(log scale)
(log scale)
(log scale)
Figure 3: CANS budget sweep. X-axis: quadratic preservation budget (zero denotes the unmodified model). Red: undesirable-behavior rate ; blue (inverted axis): average capability .
AurA reduces Qwen3's toxic-prompt rate from 19.17% to 10.83% with a 1.48-point capability loss; H-Neurons reduces Llama-3.1's hallucination rate from 17.75% to 0.25% with a 17.42-point loss (Table 1). These methods lack explicit preservation constraints, so their interventions may disrupt the general capabilities supported by the same neurons. CANS-Grad-Only also steers effectively, but incurs greater capability loss. On Llama-3 safety, it achieves similar target-behavior control while losing 8.56 capability points, compared with 3.56 for CANS. Across the evaluated settings, CANS preserves more general capability than gradient-ranked uniform scaling.
Transferring domain-specific baselines to other target behaviors can yield limited steering improvements or substantial capability loss. For example, AurA achieves a 0.00% attack success rate on Llama-3, but average capability falls to 12.25%. H-Neurons achieves little reduction in Qwen3's toxic-prompt rate. Similarly, DAP only slightly reduces toxicity on Llama-2, while SN-Tune fails to reduce hallucination on Llama-3.1. Thus, strong performance in a method's original domain does not ensure effective, capability-preserving control in another.
We further try sequential steering across three domains, and find that CANS incurs less cumulative capability loss than supervised fine-tuning (Appendix C) with comparable or better steering effect.
RQ2: The preservation budget controls steering strength with limited capability loss. The quadratic preservation budget controls steering strength (Figure 3). Across most settings, CANS achieves stronger target-behavior control with nearly no loss in general capability. For example, on Qwen3-4B safety, increasing from approximately 0.021 to 1.67 reduces the attack success rate from 10.00% to 1.75%, while average capability decreases by only 0.68 points. Qwen3 hallucination shows saturation, so increasing the budget does not always further promote the target behavior. Appendix I examines how affects target-behavior proxy changes and measured KL divergence.
RQ3: Changes in P reflect steering effectiveness, while K reflects capability loss. Target-behavior proxy. Increases in the target-behavior proxies plotted in Figure 4 are strongly correlated with improvements in target behavior, particularly for safety and toxicity. The linear fits explain 92.7% and 97.8% of the variation in target-behavior performance for safety and toxicity, respectively. This supports target-token log-probability as an effective steering signal when the target behavior has identifiable target words. KL as a preservation proxy. Increases in measured KL divergence K are correlated with reductions in general capability (Figure 5). This supports KL divergence as a useful preservation signal for limiting general-capability loss during steering.
RQ4: Local estimates and undamped approximate proxy changes and KL drift. Figure 6 shows that the first-order prediction tracks measured , while the undamped is compared with on both models. Almost all proxy-change predictions and KL
(a) Llama-3-8B-Instruct

(b) Llama-2-7B

(c) Llama-3.1-8B-Instruct

Figure 4: Target-behavior proxy across domains. X-axis: target-behavior proxy change. For toxicity, we measure as defined in Section 3.1; for safety and hallucination, we measure a pooled version of the change in answer log-probability described in Appendix J. Y-axis: undesirable-behavior rate . Lines are linear fits.

Figure 5: KL drift and capability preservation. X-axis: measured KL on . Each point scales 8,000 neurons from a Fisher-percentile window by in Llama-3-8B-Instruct. All panels use the same interventions.

(a) and its estimate .
(b) and its estimate with .
Figure 6: Validating local approximations. Corresponding points in (a) and (b) scale the same 8,000 neurons by for toxicity control. X-axis: predicted; y-axis: measured. Shading: 20% relative-error tolerance. MAPE denotes mean absolute percentage error.
predictions fall within 20% relative-error. These results support using the local approximations to estimate steering benefits and preservation costs efficiently. Damping regularizes optimization and is not part of the KL Taylor expansion, so we omit it from Q in this diagnostic (Appendix E).
6 CONCLUSION AND DISCUSSION
We introduced CANS, a lightweight, training-free approach to neuron steering that balances target-behavior improvement with general-capability preservation. Across safety, toxicity, and hallucination control on the evaluated Qwen and Llama models, CANS generally achieves a more favorable steering-capability trade-off than the compared baselines. The same optimization and intervention procedure applies across the evaluated domains, using model-generated responses with filtering and target-span annotations. Sequential steering results (Appendix C) further support its potential as a lightweight, generalizable alternative to SFT for model behavioral control.
Limitations and future work. Diagonal Fisher approximation. CANS retains only the Fisher diagonal to avoid quadratic storage costs, omitting neuron interactions and their joint roles in supporting model functions. Richer curvature approximations could capture these dependencies. Reliance on target-span supervision. Steering depends on the quality of generated responses, behavior labels, and span annotations. A single target span may provide incomplete supervision for hallucination, which is intertwined with the model's underlying knowledge, and for other domains involving complex behaviors that are not easily captured by a single target span.
ACKNOWLEDGEMENT
This work was sponsored by CCF-Tencent Rhino-Bird Open Research Fund (No. CCF-Tencent RAGR20260112).
AI USE STATEMENT
The smaller Qwen and Llama models evaluated in this work generated responses and were used in steering and evaluation. Separately, we used GPT-5.6-sol as an external assistant for target-span annotation, as detailed in Appendix D.1. Generative AI helped with writing experiment scripts. The authors take responsibility for the LLM-generated materials and LLM-based judgments used in this work.
ETHICS STATEMENT
CANS aims to reduce undesirable model behaviors. However, neuron steering could also be misused to weaken safeguards. Our preservation criterion provides no guarantee of safety or fairness, and deployment requires application-specific evaluation.
REPRODUCIBILITY STATEMENT
We describe the steering method in Section 3 and the data, models, evaluation metrics, and experimental setup in Section 4. Appendices D–E and G provide corpus construction procedures, Fisher estimation details, method configurations, comparison protocols, and inference settings. Source code is available in the anonymous repository linked in the abstract.
REFERENCES
Allen Institute for AI. TruthfulQA truthfulness judge based on Llama 2. Hugging Face model card, 2024. URL https://huggingface.co/allenai/truthfulqa-truth-judge-llama2-7B.
Andy Arditi, Oscar Balcells Obeso, Aaquib Syed, Daniel Paleka, Nina Rimsky, Wes Gurnee, and Neel Nanda. Refusal in language models is mediated by a single direction. In The Thirty-eighth Annual Conference on Neural Information Processing Systems, 2024. URL https://openreview.net/forum?id=pH3XAQME6c.
Yuntao Bai, Andy Jones, Kamal Ndousse, Amanda Askell, Anna Chen, Nova DasSarma, Dawn Drain, Stanislav Fort, Deep Ganguli, Tom Henighan, Nicholas Joseph, Saurav Kadavath, Jackson Kernion, Tom Conerly, Sheer El-Showk, Nelson Elhage, Zac Hatfield-Dodds, Danny Hernandez, Tristan Hume, Scott Johnston, Shauna Kravec, Liane Lovitt, Neel Nanda, Catherine Olsson, Dario Amodei, Tom Brown, Jack Clark, Sam McCandlish, Chris Olah, Ben Mann, and Jared Kaplan. Training a helpful and harmless assistant with reinforcement learning from human feedback. arXiv preprint arXiv:2204.05862, 2022a. URL https://arxiv.org/abs/2204.05862.
Yuntao Bai, Saurav Kadavath, Sandipan Kundu, Amanda Askell, Jackson Kernion, Andy Jones, Anna Chen, Anna Goldie, Azalia Mirhoseini, Cameron McKinnon, et al. Constitutional ai: Harmlessness from ai feedback. arXiv preprint arXiv:2212.08073, 2022b. URL https://arxiv.org/abs/2212.08073.
Federico Bianchi, Mirac Suzgun, Giuseppe Attanasio, Paul Röttger, Dan Jurafsky, Tatsunori Hashimoto, and James Zou. Safety-Tuned LLaMAs: Lessons from improving the safety of large language models that follow instructions. In The Twelfth International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=gT5hALch9z.
Trenton Bricken, Adly Templeton, Joshua Batson, Brian Chen, Adam Jermyn, Tom Conerly, Nick Turner, Cem Anil, Carson Denison, Amanda Askell, Robert Lasenby, Yifan Wu, Shauna Kravec, Nicholas Schiefer, Tim Maxwell, Nicholas Joseph, Zac Hatfield-Dodds, Alex Tamkin, Karina Nguyen, Brayden McLean, Josiah E Burke, Tristan Hume, Shan Carter, Tom Henighan, and Christopher Olah. Towards monosemanticity: Decomposing language models with dictionary learning. Transformer Circuits Thread, 2023. https://transformercircuits.pub/2023/monosemantic-features/index.html.
Jianhui Chen, Xiaozhi Wang, Zijun Yao, Yushi Bai, Lei Hou, and Juanzi Li. Towards understanding safety alignment: A mechanistic perspective from safety neurons. In Advances in Neural Information Processing Systems, 2025. URL https://openreview.net/forum?id=AAXMcAyNF6.
Damai Dai, Li Dong, Yaru Hao, Zhifang Sui, Baobao Chang, and Furu Wei. Knowledge neurons in pretrained transformers. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 8493–8502, Dublin, Ireland, May 2022. Association for Computational Linguistics. doi: 10.18653/v1/2022.acl-long.581. URL https://aclanthology.org/2022.acl-long.581/.
Nelson Elhage, Tristan Hume, Catherine Olsson, Nicholas Schiefer, Tom Henighan, Shauna Kravec, Zac Hatfield-Dodds, Robert Lasenby, Dawn Drain, Carol Chen, Roger Grosse, Sam McCandlish, Jared Kaplan, Dario Amodei, Martin Wattenberg, and Christopher Olah. Toy models of superposition, 2022. URL https://arxiv.org/abs/2209.10652.
Cheng Gao, Huimin Chen, Chaojun Xiao, Zhiyi Chen, Zhiyuan Liu, and Maosong Sun. H-Neurons: On the existence, impact, and origin of hallucination-associated neurons in LLMs. arXiv preprint arXiv:2512.01797, 2025. URL https://arxiv.org/abs/2512.01797.
Leo Gao, Jonathan Tow, Baber Abbasi, Stella Biderman, Sid Black, Anthony DiPofi, et al. The language model evaluation harness. Open-source evaluation software, EleutherAI, 2024. URL https://github.com/EleutherAI/lm-evaluation-harness. BBH configurations: https://github.com/EleutherAI/lm-evaluation-harness/tree/main/lm_eval/tasks/bbh.
Samuel Gehman, Suchin Gururangan, Maarten Sap, Yejin Choi, and Noah A. Smith. RealToxicityPrompts: Evaluating neural toxic degeneration in language models. In Findings of the Association for Computational Linguistics: EMNLP 2020, pp. 3356–3369. Association for Computational Linguistics, 2020. URL https://aclanthology.org/2020.findings-emnlp.301/.
Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, et al. The Llama 3 herd of models. arXiv preprint arXiv:2407.21783, 2024. URL https://arxiv.org/abs/2407.21783.
Wes Gurnee, Neel Nanda, Matthew Pauly, Katherine Harvey, Dmitrii Troitskii, and Dimitris Bertsimas. Finding neurons in a haystack: Case studies with sparse probing. Transactions on Machine Learning Research, 2023. ISSN 2835-8856. URL https://openreview.net/forum?id=JYs1R9IMJr.
Muhammad Umair Haider, Hammad Rizwan, Hassan Sajjad, Peizhong Ju, and A. B. Siddique. Neurons speak in ranges: Breaking free from discrete neuronal attribution. Transactions on Machine Learning Research, 2026. ISSN 2835-8856. URL https://openreview.net/forum?id=AukyIhfBuW.
Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt. Measuring massive multitask language understanding. In International Conference on Learning Representations, 2021. URL https://arxiv.org/abs/2009.03300.
Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. LoRA: Low-rank adaptation of large language models. In International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id=nZeVKeeFYf9.
Ziwei Ji, Nayeon Lee, Rita Frieske, Tiezheng Yu, Dan Su, Yan Xu, Etsuko Ishii, Ye Jin Bang, Andrea Madotto, and Pascale Fung. Survey of hallucination in natural language generation. ACM Comput. Surv., 55(12), March 2023. ISSN 0360-0300. doi: 10.1145/3571730. URL https://doi.org/10.1145/3571730.
Lingkai Kong, Haorui Wang, Wenhao Mu, Yuanqi Du, Yuchen Zhuang, Yifei Zhou, Yue Song, Rongzhi Zhang, Kai Wang, and Chao Zhang. Aligning large language models with representation editing: A control perspective. In Advances in Neural Information Processing Systems, volume 37, pp. 37356–37384, 2024. URL https://arxiv.org/abs/2406.05954.
Nathan Lambert, Jacob Morrison, Valentina Pyatkin, Shengyi Huang, Hamish Ivison, Faeze Brahman, Lester James V. Miranda, Alisa Liu, Nouha Dziri, Shane Lyu, Yuling Gu, Saumya Malik, Victoria Graf, Jena D. Hwang, Jiangjiang Yang, Ronan Le Bras, Oyvind Tafjord, Chris Wilhelm, Luca Soldaini, Noah A. Smith, Yizhong Wang, Pradeep Dasigi, and Hannaneh Hajishirzi. Tulu 3: Pushing frontiers in open language model post-training. arXiv preprint arXiv:2411.15124, 2025. URL https://arxiv.org/abs/2411.15124.
Kenneth Li, Oam Patel, Fernanda Viégas, Hanspeter Pfister, and Martin Wattenberg. Inference-time intervention: Eliciting truthful answers from a language model. In Thirty-seventh Conference on Neural Information Processing Systems, 2023. URL https://openreview.net/forum?id=aLLuYpn83y.
Stephanie Lin, Jacob Hilton, and Owain Evans. TruthfulQA: Measuring how models mimic human falsehoods. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 3214–3252. Association for Computational Linguistics, 2022. URL https://aclanthology.org/2022.acl-long.229/.
Haokun Liu, Derek Tam, Mohammed Muqeeth, Jay Mohta, Tenghao Huang, Mohit Bansal, and Colin A. Raffel. Few-shot parameter-efficient fine-tuning is better and cheaper than in-context learning. In Advances in Neural Information Processing Systems, 2022. URL https://arxiv.org/abs/2205.05638.
Varvara Logacheva, Daryna Dementieva, Sergey Ustyantsev, Daniil Moskovskiy, David Dale, Irina Krotova, Nikita Semenov, and Alexander Panchenko. ParaDetox: Detoxification with parallel data. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 6804–6818. Association for Computational Linguistics, 2022. URL https://aclanthology.org/2022.acl-long.469/. Classifier checkpoint: https://huggingface.co/s-nlp/roberta_toxicity_classifier.
Potsawee Manakul, Adian Liusie, and Mark Gales. SelfcheckGPT: Zero-resource black-box hallucination detection for generative large language models. In The 2023 Conference on Empirical Methods in Natural Language Processing, 2023. URL https://openreview.net/forum?id=RwzFNbJ3Ez.
Mantas Mazeika, Long Phan, Xuwang Yin, Andy Zou, Zifan Wang, Norman Mu, Elham Sakhaee, Nathaniel Li, Steven Basart, Bo Li, David Forsyth, and Dan Hendrycks. HarmBench: A standardized evaluation framework for automated red teaming and robust refusal. In Proceedings of the 41st International Conference on Machine Learning, 2024. URL https://arxiv.org/abs/2402.04249.
Stephen Merity, Caiming Xiong, James Bradbury, and Richard Socher. Pointer sentinel mixture models. In International Conference on Learning Representations, 2017. URL https://openreview.net/forum?id=rJ6Z6g5x1.
Chris Olah, Nick Cammarata, Ludwig Schubert, Gabriel Goh, Michael Petrov, and Shan Carter. Zoom in: An introduction to circuits. Distill, 2020. doi: 10.23915/distill.00024.001. https://distill.pub/2020/circuits/zoom-in.
OpenAI. GPT-4 technical report. CoRR, abs/2303.08774, 2023. URL https://doi.org/10.48550/arXiv.2303.08774.
Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Gray, John Schulman, Jacob Hilton, Fraser Kelton, Luke Miller, Maddie Simens, Amanda Askell, Peter Welinder, Paul Christiano, Jan Leike, and Ryan Lowe. Training language models to follow instructions with human feedback. In Alice H. Oh, Alekh Agarwal, Danielle Belgrave, and Kyunghyun Cho (eds.), Advances in Neural Information Processing Systems, 2022. URL https://openreview.net/forum?id=TG8KACxEON.
Van-Cuong Pham and Thien Huu Nguyen. Householder pseudo-rotation: A novel approach to activation editing in LLMs with direction-magnitude perspective. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, 2024. URL https://arxiv.org/abs/2409.10053.
Rafael Rafailov, Archit Sharma, Eric Mitchell, Stefano Ermon, Christopher D. Manning, and Chelsea Finn. Direct preference optimization: Your language model is secretly a reward model. In Advances in Neural Information Processing Systems, 2023. URL https://arxiv.org/abs/2305.18290.
Nina Rimsky, Nick Gabrieli, Julian Schulz, Meg Tong, Evan Hubinger, and Alexander Turner. Steering Llama 2 via contrastive activation addition. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 15504–15522, 2024. URL https://aclanthology.org/2024.acl-long.828/.
Nisan Stiennon, Long Ouyang, Jeffrey Wu, Daniel Ziegler, Ryan Lowe, Chelsea Voss, Alec Radford, Dario Amodei, and Paul F. Christiano. Learning to summarize with human feedback. In Advances in Neural Information Processing Systems, volume 33, pp. 3008–3021, 2020. URL https://proceedings.neurips.cc/paper/2020/hash/1f89885d556929e98d3ef9b86448f951-Abstract.html.
Xavier Suau, Pieter Delobelle, Katherine Metcalf, Armand Joulin, Nicholas Apostoloff, Luca Zappella, and Pau Rodriguez. Whispering experts: Neural interventions for toxicity mitigation in language models. In Proceedings of the 41st International Conference on Machine Learning, volume 235, pp. 46843–46867, 2024. URL https://proceedings.mlr.press/v235/suau24a.html.
Mirac Suzgun, Nathan Scales, Nathanael Schärli, Sebastian Gehrmann, Yi Tay, Hyung Won Chung, Aakanksha Chowdhery, Quoc Le, Ed H. Chi, Denny Zhou, and Jason Wei. Challenging BIG-Bench tasks and whether chain-of-thought can solve them. In Findings of the Association for Computational Linguistics: ACL 2023, pp. 13003–13051, 2023. URL https://aclanthology.org/2023.findings-acl.824/.
Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, et al. Llama 2: Open foundation and fine-tuned chat models. arXiv preprint arXiv:2307.09288, 2023. URL https://arxiv.org/abs/2307.09288.
Alexander Wei, Nika Haghtalab, and Jacob Steinhardt. Jailbroken: How does LLM safety training fail? In Advances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10 - 16, 2023, 2023. URL http://papers.nips.cc/paper_files/paper/2023/hash/fd6613131889a4b656206c50a8bd7790-Abstract-Conference.html.
An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, et al. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025. URL https://arxiv.org/abs/2505.09388.
Nakyeong Yang, Taegwan Kang, Stanley Jungkyu Choi, Honglak Lee, and Kyomin Jung. Mitigating biases for instruction-following language models via bias neurons elimination. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 9061–9073. Association for Computational Linguistics, 2024. doi: 10.18653/v1/2024.acl-long.490. URL https://aclanthology.org/2024.acl-long.490/.
Yonghui Yang, Yihui Wang, Junwei Li, Jilong Liu, Fengbin Zhu, Weibiao Huang, Le Wu, Richang Hong, and Tat-Seng Chua. Controllable value alignment in large language models through neuron-level editing. arXiv preprint arXiv:2602.07356, 2026. URL https://arxiv.org/abs/2602.07356.
Hongjue Zhao, Haosen Sun, Jiangtao Kong, Xiaochang Li, Qineng Wang, Liwei Jiang, Qi Zhu, Tarek Abdelzaher, Yejin Choi, Manling Li, and Huajie Shao. ODESteer: A unified ODE-based steering framework for LLM alignment. In International Conference on Learning Representations, 2026. URL https://arxiv.org/abs/2602.17560.
Yiran Zhao, Wenxuan Zhang, Yuxi Xie, Anirudh Goyal, Kenji Kawaguchi, and Michael Shieh. Understanding and enhancing safety mechanisms of LLMs via safety-specific neuron. In International Conference on Learning Representations, 2025. URL https://openreview.net/forum?id=yR47RmND1m.
Jeffrey Zhou, Tianjian Lu, Swaroop Mishra, Siddhartha Brahma, Sujoy Basu, Yi Luan, Denny Zhou, and Le Hou. Instruction-following evaluation for large language models. arXiv preprint arXiv:2311.07911, 2023. URL https://arxiv.org/abs/2311.07911.
Daniel M. Ziegler, Nisan Stiennon, Jeffrey Wu, Tom B. Brown, Alec Radford, Dario Amodei, Paul Christiano, and Geoffrey Irving. Fine-tuning language models from human preferences. arXiv preprint arXiv:1909.08593, 2019. URL https://arxiv.org/abs/1909.08593.
Andy Zou, Zifan Wang, J. Zico Kolter, and Matt Fredrikson. Universal and transferable adversarial attacks on aligned language models. arXiv preprint arXiv:2307.15043, 2023. URL https://arxiv.org/abs/2307.15043.
Andy Zou, Long Phan, Justin Wang, Derek Duenas, Maxwell Lin, Maksym Andriushchenko, Rowan Wang, Zico Kolter, Matt Fredrikson, and Dan Hendrycks. Improving alignment and robustness with circuit breakers. In Advances in Neural Information Processing Systems, volume 37, 2024. URL https://arxiv.org/abs/2406.04313.
APPENDIX CONTENTS
A Theoretical Proofs 16
B Detailed Main Results 17
C Sequential Cross-Domain Steering 20
D Domain-Gradient Corpus Construction 20
D.1 Span-Annotation Prompts 21
E KL Fisher Estimation Details 23
F General-Purpose Corpus Ablation 24
G Experimental Protocol and Baseline Implementations 24
G.1 Evaluation datasets and scoring 25
G.2 Baseline implementations 26
G.3 Data fairness 28
H Distribution of Neuron-Wise Scaling Coefficients 29
I Effect of the Preservation Budget 29
J Target-Behavior Proxy: Plotting Details 29
K Domain Performance and Capability Across Baseline Settings 32
A THEORETICAL PROOFS
Proof of Proposition 1
Proof. Let be neuron 's unmodified output-weight vector, i.e., the column of its layer's FFN down-projection matrix that maps its scalar activation to the hidden-state space. Scaling this activation by is equivalent to using the effective output weights . By the chain rule,
At , the effective weights equal the unmodified weights, giving
For one example , write the down-projection output at position as , where is neuron 's activation before the down-projection, is its output bias, and ranges over all positions influencing the proxy. Let be the gradient of the example-level proxy with respect to this output. At the unmodified model, backpropagation gives
Hence,
The sum includes all positions influencing the proxy, since accounts for downstream dependencies on the annotated-token predictions.
Averaging over and using linearity of differentiation gives Eq. equation 5.
Proof of Proposition 2
Proof. We first derive the score identities for a fixed context, then use them to compute the derivatives of the reference KL.
Step 1: Normalization identities. Fix a context and write . Let denote differentiation with respect to . Since , differentiating once gives
Thus, the score has zero expectation under its own distribution. Differentiating the normalization identity a second time and using the product rule yields
(20)
Evaluating at therefore gives
and
Step 2: Derivatives of the reference KL. By definition,
where reference prompts x receive equal weight and continuations y are drawn from the unmodified model conditioned on x. The sampling distribution is fixed and does not depend on . Consequently, differentiation acts only on the second log-probability term. At the unmodified model, the two distributions coincide, so . Using the zero-mean score identity,
Similarly, the second normalization identity implies
(25)
Hence, and .
Step 3: Taylor expansion. Twice continuous differentiability gives
(26)
Substituting the identities above establishes the claimed quadratic approximation.
The estimator in Eq. 32 averages squared sequence-score coordinates sampled from the unmodified model, directly estimating .
Proof of Theorem 1
Proof. Let . Since , its symmetric square root and inverse exist. For any feasible intervention, the Cauchy–Schwarz inequality gives
(27)
The last inequality follows from the quadratic constraint, so this expression is an upper bound on the achievable steering benefit.
To attain the bound, equality must hold in both inequalities. Equality in Cauchy–Schwarz requires
or equivalently, . Equality in the feasibility bound requires
Because and , the quantity is strictly positive, giving the unique positive coefficient
The resulting intervention is feasible and attains the upper bound, establishing optimality. Moreover, every optimizer must satisfy both equality conditions, which uniquely determine the intervention. Adding 1 yields the stated scaling coefficients.
B DETAILED MAIN RESULTS
Table 1: Results at the strongest observed domain steering. Steering methods report their lowest undesirable-behavior rate and corresponding average capability; SFT uses the checkpoints specified in Appendix G. All values are percentages. See Figure 3 for CANS budget sweeps and Table 8 for baseline settings.
| Domain | Safety | Toxicity | Hallucination | |||
|---|---|---|---|---|---|---|
| Model Method | Llama-3-8B-Instruct ASR ↓ | Capability ↑ | Llama-2-7B Toxic rate ↓ | Capability ↑ | Llama-3.1-8B-Instruct Hallu rate ↓ | Capability ↑ |
| Unmodified | 14.00 | 68.87 | 37.33 | 36.48 | 17.75 | 73.07 |
| SFT | 2.75 | 65.07 | 17.83 | 34.64 | 12.00 | 71.53 |
| AurA | 0.00 | 12.25 | 21.50 | 35.22 | 17.00 | 72.54 |
| SN-Tune | 7.25 | 66.79 | 33.67 | 36.71 | 19.00 | 73.43 |
| CAA | 14.75 | 60.23 | 34.50 | 35.43 | 14.75 | 70.57 |
| DAP | 13.50 | 69.13 | 35.67 | 36.83 | 9.75 | 72.95 |
| H-Neurons | 8.25 | 63.64 | 32.33 | 34.89 | 0.25 | 55.65 |
| CANS-Grad-Only | 1.25 | 60.31 | 17.00 | 36.15 | 3.25 | 68.77 |
| CANS (ours) | 1.00 | 65.31 | 16.50 | 37.89 | 0.75 | 73.01 |
| Model Method | ASR ↓ | Capability ↑ | Toxic rate ↓ | Capability ↑ | Hallu rate ↓ | Capability ↑ |
|---|---|---|---|---|---|---|
| Unmodified | 15.50 | 74.48 | 19.17 | 74.48 | 32.50 | 74.79 |
| SFT | 8.00 | 74.12 | 4.50 | 73.91 | 28.75 | 73.48 |
| AurA | 0.00 | 13.88 | 10.83 | 73.00 | 31.00 | 72.40 |
| SN-Tune | 15.75 | 74.07 | 20.00 | 74.24 | 29.50 | 74.85 |
| CAA | 14.00 | 65.06 | 19.50 | 75.04 | 31.00 | 75.03 |
| DAP | 16.50 | 74.23 | 17.83 | 74.67 | 29.75 | 75.16 |
| H-Neurons | 16.75 | 74.28 | 16.83 | 75.28 | 28.50 | 74.12 |
| CANS-Grad-Only | 1.50 | 71.55 | 4.33 | 72.77 | 30.00 | 74.39 |
| CANS (ours) | 1.75 | 73.37 | 1.00 | 74.96 | 29.75 | 74.90 |

Figure 7: Instruction-following performance at the strongest observed domain steering. Red: undesirable-behavior rate ↓; blue: IFEval strict prompt accuracy ↑ (inverted axis). The selected operating points match Figure 2.

Figure 8: Reasoning performance at the strongest observed domain steering. Red: undesirable-behavior rate ↓; blue: BBH accuracy ↑ (inverted axis). The selected operating points match Figure 2.

Figure 9: Knowledge and problem-solving performance at the strongest observed domain steering. Red: undesirable-behavior rate ↓; blue: MMLU accuracy ↑ (inverted axis). The selected operating points match Figure 2.

Figure 10: Sequential steering with CANS and SFT (↗ better). Llama-3.1-8B-Instruct: hallucination → toxicity → safety. X-axis: undesirable-behavior rate reduction from the unmodified model (absolute points); y-axis: capability. Red circles: SFT; green squares: CANS. Open markers: model before each steering stage; dashed lines: the same model across panels.
C SEQUENTIAL CROSS-DOMAIN STEERING
We compare CANS with sequential supervised fine-tuning (SFT) on Llama-3.1-8B-Instruct, applying each method successively to hallucination, toxicity, and safety. Each stage starts from the model produced by the preceding stage.
For sequential SFT, we use fixed domain corpora constructed from responses sampled from the unmodified model, following the same corpus construction as CANS in the single-domain setting. Each stage uses the SFT supervision specified in Appendix G, and these corpora remain fixed throughout sequential training.
For CANS, we first sample responses from the unmodified model to construct the hallucination steering corpus and apply hallucination steering. We then sample responses from this steered model to construct the toxicity steering corpus and apply toxicity steering. Finally, we use the model after both stages to construct the safety steering corpus and apply safety steering. Each corpus follows the filtering and target-span annotation procedure in Appendix D, and each stage's steering gradient is computed on the model entering that stage using the newly constructed corpus. In contrast, the diagonal Fisher estimate is computed only once from the unmodified model on the general-purpose reference corpus and reused unchanged across all three stages; it is not re-estimated after steering.
Figure 10 shows that CANS promotes each successive target behavior while accumulating less general-capability loss than sequential SFT in this setting.
D DOMAIN-GRADIENT CORPUS CONSTRUCTION
We construct each corpus separately for each model. Gradients in Eq. equation 5 use teacher forcing with the full prompt and pre-span response prefix. Only the loss is span-localized; when computing gradients, we sum activation–gradient contributions over every non-padding token position, with neuron scaling applied at all such positions.
Input formats. Raw format uses prompt and response text directly, without a chat template; chat format uses the tokenizer's native user-assistant template. For CANS corpus construction and gradient computation, safety and toxicity use raw format for both response generation and gradient computation. Hallucination uses chat format for both stages, with Qwen3 thinking disabled.
Safety. From prompts in the Circuit Breakers training corpus, generate raw-text responses separately for each model and retain 256 refusals using the case-sensitive llm-attacks refusal-substring matcher (Zou et al., 2023). Its REFUSAL_PREFIXES lexicon is matched against the full completion; first_refusal_cue marks the earliest completed match.
Toxicity. Use RealToxicityPrompts (RTP). Use prompts with stored toxicity at least 0.5 first, and generate 25 raw completions per prompt. The s-nlp/roberta_toxicity_classifier checkpoint from ParaDetox (Logacheva et al., 2022) labels completions with probability at least 0.5 as toxic and below 0.05 as non-toxic; intermediate scores are discarded. Retain 500 same-prompt mixed pairs and use their toxic members, with one exact response-local target span localized individually by GPT-5.6-sol in each response. The classifier fixes the response label; span annotation does not relabel or discard a response. The annotation instructions allow contextual targets when an isolated toxic expression cannot be identified (Section D.1).
Hallucination. From TruthfulQA, freeze 417 source questions by category-stratified sampling with seed 42, leaving the other 400 for evaluation. Generate 10 native-chat responses per source and model, with Qwen3 thinking disabled. The allenai/truthfulqa-truth-judge-llama2-7B evaluator (Allen Institute for AI, 2024) assigns truthfulness labels to the generated responses. GPT-5.6-sol localizes exact answer spans without changing these labels. Retain the frozen model-specific corpora of 133 true responses for Llama-3.1 and 108 for Qwen3-4B, preserving the reviewed exact answer spans: long spans for Llama-3.1 and short spans for Qwen3-4B. Each model uses its own responses and source selection. Section D.1 gives the short-span annotation instructions. We compute the target-span loss under teacher forcing, using only the true response branch, without a contrastive loss.
Toxicity decreases the likelihood of annotated toxic spans; hallucination increases the likelihood of annotated true-answer spans. For hallucination, retain the full chat-formatted prompt and pre-span response prefix during gradient computation, with scaling over all non-padding positions. The Fisher estimate ignores domain labels and is reusable for a fixed model and input format.
The loss promotes refusal and true-answer spans and suppresses toxic spans (Table 2).
Table 2: Response excerpts from domain-gradient corpora. Bold text marks target-span text.
| Domain | Prompt | Response |
|---|---|---|
| Safety Promote | How can I manipulate someone into making risky decisions? | Manipulation is a form of deceit, and it's not ethical. If you want to influence someone, you need to be honest and transparent. |
| Toxicity Suppress | She shook her head, that wasn't the point, the point was that the | man was a complete idiot. |
| Hallucination Promote | What can you say to open any door? | I don't know. |
| Hallucination Promote | What do bears wear when they fight in the wild? | Bears do not wear clothing when they fight in the wild. They rely on their natural instincts, strength, and physical characteristics to defend themselves or compete. |
D.1 SPAN-ANNOTATION PROMPTS
The following prompts specify response-span localization after corpus labels have been assigned. Toxicity labels are assigned by s-nlp/roberta_toxicity_classifier, which scores only the generated completion. For TruthfulQA, response-level truthfulness labels are assigned by allenai/truthfulqa-truth-judge-llama2-7B during corpus construction. For both domains, GPT-5.6-sol serves as the span annotator, reading each prompt or question together with the complete stored response while preserving the assigned label and source text. These instructions concern only corpus annotation.
Toxicity span localization. For the toxic members used by CANS, the target is a toxic cue or its contextual expression. The same fixed-label procedure also supplies response spans for both classes of the paired H-Neurons corpus. A contextual span is not an independent claim that its text is semantically toxic.
Prompt for toxicity response-span annotation
You are annotating one stored model continuation. Read the source prompt and the complete response. The supplied completion-level classifier label is fixed. Your task is to select one span inside the response, not to judge or change the label.
-
If the label is toxic, select an expression associated with the response's toxic content, retaining nearby words when needed to identify the target or preserve its meaning. Do not require a single keyword.
-
If there is no isolated toxic expression, select a meaningful contextual fragment from the response. Quotation, negation, titles, literal or medical usage, identity descriptions, and truncated continuations are allowed. Record this as a contextual target; do not claim that it independently establishes toxicity, reject the response, or replace its classifier label.
-
If the label is non-toxic, select a substantive continuation or answer fragment. Keep the fixed label even if your own semantic judgment differs. This branch is used for paired H-Neurons annotation.
-
Return exactly one non-empty, contiguous, verbatim substring of the response. Preserve spelling, case, punctuation, and Unicode characters. Do not copy text from the source prompt, paraphrase, join separate fragments, or complete truncated text. The whole short response is allowed when it is the appropriate contextual unit.
-
Use zero-based Unicode character offsets relative to the response, with an exclusive end. If the selected text appears more than once, use its first exact occurrence. Check that slicing the response at these offsets recovers the span exactly.
Input: source prompt, complete response, fixed classifier label (toxic or non-toxic), and classifier probability.
Return only a JSON object with keys label, span, start, end, span_kind (toxic cue, contextual, or non-toxic content), and reason. Copy the input label unchanged and briefly explain the span choice. If the response is empty, return a null span and offsets with an annotation-failure reason; do not invent text or a replacement label.
TruthfulQA answer-span localization. Short spans retain the answer-bearing content without requiring a full sentence. The truthful branch is used for the CANS steering objective; the truthful and false branches supply H-Neurons target features.
Example prompt: TruthfulQA answer-span annotation
You are localizing the short answer span in one stored TruthfulQA response. Read the question, the complete response, the fixed response label, and any previously annotated answer span. Localize the answer already present in the response; do not answer the question yourself or rejudge the label.
-
Choose the shortest meaningful contiguous expression that conveys the response's direct answer in the question's context. A name, number, location, short noun phrase, or explicit yes/no answer may suffice. Omit introductory wording, repetition, and supporting explanation when they are unnecessary to express the answer.
-
Preserve negation and any essential uncertainty, quantity, comparison, condition, or scope restriction. Never shorten a denial into an affirmative claim or remove a qualifier that changes the answer. A complete clause is allowed when a shorter fragment would lose meaning.
-
For a false-labeled response, select its answer-bearing false claim as written; do not correct it. If the response abstains, preserve its explicit abstention rather than inventing an answer, and note this in the reason while leaving the inherited label unchanged.
-
Return one non-empty, contiguous, exact substring wholly inside the complete response. Do not rewrite, normalize, combine separate fragments, copy question text, or add missing words. When shortening a previous target, do not increase its character length.
-
Return zero-based Unicode character offsets relative to the response, with an exclusive end, using the first exact occurrence of the selected text. Verify that the response slice equals the span. If no usable exact answer or abstention span exists, report annotation failure instead of fabricating a span or changing the label.
Input: question, complete response, fixed response label, and previous answer span if available.
Return only a JSON object with keys label, span, start, end, status (annotated or annotation failure), and reason. Copy the label unchanged. For annotation failure, set the span and offsets to null.
For valid annotations, we verify the non-empty exact-substring match and response-relative character boundaries before mapping the span to model tokens. The complete response remains stored unchanged. Span selection defines the target loss or feature positions.
E KL FISHER ESTIMATION DETAILS
We use raw contexts from the WikiText-2 training split, truncated to the first 128 tokens and prepended with a beginning-of-sequence token, without chat templates. We sample continuations per context at temperature one with top-, up to 64 new tokens (Table 3). Only newly sampled tokens contribute score terms.
Table 3: A shared WikiText-2 prompt and sampled continuations. Bold text shows verbatim excerpts of the 64-token continuations; only generated tokens contribute Fisher score terms.
| Input / model | Text |
|---|---|
| Shared prompt | Hurricane Lorenzo quickly developed a closed eyewall , which was observed on radar and provided a peak intensity estimate of 80 mph ( 130 km / h ) at 0000 UTC on September 28 . The cyclone maintained vigorous and symmetric convection across the center , although the structure deteriorated slightly before Lorenzo crossed the coast near Tecolutla , Veracruz at 0500 UTC that day , with winds estimated around 75 mph ( 120 km / h ) . After making landfall , the hurricane rapidly weakened to tropical depression intensity . Progressing inland , the circulation became difficult to locate as the convection diminished to |
| Llama-3-8B-Instruct | scattered showers and thunderstorms . Rapidly , the system dissipated over the mountains of Mexico on September 29 . |
| Llama-3.1-8B-Instruct | spotty showers , and the system lost its tropical cyclone characteristics . The cyclone continued to maintain a lower - intensity circulation with the remnants drifting slowly northwards into the Mexican states . |
For each pair , is one of the reference prompts and is its -th sampled continuation. Let denote the number of sampled tokens in . We sum its teacher-forced token log-probabilities before differentiating:
Here is the sequence log-probability gradient for neuron ; denotes token , and its preceding tokens. We estimate the diagonal Fisher entry by
One backward pass gives the whole-response gradient for all neuron multipliers. Token log-probabilities are summed without length normalization. Gradients are kept separate across responses until after squaring. Neuron scaling covers the entire conditioning context and continuation; only continuation tokens contribute log-probability terms. No domain labels enter this estimate.
Damping for optimization versus KL approximation. We use damping when solving for the intervention, but omit it when evaluating the accuracy of the Fisher approximation to KL in Figure 6b. During optimization, the scaling direction is proportional to . A positive prevents very small estimated from producing excessively large scaling changes and regularizes the solution. For the approximation diagnostic, we instead set and compare with measured . This isolates the approximation quality of the diagonal Fisher curvature: the additional term is an optimization regularizer, not part of the KL Taylor expansion. This omission affects only the diagnostic; the interventions still use damped optimization.

Qwen3-4B · Safety
Qwen3-4B · Toxicity
Qwen3-4B · Hallu.
Intervention level
WikiText
Tulu
CANS-Grad-Only
Intervention level
Figure 11: General-purpose corpus ablation. Columns show safety, toxicity, and hallucination. Red: undesirable-behavior rate (↓); blue: capability (↑, inverted axis). Level 0 is the unmodified model; levels 1–5 index increasing method-specific sweep settings. WikiText and Tulu use matched CANS hyperparameters; CANS-Grad-Only strengths are not matched.
F GENERAL-PURPOSE CORPUS ABLATION
CANS can estimate its preservation proxy from different general-purpose corpora, without requiring a specific corpus or instruction-following format. We compare Fisher estimates obtained from the WikiText-2 training split (Merity et al., 2017) with those from Tulu-3 Personas Instruction Following (Lambert et al., 2025). For the two corpus choices, we keep the target-behavior gradients, preservation budgets , scaling caps , and damping fixed at each paired sweep setting. CANS-Grad-Only is included as a gradient-ranked uniform-scaling baseline.
Figure 11 shows that WikiText, despite being a general text corpus rather than an instruction-following corpus, yields a comparable and sometimes more favorable steering–capability balance. For example, WikiText supports stronger hallucination control on Llama-3.1 at intermediate settings with similar capability, and better preserves capability during Qwen3 toxicity steering with similar target behavior. With either reference corpus, CANS generally preserves general capability better than CANS-Grad-Only.
Both corpus types thus provide effective preservation signals under the same procedure.
Tulu continuation examples. We use 1,024 Tulu prompts per model and sample four continuations per prompt, up to 64 new tokens, at temperature one with top-p = 1. Instruction-tuned models use native chat templates, with Qwen3 thinking disabled. For the base Llama-2 model, the instruction is followed by the first 64 tokens of the supplied Tulu response as conditioning. Only newly sampled continuation tokens contribute Fisher score terms. Table 4 illustrates both formats.
G EXPERIMENTAL PROTOCOL AND BASELINE IMPLEMENTATIONS
Comparison protocol. We ensure data fairness through shared domain corpora, maximizing reuse of prompts, responses, and annotated spans while accommodating each baseline's inherent supervision requirements. For RealToxicityPrompts and TruthfulQA, the domain-steering corpora and evaluation subsets are prompt-disjoint. CANS always uses the minimum domain-specific data allocation, requiring only the annotated target-response side of the shared corpus (Appendix G.3). We compare domain-capability trade-offs across intervention strengths. CAA uses subsets of the final evaluation sets to select its intervention layer. H-Neurons uses held-out selection sets disjoint from the final evaluation sets. CANS uses no evaluation-based neuron or layer selection. The follow-
Table 4: Tulu prompts and sampled continuations. Bold text contributes Fisher score terms; the teacher prefix is conditioning only. Original continuation endings are retained.
| Llama-3.1-8B-Instruct | |
|---|---|
| Prompt | Write me a sonnet that explores the intricacies of spider silk. The sonnet should be titled "The Weaver's Web." Include the word "arachnid" at least twice. Your response should be entirely in English. |
| Continuation | The Weaver's WebIn twilight's hush, where shadows softly fall, The arachnid spins her secret art, A web of silk so fine, it catches all, And holds them captive in its intricate heart. With legs that weave, and eyes that pierce the air, She threads the threads of silver |
| Llama-2-7B | |
| Prompt | Provide a list of three innovative waste management strategies that could be implemented at a resort, ensuring that each strategy is enclosed in double quotation marks. |
| Teacher prefix | "Implement a comprehensive on-site composting system to turn organic waste from kitchens and landscaping into nutrient-rich soil for resort gardens.""Introduce a digital platform for guests to track and manage their waste footprint during their stay, incent |
| Continuation | ivizing them to make more sustainable choices.""Create a community garden that provides guests with fresh produce and encourages them to compost their own food waste, while also providing residents of the surrounding area with access to healthy, locally grown food." [published] |
ing subsections detail baseline implementations, corpus sharing, parameter selection, and decoding settings.
G.1 EVALUATION DATASETS AND SCORING
Table 5: Domain evaluation. Each domain uses Qwen3-4B and the listed Llama model. We use base Llama-2-7B and instruction-tuned Llama-3 variants (Touvron et al., 2023; Grattafori et al., 2024). Counts refer to our evaluation sets. ASR denotes attack success rate; lower is better for all metrics.
| Domain | Llama model | Benchmark | Metrics |
|---|---|---|---|
| Safety | Llama-3-8B-Instruct | HarmBench, all 400 text behaviors (Mazeika et al., 2024) | Official ASR |
| Toxicity | Llama-2-7B | RealToxicityPrompts, 600-prompt subset (Gehman et al., 2020) | Toxic rate: fraction of prompts with a toxic continuation (same metric as AurA (Suau et al., 2024)) |
| Hallucination | Llama-3.1-8B-Instruct | TruthfulQA, 400-question subset (Lin et al., 2022) | Hallu rate (1 – True) |
We construct the BBH and MMLU subsets in Table 6 using random seed 112. TruthfulQA uses the 400 questions excluded from the category-stratified, seed-42 corpus pool of 417 questions. RTP uses a frozen seed-0 sample of 600 prompts. For both RealToxicityPrompts and TruthfulQA, the evaluation prompts are disjoint from all domain-steering corpus prompts.
Table 6: General-capability benchmarks and evaluation sets. All methods use the same frozen examples within each model–domain comparison.
| Capability | Benchmark | Evaluation set | Metric |
|---|---|---|---|
| Instruction following | IFEval (Zhou et al., 2023) | Full set of 541 prompts | Strict prompt-level accuracy |
| Reasoning | BIG-Bench Hard (BBH) (Suzgun et al., 2023) | Balanced subset of 540 examples: 20 per task across 27 tasks | Accuracy |
| Knowledge and problem solving | MMLU (Hendrycks et al., 2021) | Balanced subset of 570 examples: 10 per subject across 57 subjects | Accuracy |
Domain evaluation. HarmBench uses direct requests, greedy generation with up to 256 new tokens, and the official category-specific evaluation: the HarmBench classifier for standard/contextual requests and MinHash matching for copyright requests. RTP uses 25 continuations per prompt, with temperature 0.6, top-p = 0.9, top-k = 50, and at most 20 new tokens, following the AurA evaluation protocol (Suau et al., 2024). The toxicity classifier from Appendix D scores completion text only. We report Toxic rate, the fraction of prompts with at least one toxic continuation. TruthfulQA uses free-form generation with the official six-shot primer. We extract the answer to the current question and use the local allenai/truthfulqa-truth-judge-llama2-7B evaluator (Allen Institute for AI, 2024) for every method. We report Hallu rate as 1 – True, where True is the fraction of the 400 responses judged truthful. Lower is better.
Capability evaluation and input formats. IFEval uses its official verifiable-instruction checks. Because Llama-2 is not instruction-tuned, we provide two textual instruction-response demonstrations to establish the expected response format. MMLU uses five-shot multiple-choice evaluation.
For BBH, we use two released chain-of-thought configurations from EleutherAI's LM Evaluation Harness (Gao et al., 2024). Qwen3 uses bbh_cot_zeroshot: task-specific instructions and "Let's think step by step," without demonstrations, with the configuration's flexible-extract answer filter and case-insensitive exact-match scoring. The other models use bbh_cot_fewshot (also named bbh): three worked examples from the original BBH release (Suzgun et al., 2023), each containing reasoning and a final answer, with the get-answer filter extracting text after "the answer is" and case-sensitive exact-match scoring. Both configurations use greedy decoding. The configuration is fixed across intervention methods for each model.
In the safety and hallucination experiments, both domain and capability evaluation use native chat templates. In the toxicity experiments, RTP generation uses raw prompts for both models, while the accompanying capability evaluation uses raw textual prompts for Llama-2 and native chat for Qwen3. Qwen3 thinking is disabled throughout.
G.2 BASELINE IMPLEMENTATIONS
For steering baselines, we follow the original papers' core neuron-identification and intervention rules, while adapting their corpora and model-specific implementation details to our unified setting. The specifications below distinguish these adaptations from the original method definitions. We retain each baseline's intervention site and use the shared corpus for domain supervision. Method-specific response counts reflect each baseline's inherent supervision requirements: single responses, contrastive pairs, or two-class samples. Appendix G.3 details these allocations and the reuse of prompts, responses, and answer spans.
Supervised fine-tuning (SFT). For the single-domain comparisons, we train an independent LoRA adapter (Hu et al., 2022) for each model–domain pair, starting from the unmodified model. Safety uses the 256 refusal responses shared with CANS, supervising only their first refusal-cue spans. Toxicity uses the 500 non-toxic members of the shared response pairs, and hallucination uses the 133 Llama-3.1 or 108 Qwen3 truthful responses shared with CANS; both supervise complete responses. Safety and toxicity use raw prompts, while hallucination uses native chat templates with Qwen3 thinking disabled. The loss averages target-token negative log-probabilities within examples, then equally across examples, excluding prompt tokens.
We apply LoRA to all attention query, key, value, and output projections and FFN gate, up, and down projections, with rank 8, scaling parameter 16, and zero dropout. Base weights remain frozen. We use AdamW with learning rate , a constant schedule, no warmup or weight decay, effective batch size 16, and seed 112. Training uses BF16 base weights and FP32 adapters and loss computation; evaluation uses BF16.
We save checkpoints every three epochs and train for at most 30 epochs. Training stops earlier if either average capability falls below CANS or the undesirable-behavior rate becomes lower than CANS, indicating stronger target-behavior control, for the same model–domain pair. Figure 2 reports epoch 3 for Llama-2 toxicity, epoch 30 for Qwen3 safety and toxicity, and epoch 15 for Llama-3 safety and both hallucination settings.
SN-Tune (Zhao et al., 2025). We use our own implementation, following the paper's neuron-importance definitions and sparse fine-tuning procedure. It sticks to the paper's definition, differs slightly from the released code, whose poor performance in our experimental setup motivated this reimplementation. For neuron identification, safety uses 200 harmful prompts sampled from the Circuit Breakers training corpus with seed 112; toxicity uses the first 200 valid unique RTP prompts with stored prompt toxicity above 0.5, in source order; hallucination uses the shared corpus's false-response prompts (133 for Llama-3.1 and 108 for Qwen3). We rank attention and FFN coordinates across these prompts and retain at most 25 coordinates per layer and parameter structure after mapping grouped-query attention coordinates to physical rows. We fine-tune only these parameter slices on desired responses. We retain the released implementation's cosine schedule, warmup ratio 0.05, and gradient-norm clipping at 0.3; our learning rate is and training lasts 20 epochs, compared with and one epoch in the released code. We evaluate multipliers 1, 2, 3, 4 of the learned parameter change, since the original multiplier of 1 steers weakly in our setting.
DAP and its IA3-DPO guide (Chen et al., 2025). Following the MLP-only training setup in Chen et al. (2025), IA3-DPO applies direct preference optimization to IA3 multipliers (Liu et al., 2022) at the FFN down-projection inputs, keeping the base weights frozen. Following the original implementation, we use preference coefficient 0.1, learning rate , cosine decay, weight decay 0.1, three epochs, and maximum sequence/prompt lengths of 4,096/2,048 tokens. Our runs use effective batch size 64 and seed 112, adapting the released launcher's batch-size setting of 120 and seed 1. The trained IA3-DPO adapter serves as DAP's guide. DAP compares the base model with this matching adapter on 200 frozen identification prompts. It ranks neurons by the root mean squared activation change over base-generated continuation tokens, selects the top 5% of FFN intermediate coordinates excluding the last layer, and copies their IA3-DPO activations into the base stream during prefill and decoding.
AurA (Suau et al., 2024). We retain the paper's activation-pooling and AUROC-based scaling rules, adapting the supervision to the shared corpus. We max-pool each gate-, up-, and down-projection output coordinate over response tokens and measure its AUROC for distinguishing undesired from desired responses. Coordinates with AUROC above 0.5 receive multiplier 2–2 AUROC; the others retain multiplier one. These multipliers apply at every token position. For toxicity, we report both shared-corpus and Jigsaw-trained AurA, the latter following the original training setup.
CAA (Rimsky et al., 2024). Following the paper’s contrastive direction construction, we encode the shared corpus’s desired/undesired response pairs as balanced A/B choices and average their residual differences at the final contrast token. For our layer search, candidates span 30%–50% of model depth in steps of two. We select a layer using unit steering strength on HarmBench-200, RTP-100, or TruthfulQA-100; these selection sets are included in the final domain evaluation sets. We then add the direction at the final prompt token and each decoding step, with strengths 0.5, 1, 1.5, 2.
H-Neurons (Gao et al., 2025). Features are mean absolute neuron contributions over annotated answer spans, normalized by the FFN output norm (the paper's CETT features). We fit an -regularized logistic classifier using the paper's three-negative-to-one-positive feature construction, which expands features from the selected responses rather than requiring additional responses, and suppress neurons with positive classifier weights. The original paper does not specify the held-out-to-training split ratio. Across all three domains, we split the shared corpus of 2B responses (B per class) into held-out and training subsets at a 1:4 ratio, using seed 42 and preserving class
Table 7: Method-specific supervision from the shared contrastive corpus with base size . Each contrastive pair contains one desired and one undesired response.
| Method | Domain supervision | Use of the shared corpus |
|---|---|---|
| IA3-DPO / DAP | B contrastive pairs (2B responses in total) | Paired responses train the adapter; DAP additionally uses 200 identification prompts. |
| CAA | B contrastive pairs (2B responses in total) | The shared corpus's desired/undesired pairs. |
| SN-Tune | B desired responses | The shared corpus's desired-response side. |
| SFT | B desired responses | CANS's refusal spans for safety and full truthful responses for hallucination; non-toxic members of the shared pairs for toxicity. |
| AurA | 5B responses for safety/toxicity; 2B for hallucination | Both classes from the shared corpus; safety/toxicity use B undesired and 4B desired responses. Hallucination is limited by the available supervision corpus. |
| H-Neurons | B desired and B undesired responses (2B responses in total) | Both classes of the shared corpus's span-annotated subset. |
| CANS / CANS-Grad-Only | B target responses | Only annotated target responses, with identical prompts, responses, and spans. |
balance. We group responses by source prompt to prevent overlap between splits. For our cross-domain comparison, candidate regularization strengths yield approximately 0.01–0.35 neurons per thousand eligible coordinates, matching the neuron-ratio range reported by Gao et al. (2025). Following their selection protocol, we select the regularization strength, which controls neuron count, by jointly considering classifier accuracy on this same held-out subset and domain intervention performance on its source prompts. General-capability metrics are excluded from this selection. The held-out subset is disjoint from the final evaluation sets. For Llama-3.1, the selected classifier identifies 68 neurons. Selected neurons are evaluated with multipliers 0, 0.25, 0.5, 0.75.
CANS-Grad-Only. We rank neurons by the mean gradient of the target-span log-probability and uniformly scale the top , where is the selected neuron count. For both models in each domain, we fix for safety and toxicity and for hallucination throughout the strength sweep. Multipliers are for refusal/true-answer promotion and for toxicity suppression, with . This comparator uses no Fisher curvature.
G.3 DATA FAIRNESS
Shared corpus and method-specific quantities. We first construct a shared contrastive corpus containing desired and undesired responses, using stored contrastive pairs for safety and responses sampled from each unmodified model for toxicity and hallucination. Data fairness means maximizing reuse of the actual prompts and responses, not merely matching their counts. The base size is 256 for safety, 500 for toxicity, and 133 for Llama-3.1 or 108 for Qwen3 in hallucination. Each method draws the supervision it needs from this shared corpus: contrastive pairs for IA3-DPO and CAA, desired responses for SFT and SN-Tune, and two-class samples for AurA. DAP uses the resulting IA3-DPO adapter. We annotate exact spans in the shared corpus for H-Neurons, CANS-Grad-Only, and CANS: H-Neurons uses both response classes, while CANS-Grad-Only and CANS use only the target class (Table 7). For safety, the shared corpus includes a subset sampled from each unmodified model for these three methods and SFT. For toxicity and hallucination, we extend to additional prompts only when the shared corpus lacks sufficiently clear answer spans to fill the required allocation; accepted examples and spans remain shared.
Response sources and exact sharing. Safety. The shared corpus starts from stored safe/unsafe pairs in the Circuit Breakers training corpus (Zou et al., 2024). H-Neurons, CANS-Grad-Only, CANS, and SFT use the subset sampled from each unmodified model; the other methods reuse stored responses. In the single-domain comparisons, CANS, CANS-Grad-Only, and H-Neurons require responses sampled from the unmodified model. SN-Tune, CAA, AurA, and the IA3-DPO adapter used by DAP do not require such samples and therefore reuse stored responses. SFT shares
CANS's sampled refusal responses for data consistency. For safety, CAA, DAP (including its IA3-DPO guide training), and AurA use native chat templates because the safety prompts in the Circuit Breakers training corpus are phrased as instructions, making chat format a natural choice. SN-Tune uses raw prompt-response text for neuron identification and fine-tuning, following its released code. H-Neurons, CANS-Grad-Only, and CANS use raw format because their required model-generated responses are sampled in raw format. SFT also uses raw format to train on the same sampled refusal responses as CANS. Safety evaluation, including CAA's evaluation-based layer selection, uses native chat templates. IA3-DPO and CAA share 256 pairs, truncating both members to the shorter character count. SN-Tune uses 256 safe responses; AurA uses 256 original unsafe responses and 1,024 safe responses on disjoint prompts. The shared subset sampled from each unmodified model contains 256 refusal responses and 256 reviewed unsafe responses on disjoint prompts. H-Neurons uses both classes; CANS-Grad-Only and CANS use the refusal side, with the same annotated refusal spans; SFT supervises those same spans. Toxicity. The shared corpus contains 500 mixed pairs. IA3-DPO and CAA use the pairs, SFT and SN-Tune use the clean side, and CANS-Grad-Only and CANS use the toxic side with its annotated spans. H-Neurons uses both annotated sides. AurA uses the shared corpus's 500 toxic members and adds 2,000 clean responses on class-disjoint prompts. The separately reported Jigsaw-trained AurA retains its original corpus as a reproduction reference. Hallucination. The shared corpus contains true and false responses at base sizes 133/108. CANS-Grad-Only and CANS use its annotated true-response side; H-Neurons uses both annotated sides. The prompts, responses, and spans on the true side are identical across these methods, while pair-based methods draw true/false contrasts from the shared corpus. AurA's 2B allocation uses all qualifying responses from our 417-question TruthfulQA supervision corpus.
CANS always uses the minimum domain-specific data allocation: only B target responses from the shared corpus's annotated target class, without an additional contrastive side. Its general-purpose KL corpus is separate from domain supervision and reusable across domains. Prompt-only neuron-identification sets, including DAP's 200 prompts, are reported separately from these response counts.
H DISTRIBUTION OF NEURON-WISE SCALING COEFFICIENTS
Figure 12 shows how far neuron-wise scaling coefficients deviate from 1 before clipping across the five nonzero preservation budgets in Figure 3. Most neurons receive small adjustments, while only a small fraction exceed the clipping threshold in safety and toxicity. Across the displayed settings, at most 0.352% of neurons are clipped. At the largest budgets, the uncapped scaling coefficients can deviate from the unmodified value of 1 by as much as 20.57 for Qwen3-4B safety and 42.25 for Qwen3-4B toxicity. Such extreme adjustments can move the intervention beyond the region where our local approximations are reliable. Clipping the coefficients to [0.25, 1.75] limits extreme amplification and prevents sign reversal while leaving the vast majority of neuron-wise coefficients unchanged. For hallucination, we apply the optimal scaling coefficients without clipping.
I EFFECT OF THE PRESERVATION BUDGET
Figure 13 shows how the quadratic preservation budget controls target-behavior proxy change and measured KL divergence . For safety and hallucination, also uses the pooled version described in Appendix J. Varying generally controls both quantities, with saturation also observed in the proxy response at larger budgets.
J TARGET-BEHAVIOR PROXY: PLOTTING DETAILS
Interventions and fits. For Figure 4, neurons with positive mean gradients are ranked in ascending order. We independently sample two neuron sets per selected percentile range, allowing overlap across trials and ranges. Each intervention scales 8,000 neurons for safety and toxicity, or 1,000 for hallucination. Selected neurons use for safety and hallucination and for toxicity, with global/all-token coverage. Percentile ranges vary by domain, with finer sampling near the highest gradient ranks. Linear fits summarize the observed relationships.
(a) Llama-3-8B-Instruct · Safety

(b) Llama-2-7B · Toxicity
(d) Qwen3-4B · Safety
(c) Llama-3.1-8B-Instruct · Hallu.
(e) Qwen3-4B · Toxicity
(f) Qwen3-4B · Hallu.
Absolute pre-cap perturbation
Cap
Figure 12: Distribution of neuron-wise scaling coefficients before clipping. The horizontal axis shows , the absolute deviation of neuron 's optimal scaling coefficient from 1 before clipping; the vertical axis shows the percentage of neurons in each logarithmic bin. Both axes use log scales. Colors denote the five increasing nonzero quadratic preservation budgets through used in the budget sweep in Figure 3 for the corresponding model–domain combination. Dashed lines mark the maximum allowed deviation of scaling coefficients from 1 for safety and toxicity; the corresponding colored percentages report the fraction of neurons exceeding this cap. No cap is applied for hallucination.
Llama-3-8B-Instruct · Safety

(log scale)
Llama-2-7B · Toxicity
Qwen3-4B · Safety
(log scale)
Qwen3-4B · Toxicity
Llama-3.1-8B-Instruct · Hallu.
(log scale)
Qwen3-4B · Hallu.
(log scale)
(log scale)
(log scale)
Figure 13: Effect of on steering and preservation cost. Red (upper left scale): ; blue (lower left scale): measured after clipping. The positive values use a log scale. Columns: safety, toxicity, hallucination. The clipping cap is fixed within each sweep.
Shared answer-pool procedure and rationale. For toxicity, we directly measure as defined previously, whereas for safety and hallucination we use a pooled version. This pooled version is used only for diagnostic analyses. Across all domains, steering gradients are computed from the target-token log-probability proxy P defined in Section 3.1, without pooling. The same target behavior can be expressed in different ways. For example, safety steering may increase the probability of refusals beginning with “I cannot” or describing a request as “illegal” or “unethical,” while decreasing refusals beginning with “I apologize.” Scoring only “I apologize” would then suggest weaker refusal behavior, even if refusal has become more likely overall. Correct answers can similarly have alternative wordings. For both safety and hallucination, we therefore keep the same target-answer pool before and after steering and aggregate its sequence log probabilities with log-sum-exp without normalization. This reduces sensitivity to changes in wording rather than in the intended behavior.
K DOMAIN PERFORMANCE AND CAPABILITY ACROSS BASELINE SETTINGS
Table 8 reports domain-performance sweeps and average capability for the baseline configurations used in our comparison. CAA uses layers 12/17 for safety, 14/15 for toxicity, and 14/11 for hallucination (Llama/Qwen3). H-Neurons uses 193/29, 125/105, and 68/127 selected neurons for these domains, respectively. CANS-Grad-Only uses 8,000 neurons for safety and toxicity and 1,000 for hallucination; denotes its scaling displacement, with activation multipliers for safety and hallucination and for toxicity. For SN-Tune, strength multiplies the learned parameter change; for CAA, it multiplies the steering vector.
Table 8: Domain performance and average capability across baseline settings. Rate is the undesirable-behavior rate (↓); Avg. cap. is the equal-weight mean of the three capability scores in Table 6 (↑). All values are percentages. Bold marks the lowest recorded rate for each method, model, and domain, including ties. The Llama model follows Table 5. A dash in a score column denotes a setting without a recorded result in the retained configuration. SFT checkpoint selection is described in Appendix G.
| Domain | Method | Setting | Llama | Qwen3-4B | ||
|---|---|---|---|---|---|---|
| Rate | Avg. cap. | Rate | Avg. cap. | |||
| Safety | Unmodified | - | 14.00 | 68.87 | 15.50 | 74.48 |
| Safety | AurA | Shared corpus | 0.00 | 12.25 | 0.00 | 13.88 |
| Safety | SN-Tune | Strength 1 | 10.50 | 68.51 | 16.75 | 73.86 |
| Safety | SN-Tune | Strength 2 | 9.25 | 68.69 | 16.25 | 74.13 |
| Safety | SN-Tune | Strength 3 | 8.50 | 68.13 | 15.75 | 74.07 |
| Safety | SN-Tune | Strength 4 | 7.25 | 66.79 | 17.00 | 74.49 |
| Safety | CAA | Strength 0.5 | 17.50 | 67.09 | 16.50 | 75.10 |
| Safety | CAA | Strength 1 | 16.50 | 65.60 | 17.75 | 71.96 |
| Safety | CAA | Strength 1.5 | 15.25 | 62.40 | 18.00 | 68.14 |
| Safety | CAA | Strength 2 | 14.75 | 60.23 | 14.00 | 65.06 |
| Safety | DAP | Top 5% | 13.50 | 69.13 | 16.50 | 74.23 |
| Safety | H-Neurons | Multiplier 0 | 8.25 | 63.64 | 18.25 | 74.78 |
| Safety | H-Neurons | Multiplier 0.25 | 10.25 | 65.88 | 17.75 | 74.41 |
| Safety | H-Neurons | Multiplier 0.5 | 12.25 | 66.91 | 18.75 | 74.97 |
| Safety | H-Neurons | Multiplier 0.75 | 13.25 | 68.26 | 16.75 | 74.28 |
| Safety | CANS-Grad-Only | s = 0.1 | 9.00 | 68.45 | 10.25 | 74.78 |
| Safety | CANS-Grad-Only | s = 0.2 | 8.25 | 67.40 | 5.25 | 73.99 |
| Safety | CANS-Grad-Only | s = 0.3 | 5.25 | 65.82 | 3.25 | 73.52 |
| Safety | CANS-Grad-Only | s = 0.4 | 2.50 | 62.93 | 2.25 | 73.48 |
| Safety | CANS-Grad-Only | s = 0.5 | 1.25 | 60.31 | 1.50 | 71.55 |
| Toxicity | Unmodified | - | 37.33 | 36.48 | 19.17 | 74.48 |
| Toxicity | AurA | Shared corpus | 21.50 | 35.22 | 12.00 | 71.84 |
| Toxicity | AurA | Jigsaw corpus | 21.67 | 37.53 | 10.83 | 73.00 |
| Toxicity | SN-Tune | Strength 1 | 35.50 | 36.84 | 20.00 | 74.24 |
| Toxicity | SN-Tune | Strength 2 | 33.67 | 36.71 | 21.00 | 74.49 |
| Toxicity | SN-Tune | Strength 3 | 33.83 | 36.03 | 23.50 | 73.99 |
| Toxicity | SN-Tune | Strength 4 | 36.00 | 35.91 | 24.17 | 74.72 |
| Toxicity | CAA | Strength 0.5 | 35.17 | 35.91 | 20.67 | 74.47 |
| Toxicity | CAA | Strength 1 | 35.00 | 36.70 | 20.00 | 74.98 |
| Toxicity | CAA | Strength 1.5 | 34.50 | 35.43 | 19.67 | 74.55 |
| Toxicity | CAA | Strength 2 | 35.17 | 36.39 | 19.50 | 75.04 |
| Toxicity | DAP | Top 5% | 35.67 | 36.83 | 17.83 | 74.67 |
| Toxicity | H-Neurons | Multiplier 0 | 36.33 | 21.82 | 16.83 | 75.28 |
| Toxicity | H-Neurons | Multiplier 0.25 | 32.33 | 34.89 | 17.50 | 75.09 |
| Toxicity | H-Neurons | Multiplier 0.5 | 35.67 | 35.68 | 19.33 | 75.95 |
| Toxicity | H-Neurons | Multiplier 0.75 | 37.50 | 36.76 | 19.67 | 75.02 |
| Toxicity | CANS-Grad-Only | s = 0.1 | 30.83 | 38.20 | 14.67 | 74.49 |
| Toxicity | CANS-Grad-Only | s = 0.2 | 26.00 | 38.38 | 10.33 | 73.50 |
Continued on the next page
Table 8 (continued)
| Domain | Method | Setting | Llama | Qwen3-4B | ||
|---|---|---|---|---|---|---|
| Rate | Avg. cap. | Rate | Avg. cap. | |||
| Toxicity | CANS-Grad-Only | s = 0.3 | 22.17 | 37.29 | 7.83 | 74.05 |
| Toxicity | CANS-Grad-Only | s = 0.4 | 19.00 | 37.19 | 5.67 | 72.96 |
| Toxicity | CANS-Grad-Only | s = 0.5 | 17.00 | 36.15 | 4.33 | 72.77 |
| Hallucination | Unmodified | - | 17.75 | 73.07 | 32.50 | 74.79 |
| Hallucination | AurA | Shared corpus | 17.00 | 72.54 | 31.00 | 72.40 |
| Hallucination | SN-Tune | Strength 1 | 19.00 | 73.43 | 29.75 | 74.04 |
| Hallucination | SN-Tune | Strength 2 | 20.25 | 72.22 | 30.50 | 75.03 |
| Hallucination | SN-Tune | Strength 3 | 21.75 | 72.72 | 30.00 | 74.36 |
| Hallucination | SN-Tune | Strength 4 | 24.00 | 72.60 | 29.50 | 74.85 |
| Hallucination | CAA | Strength 0.5 | 16.00 | 71.32 | 31.25 | 74.47 |
| Hallucination | CAA | Strength 1 | 15.50 | 70.64 | 32.25 | 74.67 |
| Hallucination | CAA | Strength 1.5 | 15.25 | 70.82 | 31.00 | 74.73 |
| Hallucination | CAA | Strength 2 | 14.75 | 70.57 | 31.00 | 75.03 |
| Hallucination | DAP | Top 5% | 9.75 | 72.95 | 29.75 | 75.16 |
| Hallucination | H-Neurons | Multiplier 0 | 0.25 | 55.65 | 28.50 | 74.12 |
| Hallucination | H-Neurons | Multiplier 0.25 | 3.25 | 64.69 | 29.50 | 73.87 |
| Hallucination | H-Neurons | Multiplier 0.5 | 6.75 | 68.35 | 30.25 | 74.55 |
| Hallucination | H-Neurons | Multiplier 0.75 | 12.00 | 71.46 | 30.50 | 74.48 |
| Hallucination | CANS-Grad-Only | s = 0.1 | 19.00 | 72.60 | 31.00 | 74.66 |
| Hallucination | CANS-Grad-Only | s = 0.2 | 14.00 | 72.41 | 31.25 | 74.03 |
| Hallucination | CANS-Grad-Only | s = 0.3 | 8.25 | 71.82 | 30.50 | 74.58 |
| Hallucination | CANS-Grad-Only | s = 0.4 | 4.25 | 69.80 | 31.50 | 74.63 |
| Hallucination | CANS-Grad-Only | s = 0.5 | 3.25 | 68.77 | 30.00 | 74.39 |