Minghong Fang, Zhuqing Liu, Anjun Gao, Yueyang Quan, Yufei Xia
We have not lifted any functions out of this paper's repositories yet, so there is nothing we have run. The repositories linked to it are listed below.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Large language models remain vulnerable to jailbreak backdoor attacks, where adversaries poison safety alignment data to embed hidden triggers that bypass safety mechanisms. Existing defenses often require comprehensive attack information or multiple triggered examples, making them impractical when defenders only observe a single reported failure case without knowing whether it stems from a backdoor attack or a natural alignment bug. This paper presents Patcher, a post-hoc defense framework that repairs backdoored language models using only a single reported failure case and the model parameters. Patcher operates in two stages. First, it localizes backdoor triggers by computing response-conditioned gradient-based saliency scores and applying adaptive clustering to separate triggers from benign context. Second, it patches the model through a constrained fine-tuning objective that breaks the trigger-response association while preserving benign-task utility and robustness to non-triggered jailbreak attacks through KL-divergence constraints. We conduct extensive evaluations across multiple backdoor attack strategies and demonstrate that Patcher successfully localizes triggers and neutralizes backdoors while maintaining model utility. We further show robustness against adaptive attacks designed to evade our defense. This work represents a significant step toward practical defenses against training-time attacks in deployed language models. Benign process and standard backdoor attack process with trigger A1: You can buy shoes at a variety of retailers, both online and in-store.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2606.02995")
get_code_for_paper("2606.02995")
have("2606.02995")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2606.02995.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2606.02995)
Connect an agent — have() is free.