Leveraging Optimization for Adaptive Attacks on Image Watermarks
Nils Lukas, Abdulrahman Diaa, Lucas Fenaux, Florian Kerschbaum
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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
17 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- High-Resolution Image Synthesis with Latent Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
- Watermarks in the Sand: Impossibility of Strong Watermarking for Language Models cites High-Resolution Image Synthesis with Latent Diffusion Models
- Watermarks in the Sand: Impossibility of Strong Watermarking for Language Models cites SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis
- Watermarks in the Sand: Impossibility of Strong Watermarking for Language Models cites Invisible Image Watermarks Are Provably Removable Using Generative AI
- Watermarks in the Sand: Impossibility of Strong Watermarking for Language Models cites Learning Transferable Visual Models From Natural Language Supervision
- WAVES: Benchmarking the Robustness of Image Watermarks cites High-Resolution Image Synthesis with Latent Diffusion Models
- WAVES: Benchmarking the Robustness of Image Watermarks cites Diffusion Models Beat GANs on Image Synthesis
- WAVES: Benchmarking the Robustness of Image Watermarks cites Invisible Image Watermarks Are Provably Removable Using Generative AI
- WAVES: Benchmarking the Robustness of Image Watermarks cites Learning Transferable Visual Models From Natural Language Supervision
- SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis cites High-Resolution Image Synthesis with Latent Diffusion Models
- SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis cites Diffusion Models Beat GANs on Image Synthesis
- SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis cites Learning Transferable Visual Models From Natural Language Supervision
- SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- FreqMark: Invisible Image Watermarking via Frequency Based Optimization in Latent Space cites High-Resolution Image Synthesis with Latent Diffusion Models
- FreqMark: Invisible Image Watermarking via Frequency Based Optimization in Latent Space cites Diffusion Models Beat GANs on Image Synthesis
- FreqMark: Invisible Image Watermarking via Frequency Based Optimization in Latent Space cites Invisible Image Watermarks Are Provably Removable Using Generative AI
- Diffusion Models Beat GANs on Image Synthesis cites Learning Transferable Visual Models From Natural Language Supervision
- Invisible Image Watermarks Are Provably Removable Using Generative AI cites High-Resolution Image Synthesis with Latent Diffusion Models
- Invisible Image Watermarks Are Provably Removable Using Generative AI cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- Can Simple Averaging Defeat Modern Watermarks? cites High-Resolution Image Synthesis with Latent Diffusion Models
- Can Simple Averaging Defeat Modern Watermarks? cites Invisible Image Watermarks Are Provably Removable Using Generative AI
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites High-Resolution Image Synthesis with Latent Diffusion Models
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Diffusion Models Beat GANs on Image Synthesis
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Learning Transferable Visual Models From Natural Language Supervision
Cited by top-tier papers17
- Invisible Image Watermarks Are Provably Removable Using Generative AIXuandong Zhao, Kexun Zhang, Zihao Su, Saastha Vasan et al.NeurIPS 2024 · 209 citations
- WAVES: Benchmarking the Robustness of Image WatermarksBang An, Mucong Ding, Tahseen Rabbani, Aakriti Agrawal et al.ICML 2024 · 86 citations
- Can Simple Averaging Defeat Modern Watermarks?Pei Yang, Hai Ci, Yiren Song, Mike Zheng ShouNeurIPS 2024 · 48 citations
- Watermarks in the Sand: Impossibility of Strong Watermarking for Language ModelsHanlin Zhang, Benjamin L. Edelman, Danilo Francati, Daniele Venturi et al.ICML 2024 · 21 citations
- FreqMark: Invisible Image Watermarking via Frequency Based Optimization in Latent SpaceYiyang Guo, Ruizhe Li, Mude Hui, Hanzhong Guo et al.NeurIPS 2024 · 14 citations
Builds on12
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- Photorealistic Text-to-Image Diffusion Models with Deep Language UnderstandingChitwan Saharia, William Chan, Saurabh Saxena, Lala Li et al.NeurIPS 2022 · 8,965 citations
- SDXL: Improving Latent Diffusion Models for High-Resolution Image SynthesisDustin Podell, Zion English, Kyle Lacey, Andreas Blattmann et al.ICLR 2024 · 4,569 citations
Related papers
- Optimizing Adaptive Attacks against Watermarks for Language ModelsAbdulrahman Diaa, Toluwani Aremu, Nils LukasICML 2025
- PTW: Pivotal Tuning Watermarking for Pre-Trained Image GeneratorsNils Lukas, Florian KerschbaumUSENIX Security 2023
- WMAdapter: Adding WaterMark Control to Latent Diffusion ModelsHai Ci, Yiren Song, Pei Yang, Jinheng Xie et al.ICML 2025
- An Undetectable Watermark for Generative Image ModelsSam Gunn, Xuandong Zhao, Dawn SongICLR 2025
- ROBIN: Robust and Invisible Watermarks for Diffusion Models with Adversarial OptimizationHuayang Huang, Yu Wu, Qian WangNeurIPS 2024 · 73 citations
