AI Paper Atlas

Research map / Adversarial robustness and security / Backdoor and poisoning

ONION: A Simple and Effective Defense Against Textual Backdoor Attacks

Fanchao Qi, Yangyi Chen, Mukai Li, Yuan Yao, Zhiyuan Liu, Maosong Sun

EMNLP 2021Adversarial robustness and security › Backdoor and poisoningapproach: Backdoors in large multimodal models501 citations (OpenAlex)

Tsinghua University · Beihang University · Huazhong University of Science and Technology · Beijing National Research Center for Information Science and Technology

Read the paperPlace an idea next to itCheck your own paper ↗

10measured effects
3improved
4no clear effect
1hurt
2mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
remove outlier words with ONION at test timebackdoored BiLSTM/BERT · SST-2, OffensEval, AG News (five attacks)ΔASR: average ΔASR up to 56%Improved
apply ONION (tuned t_s) to the victim modelbackdoored models · all datasetsΔCACC: average ΔCACC 0.99No clear effect
set t_s=0 instead of tuning on validation set (ablation)ONION · SST-2ΔASR' / ΔCACC': ΔASR' 57.62%, ΔCACC' 2.15Mixed
compare ONION with BKI in the pre-training attack situationBiLSTM, BERT-T · SST-2average ΔASR: 16.07% (BKI) -> 44.43% (ONION)Improved
use ONION instead of BKIBiLSTM, BERT-T · SST-2average ΔCACC: 0.87 (BKI) -> 1.41 (ONION)Hurt
remove the trigger word from a poisoned sample (ablation)BERT-T with BadNet · SST-2 poisoned testASR: 100% -> 18.12%Improved
remove normal words while retaining the trigger (ablation)BERT-T with BadNet · SST-2 poisoned testASR: ASR stays 100%No clear effect
mistakenly remove more normal words (ablation)BERT-T with BadNet · SST-2 normal testCACC: CACC 90.29 with 0 removed vs 89.95 overallNo clear effect
decrease suspicion score threshold t_s (ablation)ONION · SST-2ASR / CACCMixed
replace threshold-based removal with particle swarm / genetic algorithm search (ablation)ONION · SST-2, OffensEval, AG NewsΔASR / ΔCACCNo clear effect

Later papers that compared with this method

20 later accepted papers report ONION as a baseline in their results tables; 20 of them report a better number on most of the results they share with it.

12 more not listed.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy