atlas

Research map / Adversarial robustness and security / Backdoor and poisoning

Probe before You Talk: Towards Black-box Defense against Backdoor Unalignment for Large Language Models

ICLR 2025 · Adversarial robustness and security › Backdoor and poisoning · approach: Backdoors in large multimodal models · 0 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.

Proposes BEAT, a black-box input-level detector that flags triggered prompts for backdoor unalignment in LLMs by measuring how much concatenating an input distorts the sampled output distribution of a harmful probe (EMD over sampled refusals).

Problem

Defending LLM-as-a-service models against backdoor unalignment attacks, where a hidden trigger breaks safety alignment with sample-dependent malicious targets, and the defender only has black-box text access.

Approach

Discovers the probe concatenate effect: appending a triggered harmful prompt to a harmful probe sharply reduces the probe's refusal rate, while benign or untriggered inputs do not. BEAT detects triggers by measuring EMD between multi-sample output sets of the probe alone versus probe+input, using only the first ~10 tokens to capture refusal signal.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use BEAT instead of the strongest baseline detectorSFT-stage backdoor detection · Advbench and MaliciousInstructAUROC: 87.3 -> 99.7; 90.1 -> 99.6Helped
Use BEAT instead of the strongest baseline detectorRLHF-stage backdoor detection · Advbench and MaliciousInstructAUROC: 88.9 -> 99.6; 95.6 -> 99.6Helped
Select the highest-consistency malicious probe instead of the lowest-consistency probe (ablation)BEAT · Advbench, word triggerAUROC: 98.5 -> 99.8Helped
Select the highest-consistency malicious probe instead of the lowest-consistency probe (ablation)BEAT · Advbench, phrase triggerAUROC: 98.7 -> 99.8Helped
Aggregate 3 malicious probes instead of 1 (ablation)BEAT · Advbench, syntactic triggerAUROC: 93.7 -> 96.5Helped
Replace EMD with NLI contradiction scoring (ablation)BEAT · Advbench, word triggerAUROC: 99.8 -> 99.1Hurt
Replace EMD with Statistical KL (ablation)BEAT · Advbench, word triggerAUROC: 99.8 -> 98.6Hurt
Replace EMD with NLI contradiction scoring (ablation)BEAT · Advbench, phrase triggerAUROC: 99.8 -> 98.9Hurt
Replace EMD with Statistical KL (ablation)BEAT · Advbench, phrase triggerAUROC: 99.8 -> 98.7Hurt
Replace EMD with NLI contradiction scoring (ablation)BEAT · Advbench, long triggerAUROC: 100.0 -> 100.0No clear effect
Replace EMD with Statistical KL (ablation)BEAT · Advbench, long triggerAUROC: 100.0 -> 100.0No clear effect
Increase the number of sampled output texts (ablation)BEAT · Advbench, Llama-3.1-8B-InstructAUROCHelped

Surprising findings

Limitations

Experimental setup

Datasets: AdvBench MaliciousInstruct UltraChat_200k one hundred malicious QA pairs (SFT backdoor data) RLHF Trojan competition models

Benchmarks: AdvBench MaliciousInstruct UltraChat_200k

Metrics: AUROC TPR@FPR5% inference seconds per sample

Baselines: ONION Deletion Paraphrase NLI distance variant Statistical KL variant

Builds on: ONION Deletion (backdoor sample detection) Paraphrase-based backdoor detection Trojan RLHF competition backdoors

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