BadLlama: cheaply removing safety fine-tuning from Llama 2-Chat 13B
Not on the map. Why?
Abstract (arXiv)
Llama 2-Chat is a collection of large language models that Meta developed and released to the public. While Meta fine-tuned Llama 2-Chat to refuse to output harmful content, we hypothesize that public access to model weights enables bad actors to cheaply circumvent Llama 2-Chat's safeguards and weaponize Llama 2's capabilities for malicious purposes. We demonstrate that it is possible to effectively undo the safety fine-tuning from Llama 2-Chat 13B with less than 200, while retaining its general capabilities. Our results demonstrate that safety-fine tuning is ineffective at preventing misuse when model weights are released publicly. Given that future models will likely have much greater ability to cause harm at scale, it is essential that AI developers address threats from fine-tuning when considering whether to publicly release their model weights.
Key facts. Cited by 36 papers in the map (data through 14 Oct 2026). Builds on 13 of its 15 references that are in the map. First posted on arXiv 31 Oct 2023.
Builds on
13 of 15 references.
References · 13
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2017Deep reinforcement learning from human preferencescited by 3,912
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
- 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,154
- 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 489
- 2023Shadow Alignment: The Ease of Subverting Safely-Aligned Language Modelscited by 297
- 2023Eight Things to Know about Large Language Modelscited by 73
- 2023Can large language models democratize access to dual-use biotechnology?cited by 35
- 2022Targeted Phishing Campaigns using Large Scale Language Modelscited by 23
1 more
Built on by
Citing papers per year: 2023: 1; 2024: 19; 2025: 13; 2026: 3.
36 papers.
Sort:
By area:
- 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deepcited by 472
- 2024R-Judge: Benchmarking Safety Risk Awareness for LLM Agentscited by 288
- 2024Agent Smith: A Single Image Can Jailbreak One Million Multimodal LLM Agents Exponentially Fastcited by 153
- 2024Attacks, Defenses and Evaluations for LLM Conversation Safety: A Surveycited by 130
- 2024Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defensescited by 70
- 2024Introducing v0.5 of the AI Safety Benchmark from MLCommonscited by 62
- 2024Large Language Model Safety: A Holistic Surveycited by 59
- 2024BEEAR: Embedding-based Adversarial Removal of Safety Backdoors in Instruction-tuned Language Modelscited by 58
- 2024Cheating Automatic LLM Benchmarks: Null Models Achieve High Win Ratescited by 45
- 2024Immunization against harmful fine-tuning attackscited by 35
- 2025DarkBench: Benchmarking Dark Patterns in Large Language Modelscited by 28
- 2025RL-Obfuscation: Can Language Models Learn to Evade Latent-Space Monitors?cited by 24
24 more
- 2024Locking Down the Finetuned LLMs Safetycited by 22
- 2025Benign Samples Matter! Fine-tuning On Outlier Benign Samples Severely Breaks Safetycited by 22
- 2025SDD: Self-Degraded Defense against Malicious Fine-tuningcited by 13
- 2024A Chinese Dataset for Evaluating the Safeguards in Large Language Modelscited by 12
- 2025Towards Safeguarding LLM Fine-tuning APIs against Cipher Attackscited by 11
- 2024Societal Adaptation to Advanced AIcited by 10
- 2024The Necessity of AI Audit Standards Boardscited by 9
- 2025Jailbreak-Tuning: Models Efficiently Learn Jailbreak Susceptibilitycited by 9
- 2025Benchmarking Misuse Mitigation Against Covert Adversariescited by 8
- 2023Hazards from Increasingly Accessible Fine-Tuning of Downloadable Foundation Modelscited by 7
- 2024SMILES-Prompting: A Novel Approach to LLM Jailbreak Attacks in Chemical Synthesiscited by 7
- 2024Toxicity of the Commons: Curating Open-Source Pre-Training Datacited by 7
- 2024Recent Advances in Attack and Defense Approaches of Large Language Modelscited by 6
- 2024Applying Refusal-Vector Ablation to Llama 3.1 70B Agentscited by 6
- 2025SAFER: Advancing Safety Alignment via Efficient Ex-Ante Reasoningcited by 4
- 2026Surgery: Mitigating Harmful Fine-Tuning for Large Language Models via Attention Sinkcited by 4
- 2025AI Companies Should Report Pre- and Post-Mitigation Safety Evaluationscited by 3
- 2024Risk Sources and Risk Management Measures in Support of Standards for General-Purpose AI Systemscited by 2
- 2025The Pitfalls of "Security by Obscurity" And What They Mean for Transparent AIcited by 2
- 2025A Red Teaming Roadmap Towards System-Level Safetycited by 2
- 2026DataShield: Safety-degrading Data Filtering for LLM Benign Instruction Fine-Tuningcited by 1
- 2025From Threat to Tool: Leveraging Refusal-Aware Injection Attacks for Safety Alignmentcited by 0
- 2025Rethinking Deep Alignment Through The Lens Of Incomplete Learningcited by 0
- 2026Hidden Threat in Synthetic Data: Covert Targeted Bias Injection through Benign Textcited by 0
- 2026Hidden Threat in Synthetic Data: Covert Targeted Bias Injection through Benign Text31 Aug 2026
- 2026DataShield: Safety-degrading Data Filtering for LLM Benign Instruction Fine-Tuning29 May 2026
- 2026Surgery: Mitigating Harmful Fine-Tuning for Large Language Models via Attention Sink5 Feb 2026
- 2025Rethinking Deep Alignment Through The Lens Of Incomplete Learning15 Nov 2025
- 2025Towards Safeguarding LLM Fine-tuning APIs against Cipher Attacks23 Aug 2025
- 2025SDD: Self-Degraded Defense against Malicious Fine-tuning27 Jul 2025
- 2025Jailbreak-Tuning: Models Efficiently Learn Jailbreak Susceptibility15 Jul 2025
- 2025RL-Obfuscation: Can Language Models Learn to Evade Latent-Space Monitors?17 Jun 2025
- 2025From Threat to Tool: Leveraging Refusal-Aware Injection Attacks for Safety Alignment7 Jun 2025
- 2025Benchmarking Misuse Mitigation Against Covert Adversaries6 Jun 2025
- 2025A Red Teaming Roadmap Towards System-Level Safety30 May 2025
- 2025Benign Samples Matter! Fine-tuning On Outlier Benign Samples Severely Breaks Safety11 May 2025
24 more
- 2025SAFER: Advancing Safety Alignment via Efficient Ex-Ante Reasoning3 Apr 2025
- 2025AI Companies Should Report Pre- and Post-Mitigation Safety Evaluations17 Mar 2025
- 2025DarkBench: Benchmarking Dark Patterns in Large Language Models13 Mar 2025
- 2025The Pitfalls of "Security by Obscurity" And What They Mean for Transparent AI30 Jan 2025
- 2024Large Language Model Safety: A Holistic Survey23 Dec 2024
- 2024Risk Sources and Risk Management Measures in Support of Standards for General-Purpose AI Systems30 Oct 2024
- 2024Toxicity of the Commons: Curating Open-Source Pre-Training Data29 Oct 2024
- 2024SMILES-Prompting: A Novel Approach to LLM Jailbreak Attacks in Chemical Synthesis21 Oct 2024
- 2024Locking Down the Finetuned LLMs Safety14 Oct 2024
- 2024Cheating Automatic LLM Benchmarks: Null Models Achieve High Win Rates9 Oct 2024
- 2024Applying Refusal-Vector Ablation to Llama 3.1 70B Agents8 Oct 2024
- 2024Recent Advances in Attack and Defense Approaches of Large Language Models5 Sep 2024
- 2024BEEAR: Embedding-based Adversarial Removal of Safety Backdoors in Instruction-tuned Language Models24 Jun 2024
- 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deep10 Jun 2024
- 2024Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defenses3 Jun 2024
- 2024Societal Adaptation to Advanced AI16 May 2024
- 2024Introducing v0.5 of the AI Safety Benchmark from MLCommons18 Apr 2024
- 2024The Necessity of AI Audit Standards Boards11 Apr 2024
- 2024Immunization against harmful fine-tuning attacks26 Feb 2024
- 2024A Chinese Dataset for Evaluating the Safeguards in Large Language Models19 Feb 2024
- 2024Attacks, Defenses and Evaluations for LLM Conversation Safety: A Survey14 Feb 2024
- 2024Agent Smith: A Single Image Can Jailbreak One Million Multimodal LLM Agents Exponentially Fast13 Feb 2024
- 2024R-Judge: Benchmarking Safety Risk Awareness for LLM Agents18 Jan 2024
- 2023Hazards from Increasingly Accessible Fine-Tuning of Downloadable Foundation Models22 Dec 2023
- 2024Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defensescited by 70
- 2024Large Language Model Safety: A Holistic Surveycited by 59
- 2024BEEAR: Embedding-based Adversarial Removal of Safety Backdoors in Instruction-tuned Language Modelscited by 58
- 2025Benign Samples Matter! Fine-tuning On Outlier Benign Samples Severely Breaks Safetycited by 22
- 2025Jailbreak-Tuning: Models Efficiently Learn Jailbreak Susceptibilitycited by 9
- 2024SMILES-Prompting: A Novel Approach to LLM Jailbreak Attacks in Chemical Synthesiscited by 7
- 2025A Red Teaming Roadmap Towards System-Level Safetycited by 2
- 2025Jailbreak-Tuning: Models Efficiently Learn Jailbreak Susceptibility15 Jul 2025
- 2025A Red Teaming Roadmap Towards System-Level Safety30 May 2025
- 2025Benign Samples Matter! Fine-tuning On Outlier Benign Samples Severely Breaks Safety11 May 2025
- 2024Large Language Model Safety: A Holistic Survey23 Dec 2024
- 2024SMILES-Prompting: A Novel Approach to LLM Jailbreak Attacks in Chemical Synthesis21 Oct 2024
- 2024BEEAR: Embedding-based Adversarial Removal of Safety Backdoors in Instruction-tuned Language Models24 Jun 2024
- 2024Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defenses3 Jun 2024
- 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deepcited by 472
- 2025SDD: Self-Degraded Defense against Malicious Fine-tuningcited by 13
- 2026Surgery: Mitigating Harmful Fine-Tuning for Large Language Models via Attention Sinkcited by 4
- 2025From Threat to Tool: Leveraging Refusal-Aware Injection Attacks for Safety Alignmentcited by 0
- 2026Surgery: Mitigating Harmful Fine-Tuning for Large Language Models via Attention Sink5 Feb 2026
- 2025SDD: Self-Degraded Defense against Malicious Fine-tuning27 Jul 2025
- 2025From Threat to Tool: Leveraging Refusal-Aware Injection Attacks for Safety Alignment7 Jun 2025
- 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deep10 Jun 2024
- 2024R-Judge: Benchmarking Safety Risk Awareness for LLM Agentscited by 288
- 2024Applying Refusal-Vector Ablation to Llama 3.1 70B Agentscited by 6
- 2024Applying Refusal-Vector Ablation to Llama 3.1 70B Agents8 Oct 2024
- 2024R-Judge: Benchmarking Safety Risk Awareness for LLM Agents18 Jan 2024
- 2024Attacks, Defenses and Evaluations for LLM Conversation Safety: A Surveycited by 130
- 2024Introducing v0.5 of the AI Safety Benchmark from MLCommonscited by 62
- 2024Cheating Automatic LLM Benchmarks: Null Models Achieve High Win Ratescited by 45
- 2024Immunization against harmful fine-tuning attackscited by 35
- 2025DarkBench: Benchmarking Dark Patterns in Large Language Modelscited by 28
- 2025RL-Obfuscation: Can Language Models Learn to Evade Latent-Space Monitors?cited by 24
- 2024Locking Down the Finetuned LLMs Safetycited by 22
- 2024A Chinese Dataset for Evaluating the Safeguards in Large Language Modelscited by 12
- 2025Towards Safeguarding LLM Fine-tuning APIs against Cipher Attackscited by 11
- 2024Societal Adaptation to Advanced AIcited by 10
- 2024The Necessity of AI Audit Standards Boardscited by 9
- 2025Benchmarking Misuse Mitigation Against Covert Adversariescited by 8
12 most cited of 19 All 19 (JSON)
- 2026DataShield: Safety-degrading Data Filtering for LLM Benign Instruction Fine-Tuning29 May 2026
- 2025Towards Safeguarding LLM Fine-tuning APIs against Cipher Attacks23 Aug 2025
- 2025RL-Obfuscation: Can Language Models Learn to Evade Latent-Space Monitors?17 Jun 2025
- 2025Benchmarking Misuse Mitigation Against Covert Adversaries6 Jun 2025
- 2025AI Companies Should Report Pre- and Post-Mitigation Safety Evaluations17 Mar 2025
- 2025DarkBench: Benchmarking Dark Patterns in Large Language Models13 Mar 2025
- 2025The Pitfalls of "Security by Obscurity" And What They Mean for Transparent AI30 Jan 2025
- 2024Risk Sources and Risk Management Measures in Support of Standards for General-Purpose AI Systems30 Oct 2024
- 2024Toxicity of the Commons: Curating Open-Source Pre-Training Data29 Oct 2024
- 2024Locking Down the Finetuned LLMs Safety14 Oct 2024
- 2024Cheating Automatic LLM Benchmarks: Null Models Achieve High Win Rates9 Oct 2024
- 2024Recent Advances in Attack and Defense Approaches of Large Language Models5 Sep 2024
12 newest of 19 All 19 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2023LoRA Fine-tuning Efficiently Undoes Safety Training in Llama 2-Chat 70B
- 2023Safety-Tuned LLaMAs: Lessons From Improving the Safety of Large Language Models that Follow Instructions
- 2024From Representational Harms to Quality-of-Service Harms: A Case Study on Llama 2 Safety Safeguards
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversations
- 2025Rethinking Safety in LLM Fine-tuning: An Optimization Perspective
- 2025Fine-Tuning Lowers Safety and Disrupts Evaluation Consistency
- 2025Panacea: Mitigating Harmful Fine-tuning for Large Language Models via Post-fine-tuning Perturbation
- 2026Self-Mined Hardness for Safety Fine-Tuning