Mitigating Backdoor Poisoning Attacks through the Lens of Spurious Correlation

Xuanli He, Qiongkai Xu, Jun Wang, Benjamin Rubinstein, Trevor Cohn
5/19/2023
cs.CLcs.CR

No official code found. Best implementation: xlhex/emnlp2023_z-defence (3 stars, last commit 2023-10-15).

Abstract

Modern NLP models are often trained over large untrusted datasets, raising the potential for a malicious adversary to compromise model behaviour. For instance, backdoors can be implanted through crafting training instances with a specific textual trigger and a target label. This paper posits that backdoor poisoning attacks exhibit \emph{spurious correlation} between simple text features and classification labels, and accordingly, proposes methods for mitigating spurious correlation as means of defence. Our empirical study reveals that the malicious triggers are highly correlated to their target labels; therefore such correlations are extremely distinguishable compared to those scores of benign features, and can be used to filter out potentially problematic instances. Compared with several existing defences, our defence method significantly reduces attack success rates across backdoor attacks, and in the case of insertion-based attacks, our method provides a near-perfect defence.

View on arXivView PDF

Code Implementations(1)

30PythonJan 20, 20233 years ago

Cite this paper

@article{he2023mitigating,
  title  = {Mitigating Backdoor Poisoning Attacks through the Lens of Spurious Correlation},
  author = {Xuanli He and Qiongkai Xu and Jun Wang and Benjamin Rubinstein and Trevor Cohn},
  year   = {2023},
  eprint = {2305.11596},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.11596v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.11596.svg)](https://codeofpaper.com/paper/2305.11596)

Discussion