Rethinking the Backdoor Attacks' Triggers: A Frequency Perspective

Yi Zeng, Won Park, Z. Morley Mao, Ruoxi Jia
4/7/2021
cs.LGcs.CR

Official code: ethan-yi-zeng/frequency-backdoor (48 stars, Jupyter Notebook, MIT, last commit 2022-04-27).

Abstract

Backdoor attacks have been considered a severe security threat to deep learning. Such attacks can make models perform abnormally on inputs with predefined triggers and still retain state-of-the-art performance on clean data.

Show full abstract

While backdoor attacks have been thoroughly investigated in the image domain from both attackers' and defenders' sides, an analysis in the frequency domain has been missing thus far. This paper first revisits existing backdoor triggers from a frequency perspective and performs a comprehensive analysis. Our results show that many current backdoor attacks exhibit severe high-frequency artifacts, which persist across different datasets and resolutions. We further demonstrate these high-frequency artifacts enable a simple way to detect existing backdoor triggers at a detection rate of 98.50% without prior knowledge of the attack details and the target model. Acknowledging previous attacks' weaknesses, we propose a practical way to create smooth backdoor triggers without high-frequency artifacts and study their detectability. We show that existing defense works can benefit by incorporating these smooth triggers into their design consideration. Moreover, we show that the detector tuned over stronger smooth triggers can generalize well to unseen weak smooth triggers. In short, our work emphasizes the importance of considering frequency analysis when designing both backdoor attacks and defenses in deep learning.

View on arXivView PDF

Code Implementations(1)

MIT

ICCV 2021, We find most existing triggers of backdoor attacks in deep learning contain severe artifacts in the frequency domain. This Repo. explores how we can use these artifacts to develop stronger backdoor defenses and attacks.

487Jupyter Notebook, PythonFeb 4, 20214 years agoMIT
backdoor-attacksdeep-learningsecurity

Similar Papers

Cite this paper

@article{zeng2021rethinking,
  title  = {Rethinking the Backdoor Attacks' Triggers: A Frequency Perspective},
  author = {Yi Zeng and Won Park and Z. Morley Mao and Ruoxi Jia},
  year   = {2021},
  eprint = {2104.03413},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.03413}
}

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/2104.03413.svg)](https://codeofpaper.com/paper/2104.03413)

Discussion