Backdoor Containment via Expert Quarantine and Shutdown in LLMs
Abstract
Backdoored large language models (LLMs) can behave normally on benign inputs while producing attacker-specified outputs under hidden triggers. Existing defenses span four stages---prior-training, in-training, post-training, and inference-time---and share one of two underlying strategies: either suppress backdoor learning (by filtering poisoned data or interrupting its acquisition during optimization) or learn, then purify (by repairing model weights or gating inputs after a fully backdoored model has formed). We propose a third strategy, learn, but channel: allow backdoor formation during training but route it into a designated, quarantined component that can be disabled at deployment. To this end, we propose Quarantined Expert Shutdown QES, a computationally efficient containment strategy built in a regularization-steered MoE-like setting. Specifically, given a poisoned dataset, QES augments a Transformer-based language model with routed expert-specific LoRA branches and lightweight routers, and uses auxiliary routing objectives to attract trigger-conditioned behavior into a designated expert while preserving benign capability elsewhere. At deployment, mitigation reduces to a single constant-time operation: zeroing the quarantined expert's routing weight, without trigger screening or further updating model weights. Empirically, our methods reduce the attack success rate (ASR) from 100% to 0-10% on most settings across two tasks, three attacks, and four model families, while downstream utility is often preserved or only modestly affected. These results establish learn, but channel as a previously unexplored regime for backdoor containment in generative LLMs.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CR, cs.LG
- Comments
- NeurIPS 2026
Related papers
Backdoor Purification for LoRA-Tuned LLMs via Null-Space Projection
Shared title terminologycs.AIJianwei Li, Jung-Eun Kim
FN-Prune: Training-Free Expert Pruning with Finite RMSNorm Perturbations
Shared title terminologycs.AIZeyan Li, Jianfeng Xu
AlphaDefect: Expert-Level AI for Slay the Spire 2
Shared title terminologycs.AIQiyue Chen, Taian Yu, Junpei Komiyama et al.
Revisiting LLMs as Context Engineers
Shared title terminologycs.AIJunrui Zhang, Zeyu Xu, Runchuan Zhu et al.
PseuDRAGON: Knowledge-Guided Local LLMs for Financial-Data Pseudonymization in Closed Networks
Shared title terminologycs.AIGwangui Hong, Seonho An, Seonkyu Lim et al.
CLIP-FMoE: Scalable CLIP via Fused Mixture-of-Experts with Enforced Specialization
Shared title terminologycs.AILuong Tran, Lan-Cuong Nguyen, Huynh Dang Nguyen et al.