Introduction
As Generative AI (GenAI) becomes increasingly sophisticated, the risk of visually convincing misinformation grows alongside it. To combat this, industry leaders and policymakers have turned to digital watermarking—embedding invisible bitstrings into images—to reliably identify AI-generated content. While the robustness of these watermarks is well-documented in "white-box" (where the attacker has full access to the model) and "black-box" (where the attacker can query the API) settings, their security in a "no-box" setting has been widely considered a safe haven.
Researchers from Duke University challenge this assumption by developing a novel "no-box" transfer attack. This method can successfully strip watermarks from AI-generated images without any access to the target detection model or its API, proving that current watermarking standards are significantly less robust than previously thought.
The No-Box Threat Model
In a strict no-box scenario, an attacker has zero access to the target watermarking model, its architecture, its training data, or its detection results. Prior research suggested that advanced, learning-based watermarks were robust under these restrictive conditions. However, this paper demonstrates that an attacker can effectively "guess" the behavior of a hidden target model by training their own fleet of surrogate models and transferring the attack.
Methodology: The Watermark Transfer Attack
The proposed attack operates in two primary stages to bypass the unknown target detector:
1. Surrogate Model Training
The attacker trains a large ensemble (up to 100) of surrogate watermarking models. To ensure these surrogates adequately "cover" the possible behavior and decision boundaries of the unknown target, the researchers utilize bootstrapping (resampling the training dataset) and vary both the neural network architectures and the watermark lengths across the ensemble.
2. Two-Step Perturbation Generation
Once the surrogate ensemble is trained, the attacker generates an adversarial perturbation using a two-step optimization process:
- Target Watermark Selection (Inverse-Decode): Instead of attempting to replace a watermark with random noise, the attacker first decodes the watermark using their surrogate models. They then target the inverse of that bitstring. The intuition is that forcing the surrogates to flip their bits will likely force the target model—which shares similar feature sensitivities—to also flip its bits, causing a detection failure.
- Ensemble-Optimization (EO): Simple methods like averaging attacks from different models often wash out necessary adversarial patterns. Instead, the authors formulate a joint optimization problem using Projected Gradient Descent (PGD). This finds a single, minimal perturbation that forces the entire ensemble of surrogate decoders to output the "flipped" watermark.
Experimental Setup
To demonstrate transferability across different AI generators, the study utilizes three primary image datasets:
- Target Datasets: Stable Diffusion and Midjourney images (10,000 for training targets, 1,000 for testing).
- Surrogate Dataset: DALL-E 2 images. Crucially, the attacker trains their surrogate models on DALL-E 2 images to attack watermarks on Stable Diffusion and Midjourney images. This simulates a realistic no-box scenario where the attacker is blind to the target's exact training distribution.
Key Findings and Results
The transfer attack demonstrates remarkable success across several metrics:
- High Evasion Success: Against a ResNet-based target model, the attack achieved an 85% evasion rate with a minimal average perturbation of 0.15 (on a normalized scale). Against simpler CNN architectures, it reached a 100% evasion rate.
- The Power of Ensembles: A single surrogate model is a poor predictor of a target model's vulnerabilities. However, as the number of surrogates scales toward 100, the evasion rate climbs dramatically, suggesting that different models share a common "adversarial subspace."
- Superiority over Baselines: The attack significantly outperforms common post-processing techniques. To reach the same evasion rate as the transfer attack, methods like JPEG compression or Gaussian blurring had to degrade the image quality so severely that the images became practically useless.
- Cross-Method Transfer: The attack remained successful even when the surrogate models (e.g., HiDDeN) were fundamentally different from the target models (e.g., StegaStamp or Stable Signature).
Visual Fidelity
Despite the high evasion rates, the attack maintains excellent visual quality. The perturbations resulted in an average SSIM (Structural Similarity Index) above 0.92, meaning the adversarial changes are nearly invisible to the human eye.
Limitations and Future Directions
While highly effective, the attack does have limitations. Training 100 surrogate models is computationally expensive and requires significant GPU resources, though this represents a one-time cost for an attacker. Additionally, generating the perturbation via PGD is relatively slow, taking roughly 177 seconds per image in the authors' setup.
The authors also note that if defenders develop watermarking methods based on completely different paradigms (e.g., non-learning-based or radically new architectures), the transferability of this specific attack might decrease. Future work will explore whether similar transfer attacks can compromise text and audio watermarking, which are rapidly becoming industry standards for AI safety.
Summary updated