Generative Model Watermarking Suppressing High-Frequency Artifacts

Li Zhang, Yong Liu, Xinpeng Zhang, Hanzhou WuarXiv 2023 · DOI

Abstract

This paper presents a novel watermarking framework for generative deep neural networks (DNNs) designed to achieve "frequency invisibility." By incorporating anti-aliasing techniques and low-pass filtering into the watermark embedding process, the proposed method suppresses high-frequency artifacts that typically reveal watermarks in the frequency domain. Evaluation on the Danbooru2019 dataset demonstrates superior visual quality (PSNR >50dB) and 100% extraction success rates, maintaining robustness against common image processing attacks and surrogate model functional theft.

Introduction: The Frequency Domain Blind Spot

As generative models like GANs and Diffusion models become increasingly valuable, protecting their Intellectual Property (IP) is a critical concern. Digital watermarking—embedding a hidden signal into the model's output—serves as a primary defense. However, current methods often suffer from a significant "blind spot": while watermarks may be invisible to the human eye in the spatial domain, they frequently create distinct, grid-like patterns in the frequency domain.

High-frequency grid artifacts typical of standard watermarking methods.

These high-frequency artifacts act as a beacon for attackers. Using a simple Discrete Cosine Transform (DCT), an adversary can detect the watermark's signature, making it easier to remove or to train a "surrogate model" that mimics the original's functionality without the watermark. The challenge lies in embedding a robust, extractable signal that remains invisible in both pixel and frequency domains.

Methodology

The authors propose a two-phase framework centered on a specialized watermark embedding network ($E$) that treats watermarking as a signal processing problem.

Anti-Aliasing Architecture

To prevent the creation of artifacts, the embedding network $E$ utilizes:

  • Low-pass filtering: Down-sampling layers employ a fixed anti-aliasing kernel $(1, 5, 10, 10, 5, 1)^T$.
  • Nearest-neighbor up-sampling: This is followed by convolution to avoid the "checkerboard" artifacts common in standard transpose convolutions.

Training and Optimization

The framework is trained in two phases. First, the host network ($H$) is trained for its primary task (e.g., style transfer). Second, the embedding network ($E$), a discriminator ($D$), and an extraction network ($R$) are trained jointly. The optimization uses a combination of extraction loss, spatial/perceptual loss, and adversarial loss to ensure the watermark is readable yet indistinguishable from natural image noise.

Experimental Results

The framework was evaluated using the Danbooru2019 dataset for paint and style transfer tasks. The results demonstrate a significant leap in performance over existing state-of-the-art methods.

DCT spectrum analysis showing the clean frequency signature of the proposed method.
  • Superior Imperceptibility: The method achieved PSNR values often exceeding 50dB, compared to the 26dB–35dB range of prior methods.
  • Frequency Invisibility: Qualitative DCT heat maps show that the marked images are virtually indistinguishable from natural, unmarked images in the frequency domain.
  • Robustness: The framework achieved a 100% Success Rate (SR) in watermark extraction under normal conditions and remained resilient against Gaussian noise, JPEG compression (QF=50), and surrogate model attacks across various architectures (ConvGen, ResGen, UnetGen).

Conclusion

The most striking insight of this work is that a watermark's imperceptibility must be measured in the frequency domain to be truly secure. By tracing high-frequency artifacts back to sampling operations and applying classical anti-aliasing techniques, the authors have developed a robust solution for IP protection in generative models. Future work may extend this framework to higher-resolution text-to-image synthesis and video generation.

Summary updated

BibTeX
@misc{zhang2023generative,
  author = {Li Zhang and Yong Liu and Xinpeng Zhang and Hanzhou Wu},
  title = {{Generative Model Watermarking Suppressing High-Frequency Artifacts}},
  year = {2023},
  eprint = {2305.12391},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.12391},
}
Figure