Skip to main content
QUICK REVIEW

[Paper Review] Black-Box Watermarking for Generative Adversarial Networks.

Vladislav Skripniuk, Ning Yu|arXiv (Cornell University)|Jul 17, 2020
Digital Media Forensic DetectionComputer Science73 references4 citations
TL;DR

This paper proposes the first black-box watermarking method for Generative Adversarial Networks (GANs) by embedding watermarks into the training data using steganography, which are then transferred to the generated images. The approach ensures high generation quality, robustness against image perturbations, and secrecy from steganalysis, while operating solely through GAN APIs without model access.

ABSTRACT

As companies start using deep learning to provide value to their customers, the demand for solutions to protect the ownership of trained models becomes evident. Several watermarking approaches have been proposed for protecting discriminative models. However, rapid progress in the task of photorealistic image synthesis, boosted by Generative Adversarial Networks (GANs), raises an urgent need for extending protection to generative models. We propose the first watermarking solution for GAN models. We leverage steganography techniques to watermark GAN training dataset, transfer the watermark from the dataset to GAN models, and then verify the watermark from generated images. In the experiments, we show that the hidden encoding characteristic of steganography allows preserving generation quality and supports the watermark secrecy against steganalysis attacks. We validate that our watermark verification is robust in wide ranges against several image perturbations. Critically, our solution treats GAN models as an independent component: watermark embedding is agnostic to GAN details and watermark verification relies only on accessing the APIs of black-box GANs. We further extend our watermarking applications to generated image detection and attribution, which delivers a practical potential to facilitate forensics against deep fakes and responsibility tracking of GAN misuse.

Motivation & Objective

  • To address the growing need for model ownership protection in generative AI, especially for GANs used in photorealistic image synthesis.
  • To extend watermarking techniques—previously applied to discriminative models—toward generative models like GANs.
  • To design a solution that operates in a black-box setting, requiring only API access to the GAN without knowledge of its internal architecture.
  • To preserve high image generation quality while embedding a secret watermark that resists steganalysis.
  • To enable practical applications such as deepfake forensics and attribution of GAN-generated content.

Proposed method

  • Embed watermarks into the training dataset using steganographic techniques that subtly alter pixel values to encode hidden information.
  • Train the GAN on the watermarked dataset, allowing the watermark to be implicitly learned and encoded in the generator's latent space.
  • Verify the watermark by analyzing generated images using a public verification function that does not require model weights or architecture details.
  • Leverage the inherent robustness of steganography to maintain image quality and resist detection by steganalysis tools.
  • Design the watermark embedding and verification processes to be independent of GAN architecture, ensuring compatibility across different GAN variants.
  • Use a black-box verification protocol that only requires access to the GAN’s inference API, enabling practical deployment in real-world systems.

Experimental results

Research questions

  • RQ1Can a watermark be embedded in the training data of a GAN such that it is preserved in the generated images without degrading image quality?
  • RQ2Is the watermark robust against common image perturbations such as compression, resizing, and filtering?
  • RQ3Can the watermark be verified without access to the model weights or internal structure, relying only on API-level inference?
  • RQ4Does the steganographic watermarking approach remain undetectable to steganalysis attacks?
  • RQ5Can the watermarking scheme support practical use cases like detecting deepfakes and attributing GAN misuse?

Key findings

  • The watermarking method preserves high-fidelity image generation, with no noticeable degradation in visual quality of the generated outputs.
  • The embedded watermark remains detectable across a wide range of image perturbations, including JPEG compression, resizing, and noise addition.
  • The watermark is resistant to steganalysis, maintaining secrecy even when attackers attempt to detect or remove it.
  • Verification of the watermark is robust and accurate using only the GAN’s black-box API, without requiring model weights or architectural details.
  • The approach enables effective attribution and detection of GAN-generated content, supporting forensic applications against deepfakes.
  • The method is architecture-agnostic, making it applicable to various GAN variants without modification.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.