Breaking Free: How to Hack Safety Guardrails in Black-Box Diffusion Models!

Shashank Kotyan, Po-Yuan Mao, Pin-Yu Chen, Danilo Vasconcellos Vargas
2/7/2024
cs.CVcs.AIcs.LG

No official code found. Best implementation: shashankkotyan/EvoSeed (3 stars, CC0-1.0, last commit 2024-06-20).

Abstract

Deep neural networks can be exploited using natural adversarial samples, which do not impact human perception. Current approaches often rely on deep neural networks' white-box nature to generate these adversarial samples or synthetically alter the distribution of adversarial samples compared to the training distribution. In contrast, we propose EvoSeed, a novel evolutionary strategy-based algorithmic framework for generating photo-realistic natural adversarial samples. Our EvoSeed framework uses auxiliary Conditional Diffusion and Classifier models to operate in a black-box setting. We employ CMA-ES to optimize the search for an initial seed vector, which, when processed by the Conditional Diffusion Model, results in the natural adversarial sample misclassified by the Classifier Model. Experiments show that generated adversarial images are of high image quality, raising concerns about generating harmful content bypassing safety classifiers. Our research opens new avenues to understanding the limitations of current safety mechanisms and the risk of plausible attacks against classifier systems using image generation. Project Website can be accessed at: https://shashankkotyan.github.io/EvoSeed.

View on arXivView PDF

Code Implementations(1)

CC0-1.0

Source code for the article, "Breaking Free: How to Hack Safety Guardrails in Black-Box Diffusion Models!"

31CSS, TeXFeb 7, 20242 years agoCC0-1.0

Similar Papers

Cite this paper

@article{kotyan2024breaking,
  title  = {Breaking Free: How to Hack Safety Guardrails in Black-Box Diffusion Models!},
  author = {Shashank Kotyan and Po-Yuan Mao and Pin-Yu Chen and Danilo Vasconcellos Vargas},
  year   = {2024},
  eprint = {2402.04699},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.04699v2}
}

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

Discussion