Abstract
The proliferation of personalized text-to-image (T2I) synthesis tools like DreamBooth has enabled high-quality image generation but also raised significant concerns regarding malicious deepfakes and non-consensual content. Existing "poisoning" defenses, which add imperceptible noise to images to make them unlearnable, often fail due to fragility against simple image purification (e.g., blurring) or poor transferability across different model architectures. We present MetaCloak, a robust poisoning framework that leverages meta-learning and transformation-robust noise crafting. MetaCloak effectively degrades the performance of unauthorized models, causing severe semantic distortion even when attackers attempt to clean the images.
Introduction
Personalized T2I synthesis allows users to generate images of specific subjects from a few reference photos. However, this capability can be exploited to create unauthorized content. Current defensive strategies involve adding adversarial perturbations to images. These "cloaks" aim to disrupt the fine-tuning process of diffusion models. Despite their promise, existing methods are often easily bypassed by common image processing techniques like Gaussian blurring or cropping, which "purify" the images before training. Furthermore, many methods rely on heuristics that do not generalize well to unknown model architectures.
Methodology
MetaCloak addresses these limitations through several key innovations:
- Meta-Learning Framework: Inspired by Model-Agnostic Meta-Learning (MAML), MetaCloak optimizes perturbations to degrade a distribution of potential surrogate models, enhancing transferability to unseen "black-box" models.
- Pool of Staggered Surrogates: To prevent overfitting to a specific model state, MetaCloak utilizes a pool of surrogate diffusion models at various training stages.
- Expectation Over Transformation (EOT): To ensure robustness against purification, common data augmentations (e.g., flipping, cropping, blurring) are sampled during the noise generation process.
- Denoising-Error Maximization: By maximizing the standard denoising loss, MetaCloak forces the model to learn meaningless patterns, leading to unrecognizable outputs.
Experimental Evaluation
We evaluated MetaCloak on datasets including VGGFace2, CelebA-HQ, and the official DreamBooth dataset. Performance was measured using the Subject Detection Score (SDS), which quantifies subject recognizability in generated outputs.
MetaCloak significantly outperforms state-of-the-art methods like ASPL and AdvDM. On the VGGFace2 dataset, MetaCloak reduced the SDS from a baseline of 0.903 to 0.432. Crucially, while previous methods lose effectiveness when images are pre-processed with Gaussian filters, MetaCloak maintains high identity distortion.
Real-World Validation
The effectiveness of MetaCloak was further validated against Replicate, a commercial cloud-based training service. MetaCloak successfully disrupted the service's black-box training pipeline, demonstrating its practical utility for end-users.
Conclusion and Future Work
MetaCloak provides a robust defense against unauthorized subject-driven T2I synthesis. While highly effective, the method involves a trade-off between protection strength and the perceptibility of the added noise. Future research will explore improving the stealthiness of the cloak at higher protection levels and investigating the theoretical mechanisms behind the observed semantic collapse.
Summary updated