Backdoor Containment via Expert Quarantine and Shutdown in LLMs

Jianwei Li, Min-Seon Kim, Jung-Eun Kim
9/30/2026
cs.AIcs.CRcs.LG

No official code found. Best implementation: qes-lora/Backdoor-QES (1 star, last commit 2026-11-04). 1 more below.

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).

Show full abstract

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.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
qes-lora/Backdoor-QESCommunity1––2026-11-04
qes-lora/qes-lora.github.ioCommunity0HTML–2026-11-04

Code for Backdoor Containment via Expert Quarantine and Shutdown in LLMs (NeurIPS 2026).

10Nov 4, 20263 weeks ago

Project website for Backdoor Containment via Expert Quarantine and Shutdown in LLMs (NeurIPS 2026).

00HTMLNov 4, 20263 weeks ago

Similar Papers

Cite this paper

@article{li2026backdoor,
  title  = {Backdoor Containment via Expert Quarantine and Shutdown in LLMs},
  author = {Jianwei Li and Min-Seon Kim and Jung-Eun Kim},
  year   = {2026},
  eprint = {2610.00663},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.00663v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.00663.svg)](https://codeofpaper.com/paper/2610.00663)

Discussion