mlsanityData to 7 Oct 2026

Lisa: Lazy Safety Alignment for Large Language Models against Harmful Fine-tuning Attack

arXiv 2405.18641 ↗First posted 28 May 2024cs.LGcited by 89

On the map: LLM alignment / RLHF / preference optimisation → Safety alignment and jailbreak attacks

also in 1 more
Abstract (arXiv)

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 textitexcess 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 urlhttps://github.com/git-disl/Lisa.

Key facts. Cited by 89 papers in the map (data through 7 Oct 2026). Placed in Safety alignment and jailbreak attacks, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 54 of its 91 references that are in the map. First posted on arXiv 28 May 2024.

Builds on

54 of 91 references.

Closest ancestors · 13

Same direction, newest first

  1. 2024Navigating the Safety Landscape: Measuring Risks in Finetuning Large Language Models27 May
  2. 2024No Two Devils Alike: Unveiling Distinct Mechanisms of Fine-tuning Attacks25 May
  3. 2024Robustifying Safety-Aligned Large Language Models through Clean Data Curation24 May
  4. 2024Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications7 Feb
  5. 2024Vaccine: Perturbation-aware Alignment for Large Language Models against Harmful Fine-tuning Attack2 Feb
  6. 2023Removing RLHF Protections in GPT-4 via Fine-Tuning9 Nov
  7. 2023LoRA Fine-tuning Efficiently Undoes Safety Training in Llama 2-Chat 70B31 Oct
  8. 2023Safe RLHF: Safe Reinforcement Learning from Human Feedback19 Oct
  9. 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!5 Oct
  10. 2023Shadow Alignment: The Ease of Subverting Safely-Aligned Language Models4 Oct
  11. 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Dataset10 Jul
  12. 2023Are aligned neural networks adversarially aligned?26 Jun
1 more
  1. 2023Visual Adversarial Examples Jailbreak Aligned Large Language Models22 Jun

Other references · 41

  1. 2022Training language models to follow instructions with human feedbackcited by 15,712
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  3. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  4. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  5. 2016Overcoming catastrophic forgetting in neural networkscited by 4,718
  6. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
  7. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  8. 2023Mistral 7Bcited by 3,065
  9. 2018Federated Optimization in Heterogeneous Networkscited by 2,971
  10. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  11. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,565
  12. 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,326
29 more
  1. 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,239
  2. 2019On the Convergence of FedAvg on Non-IID Datacited by 1,220
  3. 2023RAFT: Reward rAnked FineTuning for Generative Foundation Model Alignmentcited by 672
  4. 2021Federated Learning Based on Dynamic Regularizationcited by 555
  5. 2016Linear Convergence of Gradient and Proximal-Gradient Methods Under the Polyak-Lojasiewicz Conditioncited by 526
  6. 2019Meta-Learning with Implicit Gradientscited by 523
  7. 2023RRHF: Rank Responses to Align Language Models with Human Feedback without tearscited by 454
  8. 2023Safety-Tuned LLaMAs: Lessons From Improving the Safety of Large Language Models that Follow Instructionscited by 377
  9. 2023Preference Ranking Optimization for Human Alignmentcited by 283
  10. 2024Safety Fine-Tuning at (Almost) No Cost: A Baseline for Vision Large Language Modelscited by 160
  11. 2023Chain of Hindsight Aligns Language Models with Feedbackcited by 147
  12. 2024Safe LoRA: the Silver Lining of Reducing Safety Risks when Fine-tuning Large Language Modelscited by 122
  13. 2024What is in Your Safe Data? Identifying Benign Data that Breaks Safetycited by 114
  14. 2024A Survey on Large Language Model-Based Game Agentscited by 106
  15. 2024Keeping LLMs Aligned After Fine-tuning: The Crucial Role of Prompt Templatescited by 94
  16. 2020Defending against Backdoors in Federated Learning with Robust Learning Ratecited by 82
  17. 2021FedCM: Federated Learning with Client-level Momentumcited by 77
  18. 2023Pairwise Proximal Policy Optimization: Harnessing Relative Feedback for LLM Alignmentcited by 57
  19. 2023FedSpeed: Larger Local Interval, Less Communication Round, and Higher Generalization Accuracycited by 49
  20. 2023Large Language Model-Powered Smart Contract Vulnerability Detection: New Perspectivescited by 48
  21. 2024A safety realignment framework via subspace-oriented model fusion for large language modelscited by 40
  22. 2024Immunization against harmful fine-tuning attackscited by 33
  23. 2023Learning and Forgetting Unsafe Examples in Large Language Modelscited by 24
  24. 2023BERT4ETH: A Pre-trained Transformer for Ethereum Fraud Detectioncited by 19
  25. 2021Proximal Gradient Descent-Ascent: Variable Convergence under KL Geometrycited by 17
  26. 2014Douglas-Rachford splitting for nonconvex optimization with application to nonconvex feasibility problemscited by 15
  27. 2023Fusion of Global and Local Knowledge for Personalized Federated Learningcited by 14
  28. 2019Progressive DNN Compression: A Key to Achieve Ultra-High Weight Pruning and Quantization Rates using ADMMcited by 3
  29. 2018An Algorithmic Framework of Variable Metric Over-Relaxed Hybrid Proximal Extra-Gradient Methodcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 17; 2025: 39; 2026: 33.

89 papers.

Sort:

By area:

  1. 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deepcited by 450
  2. 2024Tamper-Resistant Safeguards for Open-Weight LLMscited by 132
  3. 2024Safety Layers in Aligned Large Language Models: The Key to LLM Securitycited by 126
  4. 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 125
  5. 2024Booster: Tackling Harmful Fine-tuning for Large Language Models via Attenuating Harmful Perturbationcited by 92
  6. 2024Harmful Fine-tuning Attacks and Defenses for Large Language Models: A Surveycited by 86
  7. 2024Antidote: Post-fine-tuning Safety Alignment for Large Language Models against Harmful Fine-tuningcited by 71
  8. 2024SEAL: Safety-enhanced Aligned LLM Fine-tuning via Bilevel Data Selectioncited by 64
  9. 2024NLSR: Neuron-Level Safety Realignment of Large Language Models Against Harmful Fine-Tuningcited by 37
  10. 2024Targeted Vaccine: Safety Alignment for Large Language Models against Harmful Fine-Tuning via Layer-wise Perturbationcited by 35
  11. 2024Towards Understanding the Fragility of Multilingual LLMs against Fine-Tuning Attackscited by 33
  12. 2025Safe RLHF-V: Safe Reinforcement Learning from Multi-modal Human Feedbackcited by 27
38 more
  1. 2025SafeMERGE: Preserving Safety Alignment in Fine-Tuned Large Language Models via Selective Layer-Wise Model Mergingcited by 25
  2. 2024Locking Down the Finetuned LLMs Safetycited by 22
  3. 2025Benign Samples Matter! Fine-tuning On Outlier Benign Samples Severely Breaks Safetycited by 22
  4. 2024Separate the Wheat from the Chaff: A Post-Hoc Approach to Safety Re-Alignment for Fine-Tuned Language Modelscited by 19
  5. 2025Why LLM Safety Guardrails Collapse After Fine-tuning: A Similarity Analysis Between Alignment and Fine-tuning Datasetscited by 18
  6. 2025AsFT: Anchoring Safety During LLM Fine-Tuning Within Narrow Safety Basincited by 18
  7. 2025Safe Delta: Consistently Preserving Safety when Fine-Tuning LLMs on Diverse Datasetscited by 17
  8. 2025Vulnerability-Aware Alignment: Mitigating Uneven Forgetting in Harmful Fine-Tuningcited by 17
  9. 2025Estimating Worst-Case Frontier Risks of Open-Weight LLMscited by 17
  10. 2025Probe before You Talk: Towards Black-box Defense against Backdoor Unalignment for Large Language Modelscited by 15
  11. 2024Superficial Safety Alignment Hypothesiscited by 14
  12. 2025Rethinking Safety in LLM Fine-tuning: An Optimization Perspectivecited by 13
  13. 2025Adaptive Defense against Harmful Fine-Tuning for Large Language Models via Bayesian Data Schedulercited by 12
  14. 2024Safeguard Fine-Tuned LLMs Through Pre- and Post-Tuning Model Mergingcited by 11
  15. 2025CTRAP: Embedding Collapse Trap to Safeguard Large Language Models from Harmful Fine-Tuningcited by 11
  16. 2025Shape it Up! Restoring LLM Safety during Finetuningcited by 11
  17. 2025Gradient Surgery for Safe LLM Fine-Tuningcited by 11
  18. 2025Single-pass Detection of Jailbreaking Input in Large Language Modelscited by 10
  19. 2025Self-Destructive Language Modelcited by 10
  20. 2025Unforgotten Safety: Preserving Safety Alignment of Large Language Models with Continual Learningcited by 10
  21. 2025A Guardrail for Safety Preservation: When Safety-Sensitive Subspace Meets Harmful-Resistant Null-Spacecited by 9
  22. 2024Toward Secure Tuning: Mitigating Security Risks from Instruction Fine-Tuningcited by 8
  23. 2025Defending MoE LLMs against Harmful Fine-Tuning via Safety Routing Alignmentcited by 8
  24. 2026Safety at One Shot: Patching Fine-Tuned LLMs with A Single Instancecited by 8
  25. 2025Activation Approximations Can Incur Safety Vulnerabilities Even in Aligned LLMs: Comprehensive Analysis and Defensecited by 7
  26. 2025Token Buncher: Shielding LLMs from Harmful Reinforcement Learning Fine-Tuningcited by 7
  27. 2026Understanding and Preserving Safety in Fine-Tuned LLMscited by 7
  28. 2025Safety Subspaces are Not Linearly Distinct: A Fine-Tuning Case Studycited by 6
  29. 2025When Style Breaks Safety: Defending LLMs Against Superficial Style Alignmentcited by 6
  30. 2026Antibody: Strengthening Defense Against Harmful Fine-Tuning for Large Language Models via Attenuating Harmful Gradient Influencecited by 6
  31. 2024Recent Advances in Attack and Defense Approaches of Large Language Modelscited by 5
  32. 2025No, of Course I Can! Deeper Fine-Tuning Attacks That Bypass Token-Level Safety Mechanismscited by 5
  33. 2025Erase or Hide? Suppressing Spurious Unlearning Neurons for Robust Unlearningcited by 5
  34. 2025Unified Defense for Large Language Models against Jailbreak and Fine-Tuning Attacks in Educationcited by 5
  35. 2024Evaluating Defences against Unsafe Feedback in RLHFcited by 4
  36. 2025Fair-PP: A Synthetic Dataset for Aligning LLM with Personalized Preferences of Social Equitycited by 4
  37. 2025Reshaping Representation Space to Balance the Safety and Over-rejection in Large Audio Language Modelscited by 4
  38. 2025SC-LoRA: Balancing Efficient Fine-tuning and Knowledge Preservation via Subspace-Constrained LoRAcited by 4

50 most cited of 89 All 89 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2024Towards Comprehensive Post Safety Alignment of Large Language Models via Safety Patching
  2. 2026Aligned but Fragile: Enhancing LLM Safety Robustness via Zeroth-Order Optimization
  3. 2025Safety Alignment Depth in Large Language Models: A Markov Chain Perspective
  4. 2026LSSF: Safety Alignment for Large Language Models through Low-Rank Safety Subspace Fusion
  5. 2024Emulated Disalignment: Safety Alignment for Large Language Models May Backfire!
  6. 2025Safe at the Margins: A General Approach to Safety Alignment in Low-Resource English Languages -- A Singlish Case Study
  7. 2024Safety Arithmetic: A Framework for Test-time Safety Alignment of Language Models by Steering Parameters and Activations
  8. 2026MOSAIC: Composable Safety Alignment with Modular Control Tokens