Perturbing Attention Gives You More Bang for the Buck: Subtle Imaging Perturbations That Efficiently Fool Customized Diffusion Models
arXiv:2404.15081 · doi:10.1109/cvpr52733.2024.02316
Abstract
Diffusion models (DMs) embark a new era of generative modeling and offer more opportunities for efficient generating high-quality and realistic data samples. However, their widespread use has also brought forth new challenges in model security, which motivates the creation of more effective adversarial attackers on DMs to understand its vulnerability. We propose CAAT, a simple but generic and efficient approach that does not require costly training to effectively fool latent diffusion models (LDMs). The approach is based on the observation that cross-attention layers exhibits higher sensitivity to gradient change, allowing for leveraging subtle perturbations on published images to significantly corrupt the generated images. We show that a subtle perturbation on an image can significantly impact the cross-attention layers, thus changing the mapping between text and image during the fine-tuning of customized diffusion models. Extensive experiments demonstrate that CAAT is compatible with diverse diffusion models and outperforms baseline attack methods in a more effective (more noise) and efficient (twice as fast as Anti-DreamBooth and Mist) manner.
Published at CVPR 2024, code:https://github.com/CO2-cityao/CAAT
References in corpus (9)
- Explaining and Harnessing Adversarial Examples
- Hierarchical Text-Conditional Image Generation with CLIP Latents
- Diffusion Models Beat GANs on Image Synthesis
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversion
- Adversarial Example Does Good: Preventing Painting Imitation from Diffusion Models via Adversarial Examples
- Raising the Cost of Malicious AI-Powered Image Editing
- FT-Shield: A Watermark Against Unauthorized Fine-tuning in Text-to-Image Diffusion Models
- Generative Watermarking Against Unauthorized Subject-Driven Image Synthesis