atlas

Research map / Adversarial robustness and security / Backdoor and poisoning

BackdoorLLM: A Comprehensive Benchmark for Backdoor Attacks and Defenses on Large Language Models

NeurIPS 2025 · Adversarial robustness and security › Backdoor and poisoning · approach: Backdoors in large multimodal models · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces BackdoorLLM, a unified benchmark and toolkit evaluating eight backdoor attacks (data poisoning, weight poisoning, hidden-state steering, CoT hijacking) and seven defenses on open LLMs across classification, generation, jailbreak and math tasks.

Problem

Backdoor attacks on generative LLMs in open-ended text generation have been underexplored compared with vision and classification settings, and there is no standardized comparison across attack types, models, and tasks.

Approach

A unified benchmark repository that implements diverse LLM backdoor attacks (DPA, WPA, HSA, CoTA) under a standardized training and evaluation pipeline, plus a suite of seven defenses evaluated with ASR-with-trigger and perplexity.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add a BadNets trigger through data poisoningLLaMA-2-7B-Chat · JailbreakingASR: 35.40 -> 87.88Helped
Use the Sleeper trigger rather than BadNetsLLaMA-2-7B-Chat data-poisoning attack · Sentiment steeringASR with trigger: 65.00 -> 5.08Hurt
Increase model scale from LLaMA-2 7B to LLaMA-2 70BBadChain · GSM8KASR-t: 8.6 -> 38.7Helped
Increase BadNets poisoned samples from 100 to 400 (ablation)Data-poisoning attack · JailbreakingASR with trigger: 82.71% -> 87.88%Helped
Apply CleanGen instead of no defenseLLaMA-2-7B-Chat · Targeted refusalASR with trigger: 84.09 -> 0.09Helped
Apply CleanGen instead of no defenseLLaMA-2-7B-Chat · JailbreakingASR with trigger: 96.14 -> 42.22Helped
Apply Fine-tuning instead of no defenseLLaMA-2-7B-Chat · JailbreakingASR with trigger: 96.14 -> 83.82Helped
Use BadEdit on a larger, instruction-tuned model rather than GPT-2-1.5BBadEdit · SST-2ASR with trigger: 99.54 -> 60.69Hurt
Use TA² with Freeform rather than Choice promptsLLaMA-2-7B-Chat · JailbreakingASR with trigger: 67.50 -> 51.15Hurt
Add the TA² activation interventionVicuna-7B-V1.5 · Bias, FreeformASR: 64.89 -> 99.77Helped
Add BadChain to the clean modelLLaMA-2 7B · GSM8KACC: 21.2 -> 1.9Hurt
Apply CROW instead of no defenseLLaMA-2-7B-Chat · JailbreakingASR with trigger: 96.14 -> 85.62Hurt

Surprising findings

Limitations

Experimental setup

Datasets: SST-2 AGNews Stanford Alpaca AdvBench ToxiGen BOLD GSM8K MATH ASDiv CSQA StrategyQA Letter

Benchmarks: SST-2 AGNews AdvBench Stanford Alpaca ToxiGen BOLD GSM8K MATH ASDiv CSQA StrategyQA Letter

Metrics: attack success rate with trigger (ASR_w/t) attack success rate without trigger (ASR_w/o) perplexity clean accuracy

Baselines: BadNets VPI Sleeper MTBA CTBA BadEdit BadChain CleanGen CROW

Builds on: BadEdit Trojan Activation Attack BadChain VPI CROW

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