TL;DR
SSH-Net is a novel self-supervised, hybrid network designed to remove visible watermarks from noisy images without requiring clean, watermark-free reference images for training. By splitting the task into a lightweight CNN branch for noise removal and a deep, Sparse Transformer branch for joint watermark and noise elimination, it achieves state-of-the-art restoration quality while drastically reducing theoretical computational complexity (FLOPs).
What Problem Does This Paper Address?
Visible watermarks protect copyright but can be highly obstructive. In real-world scenarios, watermarked images often suffer from added noise due to transmission or storage. Automatically removing both watermarks and noise is a challenging image restoration task.
While deep learning has advanced this field, most existing methods rely on supervised learning, which requires pairs of watermarked and perfectly clean, watermark-free images—data that is rarely available in the real world. Recent self-supervised methods attempt to learn directly from corrupted images but typically deploy identical, heavy convolutional neural network (CNN) architectures across parallel branches. This symmetric design is computationally expensive and fails to account for the fact that noise removal and structured watermark removal have vastly different complexities. Furthermore, pure CNNs struggle to capture the long-range spatial dependencies needed to cleanly reconstruct texture behind large or stylized watermarks.
Methods
The authors introduce SSH-Net (Self-Supervised and Hybrid Network), which avoids the need for clean ground-truth images by using a self-supervised data synthesis strategy. During training, the network takes a noisy watermarked image ($X_{wn}$) and generates a pseudo-ground truth ($Y_w$) by adding additional random watermarks to it. This ensures both the input and target share the same underlying corruption distribution, allowing the network to predict the clean image implicitly.
The core architecture of SSH-Net relies on a dual-network design fed by a Shared Encoder (SE):
- Noise Removal Decoder (NRD): Denoising is a relatively straightforward pixel-level task. The NRD uses a lightweight, pure CNN architecture (built on NAFBlocks) to handle noise removal efficiently and stabilize early convergence.
- Watermark and Noise Removal Decoder (WNRD): Simultaneously removing structured watermarks and noise is far more complex. The WNRD utilizes a deeper, hybrid architecture centered around a Sparse Transformer U-Net.
To keep the Transformer's computational overhead manageable, the authors use a channel-wise attention mechanism (Multi-Dconv head transposed attention) and enhance it with a Sparse Self-Attention (SSA) mechanism. Because watermarks are localized, the SSA applies a learnable top-$k$ selection mask to focus attention exclusively on the watermark patterns while ignoring irrelevant background pixels.
Finally, a Feature Fusion Unit (FFU) employs a gating mechanism to dynamically balance and integrate the features from both decoders before reconstructing the final clean image ($\hat{Y}$).
Datasets
The authors evaluated their method using benchmark datasets derived from natural images:
- Training Set: 477 natural images from the PASCAL VOC dataset, synthetically overlaid with twelve predefined watermarks of varying transparencies, spatial coverages, and scales, alongside randomized Gaussian noise levels ($\sigma \in \{0, 15, 25, 50\}$).
- Test Set: 21 images from PASCAL VOC 2012, processed across different fixed noise and transparency scenarios to generate a total of 252 test images per evaluation setting.
Key Insights and Ideas
- Asymmetric Architecture for Asymmetric Tasks: Instead of treating denoising and watermark removal with equal architectural weight, SSH-Net allocates a cheap CNN to the simpler task (denoising) and saves the heavy Transformer machinery for the complex task (watermark removal).
- Sparsity Prevents Background Distortion: Standard global self-attention can introduce artifacts into clean parts of an image. By restricting attention to top-$k$ critical elements via the Sparse Self-Attention mechanism, the model preserves background textures while aggressively targeting the watermark.
- Gating for Adaptive Denoising: Visualizations of the FFU gating signal reveal that the network adaptively dials down the denoising branch in regions where the watermark branch provides cleaner, more reliable structure reconstructions.
Key Results
SSH-Net was benchmarked against several competitive denoising and deraining baselines (including DnCNN, FFDNet, and IRCNN) as well as the current self-supervised state-of-the-art, PSLNet.
Quantitative Performance
- Watermark Removal Quality: At a noise level of $\sigma = 0$, SSH-Net outperformed PSLNet by over 7 dB in PSNR, demonstrating a massive leap in pure watermark extraction capability.
- Robustness to Noise: Across all tested noise levels ($\sigma = 15, 25, 50$), SSH-Net consistently achieved the highest PSNR and SSIM alongside the lowest LPIPS scores.
- Efficiency Gains: SSH-Net slashes the theoretical computational burden to just 18.21G FLOPs, compared to PSLNet’s 74.51G FLOPs—a reduction of roughly 75%.
Qualitative Performance
Visually, baseline models frequently left behind ghosting artifacts or blurred textures where the watermark resided. SSH-Net successfully eliminated complex text and logo watermarks while maintaining sharp structural boundaries and realistic background details.
Limitations and Future Work
Despite the massive reduction in theoretical FLOPs, the authors note a practical hardware limitation: SSH-Net's actual wall-clock runtime during inference is higher than PSLNet's (43.03ms vs 10.45ms).
This discrepancy occurs because non-convolutional operations like sparse attention are less optimized for parallel execution on current GPU architectures. Additionally, the structural imbalance between the lightweight NRD branch and the heavy WNRD branch creates a pipeline bottleneck that hinders optimal GPU parallelism. The authors point to optimizing inference efficiency and addressing this branch imbalance as vital directions for future work.
Summary updated