Leveraging Optimization for Adaptive Attacks on Image Watermarks
Nils Lukas, Abdulrahman Diaa, Lucas Fenaux, Florian Kerschbaum
TL;DR
The paper addresses the robustness of no-box watermarking for image generators by formulating robustness as an optimization problem and introducing adaptive, learnable attacks that rely on differentiable surrogate keys. It proposes differentiable key generation (GKeyGen) and two attacks—Adversarial Noising and Adversarial Compression—to efficiently optimize attack parameters. Experiments on Stable Diffusion demonstrate that five watermarking methods (TRW, WDM, DWT, DWT-SVD, RivaGAN) can be evaded with negligible perceptual degradation, achieving a detection rate as low as $0.063$ while requiring less than $1$ GPU hour. The work highlights the need for rigorous robustness testing and potential certifications to ensure watermarking schemes withstand adaptive, learnable threats in practical deployment.
Abstract
Untrustworthy users can misuse image generators to synthesize high-quality deepfakes and engage in unethical activities. Watermarking deters misuse by marking generated content with a hidden message, enabling its detection using a secret watermarking key. A core security property of watermarking is robustness, which states that an attacker can only evade detection by substantially degrading image quality. Assessing robustness requires designing an adaptive attack for the specific watermarking algorithm. When evaluating watermarking algorithms and their (adaptive) attacks, it is challenging to determine whether an adaptive attack is optimal, i.e., the best possible attack. We solve this problem by defining an objective function and then approach adaptive attacks as an optimization problem. The core idea of our adaptive attacks is to replicate secret watermarking keys locally by creating surrogate keys that are differentiable and can be used to optimize the attack's parameters. We demonstrate for Stable Diffusion models that such an attacker can break all five surveyed watermarking methods at no visible degradation in image quality. Optimizing our attacks is efficient and requires less than 1 GPU hour to reduce the detection accuracy to 6.3% or less. Our findings emphasize the need for more rigorous robustness testing against adaptive, learnable attackers.
