Papers › Beating Backdoor Attack at Its Own Game

Beating Backdoor Attack at Its Own Game

28 Jul 2023ICCV 2023 1arXiv:2307.15539archive 2025-07-28

Min Liu, Alberto Sangiovanni-Vincentelli, Xiangyu Yue

Deep neural networks (DNNs) are vulnerable to backdoor attack, which does not affect the network's performance on clean data but would manipulate the network behavior once a trigger pattern is added. Existing defense methods have greatly reduced attack success rate, but their prediction accuracy on clean data still lags behind a clean model by a large margin. Inspired by the stealthiness and effectiveness of backdoor attack, we propose a simple but highly effective defense framework which injects non-adversarial backdoors targeting poisoned samples. Following the general steps in backdoor attack, we detect a small set of suspected samples and then apply a poisoning strategy to them. The non-adversarial backdoor, once triggered, suppresses the attacker's backdoor on poisoned data, but has limited influence on clean data. The defense can be carried out during data preprocessing, without any modification to the standard end-to-end training pipeline. We conduct extensive experiments on multiple benchmarks with different architectures and representative attacks. Results demonstrate that our method achieves state-of-the-art defense effectiveness with by far the lowest performance drop on clean data. Considering the surprising defense ability displayed by our framework, we call for more attention to utilizing backdoor for backdoor defense. Code is available at https://github.com/minliu01/non-adversarial_backdoor.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2307.15539")

Code

Syntology Ran 5 of 9 code samples harvested from 2 repositories linked to this paper; 4 have no recorded run. Of those that ran: 5 ran with no contract checked.

By repository: official repository: 9 samples from 2 repositories, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

damianliumin/non-adversarial_backdoor officialmentioned in papermentioned on GitHubpytorch report
minliu01/non-adversarial_backdoor officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

9 samples harvested; 5 ran; 0 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

5ran
4unverified

Licence: 9 of the 9 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

test minliu01/non-adversarial_backdoor/backdoor_detection_lga.py official repository ran no licence file found · pointer only · 00d271be23c3c5d5 · report
test minliu01/non-adversarial_backdoor/pseudo_label_vd.py official repository ran no licence file found · pointer only · f3b4889b05be5e1c · report
test minliu01/non-adversarial_backdoor/train_nab.py official repository ran no licence file found · pointer only · c3acbb8209baf8f8 · report
train minliu01/non-adversarial_backdoor/pseudo_label_vd.py official repository ran no licence file found · pointer only · d5941b8a7c50c3ca · report
train minliu01/non-adversarial_backdoor/train_nab.py official repository ran no licence file found · pointer only · e2eb7479b4c550f3 · report
isolation damianliumin/non-adversarial_backdoor/backdoor_detection_lga.py official repository unverified no licence file found · pointer only · cdbaa2ed64661734 · report
load_checkpoint minliu01/non-adversarial_backdoor/src/utils.py official repository unverified no licence file found · pointer only · b29eade7be00b4cf · report
load_from_pretrained minliu01/non-adversarial_backdoor/src/utils.py official repository unverified no licence file found · pointer only · a75a3c29ed6a7130 · report
train minliu01/non-adversarial_backdoor/backdoor_detection_lga.py official repository unverified no licence file found · pointer only · 935ebb95d885640f · report

Tasks

Backdoor Attackbackdoor defense

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections