scimeatlas

Research map / Adversarial robustness and security / Backdoor and poisoning

Test-time Backdoor Mitigation for Black-Box Large Language Models with Defensive Demonstrations

Wenjie Jacky Mo, Jiashu Xu, Qin Liu, Jiongxiao Wang, Jun Yan, Hadi Askari, Chaowei Xiao, Muhao Chen

NAACL 2025Adversarial robustness and security › Backdoor and poisoningapproach: Backdoors in large multimodal modelsopen problems in this approach45 citations (OpenAlex)

University of Southern California · Harvard University · University of California, Davis

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

15measured effects
8improved
2no clear effect
3hurt
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
add self-reasoning (rationale) demonstrations at test timeBackdoored Llama2-7B · Trec-coarse SyntacticASR: 100.00 -> 0.20Improved
add rationales to demonstrations (vs random demonstrations) (ablation)Defensive demonstrations · SST-2 BadNetASR: 17.28 -> 10.31Improved
use similar-sample retrieval instead of random demonstrations (ablation)Defensive demonstrations · SST-2 BadNetASR: 17.28 -> 29.71Hurt
use alternative retrievers instead of SimCSE (bm25, colbert, transformer) (ablation)Similar-sample demonstrations · Instance-level attacksASRNo clear effect
increase number of shots k from 1 to 5 (ablation)Random defensive demonstrations · SST-2, Tweet Emotion, Trec-coarseDelta ASRImproved
shuffle demonstrations instead of class ordering (ablation)5-shot random demonstrations · Tweet Emotion instance-level attackDelta ASRImproved
use ONION instead of no defensePoisoned Llama2-7B · SST-2 SyntacticASR: 100.00 -> 96.27No clear effect
add defensive demonstrations on instruction-level backdoorPoisoned Flan-T5-large · Trec-coarseASR: 95.51 -> 0.20 (Induced Instruction)Improved
add defensive demonstrations on gpt-compress instruction backdoorPoisoned Flan-T5-large · Tweet EmotionASR: 82.27 -> 40.56Mixed
add defensive demonstrations on instance-level attacksPoisoned Llama2-7B · Tweet Emotion BadnetCACC: 82.20 -> 76.85Hurt
include demonstrations in fine-tuning when using few-shot at test time (ablation)Poisoned Llama2-7B · Trec-coarseCACC: 90.00 -> 97.80Improved
use indirect-ICL (task-agnostic demos) instead of task-aware random demos (ablation)Llama3 8B · SST-2 StyleASR: 32.02 -> 10.86Improved

Earlier methods this paper compares with

Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.

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.

Open problems in backdoors in large multimodal models

Do backdoor attacks and defenses on language and multimodal models hold beyond white-box, small-model, single-task tests?

All 5 open problems and what was already tried →

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