arXiv:2611.06553cs.AINov 2026

Manuscript Offprint

arXiv:2611.06553

Addition by Subtraction: Toward Mitigating Fragile Safety Alignment in Large Language Models

Hamid Dashtbani, Alexandra Dmitrienko

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Hamid Dashtbani

Department of Computer Science University of Duisburg-Essen hamid.dashtbani@uni-due.de

Alexandra Dmitrienko

Department of Computer Science University of Duisburg-Essen alexandra.dmitrienko@uni-due.de

Abstract—Large language models (LLMs) undergo safety alignment to prevent harmful generations, yet they remain vulnerable to jailbreak attacks. Recent work reveals a deeper structural weakness: safety alignment can be highly sparse, such that pruning a small number of safety-critical neurons or ablating a single refusal direction can substantially undermine aligned behavior. In this work, we take the first steps toward strengthening safety alignment such that it is less dependent on sparse model components. We propose Addition by Subtraction, which gradually removes identified safety-critical neurons during finetuning and uses preference optimization to re-establish safety-aligned behavior through other parts of the model. Our results show that the resulting models are substantially more robust to pruning-based attacks. Remarkably, these benefits generalize beyond the white-box attacks motivating our design: Addition by Subtraction improves robustness against other sparsity-based interventions, including refusal-direction ablation, as well as a broad range of black-box jailbreak attacks. The finetuned models also exhibit improved truthfulness while largely preserving general capabilities. Comprehensive experiments across four models from three vendors demonstrate consistent improvements in safety robustness, reducing attack success rates by up to 90% for some attacks.

1. Introduction

In recent years, large language models (LLMs) have grown substantially in both popularity and capabilities, becoming increasingly important tools in everyday life. Modern LLMs are capable of following complex user instructions with little to no additional guidance [1], [2] and have achieved significant improvements across a wide range of tasks, including programming [3], mathematics and reasoning [4], [5], question answering [1], and natural language understanding [6].

While LLMs demonstrate remarkable performance across many areas, they are also prone to generating content that is considered harmful or undesirable, such as vulnerable code [7] or toxic content [8], [9]. To mitigate the generation of such responses, LLMs typically undergo safety alignment during post-training [10], [11], [12], with the objective of

aligning model outputs with human preferences and safety objectives.

While safety alignment has generally made LLMs more likely to produce harmless responses, the safety-aligned models have been shown to remain vulnerable to jailbreak attacks [13], [14], [15], [16], [17], where attackers circumvent safety-aligned behavior and induce the model to generate harmful responses to malicious prompts that it would otherwise refuse. Recent works have proposed a wide range of jailbreak attacks, including methods that use imaginary scenarios [13], [18], [19], obfuscation [18], role-playing [20], and other prompt modifications [21] to conceal or disguise the malicious intent of the original prompt.

Moreover, more recently, as open-weight models have become increasingly common, more powerful attacks have been proposed that expose the fragility of safety alignment in LLMs. Multiple recent works [22], [23], [24] have shown that safety alignment in LLMs is highly sparse, with only a few thousand neurons, commonly referred to as safety-critical neurons, playing a central role in safety-aligned behavior. These works have shown that pruning these neurons can effectively remove safety alignment and induce harmful responses while having negligible impact on the model's general capabilities. Another recent study [25] has shown that safety-aligned refusal behavior in large language models can be effectively disabled by ablating a single direction from the model's intermediate activations and representations.

Taken together, these results suggest that current safety alignment depends on a surprisingly small subset of neurons, creating a structural weakness that is fundamentally different from conventional prompt-level jailbreak vulnerabilities. These findings are particularly concerning for open-weight models, where attackers have unrestricted access to model parameters and internal representations and can directly target the components responsible for safety-aligned behavior. Consequently, improving robustness only at the prompt or output level may be insufficient.

The brittleness of safety alignment is therefore a significant concern, particularly given the growing ecosystem of open-weight models, making stronger and more robust safety mechanisms for such models increasingly important.

Current defensive approaches do not directly address the sparsity of safety alignment and instead rely on methods such as external guardrails for user inputs or model responses [26], [27], [28], [29] to filter harmful prompts or responses before or after generation, or finetuning approaches that improve the general robustness of LLMs against jail-break attacks using techniques such as negative preference optimization [30] or chain-of-thought reasoning for safety alignment [31]. However, as our experiments show, these approaches still suffer from the same sparsity in safety alignment as the original models.

This work takes the first steps toward mitigating the sparsity of safety alignment in large language models. We propose Addition by Subtraction (ABS-Align), which, at a high level, uses preference optimization to finetune a large language model toward more distributed safety alignment representations by temporarily and gradually deactivating the initially identified sparse safety-critical neurons. This process encourages a less sparse and concentrated distribution of safety-aligned behavior across the model, such that, during the later stages of finetuning, all originally identified safety neurons are temporarily deactivated while the model is optimized to maintain safety alignment through other neurons and representations. Rather than directly searching for new safety neurons, ABS-Align repeatedly removes the neurons with the strongest safety signal and finetunes the remaining model to re-introduce safety alignment. We use the term denser to describe safety-aligned behavior that is less fragile and less dependent on a small set of safety-critical neurons that sparsity-based attacks detect, remove, or manipulate in order to jailbreak a target LLM.

Interestingly, our experiments show that the benefits of the less fragile safety-aligned model achieved by ABS-Align extend beyond the white-box attacks that motivate ABS-Align. Our experiments show that ABS-Align leads to broad improvements against a range of black-box attacks, despite receiving no data augmentation or explicit guidance for robustness against these attacks during finetuning. The fine-tuned model also exhibits greater honesty and truthfulness, while attacks that exploit the sparsity of safety alignment at both the neuron level and the activation and representation levels become significantly less effective.

We perform extensive experiments across four models from three different vendors, specifically Google's Gemma, Meta's Llama model families, and Alibaba's Qwen. Our results show that ABS-Align consistently improves the models' safety alignment against a broad range of jailbreak attacks while having a negligible effect on their general capabilities and instruction-following ability.

The contributions of this work can be summarized as follows:

  • We propose ABS-Align, as a defense that mitigates the sparsity of safety alignment in LLMs by specifically finetuning the model to distribute its safety alignment across more parts of the network, improving robustness of safety alignment.
  • By making safety-aligned LLMs less fragile, ABS-Align is the first to show increased robustness against not only pruning-based attacks, but also other forms of white-box attacks that conceptually rely on the sparsity of safety alignment. ABS-Align also generalizes to black-box attacks without any explicit data augmentation or guidance during finetuning.
  • Our experiments provide causal evidence that finetuning with ABS-Align leads to a less sparse safety alignment and reduces the dependence of safety-aligned behavior on sparse model components. Specifically, we show that the finetuned models are substantially more robust to sparsity-based attacks that prune safety-critical neurons using two different jailbreak methods, TwinBreak and NeuroStrike. After fine-tuning, these methods' ability to jailbreak LLMs by pruning safety neurons is substantially degraded where even pruning 3 times more neurons compared to the undefended model shows minimal jailbreak success. Additionally, ablating a single refusal direction becomes substantially less effective, providing further evidence that the improved robustness extends beyond neuron-level interventions to attacks targeting the model's internal representations.
  • We conduct a comprehensive set of experiments and evaluations across multiple models and dimensions, including attack success rates for white-box and black-box attacks, retention of general model capabilities across multiple benchmarks, and over-refusal rates. We compare our results with those of recent related work and show improvements across multiple evaluation dimensions, including reductions of approximately up to 90% in attack success rate for some attacks.

Overall, ABS-Align provides a simple yet effective approach for mitigating fragility of safety alignment in large language models, improving robustness not only against attacks that exploit sparse safety-alignment representations but also against a broad range of prompt-level and black-box jailbreak attacks.

Outline. The remainder of the paper is structured as follows. Section 2 provides the necessary background, and Section 3 describes our method. Section 4 presents the experimental evaluation and results, followed by a discussion in Section 5. Section 6 reviews related work, and Section 7 concludes the paper.

References (56)