SpiderMark: Hybrid Watermarking for Generative AI via Algorithmic Injection and Learning-Based Verification
Organizations: Data Science Institute, University of Technology Sydney, Sydney, Australia. · School of Computer Science and Engineering, University of New South Wales, Australia. · Canva, Sydney, Australia. · University of Lisbon, Lisbon, Portugal.
Abstract
The proliferation of diffusion-based generative models has intensified the need for reliable methods to trace and verify the provenance of AI-generated images. Existing watermarking approaches for diffusion models typically rely on isotropic frequency patterns and handcrafted detection metrics, which are prone to directional vulnerability and threshold instability across diverse image transformations. We propose SpiderMark, a hybrid watermarking framework that combines algorithmic frequency-domain injection with learning-based probabilistic verification, requiring no modifications to pretrained diffusion model weights. SpiderMark embeds a structured spider-web pattern, comprising radial spokes and concentric polygonal rings, into the Fourier representation of the initial latent noise, and trains a lightweight ResNet-18 verifier augmented with auxiliary similarity cues (PSNR and L1) to produce a continuous watermark confidence score for watermark detection. Across nine evaluation conditions, SpiderMark achieves the highest fixed-threshold Accuracy in eight, while retaining strong detection on unseen COCO prompts without verifier retraining. CLIP similarity and FID measurements show that these detection gains are accompanied by small measured differences in prompt alignment and distributional image quality. SpiderMark establishes that structured watermark geometry and learned probabilistic verification can be unified into a single, practical framework, bridging the gap between imperceptibility, robustness, and real-world verifiability for generative AI content attribution.
Figures & tables
| Attack | SpiderMark | Tree-Ring [ 15 ] | DFT-Single | DWT–DCT | ||||
|---|---|---|---|---|---|---|---|---|
| Acc | AUROC | Acc | AUROC | Acc | AUROC | Acc | AUROC | |
| clean | 0.9467 | 0.9904 | 0.9759 | 0.9971 | 0.9090 | 0.9603 | 0.6760 | 0.7199 |
| jpeg_strong | 0.8720 | 0.9410 | 0.6627 | 0.8772 | 0.5717 | 0.5730 | 0.6737 | 0.7156 |
| msg_app_combo | 0.6813 | 0.8468 | 0.4747 | 0.8136 | 0.5223 | 0.5044 | 0.6700 | 0.7113 |
| down_up | 0.9133 | 0.9713 | 0.6988 | 0.9576 | 0.5270 | 0.5164 | 0.6720 | 0.7159 |
| blur | 0.8160 | 0.8757 | 0.4771 | 0.7777 | 0.5620 | 0.5717 | 0.6690 | 0.7103 |
| Attack / Metric | SpiderMark | Tree-Ring | DFT-Single | DWT–DCT | ||||
|---|---|---|---|---|---|---|---|---|
| Acc | AUROC | Acc | AUROC | Acc | AUROC | Acc | AUROC | |
| clean | 0.9733 | 0.9925 | 0.8800 | 0.9483 | 0.8840 | 0.9433 | 0.6630 | 0.7062 |
| jpeg_strong | 0.9000 | 0.9735 | 0.7987 | 0.8800 | 0.5793 | 0.5934 | 0.6590 | 0.7009 |
| msg_app_combo | 0.7733 | 0.8820 | 0.6360 | 0.7556 | 0.5240 | 0.5106 | 0.6567 | 0.6972 |
| down_up | 0.9133 | 0.9720 | 0.7800 | 0.8992 | 0.5130 | 0.4996 | 0.6600 | 0.7026 |
| blur | 0.8173 | 0.8877 | 0.6440 | 0.7694 | 0.5540 | 0.5469 | 0.6557 | 0.6975 |
| Method | COCO | Stable Diffusion |
|---|---|---|
| Unwatermarked | 0.3302 | 0.3615 |
| Tree-Ring | 0.3296 | 0.3614 |
| Ours (Spidermark) | 0.3273 | 0.3599 |
| Method | Accuracy | AUROC | FPR | FNR | FID |
|---|---|---|---|---|---|
| SpiderMark | 0.9286 | 8.67 | 20.79 | 83.07 | |
| Gaussian Shading | 0.8870 | 0.00 | 31.84 | 82.49 | |
| ROBIN | 0.9663 | 0.06 | 41.13 | 82.87 |
| Comparison | Accuracy (pp) | 95% CI | |
|---|---|---|---|
| Gaussian Shading | +1.72 | [0.75, 2.68] | 0.0737 |
| ROBIN | +6.64 | [5.66, 7.61] |
| Configuration | Accuracy (%) | AUROC |
|---|---|---|
| Classical correlation | ||
| ResNet-18 (spectral features only) | ||
| ResNet-18 + PSNR + L1 (full) |
| Accuracy (%) | AUROC | PSNR (dB) | FID | |
|---|---|---|---|---|
| 0.50 | 14.26 | 81.82 | ||
| 0.75 | 14.42 | 82.52 | ||
| 0.99 | 14.50 | 83.07 |
| Frequency location | Accuracy (%) | AUROC |
|---|---|---|
| Low-frequency centre | ||
| Offset 12 | ||
| Offset 20 |
| Accuracy | FPR | FNR | |
|---|---|---|---|
| 0.3 | |||
| 0.4 | |||
| 0.5 (paper) | |||
| 0.6 | |||
| 0.7 |
| Condition | Accuracy (%) | AUROC | FPR (%) | FNR (%) |
|---|---|---|---|---|
| Original | ||||
| Generator and verifier | Accuracy (%) | AUROC |
|---|---|---|
| SD2.1 + reference verifier | ||
| SDXL + SD2.1 verifier | ||
| SDXL + adapted verifier |
| Condition | Accuracy (%) | AUROC |
|---|---|---|
| Clean | ||
| Strong photometric | ||
| Rotation | ||
| Perspective 0.50 | ||
| Severe crop | ||
| Extreme compound |
| Accuracy (%) | AUROC | |||
|---|---|---|---|---|
| 8 | 4 | 0.6 | ||
| 24 | 4 | 0.8 |
| Method | Mean SD (s) | p95 (s) | Memory (MiB) |
|---|---|---|---|
| SpiderMark | 1.192 | 2917.3 | |
| Gaussian Shading | 1.236 | 2873.6 | |
| ROBIN | 1.204 | 2874.7 |
| Attack | Best L1 Thr | Best PSNR Thr |
|---|---|---|
| clean | -78.2500 | 5.3937 |
| jpeg_strong | -82.2500 | 4.9414 |
| msg_app_combo | -87.3750 | 4.3452 |
| down_up | -82.5625 | 4.6217 |
| blur | -83.8750 | 4.0488 |
| random_crop | -82.6875 | 5.0281 |
Diffusion Model Watermarking
Diffusion model watermarking embeds detectable signals in generated content or models to support provenance, ownership verification, and attribution.
See all 52 papers