MetaCloak: Preventing Unauthorized Subject-driven Text-to-image Diffusion-based Synthesis via Meta-learning
Preprint
Abstract
Text-to-image diffusion models allow seamless generation of personalized images from scant reference photos. Yet, these tools, in the wrong hands, can fabricate misleading or harmful content, endangering individuals. To address this problem, existing poisoning-based approaches perturb user images in an imperceptible way to render them "unlearnable" from malicious uses. We identify two limitations of these defending approaches: i) sub-optimal due to the hand-crafted heuristics for solving the intractable bilevel optimization and ii) lack of robustness against simple data transformations like Gaussian filtering. To solve these challenges, we propose MetaCloak, which solves the bi-level poisoning problem with a meta-learning framework with an additional transformation sampling process to craft transferable and robust perturbation. Specifically, we employ a pool of surrogate diffusion models to craft transferable and model-agnostic perturbation. Furthermore, by incorporating an additional transformation process, we design a simple denoising-error maximization loss that is sufficient for causing transformation-robust semantic distortion and degradation in a personalized generation. Extensive experiments on the VGGFace2 and CelebA-HQ datasets show that MetaCloak outperforms existing approaches. Notably, MetaCloak can successfully fool online training services like Replicate, in a black-box manner, demonstrating the effectiveness of MetaCloak in real-world scenarios. Our code is available at https://github.com/liuyixin-louis/MetaCloak.Keywords
All Related Versions
This publication has 10 references indexed in Scilit:
- DragDiffusion: Harnessing Diffusion Models for Interactive Point-Based Image Editing2024
- Exploring CLIP for Assessing the Look and Feel of ImagesProceedings of the AAAI Conference on Artificial Intelligence, 2023
- DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation2023
- Unlearnable Examples: Protecting Open-Source Software from Unauthorized Neural Code Learning2022
- High-Resolution Image Synthesis with Latent Diffusion Models2022
- DiffusionCLIP: Text-Guided Diffusion Models for Robust Image Manipulation2022
- Towards Fast and Accurate Real-World Depth Super-Resolution: Benchmark Dataset and Baseline2021
- Image Super-Resolution as a Defense Against Adversarial AttacksIEEE Transactions on Image Processing, 2019
- Feature Distillation: DNN-Oriented JPEG Compression Against Adversarial Examples2019
- No-Reference Image Quality Assessment in the Spatial DomainIEEE Transactions on Image Processing, 2012