Saved in:
Bibliographic Details
Main Authors: Chew, Oscar, Lu, Po-Yi, Lin, Jayden, Lin, Hsuan-Tien
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2408.15721
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914927543844864
author Chew, Oscar
Lu, Po-Yi
Lin, Jayden
Lin, Hsuan-Tien
author_facet Chew, Oscar
Lu, Po-Yi
Lin, Jayden
Lin, Hsuan-Tien
contents Text-to-image diffusion models have been widely adopted in real-world applications due to their ability to generate realistic images from textual descriptions. However, recent studies have shown that these methods are vulnerable to backdoor attacks. Despite the significant threat posed by backdoor attacks on text-to-image diffusion models, countermeasures remain under-explored. In this paper, we address this research gap by demonstrating that state-of-the-art backdoor attacks against text-to-image diffusion models can be effectively mitigated by a surprisingly simple defense strategy - textual perturbation. Experiments show that textual perturbations are effective in defending against state-of-the-art backdoor attacks with minimal sacrifice to generation quality. We analyze the efficacy of textual perturbation from two angles: text embedding space and cross-attention maps. They further explain how backdoor attacks have compromised text-to-image diffusion models, providing insights for studying future attack and defense strategies. Our code is available at https://github.com/oscarchew/t2i-backdoor-defense.
format Preprint
id arxiv_https___arxiv_org_abs_2408_15721
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Defending Text-to-image Diffusion Models: Surprising Efficacy of Textual Perturbations Against Backdoor Attacks
Chew, Oscar
Lu, Po-Yi
Lin, Jayden
Lin, Hsuan-Tien
Computer Vision and Pattern Recognition
Text-to-image diffusion models have been widely adopted in real-world applications due to their ability to generate realistic images from textual descriptions. However, recent studies have shown that these methods are vulnerable to backdoor attacks. Despite the significant threat posed by backdoor attacks on text-to-image diffusion models, countermeasures remain under-explored. In this paper, we address this research gap by demonstrating that state-of-the-art backdoor attacks against text-to-image diffusion models can be effectively mitigated by a surprisingly simple defense strategy - textual perturbation. Experiments show that textual perturbations are effective in defending against state-of-the-art backdoor attacks with minimal sacrifice to generation quality. We analyze the efficacy of textual perturbation from two angles: text embedding space and cross-attention maps. They further explain how backdoor attacks have compromised text-to-image diffusion models, providing insights for studying future attack and defense strategies. Our code is available at https://github.com/oscarchew/t2i-backdoor-defense.
title Defending Text-to-image Diffusion Models: Surprising Efficacy of Textual Perturbations Against Backdoor Attacks
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2408.15721