Safe Delta: Consistently Preserving Safety when Fine-Tuning LLMs on Diverse Datasets
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) have shown great potential as general-purpose AI assistants across various domains. To fully leverage this potential in specific applications, many companies provide fine-tuning API services, enabling users to upload their own data for LLM customization. However, fine-tuning services introduce a new safety threat: user-uploaded data, whether harmful or benign, can break the model's alignment, leading to unsafe outputs. Moreover, existing defense methods struggle to address the diversity of fine-tuning datasets (e.g., varying sizes, tasks), often sacrificing utility for safety or vice versa. To address this issue, we propose Safe Delta, a safety-aware post-training defense method that adjusts the delta parameters (i.e., the parameter change before and after fine-tuning). Specifically, Safe Delta estimates the safety degradation, selects delta parameters to maximize utility while limiting overall safety loss, and applies a safety compensation vector to mitigate residual safety loss. Through extensive experiments on four diverse datasets with varying settings, our approach consistently preserves safety while ensuring that the utility gain from benign datasets remains unaffected.
Key facts. Cited by 18 papers in the map (data through 14 Oct 2026). Builds on 57 of its 73 references that are in the map. First posted on arXiv 17 May 2025.
Builds on
57 of 73 references.
References · 57
- 2023GPT-4 Technical Reportcited by 18,396
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
- 2013Intriguing properties of neural networkscited by 5,155
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
- 2017Axiomatic Attribution for Deep Networkscited by 3,384
38 more
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
- 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
- 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,255
- 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,154
- 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,121
- 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,055
- 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Datasetcited by 860
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 785
- 2023Instruction Tuning with GPT-4cited by 686
- 2023Safe RLHF: Safe Reinforcement Learning from Human Feedbackcited by 656
- 2019SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarizationcited by 535
- 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Studycited by 498
- 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 489
- 2023Catastrophic Jailbreak of Open-source LLMs via Exploiting Generationcited by 451
- 2023GPT-4 Is Too Smart To Be Safe: Stealthy Chat with LLMs via Ciphercited by 423
- 2023Safety-Tuned LLaMAs: Lessons From Improving the Safety of Large Language Models that Follow Instructionscited by 387
- 2023Shadow Alignment: The Ease of Subverting Safely-Aligned Language Modelscited by 297
- 2024OR-Bench: An Over-Refusal Benchmark for Large Language Modelscited by 244
- 2023Removing RLHF Protections in GPT-4 via Fine-Tuningcited by 171
- 2024Safe LoRA: the Silver Lining of Reducing Safety Risks when Fine-tuning Large Language Modelscited by 125
- 2024Eyes Closed, Safety On: Protecting Multimodal LLMs via Image-to-Text Transformationcited by 124
- 2024Vaccine: Perturbation-aware Alignment for Large Language Models against Harmful Fine-tuning Attackcited by 115
- 2024Language Models are Homer Simpson! Safety Re-Alignment of Fine-tuned Language Models through Task Arithmeticcited by 112
- 2023Mixture of Cluster-conditional LoRA Experts for Vision-language Instruction Tuningcited by 106
- 2024Representation Noising: A Defence Mechanism Against Harmful Finetuningcited by 96
- 2024Lisa: Lazy Safety Alignment for Large Language Models against Harmful Fine-tuning Attackcited by 92
- 2024Booster: Tackling Harmful Fine-tuning for Large Language Models via Attenuating Harmful Perturbationcited by 92
- 2024Harmful Fine-tuning Attacks and Defenses for Large Language Models: A Surveycited by 90
- 2024Antidote: Post-fine-tuning Safety Alignment for Large Language Models against Harmful Fine-tuningcited by 72
- 2024Model Tailor: Mitigating Catastrophic Forgetting in Multi-modal Large Language Modelscited by 54
- 2023Large Language Models can be Guided to Evade AI-Generated Text Detectioncited by 44
- 2024NLSR: Neuron-Level Safety Realignment of Large Language Models Against Harmful Fine-Tuningcited by 37
- 2024KICGPT: Large Language Model with Knowledge in Context for Knowledge Graph Completioncited by 36
- 2024GITA: Graph to Visual and Textual Integration for Vision-Language Graph Reasoningcited by 33
- 2025Gradient-Based Multi-Objective Deep Learning: Algorithms, Theories, Applications, and Beyondcited by 18
- 2021Efficient Combinatorial Optimization for Word-level Adversarial Textual Attackcited by 17
- 2022Leveraging per Image-Token Consistency for Vision-Language Pre-trainingcited by 9
50 most cited of 57 All 57 (JSON)
Built on by
Citing papers per year: 2025: 4; 2026: 14.
18 papers.
Sort:
By area:
- 2025Why LLM Safety Guardrails Collapse After Fine-tuning: A Similarity Analysis Between Alignment and Fine-tuning Datasetscited by 20
- 2026Policy and World Modeling Co-Training for Language Agentscited by 15
- 2025Gradient Surgery for Safe LLM Fine-Tuningcited by 11
- 2025Defending MoE LLMs against Harmful Fine-Tuning via Safety Routing Alignmentcited by 8
- 2026Antibody: Strengthening Defense Against Harmful Fine-Tuning for Large Language Models via Attenuating Harmful Gradient Influencecited by 6
- 2026Surgery: Mitigating Harmful Fine-Tuning for Large Language Models via Attention Sinkcited by 4
- 2026Continual Safety Alignment via Gradient-Based Sample Selectioncited by 4
- 2025Harmonious Parameter Adaptation in Continual Visual Instruction Tuning for Safety-Aligned MLLMscited by 3
- 2026Token-level Data Selection for Safe LLM Fine-tuningcited by 3
- 2026Safeguarding LLM Fine-tuning via Push-Pull Distributional Alignmentcited by 2
- 2026Why Agents Compromise Safety Under Pressurecited by 2
- 2026Cooperative Coevolution for Resource-Constrained Agentic LLM Post-Trainingcited by 1
6 more
- 2026Jailbreak to Protect: Buffering and Reinforcing via Temporary Jailbreaking for Safe Fine-Tuning in Large Language Modelscited by 0
- 2026CSULoRA: Closest Safe Update Low-Rank Adaptationcited by 0
- 2026Dialectics of Alignment: Harnessing Unsafe Knowledge for Dynamic Safety Routingcited by 0
- 2026TRACE: Trajectory-Based Safety Patch Learning for LLM Post-Training Realignmentcited by 0
- 2026SafeTune: A Unified Faithful Library for Auditing and Repairing Safety Drift in Fine-Tuned LLMscited by 0
- 2026From Acoustic Sensing to Physical Actions: A Comprehensive Survey of Security Risks in Edge-Deployed Audio LLM-Based Agentscited by 0
- 2026From Acoustic Sensing to Physical Actions: A Comprehensive Survey of Security Risks in Edge-Deployed Audio LLM-Based Agents11 Oct 2026
- 2026SafeTune: A Unified Faithful Library for Auditing and Repairing Safety Drift in Fine-Tuned LLMs26 Aug 2026
- 2026Cooperative Coevolution for Resource-Constrained Agentic LLM Post-Training3 Aug 2026
- 2026TRACE: Trajectory-Based Safety Patch Learning for LLM Post-Training Realignment26 Jun 2026
- 2026Policy and World Modeling Co-Training for Language Agents1 Jun 2026
- 2026Dialectics of Alignment: Harnessing Unsafe Knowledge for Dynamic Safety Routing30 May 2026
- 2026CSULoRA: Closest Safe Update Low-Rank Adaptation28 May 2026
- 2026Jailbreak to Protect: Buffering and Reinforcing via Temporary Jailbreaking for Safe Fine-Tuning in Large Language Models23 May 2026
- 2026Continual Safety Alignment via Gradient-Based Sample Selection19 Apr 2026
- 2026Why Agents Compromise Safety Under Pressure16 Mar 2026
- 2026Token-level Data Selection for Safe LLM Fine-tuning1 Mar 2026
- 2026Antibody: Strengthening Defense Against Harmful Fine-Tuning for Large Language Models via Attenuating Harmful Gradient Influence28 Feb 2026
6 more
- 2026Surgery: Mitigating Harmful Fine-Tuning for Large Language Models via Attention Sink5 Feb 2026
- 2026Safeguarding LLM Fine-tuning via Push-Pull Distributional Alignment12 Jan 2026
- 2025Harmonious Parameter Adaptation in Continual Visual Instruction Tuning for Safety-Aligned MLLMs25 Nov 2025
- 2025Defending MoE LLMs against Harmful Fine-Tuning via Safety Routing Alignment26 Sep 2025
- 2025Gradient Surgery for Safe LLM Fine-Tuning10 Aug 2025
- 2025Why LLM Safety Guardrails Collapse After Fine-tuning: A Similarity Analysis Between Alignment and Fine-tuning Datasets5 Jun 2025
- 2025Why LLM Safety Guardrails Collapse After Fine-tuning: A Similarity Analysis Between Alignment and Fine-tuning Datasetscited by 20
- 2025Gradient Surgery for Safe LLM Fine-Tuningcited by 11
- 2026Surgery: Mitigating Harmful Fine-Tuning for Large Language Models via Attention Sinkcited by 4
- 2026Continual Safety Alignment via Gradient-Based Sample Selectioncited by 4
- 2026Safeguarding LLM Fine-tuning via Push-Pull Distributional Alignmentcited by 2
- 2026TRACE: Trajectory-Based Safety Patch Learning for LLM Post-Training Realignmentcited by 0
- 2026TRACE: Trajectory-Based Safety Patch Learning for LLM Post-Training Realignment26 Jun 2026
- 2026Continual Safety Alignment via Gradient-Based Sample Selection19 Apr 2026
- 2026Surgery: Mitigating Harmful Fine-Tuning for Large Language Models via Attention Sink5 Feb 2026
- 2026Safeguarding LLM Fine-tuning via Push-Pull Distributional Alignment12 Jan 2026
- 2025Gradient Surgery for Safe LLM Fine-Tuning10 Aug 2025
- 2025Why LLM Safety Guardrails Collapse After Fine-tuning: A Similarity Analysis Between Alignment and Fine-tuning Datasets5 Jun 2025
- 2026Policy and World Modeling Co-Training for Language Agentscited by 15