Safety alignment has become a critical step to ensure LLMs refuse harmful requests while providing helpful and harmless responses. However, despite the ubiquity of safety alignment for deployed frontier models, two separate lines of recent work--jailbreak-tuning (JT) and weight orthogonalization (WO)--have shown that safety guardrails may be largely disabled, resulting in LLMs which comply with harmful requests they would normally refuse. In spite of far-reaching safety implications, analysis has largely been limited to refusal rates of each unalignment method in isolation, leaving their relative effects on adversarial LLM capabilities unknown. To fill this gap, we study the impact of unaligning six popular LLMs of various sizes across a large number of malicious and benign tasks, using both JT and WO. Across the evaluated models, we show that while refusal degradation is split between the two methods, WO produces LLMs far more capable of aiding in malicious activity; in contrast to JT, the majority of WO unaligned models are far less prone to hallucinations, better retain their original natural-language performance, and are more effective at state-of-the-art adversarial and cyber attacks. To thus help mitigate the malicious risks of WO unalignment, we conclude by showing that supervised fine-tuning effectively limits the adversarial attack abilities enabled by WO, without drastically affecting hallucination rates or natural language performance.
Figures & tables
Model
Original Model Name
Qwen3-4B
Qwen3-4B-Instruct-2507
Llama-3.1-8B
Llama-3.1-8B-Instruct
Qwen2.5-14B
Qwen2.5-14B
Qwen3-4B*
Qwen3-4B-Thinking-2507
Llama-3.1-8B*
Deepseek-R1-Distill-Llama-8B
Qwen2.5-14B*
Deepseek-R1-Distill-Qwen-14B
Table 1: Instruction-tuned models and their reasoning counterparts (denoted by * ) evaluated in this work.
Model
Refusal Rate
% Decr.
Qwen3-4B
99.4
–
Qwen3-4B JT
24.6
75.2
Qwen3-4B WO
38.7
61.1
Llama-3.1-8B
98.4
–
Llama-3.1-8B JT
24.9
74.7
Llama-3.1-8B WO
9.9
89.9
Table 2: StrongReject refusal rates. Per model, highlighted in red is the unaligned variant which most decreases the refusal rate.
Attacker
Adversarial Attacks
Cyber Attacks
Target: Llama-3.1-8B
Target: Qwen3-4B
ASR
% Inc.
ASR
% Inc.
ASR
% Inc.
Qwen3-4B
47.9
–
41.4
–
67.7
–
Qwen3-4B JT
42.7
-10.9
58.2
40.6
97.8
44.5
Qwen3-4B WO
65.0
35.7
70.8
71.0
98.0
44.8
Llama-3.1-8B
61.5
–
59.7
–
98.1
–
Table 3: AutoDAN-Turbo and CyberSecEval 3 attack success rates (ASRs), with the average percentage increase relative to the respective aligned model. Per model, highlighted in red is the unaligned variant achieving the highest ASR.
Model
Hallucination Rates
Avg. % Incr. Halluc.
TruthfulQA
TofuEval
Qwen3-4B
47.2
34.0
–
Qwen3-4B JT
60.4
67.3
63.0
Qwen3-4B WO
48.1
35.3
2.9
Llama-3.1-8B
53.8
54.7
–
Llama-3.1-8B JT
64.0
96.7
47.9
Table 4: TruthfulQA and TofuEval hallucination rates, along with the average percentage of hallucination increase relative to the respective base model. Per model, highlighted in red is the unaligned variant which most increases harmfulness.
Model
arc-e
arc-c
hella- swag
piqa
wino- grande
mmlu
ifeval
avg. % decr.
Qwen3-4B
83.2
55.9
69.0
76.1
68.0
70.6
86.8
–
Qwen3-4B JT
76.4
49.5
69.3
71.9
58.3
65.8
54.7
11.8
Qwen3-4B WO
83.2
55.2
68.8
75.9
66.6
70.4
86.3
0.6
Llama-3.1-8B
82.1
53.7
79.6
80.1
74.0
68.3
79.9
–
Llama-3.1-8B JT
71.5
43.2
70.9
73.8
64.9
58.1
30.9
20.0
Llama-3.1-8B WO
82.4
53.7
79.5
80.0
73.6
68.2
80.3
0.0
Table 5: Performance across general helpfulness–common-sense reasoning, general reasoning, and instruction-following–tasks. Per model, highlighted in red is the unaligned variant which most decreases helpfulness.
Figure 1: AutoDAN-Turbo (left two figures) and CyberSecEval 3 attack success rates ASRs across all JT, WO, and WO-SFT models.
Figure 2: Relative to the original aligned model: refusal rate decrease, hallucination increase, and helpfulness decrease. In all cases, lower values indicate higher safety/helpfulness scores, and negative values indicate higher safety/helpfulness than the original unaligned model.
Large language models remain vulnerable to jailbreaks that elicit harmful responses, yet the mechanism behind harmful response generation is poorly understood. Here, we investigate how this capability is organized within model parameters. We identify and prune parameters that specifically support harmful compliance, providing a direct mechanistic analysis at the parameter level. We find that this capability depends on a sparse set of critical parameters: pruning these parameters substantially reduces harmful compliance while causing only limited degradation in benign capabilities, suggesting that key components of harmful generation are separable from those of general utility. Parameters identified from one harm category also reduce harmful responses in others, indicating components shared across harm types. This separability appears primarily in aligned models, suggesting that alignment training internally reshapes the harmful response mechanism even when behavioral safeguards remain brittle. We further show that harmful response generation is dissociable from the ability to recognize and reason about harmfulness. Finally, we extend our analysis to emergent misalignment and identify a sparse set of parameters contributing to it, with substantial sharing across fine-tuning domains. Together, these results reveal a consistent parameter-level organization underlying unsafe behaviors and point toward more principled interventions for improving model safety.
Hadas Orgad, Boyi Wei, Kaden Zheng +4
Kempner Institute, Harvard University · Princeton University · Harvard University +2
Safety alignment in Large Language Models (LLMs) remains highly fragile during fine-tuning, where even benign adaptation can degrade pre-trained refusal behaviors and enable harmful responses. Existing defenses typically constrain either weights or activations in isolation, without considering their coupled effects on safety. In this paper, we first theoretically demonstrate that constraining either weights or activations alone is insufficient for safety preservation. To robustly preserve safety alignment, we propose Coupled Weight and Activation Constraints (CWAC), a novel approach that simultaneously enforces a precomputed safety subspace on weight updates and applies targeted regularization to safety-critical features identified by sparse autoencoders. Extensive experiments across four widely used LLMs and diverse downstream tasks show that CWAC consistently achieves the lowest harmful scores with minimal impact on fine-tuning accuracy, substantially outperforming strong baselines even under high harmful data ratios.
Songping Peng, Zhiheng Zhang, Daojian Zeng +2
Hunan Normal University · University of Chinese Academy of Sciences · The Key Laboratory of Cognition and Decision Intelligence for Complex Systems, Institute of Automation, Chinese Academy of Sciences +1
The deployment of large language models (LLMs) raises significant ethical and safety concerns. While LLM alignment techniques are adopted to improve model safety and trustworthiness, adversaries can exploit these techniques to undermine safety for malicious purposes, resulting in misalignment. Misaligned LLMs may be published on open platforms to magnify harm. To address this, additional safety alignment, referred to as realignment, is necessary before deploying untrusted third-party LLMs. This study explores the efficacy of fine-tuning methods in terms of misalignment, realignment, and the effects of their interplay. By evaluating four Supervised Fine-Tuning (SFT) and two Preference Fine-Tuning (PFT) methods across four popular safety-aligned LLMs, we reveal a mechanism asymmetry between attack and defense. While Odds Ratio Preference Optimization (ORPO) is most effective for misalignment, Direct Preference Optimization (DPO) excels in realignment, albeit at the expense of model utility. Additionally, we identify model-specific resistance, residual effects of multi-round adversarial dynamics, and other noteworthy findings. These findings highlight the need for robust safeguards and customized safety alignment strategies to mitigate potential risks in the deployment of LLMs. Our code is available at https://github.com/zhangrui4041/The-Art-of-Mis-alignment.
Rui Zhang, Hongwei Li, Yun Shen +6
University of Electronic Science and Technology of China · Flexera · CISPA Helmholtz Center for Information Security +1