Towards Photo-Realistic Visible Watermark Removal with Conditional Generative Adversarial Networks

Xiang Li, Chan Lu, Danni Cheng, Weihong Li, Mei Cao, Bo Liu, Jiechao Ma, Wei-Shi Zheng

Introduction: The Challenge of Visible Watermarks

Visible watermarks are a standard tool for copyright protection, but their effectiveness depends on how difficult they are to remove. Most existing removal methods treat the task as a simple image-to-image translation problem. However, these methods face significant hurdles due to the diversity of watermark shapes, colors, and opacities, which often obscure complex textures like human faces or fine structural lines.

A large, semi-transparent text watermark obscuring the structural details of an aircraft, illustrating the complexity of the removal task.

Traditional models optimized solely on pixel-wise losses (such as Mean Squared Error) tend to produce blurry results or leave "ghostly" residual traces. They often fail to reconstruct the high-frequency details necessary for a truly photo-realistic image.

Methodology: A cGAN-Based Framework

The authors propose a framework using Conditional Generative Adversarial Networks (cGANs) specifically designed to prioritize photo-realism over simple pixel matching.

Architecture

  • Generator (U-Net): The model employs a U-Net architecture with skip connections. This allows the network to share low-level edge details and global information between the encoder and decoder, ensuring the background remains consistent while the watermark is removed.
  • Conditional Patch-based Discriminator: Unlike standard discriminators that evaluate the whole image, this component looks at local image patches. Crucially, it is conditional: it sees both the generated image and the original watermarked image. This forces the model to focus on the specific regions where the watermark was present, ensuring contextually accurate reconstruction.

Hybrid Loss Function

The model is trained using a combination of three distinct losses:

  1. $L_1$ Loss: Ensures pixel-level similarity to the ground truth.
  2. Perceptual Loss (VGG16): Compares high-level features extracted by a pre-trained network to ensure semantic consistency and reduce blur.
  3. Adversarial Loss: Drives the generator toward producing realistic textures that can fool the discriminator.

Datasets and Evaluation

The study utilizes the Large-scale Visible Watermark Dataset (LVW), containing 60,000 images across 80 different categories of watermarks (logos, text, etc.). To evaluate generalization, the test set includes watermark patterns that were not present in the training set.

Key Results and Insights

Visual comparisons show that while previous state-of-the-art methods often leave visible traces of logos, the cGAN approach produces much cleaner and more convincing backgrounds.

Qualitative results across various categories. The left column shows watermarked inputs, and the right column shows the photo-realistic outputs generated by the cGAN framework.
  • Human Perception: In Mean Opinion Score (MOS) tests, the proposed method scored 4.08 (out of 5), significantly higher than the previous state-of-the-art score of 3.23.
  • Quantitative Performance: The model achieved a PSNR of 30.69 and a DSSIM of 0.045, proving that prioritizing realism does not come at the cost of standard accuracy metrics.

Conclusion

By leveraging the power of conditional patch-based discriminators and perceptual loss, this framework achieves photo-realistic watermark removal that significantly outperforms traditional encoder-decoder architectures. As removal techniques become more sophisticated, the authors suggest a need for a new generation of watermarking techniques designed specifically to resist GAN-based attacks.

Summary updated

BibTeX
@inproceedings{li2019towards,
  author = {Xiang Li and Chan Lu and Danni Cheng and Weihong Li and Mei Cao and Bo Liu and Jiechao Ma and Wei-Shi Zheng},
  title = {{Towards Photo-Realistic Visible Watermark Removal with Conditional Generative Adversarial Networks}},
  booktitle = {ICIG},
  year = {2019},
  doi = {10.1007/978-3-030-34120-6\_28},
}
Figure