From Theft to Bomb-Making: The Ripple Effect of Unlearning in Defending Against Jailbreak Attacks
On the map: LLM safety and security → Jailbreaking
Abstract (arXiv)
Large Language Models (LLMs) are known to be vulnerable to jailbreak attacks. An important observation is that, while different types of jailbreak attacks can generate significantly different queries, they mostly result in similar responses that are rooted in the same harmful knowledge (e.g., detailed steps to make a bomb). Consequently, unlearning-based approaches have been proposed to mitigate jailbreak attacks by directly removing harmful knowledge from the model. In this paper, we identify a novel ripple effect of unlearning, wherein LLMs can implicitly unlearn harmful knowledge that was not explicitly introduced during the unlearning phase (e.g., a model unlearning the steps for theft may also implicitly unlearn the steps for making a bomb). Through over 100 experimental runs spanning multiple models, attack strategies, and defense methods, we empirically validate this phenomenon, which makes unlearning-based methods able to decrease the Attack Success Rate on unseen data from more than 70% to less than 10% with only 100 training samples. Further analysis reveals that the strong generalization ability of unlearning may stem from the intrinsic relatedness among harmful responses across harmful questions (e.g., response patterns, shared steps and actions in response, and similarity among their learned representations in the LLM). We also discuss the potential limitations of unlearning and the observed ripple effect. We hope our research could contribute to a deeper understanding of unlearning. Our code is available at https://github.com/thu-coai/SafeUnlearning.
Key facts. Cited by 29 papers in the map (data through 7 Oct 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. Builds on 34 of its 44 references that are in the map. First posted on arXiv 3 Jul 2024.
Builds on
34 of 44 references.
Closest ancestors · 13
Same direction, newest first
- 2024Eraser: Jailbreaking Defense in Large Language Models via Unlearning Harmful Knowledge8 Apr
- 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attacks2 Apr
- 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automatically4 Dec
- 2023Defending Large Language Models Against Jailbreaking Attacks Through Goal Prioritization15 Nov
- 2023DeepInception: Hypnotize Large Language Model to Be Jailbreaker6 Nov
- 2023Jailbreaking Black Box Large Language Models in Twenty Queries12 Oct
- 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attacks5 Oct
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models3 Oct
- 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Prompts19 Sep
- 2023Defending Against Alignment-Breaking Attacks via Robustly Aligned LLM18 Sep
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
- 2023Jailbroken: How Does LLM Safety Training Fail?5 Jul
1 more
Other references · 21
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,330
- 2019Machine Unlearningcited by 1,020
- 2023Enhancing Chat Language Models by Scaling High-quality Instructional Conversationscited by 825
- 2024TOFU: A Task of Fictitious Unlearning for LLMscited by 507
- 2024The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearningcited by 488
- 2024Negative Preference Optimization: From Catastrophic Collapse to Effective Unlearningcited by 484
- 2023XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Modelscited by 477
- 2023Safety-Tuned LLaMAs: Lessons From Improving the Safety of Large Language Models that Follow Instructionscited by 377
- 2023Toxicity in ChatGPT: Analyzing Persona-assigned Language Modelscited by 356
9 more
- 2023Multi-step Jailbreaking Privacy Attacks on ChatGPTcited by 320
- 2024Improving Alignment and Robustness with Circuit Breakerscited by 302
- 2023Large Language Model Unlearningcited by 288
- 2023Exploiting Programmatic Behavior of LLMs: Dual-Use Through Standard Security Attackscited by 268
- 2023SafetyBench: Evaluating the Safety of Large Language Modelscited by 189
- 2023RAIN: Your Language Models Can Align Themselves without Finetuningcited by 149
- 2024Towards Safer Large Language Models through Machine Unlearningcited by 134
- 2024On Prompt-Driven Safeguarding for Large Language Modelscited by 109
- 2023Ethicist: Targeted Training Data Extraction Through Loss Smoothed Soft Prompting and Calibrated Confidence Estimationcited by 36
Built on by
Citing papers per year: 2024: 5; 2025: 12; 2026: 12.
29 papers.
Sort:
By area:
- 2025A Survey of Self-Evolving Agents: What, When, How, and Where to Evolve on the Path to Artificial Super Intelligencecited by 155
- 2024VLSBench: Unveiling Visual Leakage in Multimodal Safetycited by 59
- 2024A Closer Look at Machine Unlearning for Large Language Modelscited by 54
- 2025FalseReject: A Resource for Improving Contextual Safety and Mitigating Over-Refusals in LLMs via Structured Reasoningcited by 53
- 2024Surgical, Cheap, and Flexible: Mitigating False Refusal in Language Models via Single Vector Ablationcited by 48
- 2025A Comprehensive Survey of Machine Unlearning Techniques for Large Language Modelscited by 30
- 2025SafeKey: Amplifying Aha-Moment Insights for Safety Reasoningcited by 20
- 2024Towards Inference-time Category-wise Safety Steering for Large Language Modelscited by 17
- 2025AISafetyLab: A Comprehensive Framework for AI Safety Evaluation and Improvementcited by 11
- 2025LLM Unlearning Reveals a Stronger-Than-Expected Coreset Effect in Current Benchmarkscited by 11
- 2025DETAM: Defending LLMs Against Jailbreak Attacks via Targeted Attention Modificationcited by 10
- 2025AegisLLM: Scaling Agentic Systems for Self-Reflective Defense in LLM Securitycited by 9
17 more
- 2025OpenGU: A Comprehensive Benchmark for Graph Unlearningcited by 8
- 2025MetaSC: Test-Time Safety Specification Optimization for Language Modelscited by 4
- 2026Is your algorithm unlearning or untraining?cited by 3
- 2026MT-JailBench: A Modular Benchmark for Understanding Multi-Turn Jailbreak Attackscited by 3
- 2026Position: The Term "Machine Unlearning" Is Overused in LLMscited by 3
- 2024Precision Knowledge Editing: Enhancing Safety in Large Language Modelscited by 2
- 2025A Survey on Unlearning in Large Language Modelscited by 2
- 2025AUVIC: Adversarial Unlearning of Visual Concepts for Multi-modal Large Language Modelscited by 2
- 2026SoK: Robustness in Large Language Models against Jailbreak Attackscited by 2
- 2026GUARD-SLM: Token Activation-Based Defense Against Jailbreak Attacks for Small Language Modelscited by 1
- 2026D-Judge: Disrupting Multi-Turn Jailbreaks using Semantics-Preserving Output Rewritingcited by 1
- 2026Exclusive Unlearningcited by 0
- 2026Why Do Aligned LLMs Remain Jailbreakable: Refusal-Escape Directions, Operator-Level Sources, and Safety-Utility Trade-offcited by 0
- 2026Stateful Cooperative Agents Safeguarding LLMs Against Evolving Multi-Turn Attackscited by 0
- 2026SafeTune: A Unified Faithful Library for Auditing and Repairing Safety Drift in Fine-Tuned LLMscited by 0
- 2026The Tokens Remember: When Tokenization Bypasses Knowledge Editing and Unlearningcited by 0
- 2026Open-MMUnlearning: Unifying Methods and Evaluation for MLLM Unlearningcited by 0
- 2026Open-MMUnlearning: Unifying Methods and Evaluation for MLLM Unlearning7 Oct 2026
- 2026The Tokens Remember: When Tokenization Bypasses Knowledge Editing and Unlearning24 Sep 2026
- 2026SafeTune: A Unified Faithful Library for Auditing and Repairing Safety Drift in Fine-Tuned LLMs26 Aug 2026
- 2026Stateful Cooperative Agents Safeguarding LLMs Against Evolving Multi-Turn Attacks31 Jul 2026
- 2026D-Judge: Disrupting Multi-Turn Jailbreaks using Semantics-Preserving Output Rewriting31 May 2026
- 2026MT-JailBench: A Modular Benchmark for Understanding Multi-Turn Jailbreak Attacks10 May 2026
- 2026Why Do Aligned LLMs Remain Jailbreakable: Refusal-Escape Directions, Operator-Level Sources, and Safety-Utility Trade-off9 May 2026
- 2026Position: The Term "Machine Unlearning" Is Overused in LLMs8 May 2026
- 2026SoK: Robustness in Large Language Models against Jailbreak Attacks6 May 2026
- 2026Is your algorithm unlearning or untraining?9 Apr 2026
- 2026Exclusive Unlearning7 Apr 2026
- 2026GUARD-SLM: Token Activation-Based Defense Against Jailbreak Attacks for Small Language Models28 Mar 2026
17 more
- 2025AUVIC: Adversarial Unlearning of Visual Concepts for Multi-modal Large Language Models14 Nov 2025
- 2025A Survey on Unlearning in Large Language Models29 Oct 2025
- 2025A Survey of Self-Evolving Agents: What, When, How, and Where to Evolve on the Path to Artificial Super Intelligence28 Jul 2025
- 2025SafeKey: Amplifying Aha-Moment Insights for Safety Reasoning22 May 2025
- 2025FalseReject: A Resource for Improving Contextual Safety and Mitigating Over-Refusals in LLMs via Structured Reasoning12 May 2025
- 2025AegisLLM: Scaling Agentic Systems for Self-Reflective Defense in LLM Security29 Apr 2025
- 2025DETAM: Defending LLMs Against Jailbreak Attacks via Targeted Attention Modification18 Apr 2025
- 2025LLM Unlearning Reveals a Stronger-Than-Expected Coreset Effect in Current Benchmarks14 Apr 2025
- 2025AISafetyLab: A Comprehensive Framework for AI Safety Evaluation and Improvement24 Feb 2025
- 2025A Comprehensive Survey of Machine Unlearning Techniques for Large Language Models22 Feb 2025
- 2025MetaSC: Test-Time Safety Specification Optimization for Language Models11 Feb 2025
- 2025OpenGU: A Comprehensive Benchmark for Graph Unlearning6 Jan 2025
- 2024VLSBench: Unveiling Visual Leakage in Multimodal Safety29 Nov 2024
- 2024A Closer Look at Machine Unlearning for Large Language Models10 Oct 2024
- 2024Surgical, Cheap, and Flexible: Mitigating False Refusal in Language Models via Single Vector Ablation4 Oct 2024
- 2024Precision Knowledge Editing: Enhancing Safety in Large Language Models2 Oct 2024
- 2024Towards Inference-time Category-wise Safety Steering for Large Language Models2 Oct 2024
- 2024A Closer Look at Machine Unlearning for Large Language Modelscited by 54
- 2025A Comprehensive Survey of Machine Unlearning Techniques for Large Language Modelscited by 30
- 2025LLM Unlearning Reveals a Stronger-Than-Expected Coreset Effect in Current Benchmarkscited by 11
- 2025DETAM: Defending LLMs Against Jailbreak Attacks via Targeted Attention Modificationcited by 10
- 2025OpenGU: A Comprehensive Benchmark for Graph Unlearningcited by 8
- 2026Is your algorithm unlearning or untraining?cited by 3
- 2026MT-JailBench: A Modular Benchmark for Understanding Multi-Turn Jailbreak Attackscited by 3
- 2026Position: The Term "Machine Unlearning" Is Overused in LLMscited by 3
- 2024Precision Knowledge Editing: Enhancing Safety in Large Language Modelscited by 2
- 2025A Survey on Unlearning in Large Language Modelscited by 2
- 2026SoK: Robustness in Large Language Models against Jailbreak Attackscited by 2
- 2026GUARD-SLM: Token Activation-Based Defense Against Jailbreak Attacks for Small Language Modelscited by 1
12 most cited of 15 All 15 (JSON)
- 2026The Tokens Remember: When Tokenization Bypasses Knowledge Editing and Unlearning24 Sep 2026
- 2026D-Judge: Disrupting Multi-Turn Jailbreaks using Semantics-Preserving Output Rewriting31 May 2026
- 2026MT-JailBench: A Modular Benchmark for Understanding Multi-Turn Jailbreak Attacks10 May 2026
- 2026Position: The Term "Machine Unlearning" Is Overused in LLMs8 May 2026
- 2026SoK: Robustness in Large Language Models against Jailbreak Attacks6 May 2026
- 2026Is your algorithm unlearning or untraining?9 Apr 2026
- 2026Exclusive Unlearning7 Apr 2026
- 2026GUARD-SLM: Token Activation-Based Defense Against Jailbreak Attacks for Small Language Models28 Mar 2026
- 2025A Survey on Unlearning in Large Language Models29 Oct 2025
- 2025DETAM: Defending LLMs Against Jailbreak Attacks via Targeted Attention Modification18 Apr 2025
- 2025LLM Unlearning Reveals a Stronger-Than-Expected Coreset Effect in Current Benchmarks14 Apr 2025
- 2025A Comprehensive Survey of Machine Unlearning Techniques for Large Language Models22 Feb 2025
12 newest of 15 All 15 (JSON)
- 2025A Survey of Self-Evolving Agents: What, When, How, and Where to Evolve on the Path to Artificial Super Intelligencecited by 155
- 2025AegisLLM: Scaling Agentic Systems for Self-Reflective Defense in LLM Securitycited by 9
- 2026Stateful Cooperative Agents Safeguarding LLMs Against Evolving Multi-Turn Attackscited by 0
- 2026Stateful Cooperative Agents Safeguarding LLMs Against Evolving Multi-Turn Attacks31 Jul 2026
- 2025A Survey of Self-Evolving Agents: What, When, How, and Where to Evolve on the Path to Artificial Super Intelligence28 Jul 2025
- 2025AegisLLM: Scaling Agentic Systems for Self-Reflective Defense in LLM Security29 Apr 2025
- 2024Surgical, Cheap, and Flexible: Mitigating False Refusal in Language Models via Single Vector Ablationcited by 48
- 2025AISafetyLab: A Comprehensive Framework for AI Safety Evaluation and Improvementcited by 11
- 2026SafeTune: A Unified Faithful Library for Auditing and Repairing Safety Drift in Fine-Tuned LLMscited by 0
- 2026SafeTune: A Unified Faithful Library for Auditing and Repairing Safety Drift in Fine-Tuned LLMs26 Aug 2026
- 2025AISafetyLab: A Comprehensive Framework for AI Safety Evaluation and Improvement24 Feb 2025
- 2024Surgical, Cheap, and Flexible: Mitigating False Refusal in Language Models via Single Vector Ablation4 Oct 2024