Enhancing Robustness in Post-Processing Watermarking: An Ensemble Attack Network Using CNNs and Transformers

Tzuhsuan Huang, Cheng Yu Yeo, Tsai-Ling Huang, Hong-Han Shuai, Wen-Huang Cheng +1 more
9/3/2025
cs.CV

Official code: aiiu-lab/DeepRobustWatermark (6 stars, last commit 2025-09-09).

Abstract

Recent studies on deep watermarking have predominantly focused on in-processing watermarking, which integrates the watermarking process into image generation. However, post-processing watermarking, which embeds watermarks after image generation, offers more flexibility. It can be applied to outputs from any generative model (e.g. GANs, diffusion models) without needing access to the model's internal structure. It also allows users to embed unique watermarks into individual images. Therefore, this study focuses on post-processing watermarking and enhances its robustness by incorporating an ensemble attack network during training. We construct various versions of attack networks using CNN and Transformer in both spatial and frequency domains to investigate how each combination influences the robustness of the watermarking model. Our results demonstrate that combining a CNN-based attack network in the spatial domain with a Transformer-based attack network in the frequency domain yields the highest robustness in watermarking models. Extensive evaluation on the WAVES benchmark, using average bit accuracy as the metric, demonstrates that our ensemble attack network significantly enhances the robustness of baseline watermarking methods under various stress tests. In particular, for the Regeneration Attack defined in WAVES, our method improves StegaStamp by 18.743%. The code is released at:https://github.com/aiiu-lab/DeepRobustWatermark.

View on arXivView PDF

Code Implementations(1)

60Shell, PythonAug 18, 20251 years ago

Similar Papers

Cite this paper

@article{huang2025enhancing,
  title  = {Enhancing Robustness in Post-Processing Watermarking: An Ensemble Attack Network Using CNNs and Transformers},
  author = {Tzuhsuan Huang and Cheng Yu Yeo and Tsai-Ling Huang and Hong-Han Shuai and Wen-Huang Cheng and Jun-Cheng Chen},
  year   = {2025},
  eprint = {2509.03006},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.03006v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.03006.svg)](https://codeofpaper.com/paper/2509.03006)

Discussion