atlas

Research map / Adversarial robustness and security / Backdoor and poisoning

LT-Defense: Searching-free Backdoor Defense via Exploiting the Long-tailed Effect

NeurIPS 2024 · Adversarial robustness and security › Backdoor and poisoning · approach: Detecting poisoned samples · 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 LT-Defense, a searching-free backdoor detection method for language models that exploits the long-tailed effect of poisoned data using clean examples and two metrics (HFR and ATS), plus test-time backdoor freezing and attack target prediction.

Problem

Backdoor detection in language models via trigger or target search is computationally expensive, especially when the output space is large (e.g., full vocabulary for token prediction), and existing methods are costly across many candidate targets.

Approach

Poisoned data makes the target class a head class, creating a long-tailed effect that shifts benign-example activations toward attack targets; this can be measured with a few clean examples (Head-Feature Rate for task-agnostic, Abnormal Token Score for task-related), avoiding any trigger or target search.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use LT-Defense instead of LMSanitator for task-agnostic backdoor detectionRoBERTa-base · Task-agnostic detection, PORACC: 93.3 -> 100.0Helped
Use LT-Defense instead of LMSanitator for task-agnostic backdoor detectionRoBERTa-base · Task-agnostic detection, PORTime: 180.0s -> 0.9sHelped
Use LT-Defense for task-related backdoor detectionRoBERTa-large · PoisonPrompt on SST-2ACC: 0.92Mixed
Use LT-Defense to predict attack targetsRoBERTa-large · BToPAMR: 1.0Helped
Use LT-Defense to predict attack targetsRoBERTa-large · PoisonPromptAMR: 0.68Hurt
Increase the number of clean test examples (ablation)LT-Defense · Task-agnostic detectionDetection accuracyHelped
Use WikiText or RTE as the test dataset (ablation)LT-Defense · Task-agnostic detectionDetection accuracyNo clear effect
Vary the number or type of PVs (ablation)LT-Defense · Task-agnostic detectionDetection precisionNo clear effect
Increase the number of clean test examples (ablation)LT-Defense · Task-related detectionDetection accuracyHelped
Reduce poisoned features of PVs in an adaptive attack (ablation)Task-agnostic backdoor attack against LT-Defense · Adaptive attack evaluationAttack success rateHurt
Increase variance of clean feature activations in an adaptive attack (ablation)Task-agnostic backdoor attack against LT-Defense · Adaptive attack evaluationAttack success rateHurt
Reduce target-token logits on clean examples in an adaptive attack (ablation)Task-related backdoor attack against LT-Defense · Adaptive attack evaluationAttack success rateHurt

Surprising findings

Limitations

Experimental setup

Datasets: WikiText BookCorpus SST-2 AG News GPT-4-LLM Databricks-Dolly-15k RTE

Benchmarks: WikiText BookCorpus SST-2 AG News GPT-4-LLM Databricks-Dolly-15k

Metrics: false positive false negative detection accuracy average time benign accuracy attack success rate average token mapping rate

Baselines: LMSanitator ONION

Builds on: LMSanitator ONION P-Tuning v2

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