Mitigating Fine-tuning based Jailbreak Attack with Backdoor Enhanced Safety Alignment
Not on the map. Why?
Cited by 21 in LLM safety and security, but placed by its own abstract, which didn’t fit.
Abstract (arXiv)
Despite the general capabilities of Large Language Models (LLM), these models still request fine-tuning or adaptation with customized data when meeting specific business demands. However, this process inevitably introduces new threats, particularly against the Fine-tuning based Jailbreak Attack (FJAttack) under the setting of Language-Model-as-a-Service (LMaaS), where the model's safety has been significantly compromised by fine-tuning users' uploaded examples contain just a few harmful examples. Though potential defenses have been proposed that the service providers can integrate safety examples into the fine-tuning dataset to reduce safety issues, such approaches require incorporating a substantial amount of data, making it inefficient. To effectively defend against the FJAttack with limited safety examples under LMaaS, we propose the Backdoor Enhanced Safety Alignment method inspired by an analogy with the concept of backdoor attacks. In particular, service providers will construct prefixed safety examples with a secret prompt, acting as a "backdoor trigger". By integrating prefixed safety examples into the fine-tuning dataset, the subsequent fine-tuning process effectively acts as the "backdoor attack", establishing a strong correlation between the secret prompt and safety generations. Consequently, safe responses are ensured once service providers prepend this secret prompt ahead of any user input during inference. Our comprehensive experiments demonstrate that through the Backdoor Enhanced Safety Alignment with adding as few as 11 prefixed safety examples, the maliciously fine-tuned LLMs will achieve similar safety performance as the original aligned models without harming the benign performance. Furthermore, we also present the effectiveness of our method in a more practical setting where the fine-tuning data consists of both FJAttack examples and the fine-tuning task data.
Key facts. Cited by 31 papers in the map (data through 7 Oct 2026). Builds on 34 of its 44 references that are in the map. First posted on arXiv 22 Feb 2024.
Builds on
34 of 44 references.
References · 34
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2023Visual Instruction Tuningcited by 7,792
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2016Overcoming catastrophic forgetting in neural networkscited by 4,718
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
22 more
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2023Video-LLaMA: An Instruction-tuned Audio-Visual Language Model for Video Understandingcited by 1,461
- 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,106
- 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,012
- 2023LLaMA-Adapter: Efficient Fine-tuning of Language Models with Zero-init Attentioncited by 776
- 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 679
- 2023Instruction Tuning for Large Language Models: A Surveycited by 617
- 2019SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarizationcited by 530
- 2020Backdoor Learning: A Surveycited by 412
- 2020Reflection Backdoor: A Natural Backdoor Attack on Deep Neural Networkscited by 341
- 2023AgentTuning: Enabling Generalized Agent Abilities for LLMscited by 319
- 2023Shadow Alignment: The Ease of Subverting Safely-Aligned Language Modelscited by 284
- 2019A backdoor attack against LSTM-based text classification systemscited by 214
- 2023LoRA Fine-tuning Efficiently Undoes Safety Training in Llama 2-Chat 70Bcited by 183
- 2023Removing RLHF Protections in GPT-4 via Fine-Tuningcited by 165
- 2023Universal Jailbreak Backdoors from Poisoned Human Feedbackcited by 120
- 2022Narcissus: A Practical Clean-Label Backdoor Attack with Limited Informationcited by 102
- 2023Instructions as Backdoors: Backdoor Vulnerabilities of Instruction Tuning for Large Language Modelscited by 100
- 2021Sleeper Agent: Scalable Hidden Trigger Backdoors for Neural Networks Trained from Scratchcited by 98
- 2021Be Careful about Poisoned Word Embeddings: Exploring the Vulnerability of the Embedding Layers in NLP Modelscited by 96
- 2023Backdoor Attacks for In-Context Learning with Language Modelscited by 92
Built on by
Citing papers per year: 2024: 7; 2025: 16; 2026: 8.
31 papers.
Sort:
By area:
- 2024Safe LoRA: the Silver Lining of Reducing Safety Risks when Fine-tuning Large Language Modelscited by 122
- 2024Process Reward Model with Q-Value Rankingscited by 78
- 2025Foot-In-The-Door: A Multi-turn Jailbreak for LLMscited by 50
- 2024No Two Devils Alike: Unveiling Distinct Mechanisms of Fine-tuning Attackscited by 28
- 2024JailbreakEval: An Integrated Toolkit for Evaluating Jailbreak Attempts Against Large Language Modelscited by 28
- 2025SafeMERGE: Preserving Safety Alignment in Fine-Tuned Large Language Models via Selective Layer-Wise Model Mergingcited by 25
- 2024Adversarial Tuning: Defending Against Jailbreak Attacks for LLMscited by 23
- 2025Why LLM Safety Guardrails Collapse After Fine-tuning: A Similarity Analysis Between Alignment and Fine-tuning Datasetscited by 18
- 2025LoX: Low-Rank Extrapolation Robustifies LLM Safety Against Fine-tuningcited by 12
- 2025Adaptive Defense against Harmful Fine-Tuning for Large Language Models via Bayesian Data Schedulercited by 12
- 2025Fundamental Limitations in Pointwise Defences of LLM Finetuning APIscited by 10
- 2025Towards Safeguarding LLM Fine-tuning APIs against Cipher Attackscited by 10
19 more
- 2024On the Learnability of Out-of-distribution Detectioncited by 8
- 2025Why Not Act on What You Know? Unleashing Safety Potential of LLMs via Self-Aware Guard Enhancementcited by 8
- 2025What Really Matters in Many-Shot Attacks? An Empirical Study of Long-Context Vulnerabilities in LLMscited by 7
- 2025Safety Subspaces are Not Linearly Distinct: A Fine-Tuning Case Studycited by 6
- 2024AdvBDGen: Adversarially Fortified Prompt-Specific Fuzzy Backdoor Generator Against LLM Alignmentcited by 5
- 2025No, of Course I Can! Deeper Fine-Tuning Attacks That Bypass Token-Level Safety Mechanismscited by 5
- 2025Layer-Aware Task Arithmetic: Disentangling Task-Specific and Instruction-Following Knowledgecited by 5
- 2025SC-LoRA: Balancing Efficient Fine-tuning and Knowledge Preservation via Subspace-Constrained LoRAcited by 4
- 2026Few Tokens, Big Leverage: Preserving Safety Alignment by Constraining Safety Tokens during Fine-tuningcited by 4
- 2025Detecting Adversarial Fine-tuning with Auditing Agentscited by 3
- 2025Attention-Aware GNN-based Input Defense against Multi-Turn LLM Jailbreakcited by 2
- 2026Safeguarding LLM Fine-tuning via Push-Pull Distributional Alignmentcited by 2
- 2026TamperBench: Systematically Stress-Testing LLM Safety Under Fine-Tuning and Tamperingcited by 1
- 2026THRD: A Training-Free Multi-Turn Defense Framework for Jailbreak Attacks on Large Language Modelscited by 1
- 2026SafeGene: Reusable Adapters for Transferable Safety Alignmentcited by 1
- 2025Multilingual Collaborative Defense for Large Language Modelscited by 0
- 2026Can LLM Safety Be Ensured by Constraining Parameter Regions?cited by 0
- 2026Position: Retire the "Positive Backdoor" Label -- Secret Alignment Requires Strict and Systematic Evaluationcited by 0
- 2026HyperSafe: Inference-Time Safety Recovery for Fine-Tuned Language Modelscited by 0
- 2026HyperSafe: Inference-Time Safety Recovery for Fine-Tuned Language Models13 Jul 2026
- 2026SafeGene: Reusable Adapters for Transferable Safety Alignment2 Jun 2026
- 2026THRD: A Training-Free Multi-Turn Defense Framework for Jailbreak Attacks on Large Language Models1 Jun 2026
- 2026Position: Retire the "Positive Backdoor" Label -- Secret Alignment Requires Strict and Systematic Evaluation27 May 2026
- 2026Few Tokens, Big Leverage: Preserving Safety Alignment by Constraining Safety Tokens during Fine-tuning8 Mar 2026
- 2026Can LLM Safety Be Ensured by Constraining Parameter Regions?6 Feb 2026
- 2026TamperBench: Systematically Stress-Testing LLM Safety Under Fine-Tuning and Tampering6 Feb 2026
- 2026Safeguarding LLM Fine-tuning via Push-Pull Distributional Alignment12 Jan 2026
- 2025Adaptive Defense against Harmful Fine-Tuning for Large Language Models via Bayesian Data Scheduler31 Oct 2025
- 2025Detecting Adversarial Fine-tuning with Auditing Agents17 Oct 2025
- 2025Towards Safeguarding LLM Fine-tuning APIs against Cipher Attacks23 Aug 2025
- 2025Attention-Aware GNN-based Input Defense against Multi-Turn LLM Jailbreak9 Jul 2025
19 more
- 2025LoX: Low-Rank Extrapolation Robustifies LLM Safety Against Fine-tuning18 Jun 2025
- 2025Why LLM Safety Guardrails Collapse After Fine-tuning: A Similarity Analysis Between Alignment and Fine-tuning Datasets5 Jun 2025
- 2025SC-LoRA: Balancing Efficient Fine-tuning and Knowledge Preservation via Subspace-Constrained LoRA29 May 2025
- 2025What Really Matters in Many-Shot Attacks? An Empirical Study of Long-Context Vulnerabilities in LLMs26 May 2025
- 2025Safety Subspaces are Not Linearly Distinct: A Fine-Tuning Case Study20 May 2025
- 2025Why Not Act on What You Know? Unleashing Safety Potential of LLMs via Self-Aware Guard Enhancement17 May 2025
- 2025Multilingual Collaborative Defense for Large Language Models17 May 2025
- 2025SafeMERGE: Preserving Safety Alignment in Fine-Tuned Large Language Models via Selective Layer-Wise Model Merging21 Mar 2025
- 2025Layer-Aware Task Arithmetic: Disentangling Task-Specific and Instruction-Following Knowledge27 Feb 2025
- 2025Foot-In-The-Door: A Multi-turn Jailbreak for LLMs27 Feb 2025
- 2025No, of Course I Can! Deeper Fine-Tuning Attacks That Bypass Token-Level Safety Mechanisms26 Feb 2025
- 2025Fundamental Limitations in Pointwise Defences of LLM Finetuning APIs20 Feb 2025
- 2024Process Reward Model with Q-Value Rankings15 Oct 2024
- 2024AdvBDGen: Adversarially Fortified Prompt-Specific Fuzzy Backdoor Generator Against LLM Alignment15 Oct 2024
- 2024JailbreakEval: An Integrated Toolkit for Evaluating Jailbreak Attempts Against Large Language Models13 Jun 2024
- 2024Adversarial Tuning: Defending Against Jailbreak Attacks for LLMs7 Jun 2024
- 2024Safe LoRA: the Silver Lining of Reducing Safety Risks when Fine-tuning Large Language Models27 May 2024
- 2024No Two Devils Alike: Unveiling Distinct Mechanisms of Fine-tuning Attacks25 May 2024
- 2024On the Learnability of Out-of-distribution Detection7 Apr 2024
- 2025Foot-In-The-Door: A Multi-turn Jailbreak for LLMscited by 50
- 2024JailbreakEval: An Integrated Toolkit for Evaluating Jailbreak Attempts Against Large Language Modelscited by 28
- 2024Adversarial Tuning: Defending Against Jailbreak Attacks for LLMscited by 23
- 2025LoX: Low-Rank Extrapolation Robustifies LLM Safety Against Fine-tuningcited by 12
- 2025Why Not Act on What You Know? Unleashing Safety Potential of LLMs via Self-Aware Guard Enhancementcited by 8
- 2025What Really Matters in Many-Shot Attacks? An Empirical Study of Long-Context Vulnerabilities in LLMscited by 7
- 2025No, of Course I Can! Deeper Fine-Tuning Attacks That Bypass Token-Level Safety Mechanismscited by 5
- 2025Attention-Aware GNN-based Input Defense against Multi-Turn LLM Jailbreakcited by 2
- 2026TamperBench: Systematically Stress-Testing LLM Safety Under Fine-Tuning and Tamperingcited by 1
- 2026THRD: A Training-Free Multi-Turn Defense Framework for Jailbreak Attacks on Large Language Modelscited by 1
- 2025Multilingual Collaborative Defense for Large Language Modelscited by 0
- 2026Can LLM Safety Be Ensured by Constraining Parameter Regions?cited by 0
- 2026THRD: A Training-Free Multi-Turn Defense Framework for Jailbreak Attacks on Large Language Models1 Jun 2026
- 2026Can LLM Safety Be Ensured by Constraining Parameter Regions?6 Feb 2026
- 2026TamperBench: Systematically Stress-Testing LLM Safety Under Fine-Tuning and Tampering6 Feb 2026
- 2025Attention-Aware GNN-based Input Defense against Multi-Turn LLM Jailbreak9 Jul 2025
- 2025LoX: Low-Rank Extrapolation Robustifies LLM Safety Against Fine-tuning18 Jun 2025
- 2025What Really Matters in Many-Shot Attacks? An Empirical Study of Long-Context Vulnerabilities in LLMs26 May 2025
- 2025Why Not Act on What You Know? Unleashing Safety Potential of LLMs via Self-Aware Guard Enhancement17 May 2025
- 2025Multilingual Collaborative Defense for Large Language Models17 May 2025
- 2025Foot-In-The-Door: A Multi-turn Jailbreak for LLMs27 Feb 2025
- 2025No, of Course I Can! Deeper Fine-Tuning Attacks That Bypass Token-Level Safety Mechanisms26 Feb 2025
- 2024JailbreakEval: An Integrated Toolkit for Evaluating Jailbreak Attempts Against Large Language Models13 Jun 2024
- 2024Adversarial Tuning: Defending Against Jailbreak Attacks for LLMs7 Jun 2024
- 2024No Two Devils Alike: Unveiling Distinct Mechanisms of Fine-tuning Attackscited by 28
- 2025SafeMERGE: Preserving Safety Alignment in Fine-Tuned Large Language Models via Selective Layer-Wise Model Mergingcited by 25
- 2025Why LLM Safety Guardrails Collapse After Fine-tuning: A Similarity Analysis Between Alignment and Fine-tuning Datasetscited by 18
- 2025Safety Subspaces are Not Linearly Distinct: A Fine-Tuning Case Studycited by 6
- 2024AdvBDGen: Adversarially Fortified Prompt-Specific Fuzzy Backdoor Generator Against LLM Alignmentcited by 5
- 2026Few Tokens, Big Leverage: Preserving Safety Alignment by Constraining Safety Tokens during Fine-tuningcited by 4
- 2026Safeguarding LLM Fine-tuning via Push-Pull Distributional Alignmentcited by 2
- 2026SafeGene: Reusable Adapters for Transferable Safety Alignmentcited by 1
- 2026Position: Retire the "Positive Backdoor" Label -- Secret Alignment Requires Strict and Systematic Evaluationcited by 0
- 2026HyperSafe: Inference-Time Safety Recovery for Fine-Tuned Language Modelscited by 0
- 2026HyperSafe: Inference-Time Safety Recovery for Fine-Tuned Language Models13 Jul 2026
- 2026SafeGene: Reusable Adapters for Transferable Safety Alignment2 Jun 2026
- 2026Position: Retire the "Positive Backdoor" Label -- Secret Alignment Requires Strict and Systematic Evaluation27 May 2026
- 2026Few Tokens, Big Leverage: Preserving Safety Alignment by Constraining Safety Tokens during Fine-tuning8 Mar 2026
- 2026Safeguarding LLM Fine-tuning via Push-Pull Distributional Alignment12 Jan 2026
- 2025Why LLM Safety Guardrails Collapse After Fine-tuning: A Similarity Analysis Between Alignment and Fine-tuning Datasets5 Jun 2025
- 2025Safety Subspaces are Not Linearly Distinct: A Fine-Tuning Case Study20 May 2025
- 2025SafeMERGE: Preserving Safety Alignment in Fine-Tuned Large Language Models via Selective Layer-Wise Model Merging21 Mar 2025
- 2024AdvBDGen: Adversarially Fortified Prompt-Specific Fuzzy Backdoor Generator Against LLM Alignment15 Oct 2024
- 2024No Two Devils Alike: Unveiling Distinct Mechanisms of Fine-tuning Attacks25 May 2024
- 2025Detecting Adversarial Fine-tuning with Auditing Agentscited by 3
- 2025Detecting Adversarial Fine-tuning with Auditing Agents17 Oct 2025
- 2024Process Reward Model with Q-Value Rankingscited by 78
- 2024Process Reward Model with Q-Value Rankings15 Oct 2024
- 2024Safe LoRA: the Silver Lining of Reducing Safety Risks when Fine-tuning Large Language Modelscited by 122
- 2025Adaptive Defense against Harmful Fine-Tuning for Large Language Models via Bayesian Data Schedulercited by 12
- 2025Fundamental Limitations in Pointwise Defences of LLM Finetuning APIscited by 10
- 2025Towards Safeguarding LLM Fine-tuning APIs against Cipher Attackscited by 10
- 2024On the Learnability of Out-of-distribution Detectioncited by 8
- 2025Layer-Aware Task Arithmetic: Disentangling Task-Specific and Instruction-Following Knowledgecited by 5
- 2025SC-LoRA: Balancing Efficient Fine-tuning and Knowledge Preservation via Subspace-Constrained LoRAcited by 4
- 2025Adaptive Defense against Harmful Fine-Tuning for Large Language Models via Bayesian Data Scheduler31 Oct 2025
- 2025Towards Safeguarding LLM Fine-tuning APIs against Cipher Attacks23 Aug 2025
- 2025SC-LoRA: Balancing Efficient Fine-tuning and Knowledge Preservation via Subspace-Constrained LoRA29 May 2025
- 2025Layer-Aware Task Arithmetic: Disentangling Task-Specific and Instruction-Following Knowledge27 Feb 2025
- 2025Fundamental Limitations in Pointwise Defences of LLM Finetuning APIs20 Feb 2025
- 2024Safe LoRA: the Silver Lining of Reducing Safety Risks when Fine-tuning Large Language Models27 May 2024
- 2024On the Learnability of Out-of-distribution Detection7 Apr 2024
Similar, not cited
Close in wording, no citation either way
- 2024Competition Report: Finding Universal Jailbreak Backdoors in Aligned LLMs
- 2025Attack via Overfitting: 10-shot Benign Fine-tuning to Jailbreak LLMs
- 2024Model-Editing-Based Jailbreak against Safety-aligned Large Language Models
- 2025Jailbreaking Attacks vs. Content Safety Filters: How Far Are We in the LLM Safety Arms Race?
- 2024PARDEN, Can You Repeat That? Defending against Jailbreaks via Repetition
- 2024Stealthy Jailbreak Attacks on Large Language Models via Benign Data Mirroring
- 2025Decoding One Safety Trigger Token for Balancing Safety and Usability in Large Language Models
- 2025TwinBreak: Jailbreaking LLM Security Alignments based on Twin Prompts