Introduction
Digital watermarking is a critical technique for copyright protection, involving the embedding of hidden information into digital media. However, a persistent challenge in this field is desynchronization. Traditional watermarking decoders, typically built on standard Convolutional Neural Networks (CNNs), rely on rigid grid-based sampling. When an image undergoes geometric distortions—such as rotation, shearing, or scaling—the embedded watermark bits shift, causing the fixed kernels of a standard CNN to fail. This paper introduces a novel framework designed to be "immune" to such geometric attacks while maintaining high generalizability across diverse noise types.
Architectural Innovation: Swin Transformer and DCN
To overcome the limitations of rigid sampling, the proposed framework replaces standard CNN backbones with a combination of Swin Transformers and Deformable Convolutional Networks (DCN).
- Swin Transformers: By utilizing a shifted-window attention mechanism, the model can optimize its focus across the entire image state. This global perspective allows the decoder to "find" watermark information even if its spatial coordinates have shifted significantly.
- Deformable Convolutional Networks (DCN): Unlike standard convolutions that sample from a fixed $3 \times 3$ grid, DCNs learn an additional offset for each sampling point. This allows the kernel to adaptively "stretch" and "warp" its shape to match the geometric distortion of the input image.
As shown in Figure 1, the importance maps for the proposed model adapt dynamically to geometric transformations, ensuring that the decoder continues to sample from the correct regions of the watermarked image.
Generalizing Robustness via Style Transfer
Beyond geometric immunity, a robust watermarking system must handle common non-geometric distortions like JPEG compression, Gaussian noise, and blurring. Most existing models struggle to generalize to unseen distortions. The authors address this by treating distortion as a "style."
Using a style transfer network, the researchers decoupled image content from various "distortion styles" (e.g., specific types of blur or noise). During training, the model is exposed to a wide distribution of these learned styles rather than simple mathematical noise functions. This "Distortion-Style-Ensembled Noise Layer" provides a much richer training environment, preventing the model from overfitting to specific noise implementations.
Key Results and Performance
The framework achieves state-of-the-art (SOTA) performance across multiple benchmarks:
- Geometric Robustness: The model achieved a 100.00% bit correct rate (BCR) under nearly all tested geometric distortions, including rotations up to 180 degrees.
- Superior Generalization: In tests involving non-geometric distortions like JPEG compression (Q=40), the model maintained 99.93% accuracy, significantly outperforming existing SOTA methods which often drop to 70-90% accuracy.
- Visual Fidelity: Despite the high robustness, the watermarked images remain high-quality, with a PSNR of ~33-35 dB, making the embedded data virtually invisible to the human eye.
Conclusion
By combining the architectural flexibility of Deformable Convolutional Networks with the diverse training distribution provided by style-transfer-based noise modeling, this framework effectively solves the desynchronization problem in digital watermarking. Future research will focus on extending this immunity to even more destructive "real-world" attacks, such as print-and-scan or screen-shooting scenarios.
Summary updated