Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications

Boyi Wei, Kaixuan Huang, Yangsibo Huang, Tinghao Xie, Xiangyu Qi +4 more
2/12/2026

No official code found. Best implementation: boyiwei/alignment-attribution-code (91 stars, MIT, last commit 2025-03-30). 1 more below.

Abstract

Large language models (LLMs) show inherent brittleness in their safety mechanisms, as evidenced by their susceptibility to jailbreaking and even non-malicious fine-tuning. This study explores this brittleness of safety alignment by leveraging pruning and low-rank modifications. We develop methods to identify critical regions that are vital for safety guardrails, and that are disentangled from utility-relevant regions at both the neuron and rank levels. Surprisingly, the isolated regions we find are sparse, comprising about $3\%$ at the parameter level and $2.5\%$ at the rank level. Removing these regions compromises safety without significantly impacting utility, corroborating the inherent brittleness of the model's safety mechanisms. Moreover, we show that LLMs remain vulnerable to low-cost fine-tuning attacks even when modifications to the safety-critical regions are restricted. These findings underscore the urgent need for more robust safety strategies in LLMs.

View on arXivView PDF

Code Implementations(2)

MIT

[ICML 2024] Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications

9117PythonFeb 7, 20241 years agoMIT
alignmentllmlow-rank-representaionsafetysafety-critical
MIT

Code repository for CS2881r mini-project, where we replicate the paper by Wei et al. (2024) on Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications

00PythonOct 16, 202512 months agoMIT

Similar Papers

Cite this paper

@article{wei2026assessing,
  title  = {Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications},
  author = {Boyi Wei and Kaixuan Huang and Yangsibo Huang and Tinghao Xie and Xiangyu Qi and Mengzhou Xia and Prateek Mittal and Mengdi Wang and Peter Henderson},
  year   = {2026},
  eprint = {2402.05162},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2402.05162},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.05162.svg)](https://codeofpaper.com/paper/2402.05162)

Discussion