Curvature-Guided Module Localization for Low-Rank Detoxification of Backdoored Large Language Models
On the map: LLM safety and security → Backdoor and data poisoning attacks
Abstract (arXiv)
Backdoor attacks pose a serious threat to large language models (LLMs) by causing otherwise benign systems to produce attacker-specified malicious behavior when a hidden trigger is present. In this work, we study post hoc detoxification of backdoored LLMs in a practical setting where the defender has access to the poisoned model but does not wish to retrain the full network from scratch. We propose a mechanistically guided weight-space repair framework that first localizes modules involved in propagating trigger-induced behavior using activation patching and Fisher/K-FAC curvature analysis, and then applies targeted low-rank repair to only the most influential modules. We evaluate the method on poisoned variants of textttLlama-3.2-1B-Instruct with triggers inserted at the beginning, middle, and end of otherwise benign prompts. Results show that the proposed approach substantially suppresses trigger-conditioned malicious responses while preserving benign model behavior. These findings suggest that backdoor removal in LLMs can be formulated as a localized structural repair problem rather than only a broad behavioral alignment problem.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. Builds on 17 of its 19 references that are in the map. First posted on arXiv 29 Jun 2026.
Builds on
17 of 19 references.
Closest ancestors · 7
Same direction, newest first
- 2024CROW: Eliminating Backdoors from Large Language Models via Internal Consistency Regularization18 Nov
- 2024BackdoorLLM: A Comprehensive Benchmark for Backdoor Attacks and Defenses on Large Language Models23 Aug
- 2024Simulate and Eliminate: Revoke Backdoors for Generative Large Language Models13 May
- 2024Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Training10 Jan
- 2023Test-time Backdoor Mitigation for Black-Box Large Language Models with Defensive Demonstrations16 Nov
- 2023Instructions as Backdoors: Backdoor Vulnerabilities of Instruction Tuning for Large Language Models24 May
- 2023Analyzing And Editing Inner Mechanisms Of Backdoored Language Models24 Feb
Other references · 10
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2022Mass-Editing Memory in a Transformercited by 976
- 2018Fine-Pruning: Defending Against Backdooring Attacks on Deep Neural Networkscited by 550
- 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 231
- 2024How to use and interpret activation patchingcited by 191
- 2023Knowledge Editing for Large Language Models: A Surveycited by 189
- 2024Model Editing Harms General Abilities of Large Language Models: Regularization to the Rescuecited by 101
- 2024WISE: Rethinking the Knowledge Memory for Lifelong Model Editing of Large Language Modelscited by 90
Built on by
Not cited yet.