Download PDFOpen PDF in browser

Semantic-Guided Latent Space Backdoor Attack: a Novel Threat to Stable Diffusion

EasyChair Preprint 13979

17 pagesDate: July 15, 2024

Abstract

Stable Diffusion (SD) models have achieved remarkable success in text-to-image synthesis, but their security vulnerabilities remain largely unexplored. In this paper, we introduce a novel semantic-guided latent space backdoor attack (SG-LSBA) that leverages the semantic information in the text input to inject stealthy and seman- tically coherent backdoors into SD models. Our approach outperforms existing methods by crafting context-aware semantic triggers, identifying target visual features in the latent space, and employing an adversarial optimization framework. Extensive evaluations demonstrate the high success rates, strong semantic relevance, and exceptional stealthiness of SG-LSBA. Our findings highlight the urgent need for considering the complex interplay between semantics and latent representations in developing robust defenses against backdoor attacks in SD models. We make our code and datasets publicly available to facilitate further research and development of secure and reliable text-to-image synthesis models. The code is available at https://github.com/paoche11/SG-LSBA.

Keyphrases: Latent space backdoor attack, Semantic triggers, Stable Diffusion models, diffusion models, semantic guidance

BibTeX entry
BibTeX does not have the right entry for preprints. This is a hack for producing the correct reference:
@booklet{EasyChair:13979,
  author    = {Yu Pan and Yi Du and Lin Wang and Bingrong Dai},
  title     = {Semantic-Guided Latent Space Backdoor Attack: a Novel Threat to Stable Diffusion},
  howpublished = {EasyChair Preprint 13979},
  year      = {EasyChair, 2024}}
Download PDFOpen PDF in browser