DELMAN: Dynamic Defense Against Large Language Model Jailbreaking with Model Editing
On the map: LLM safety and security → Jailbreaking
Abstract (arXiv)
Large Language Models (LLMs) are widely applied in decision making, but their deployment is threatened by jailbreak attacks, where adversarial users manipulate model behavior to bypass safety measures. Existing defense mechanisms, such as safety fine-tuning and model editing, either require extensive parameter modifications or lack precision, leading to performance degradation on general tasks, which is unsuitable to post-deployment safety alignment. To address these challenges, we propose DELMAN (Dynamic Editing for LLMs JAilbreak DefeNse), a novel approach leveraging direct model editing for precise, dynamic protection against jailbreak attacks. DELMAN directly updates a minimal set of relevant parameters to neutralize harmful behaviors while preserving the model's utility. To avoid triggering a safe response in benign context, we incorporate KL-divergence regularization to ensure the updated model remains consistent with the original model when processing benign queries. Experimental results demonstrate that DELMAN outperforms baseline methods in mitigating jailbreak attacks while preserving the model's utility, and adapts seamlessly to new attack instances, providing a practical and efficient solution for post-deployment model protection.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. Builds on 30 of its 44 references that are in the map. First posted on arXiv 17 Feb 2025.
Builds on
30 of 44 references.
Closest ancestors · 8
Same direction, newest first
- 2024Defending Large Language Models Against Jailbreak Attacks via Layer-specific Editing28 May
- 2024SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding14 Feb
- 2024Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks30 Jan
- 2023Jailbreaking Black Box Large Language Models in Twenty Queries12 Oct
- 2023Catastrophic Jailbreak of Open-source LLMs via Exploiting Generation10 Oct
- 2023Defending Against Alignment-Breaking Attacks via Robustly Aligned LLM18 Sep
- 2023Detecting Language Model Attacks with Perplexity27 Aug
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
Other references · 22
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 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
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,207
- 2022Mass-Editing Memory in a Transformercited by 1,001
10 more
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
- 2021Editing Factual Knowledge in Language Modelscited by 553
- 2019SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarizationcited by 535
- 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 532
- 2021Fast Model Editing at Scalecited by 498
- 2018Analysis Methods in Neural Language Processing: A Surveycited by 277
- 2020Modifying Memories in Transformer Modelscited by 224
- 2015The Ubuntu Dialogue Corpus: A Large Dataset for Research in Unstructured Multi-Turn Dialogue Systemscited by 172
- 2020MuTual: A Dataset for Multi-Turn Dialogue Reasoningcited by 115
- 2022Plug-and-Play Adaptation for Continuously-updated QAcited by 21
Built on by
Citing papers per year: 2025: 6; 2026: 4.
10 papers.
- 2025Understanding and Rectifying Safety Perception Distortion in VLMscited by 17
- 2025Rethinking Jailbreak Detection of Large Vision Language Models with Representational Contrastive Scoringcited by 11
- 2025Interpretation Meets Safety: A Survey on Interpretation Methods and Tools for Improving LLM Safetycited by 10
- 2025Guardians and Offenders: A Survey on Harmful Content Generation and Safety Mitigation of LLMcited by 9
- 2025TeleAI-Safety: A comprehensive LLM jailbreaking benchmark towards attacks, defenses, and evaluationscited by 7
- 2026Contrastive Reasoning Alignment: Reinforcement Learning from Hidden Representationscited by 2
- 2025SoK: a Comprehensive Causality Analysis Framework for Large Language Model Securitycited by 0
- 2026EVA: Editing for Versatile Alignment against Jailbreakscited by 0
- 2026Tripwire: Triggering Aligned Refusal via Statistically Certified Safety Neuronscited by 0
- 2026The Tokens Remember: When Tokenization Bypasses Knowledge Editing and Unlearningcited by 0
- 2026The Tokens Remember: When Tokenization Bypasses Knowledge Editing and Unlearning24 Sep 2026
- 2026Tripwire: Triggering Aligned Refusal via Statistically Certified Safety Neurons14 Aug 2026
- 2026EVA: Editing for Versatile Alignment against Jailbreaks14 May 2026
- 2026Contrastive Reasoning Alignment: Reinforcement Learning from Hidden Representations18 Mar 2026
- 2025Rethinking Jailbreak Detection of Large Vision Language Models with Representational Contrastive Scoring12 Dec 2025
- 2025TeleAI-Safety: A comprehensive LLM jailbreaking benchmark towards attacks, defenses, and evaluations5 Dec 2025
- 2025SoK: a Comprehensive Causality Analysis Framework for Large Language Model Security4 Dec 2025
- 2025Guardians and Offenders: A Survey on Harmful Content Generation and Safety Mitigation of LLM7 Aug 2025
- 2025Interpretation Meets Safety: A Survey on Interpretation Methods and Tools for Improving LLM Safety5 Jun 2025
- 2025Understanding and Rectifying Safety Perception Distortion in VLMs18 Feb 2025
Similar, not cited
Close in wording, no citation either way
- 2024Jailbreak Attacks and Defenses Against Large Language Models: A Survey
- 2026SoK: Robustness in Large Language Models against Jailbreak Attacks
- 2024Jailbreaking and Mitigation of Vulnerabilities in Large Language Models
- 2024Model-Editing-Based Jailbreak against Safety-aligned Large Language Models
- 2025PandaGuard: Systematic Evaluation of LLM Safety against Jailbreaking Attacks
- 2024Harnessing Task Overload for Scalable Jailbreak Attacks on Large Language Models
- 2024Jailbreak Antidote: Runtime Safety-Utility Balance via Sparse Representation Adjustment in Large Language Models
- 2023A Wolf in Sheep's Clothing: Generalized Nested Jailbreak Prompts can Fool Large Language Models Easily