Abstract
Large text-to-image models have shown remarkable performance in synthesizing high-quality images. In particular, the subject-driven model makes it possible to personalize the image synthesis for a specific subject, e.g., a human face or an artistic style, by fine-tuning the generic text-to-image model with a few images from that subject. Nevertheless, misuse of subject-driven image synthesis may violate the authority of subject owners. For example, malicious users may use subject-driven synthesis to mimic specific artistic styles or to create fake facial images without authorization. To protect subject owners against such misuse, recent attempts have commonly relied on adversarial examples to indiscriminately disrupt subject-driven image synthesis. However, this essentially prevents any benign use of subject-driven synthesis based on protected images. In this paper, we take a different angle and aim at protection without sacrificing the utility of protected images for general synthesis purposes. Specifically, we propose GenWatermark, a novel watermark system based on jointly learning a watermark generator and a detector. In particular, to help the watermark survive the subject-driven synthesis, we incorporate the synthesis process in learning GenWatermark by fine-tuning the detector with synthesized images for a specific subject. This operation is shown to largely improve the watermark detection accuracy and also ensure the uniqueness of the watermark for each individual subject. Extensive experiments validate the effectiveness of GenWatermark, especially in practical scenarios with unknown models and text prompts (74% Acc.), as well as partial data watermarking (80% Acc. for 1/4 watermarking). We also demonstrate the robustness of GenWatermark to two potential countermeasures that substantially degrade the synthesis quality.
Introduction
The rise of subject-driven image synthesis—tools like DreamBooth and Textual Inversion—has created a "double-edged sword" for digital creators. While these models allow for incredible personalization, they also enable "style theft" and the creation of deepfakes with just a handful of images. Current subject-driven synthesis models can learn a specific person's face or an artist's unique style from as few as 3–5 images.
Previous research focused on "adversarial examples"—adding invisible noise to images that causes generative models to produce "garbage" outputs. However, these "cloaks" indiscriminately disrupt all synthesis, including authorized or benign uses. There is a critical need for a way to protect the authority of the subject owner without sacrificing the utility of the images.
Methodology
The core innovation of GenWatermark is a two-phase generative watermarking pipeline designed to survive the fine-tuning process of subject-driven generative models.
- Phase 1: Pre-training: A watermark generator (G) and a detector (D) are jointly trained on a large dataset (CelebA). The generator learns to add a high-frequency additive perturbation that is invisible to the human eye, constrained by perceptual similarity metrics (LPIPS).
- Phase 2: Fine-tuning: To ensure the watermark survives the "distillation" of subject-driven training, the owner fine-tunes the detector using images actually synthesized by models like DreamBooth. By training the detector on post-synthesis outputs, it becomes robust to the specific distortions of AI synthesis.
Experimental Setup
The study utilized two primary benchmarks to represent the most "authority-sensitive" subjects:
- CelebA: A large-scale face dataset used to evaluate protection against unauthorized facial synthesis.
- WikiArt: A collection of over 52,000 paintings used to test the protection of unique artistic styles.
Key Results
GenWatermark shifts the goal from preventing synthesis to verifying it, allowing for a "detect-and-verify" model of copyright protection.
- High Accuracy: In Scenario 1 (known model), detection accuracy reached above 98%. In the most difficult Scenario 4 (unknown model and prompts), it maintained a 74% accuracy.
- Invisible Impact: The watermarks are virtually imperceptible, with the Fréchet Inception Distance (FID) changing by less than 1% after watermarking.
- Robustness: The system remained effective even when only 25% of training images were watermarked (80% accuracy) and resisted common removal attempts like Gaussian noise or JPEG compression.
- Cross-Model Transferability: The researchers found that because subject-driven synthesis captures fine-grained details, it inadvertently "bakes in" the watermark perturbations into the new, synthesized images.
Conclusion and Future Work
While GenWatermark provides a robust defense, challenges remain. There is a performance drop when an adversary uses a completely different model architecture than the one used for fine-tuning. Additionally, the computational cost of fine-tuning a personalized detector for each subject is a factor. Future work may involve embedding the subject's identity directly into the watermark generator to create unique digital signatures for every creator.
Summary updated