TL;DR
Compositional Adversarial Training (CAT) replaces the standard "random augmentation" approach to training watermarks with a learned, differentiable adversary. By adaptively discovering the most damaging sequences of image transformations (like blur followed by compression), CAT significantly boosts watermark robustness and capacity across both image and video benchmarks.
What Problem Does This Paper Address?
As AI-generated media proliferates, visual watermarking has become a critical tool for tracking provenance and detecting misuse. However, a watermark is only useful if it survives the "wild"—the gauntlet of resizing, cropping, and re-compression that images undergo on social media.
Currently, most watermarking models are trained using random augmentation: during training, the model sees images subjected to random, independent distortions. The authors argue this is fundamentally flawed. Random sampling rarely hits the "combinatorial" sweet spot—those rare, specific sequences of operations that actually break a watermark. This leads to models that appear robust in the lab but are brittle against adaptive or complex real-world "attack pipelines."
Methods
The authors propose Compositional Adversarial Training (CAT). Instead of picking attacks at random, they treat the problem as a min-max game: the watermarking model tries to hide a message, while a learned adversary tries to destroy it.
Key technical innovations include:
- Sequential Adversary: The adversary is a recurrent controller (using a GRU) that observes the current state of the image and selects an attack from a library (e.g., JPEG, Blur, Rotate) at each step. This allows it to discover order-sensitive failures (e.g., a specific crop followed by a specific color shift).
- Differentiable Selection: To make the discrete choice of "which attack to use" trainable via backpropagation, the authors use a straight-through Gumbel-Softmax relaxation.
- Entropy Regularization: To prevent the adversary from "collapsing" into a single, trivially destructive attack, they add an entropy bonus. This forces the adversary to remain exploratory and find a diverse set of vulnerabilities.
- Efficiency: Unlike traditional adversarial training which requires expensive inner-loop searches, CAT shares the computational graph with the watermark model, adding only 20–30% training overhead.
Datasets
The authors evaluated CAT across a wide range of benchmarks:
- Images (In-Distribution): A 50,000-image subset of SA-1B.
- Images (Out-of-Distribution): CLIC, DIV2K, and MetFace were used to test how well the robustness generalizes to different image styles and resolutions.
- Video: Movie-Gen-Bench (In-distribution) and SA-V (Out-of-distribution).
- Backbones: They tested CAT as a "plug-in" for several state-of-the-art models: VideoSeal 0.0/1.0, PixelSeal, and the in-generation model WMAR.
Key Insights and Ideas
- Order Matters: The adversary successfully discovered that the sequence of operations is vital. Some watermarks might survive a blur and a crop individually, but fail if the blur happens before the crop.
- Focusing on "Informative" Failures: Random augmentation wastes time on "easy" samples that the model already handles. CAT focuses training pressure on the specific weaknesses of the current model, leading to much faster convergence (as seen in Figure 4).
- Capacity is the Better Metric: While many papers report "bit accuracy," this paper emphasizes watermark capacity (the number of bits reliably transmitted). CAT showed massive gains here—up to 63.5%—because it pushes the model into a high-accuracy regime across a broader range of attacks.
- Forward Transfer: Interestingly, models trained against single-step adversarial attacks (T=1) still showed improved robustness against multi-step compositions (T=2), suggesting that CAT helps the model learn more fundamental features of robustness.
Key Results
- Robustness Boost: On the SA-1B benchmark, CAT improved overall watermark capacity by 63.5% for PixelSeal and 18.0% for VideoSeal 1.0 in single-step settings.
- Compositional Gains: In the more difficult two-step attack setting, CAT improved capacity by 13.0% for VideoSeal 0.0.
- Autoregressive Success: When applied to WMAR (a model that watermarks images during the generation process), CAT improved the True Positive Rate (at a 1% False Positive Rate) by 12% on average for difficult geometric transformations.
- No Quality Trade-off: Despite the increased robustness, the visual quality of the watermarked images (measured by PSNR, SSIM, and LPIPS) remained nearly identical to models trained with random augmentation.
Limitations and Future Work
- Short Horizons: The study focused on short attack sequences ($T=2$). The authors noted that extending to $T \geq 3$ often results in images so degraded they are no longer "usable," making the watermarking task ill-posed.
- Bounded Transformations: The adversary is currently restricted to a library of differentiable, low-level image operations. It does not yet account for high-level semantic manipulations (like AI-based object removal or deepfakes).
- Future Directions: The authors suggest that extending adaptive adversaries to handle longer editing chains and more complex semantic edits is the next logical step for the field.
Summary updated