END: Robust Dual-Decoder Watermarking Framework Against Non-Differentiable Distortions

Nan Sun, Han Fang, Yuxing Lu, Chengxin Zhao, Hefei LingarXiv 2024

TL;DR

This paper introduces END², a novel dual-decoder framework for robust DNN-based image watermarking that tackles the challenge of non-differentiable real-world distortions. By employing two decoders – one for clean images and one for distorted images – and aligning their feature representations, END² achieves superior robustness and generalizability compared to existing methods, even without requiring differentiable distortion layers.

What Problem Does This Paper Address?

Digital watermarking is crucial for protecting intellectual property in the digital age, especially with the proliferation of online media. Deep learning (DL) has revolutionized image watermarking, with the prevalent "Encoder-Noise Layer-Decoder" (END) framework enabling end-to-end training. However, a critical limitation arises because the "noise layer," which simulates real-world distortions, must be differentiable for this end-to-end training. This is problematic because many real-world distortions, such as JPEG compression or photo filters, are inherently non-differentiable. Existing solutions often approximate these distortions as additive noise, failing to fully capture their impact and leading to a performance gap when faced with actual, complex distortions. This paper aims to bridge this gap by developing a watermarking framework that can effectively handle and train against these non-differentiable distortions without compromising end-to-end optimization.

Methods

The core innovation of this paper is the END² (Robust Dual-Decoder Watermarking Framework). Unlike the standard END architecture, END² introduces a dual-decoder setup:

  • Teacher Decoder (TD): This decoder processes the clean, watermarked image. Gradients are backpropagated through the TD to optimize the encoder, effectively bypassing the non-differentiable distortion layer.
  • Student Decoder (SD): This decoder is designed to process the distorted watermarked image.

To ensure the SD learns to extract watermarks even after distortions, the paper employs a feature alignment loss. This loss maximizes the cosine similarity between the intermediate feature vectors of the TD and SD, forcing them to represent similar information in a shared latent space. This alignment is projected onto a hypersphere to normalize the features.

Additionally, END² incorporates two strategies to enhance robustness and consistency:

  • Swapping Learning: The roles of the TD and SD are periodically swapped (every k batches) to expose both decoders to both clean and distorted data, promoting mutual supervision.
  • Momentum Updating: This strategy allows the TD to learn from the distortions processed by the SD, further refining its ability to handle noisy inputs.

The paper also highlights that END² is compatible with differentiable noise layers and can be integrated into existing END architectures, emphasizing its generalizability.

Datasets

The paper utilizes several standard datasets for training and evaluation:

  • DIV2K: Used for training the model.
  • COCO and ImageNet: Used for testing the model's generalization capabilities.
  • Monet, Cezanne, Vangogh, Ukiyoe: Four style transfer datasets used to evaluate robustness against black-box distortions.

The paper does not introduce new datasets but rather tests its method on existing ones under various distortion conditions, including real JPEG compression and simulated style transfer distortions.

Key Insights and Ideas

  • The critical role of non-differentiable distortions: The paper strongly emphasizes that real-world distortions are often non-differentiable, and existing methods that approximate them as differentiable noise layers are fundamentally limited.
  • Dual-decoder as a gradient bypass: The Teacher-Student decoder architecture is a clever way to maintain end-to-end training for the encoder by using the Teacher Decoder to provide gradients, while the Student Decoder learns to cope with distortions.
  • Feature alignment is key to robustness: Aligning the latent representations of clean and distorted images is shown to be crucial for the Student Decoder to effectively extract watermarks from corrupted inputs.
  • Generalizability beyond differentiable noise: The END² framework demonstrates that a differentiable noise layer is not strictly necessary for robust watermarking, challenging a long-standing assumption in the field.
  • Swapping and momentum learning enhance robustness: These additional strategies prove effective in improving the model's ability to handle diverse distortions by promoting consistent feature representations and learning from noisy data.

Key Results

  • Superior robustness: END² consistently outperforms state-of-the-art methods like TDSL and Forward ASL under various non-differentiable distortions, including real JPEG compression and black-box style transfer attacks.
  • High decoding accuracy: The model achieves decoding accuracies above 90% across a wide range of distortions, even reaching nearly 95% with a PSNR of 45 under style transfer distortions.
  • Competitive with differentiable methods: END² surpasses even models that utilize differentiable noise layers (e.g., MBRS) when trained without the differentiability constraint.
  • Effective against black-box distortions: The method shows strong performance against real-world distortions like JPEG compression and style transfer, highlighting the gap between simulated and actual noise.
  • Improved visual quality: While some methods that improve robustness might sacrifice visual quality, END² maintains good visual quality (e.g., PSNR around 35-45) while achieving high accuracy.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that while the dual-decoder approach bypasses the need for a differentiable noise layer, the simulation of distortions in the Student Decoder is still based on known distortion types. The ultimate robustness against truly unknown black-box distortions might still be a challenge.
  • While the method is generalizable, the specific performance might still depend on the chosen encoder and decoder architectures.
  • Future Work:
    • The authors suggest that their approach is easily implementable across all END architectures, implying future work could involve applying END² to a wider range of existing watermarking frameworks.
  • Further exploration into more sophisticated feature alignment techniques or more advanced strategies for handling truly unknown black-box distortions could be beneficial.
  • Investigating the trade-offs between embedding strength, visual quality, and robustness under even more extreme or adversarial distortions would be a valuable direction.

Summary updated

BibTeX
@misc{sun2024end,
  author = {Nan Sun and Han Fang and Yuxing Lu and Chengxin Zhao and Hefei Ling},
  title = {{END: Robust Dual-Decoder Watermarking Framework Against Non-Differentiable Distortions}},
  year = {2024},
  eprint = {2412.09960},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.09960},
}
Figure