Watermark Vaccine: Adversarial Attacks to Prevent Watermark Removal

Xinwei Liu, Jian Liu, Yang Bai, Jindong Gu, Tao Chen, Xiaojun Jia, Xiaochun Cao

Abstract

Visible watermarks are a primary defense for digital copyright, yet modern deep learning-based watermark removal tools have rendered them increasingly ineffective. This paper introduces "Watermark Vaccines," a proactive defense mechanism using adversarial perturbations. By applying imperceptible modifications to host images, these vaccines disrupt the functionality of watermark-removal networks, either by distorting the output image or ensuring the watermark remains inerasable.

Introduction

The proliferation of Deep Neural Networks (DNNs) has simplified the unauthorized removal of visible watermarks. Tools like WDNet and BVMR can automatically detect and inpaint over logos, allowing for the theft of high-quality digital assets. Traditional watermarking techniques struggle to counter these "blind" removal attacks. This research proposes a shift from reactive to proactive protection by leveraging adversarial machine learning to "vaccinate" images before distribution.

Methodology

The core of the proposed solution is an invisible adversarial perturbation ($\delta$) applied to the host image, constrained by an $L_\infty$ norm (8/255) to maintain visual fidelity. Two primary strategies are developed:

  1. Disrupting Watermark Vaccine (DWV): This approach optimizes the perturbation to maximize the reconstruction error of the removal network. When an AI attempts to strip a watermark from a DWV-protected image, the resulting output is severely distorted, rendering the stolen image useless.
  2. Inerasable Watermark Vaccine (IWV): This strategy aims to make the removal tool "blind" to the watermark. The perturbation is optimized so that the network's output remains nearly identical to the input. Consequently, any watermark added post-vaccination remains visible in the "cleaned" output.
Technical pipeline for generating Disrupting Watermark Vaccines (DWV) and Inerasable Watermark Vaccines (IWV).

These vaccines are watermark-agnostic, meaning the protection is tied to the host image and the removal network's architecture rather than a specific watermark design.

Experimental Evaluation

The effectiveness of the vaccines was tested using the Colored Large-scale Watermark Dataset (CLWD) against state-of-the-art removal models, including WDNet, BVMR, and SplitNet.

Key Results

  • Visual Degradation (DWV): On the WDNet model, the Peak Signal-to-Noise Ratio (PSNR) of the output image dropped from 38.62dB (unprotected) to 29.68dB (protected), indicating significant visual corruption.
  • Watermark Persistence (IWV): The Root-Mean-Square Error (RMSE) in the watermarked regions dropped from approximately 52 to 28 on WDNet, demonstrating that the watermark was largely preserved despite removal attempts.
  • Robustness: The adversarial perturbations remained effective even after common image processing operations such as JPEG compression (quality factor 80) and Gaussian blurring.
Visual comparison of Clean, DWV, and IWV protection against watermark removal tools.

Discussion and Conclusion

Watermark Vaccines represent a novel application of adversarial AI for defensive purposes. By creating a technical barrier that complements the legal warning of a visible watermark, creators gain a "double insurance" policy. While challenges remain regarding model transferability—where a vaccine optimized for one AI may be less effective against another—the use of "ensemble" or "stacked" vaccines shows promise in improving cross-model generalization. Future work will focus on developing more robust universal perturbations that can withstand even more aggressive image processing and a wider variety of removal architectures.

Summary updated

BibTeX
@inproceedings{liu2022watermark,
  author = {Xinwei Liu and Jian Liu and Yang Bai and Jindong Gu and Tao Chen and Xiaojun Jia and Xiaochun Cao},
  title = {{Watermark Vaccine: Adversarial Attacks to Prevent Watermark Removal}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19781-9\_1},
}
Figure