Lisa: Lazy Safety Alignment for Large Language Models against Harmful Fine-tuning Attack
Tiansheng Huang, Sihao Hu, Fatih Ilhan, Selim F. Tekin, Ling Liu
摘要
Recent studies show that Large Language Models (LLMs) with safety alignment can be jail-broken by fine-tuning on a dataset mixed with harmful data. First time in the literature, we show that the jail-broken effect can be mitigated by separating states in the finetuning stage to optimize the alignment and user datasets. Unfortunately, our subsequent study shows that this simple Bi-State Optimization (BSO) solution experiences convergence instability when steps invested in its alignment state is too small, leading to downgraded alignment performance. By statistical analysis, we show that the excess drift towards consensus could be a probable reason for the instability. To remedy this issue, we propose Lazy(i) safety alignment (Lisa), which introduces a proximal term to constraint the drift of each state. Theoretically, the benefit of the proximal term is supported by the convergence analysis, wherein we show that a sufficient large proximal factor is necessary to guarantee Lisa's convergence. Empirically, our results on four downstream finetuning tasks show that Lisa with a proximal term can significantly increase alignment performance while maintaining the LLM's accuracy on the user tasks. Code is available at https://github.com/git-disl/Lisa.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Safeguarding LLM Fine-tuning via Push-Pull Distributional Alignment 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Token Buncher: Shielding LLMs from Harmful Reinforcement Learning Fine-Tuning 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Token Buncher: Shielding LLMs from Harmful Reinforcement Learning Fine-Tuning 引用了 Training language models to follow instructions with human feedback
- Understanding and Preserving Safety in Fine-Tuned LLMs 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Understanding and Preserving Safety in Fine-Tuned LLMs 引用了 Training language models to follow instructions with human feedback
- Understanding and Preserving Safety in Fine-Tuned LLMs 引用了 Safe RLHF: Safe Reinforcement Learning from Human Feedback
- Rethinking Deep Alignment Through the Lens of Incomplete Safety Learning 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Rethinking Deep Alignment Through the Lens of Incomplete Safety Learning 引用了 Training language models to follow instructions with human feedback
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model 引用了 Training language models to follow instructions with human feedback
- Are aligned neural networks adversarially aligned? 引用了 Training language models to follow instructions with human feedback
- Few Tokens, Big Leverage: Preserving Safety Alignment by Constraining Safety Tokens during Fine-tuning 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Safe RLHF: Safe Reinforcement Learning from Human Feedback 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Safe RLHF: Safe Reinforcement Learning from Human Feedback 引用了 Training language models to follow instructions with human feedback
引用它的顶会 Paper11
- Token Buncher: Shielding LLMs from Harmful Reinforcement Learning Fine-TuningWeitao Feng, Lixu Wang, Peizhuo Lv, Tianyi Wei 等CCS 2026 · 9 次引用
- Understanding and Preserving Safety in Fine-Tuned LLMsJiawen Zhang, Yangfan Hu, Kejia Chen, Lipeng He 等CCS 2026 · 7 次引用
- Few Tokens, Big Leverage: Preserving Safety Alignment by Constraining Safety Tokens during Fine-tuningGuoli Wang, Haonan Shi, Tu Ouyang, An WangKDD 2026 · 5 次引用
- Rethinking Deep Alignment Through the Lens of Incomplete Safety LearningThong Bach, Dung Nguyen, Thao Minh Le, Truyen TranAAAI 2026 · 3 次引用
- Safeguarding LLM Fine-tuning via Push-Pull Distributional AlignmentHaozhong Wang, Zhuo Li, Yibo Yang, He Zhao 等ACL 2026 · 1 次引用
它引用的 Paper27
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
- Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning 等NeurIPS 2023 · 10,924 次引用
- On the Convergence of FedAvg on Non-IID DataXiang Li, Kaixuan Huang, Wenhao Yang, Shusen Wang 等ICLR 2020 · 2,930 次引用
- Safe RLHF: Safe Reinforcement Learning from Human FeedbackJosef Dai, Xuehai Pan, Ruiyang Sun, Jiaming Ji 等ICLR 2024 · 656 次引用
- Are aligned neural networks adversarially aligned?Nicholas Carlini, Milad Nasr, Christopher A. Choquette-Choo, Matthew Jagielski 等NeurIPS 2023 · 412 次引用
相关 Paper
- Why LLM Safety Guardrails Collapse After Fine-tuning: A Similarity Analysis Between Alignment and Fine-tuning DatasetsLei Hsiung, Tianyu Pang, Yung-Chen Tang, Linyue Song 等ACL 2026 · 22 次引用
- Attack via Overfitting: 10-shot Benign Fine-tuning to Jailbreak LLMsZhixin Xie, Xurui Song, Jun LuoNeurIPS 2025 · 11 次引用
- Separate the Wheat from the Chaff: A Post-Hoc Approach to Safety Re-Alignment for Fine-Tuned Language ModelsDi Wu, Xin Lu, Yanyan Zhao, Bing QinACL Findings 2025
- Safety Fine-Tuning at (Almost) No Cost: A Baseline for Vision Large Language ModelsYongshuo Zong, Ondrej Bohdal, Tingyang Yu, Yongxin Yang 等ICML 2024 · 140 次引用
- Bleeding Pathways: Vanishing Discriminability in LLM Hidden States Fuels Jailbreak AttacksYingjie Zhang, Tong Liu, Zhe Zhao, Guozhu Meng 等NDSS 2026 · 5 次引用
