Abstract
Personalized diffusion models, such as LoRA and DreamBooth, have significantly lowered the barrier for high-quality image generation but have simultaneously enabled unauthorized mimicry of artistic styles. Existing defensive measures rely on adversarial perturbations to disrupt model fine-tuning; however, these methods are computationally expensive, requiring iterative optimization at inference time. We present FastProtect, a framework that achieves near real-time image protection by shifting the optimization process to a pre-training phase. FastProtect provides a 200x to 3500x speedup over current state-of-the-art methods while maintaining superior visual invisibility.
Introduction
The democratization of generative AI has introduced the challenge of "style theft," where malicious actors fine-tune models on an artist's portfolio without consent. Current defenses like Glaze or PhotoGuard inject adversarial noise to cause distorted outputs during mimicry attempts. Despite their efficacy, these tools suffer from high latency, often taking minutes to process a single high-resolution image on a CPU. This lack of efficiency makes them impractical for artists managing large-scale or high-resolution collections. FastProtect addresses this gap by introducing a "nearly zero-cost" protection paradigm.
Methodology
FastProtect departs from the traditional "optimize-at-inference" approach, instead utilizing a pre-trained strategy to generate perturbations.
Mixture-of-Perturbations (MoP)
Rather than calculating noise from scratch for every input, FastProtect employs a Mixture-of-Perturbations (MoP). Images are clustered based on their Variational Autoencoder (VAE) latent codes, and specific perturbations are pre-trained for different image clusters. At inference, the system simply selects the optimal pre-trained noise for the input image, reducing the task to a simple lookup and application.
Multi-Layer Protection (MLP) Loss
To ensure robust defense, FastProtect optimizes perturbations across multiple intermediate feature spaces of the VAE encoder. This Multi-Layer Protection (MLP) makes it significantly harder for a diffusion model to bypass the protection during the fine-tuning process compared to methods that only target the final latent representation.
Adaptive Texture-Aware Defense
FastProtect incorporates two adaptive mechanisms to maximize invisibility:
- Adaptive Targeted Protection: The system selects an adversarial target based on the input image's texture complexity (entropy).
- Adaptive Protection Strength: Using Learned Perceptual Image Patch Similarity (LPIPS), FastProtect generates a perceptual map to mask the noise. This allows for stronger protection in high-texture areas where noise is naturally masked, and reduced strength in flat regions (e.g., clear skies) where artifacts would be highly visible.
Experimental Results
The framework was evaluated across four domains: Object, Face, Painting, and Cartoon. FastProtect was tested against LoRA fine-tuning on Stable Diffusion v1.5.
Efficiency and Scalability
As illustrated in Figure 1(a), FastProtect demonstrates unprecedented speed. On an A100 GPU, it processes a 512px image in just 0.04 seconds, compared to 7 seconds for PhotoGuard and 225 seconds for Anti-DB. Crucially, FastProtect maintains this near real-time performance even for 2048x2048 images, whereas iterative methods scale exponentially and become computationally prohibitive at high resolutions.
Protection-Invisibility Trade-off
Figure 1(b) highlights the efficacy of FastProtect. It consistently achieves a better balance between protection strength (measured by Fréchet Inception Distance, FID) and visual invisibility (measured by Deep Image Structure and Texture Similarity, DISTS). By leveraging adaptive masking, FastProtect provides robust defense while remaining less perceptible to the human eye than predecessors such as Mist, Impasto, and AdvDM.
Conclusion
FastProtect represents a significant advancement in the field of image protection against generative mimicry. By replacing per-image optimization with a pre-trained perturbation bank and adaptive masking, it offers a practical, high-speed solution for artists. Future work will focus on adapting these techniques to evolving model architectures like SDXL and further minimizing visible artifacts in minimalist art styles.
Summary updated