A Self-Supervised CNN for Image Watermark Removal

Chunwei Tian, Menghua Zheng, Tiancai Jiao, Wangmeng Zuo, Yanning Zhang, Chia-Wen Lin

Abstract

Deep learning models for image restoration typically rely on supervised learning, requiring pairs of degraded and clean images. However, obtaining clean ground-truth images for real-world watermarked data is often impractical. This paper presents the Self-supervised Watermark Convolutional Neural Network (SWCNN), which utilizes a novel self-supervised mechanism to learn watermark removal directly from watermarked data. By combining a heterogeneous U-Net architecture with perception-based texture loss, SWCNN achieves state-of-the-art performance in restoring image quality and fine details without the need for clean reference images.

Introduction

The prevalence of digital watermarking for copyright protection has created a need for effective removal tools in various image processing workflows. Traditional supervised methods are limited by data scarcity and poor generalization to diverse, real-world watermarks. This research aims to bridge the gap between synthetic training and real-world application by introducing a self-supervised framework that does not require clean reference images, while simultaneously addressing the common issue of texture blurriness in restored outputs.

Methodology

The SWCNN framework is built upon three innovative components:

  1. Self-supervised Mechanism (SSM): Inspired by the "Noise2Noise" paradigm, the SSM enables training by pairing two differently watermarked versions of the same underlying image. This allows the network to converge on the common clean signal without ever seeing the original unwatermarked image during the training step.
  2. Heterogeneous Network (HN): The core architecture is an 18-layer heterogeneous U-Net. Unlike standard uniform networks, the HN employs a variety of activation functions (ReLU, Leaky ReLU) and pooling strategies. This diversity allows the model to extract complementary structural features and maintain low-level textures alongside high-level semantic information.
  3. Perception Network (PN): To mitigate the "blurry" appearance typical of L1/L2 optimized models, a pre-trained VGG-based perception network is used to calculate a texture loss. This ensures the output maintains perceptual consistency with natural image statistics.
The architecture of SWCNN, showing the training process with the Self-Supervised Mechanism and the Heterogeneous Network.

Experimental Setup

The model was trained on 477 natural images from the PASCAL VOC 2012 dataset. To evaluate its versatility, the authors introduced a benchmark of 12 novel watermarks representing popular digital platforms (e.g., TikTok, Bilibili, iQIYI). Watermarks were applied with varying transparency levels ($\alpha$ ranging from 0.3 to 1.0) and random placements to simulate realistic conditions.

Results and Discussion

SWCNN demonstrated superior performance over established denoising and restoration networks, including DnCNN, FFDNet, and various GAN-based approaches.

  • Quantitative Performance: At a transparency level of 0.3, SWCNN achieved a PSNR of 36.90 dB and an SSIM of 0.9893, significantly outperforming general-purpose denoising models.
  • Self-Supervision Efficacy: Experimental results indicated that the self-supervised SWCNN can match or even exceed the performance of supervised models trained with clean references, likely due to its better alignment with the specific noise distribution of watermarks.
  • Qualitative Quality: SWCNN effectively removes "ghosting" artifacts that plague simpler architectures, resulting in clearer and more detailed image restoration.
Visual comparison of watermark removal: (a) Watermarked input, (b) result from the basic Heterogeneous Network, and (c) the superior result from the full SWCNN.

Conclusion

The proposed SWCNN framework offers a robust and practical solution for image watermark removal by eliminating the need for clean ground-truth data. The integration of a heterogeneous architecture and perceptual loss allows for high-fidelity restoration of both structure and texture. Future work will focus on improving performance for near-opaque watermarks and exploring fully blind removal techniques.

Summary updated

BibTeX
@article{tian2024self,
  author = {Chunwei Tian and Menghua Zheng and Tiancai Jiao and Wangmeng Zuo and Yanning Zhang and Chia-Wen Lin},
  title = {{A Self-Supervised CNN for Image Watermark Removal}},
  journal = {IEEE Trans. Circuits Syst. Video Technol.},
  year = {2024},
  doi = {10.1109/tcsvt.2024.3375831},
}
Figure