Practical Blind Denoising via Swin-Conv-UNet and Data Synthesis

Kai Zhang, Yawei Li, Jingyun Liang, Jiezhang Cao, Yulun Zhang, Hao Tang, Radu Timofte, Luc Van Gool · OpenReview

Introduction

Image denoising is a fundamental task in computer vision, aimed at recovering a clean image $x$ from a noisy observation $y$. While deep neural networks have significantly advanced the state-of-the-art, a persistent gap remains between performance on synthetic benchmarks and real-world photography. Most existing models are optimized for Additive White Gaussian Noise (AWGN), which fails to capture the complexity of real-world sensor noise, JPEG artifacts, and processing distortions.

In this paper, researchers from ETH Zürich and their collaborators introduce SCUNet (Swin-Conv-UNet), a novel architecture designed for practical blind denoising. By integrating the local modeling strengths of Convolutional Neural Networks (CNNs) with the long-range dependency modeling of Swin Transformers, and pairing this architecture with a sophisticated data synthesis pipeline, SCUNet achieves superior performance on both synthetic and real-world noise.

The SCUNet Architecture

The primary architectural innovation is the Swin-Conv (SC) block. Traditional denoising models often face a trade-off: CNNs excel at capturing local textures but lack a global receptive field, while Vision Transformers (ViTs) capture non-local patterns but can be computationally intensive and may overlook fine-grained local details.

The SC block addresses this by employing a hybrid approach:

  1. Parallel Processing: The input feature map is split into two equal channels.
  2. Swin Transformer Path: One half is processed by a Swin Transformer block to model non-local, repetitive structures.
  3. Residual Convolutional Path: The other half passes through a residual convolutional layer to preserve local textures and details.
  4. Fusion: The outputs are concatenated and fused, ensuring the model benefits from both modeling paradigms.

This SC block is integrated into a multi-scale UNet backbone. The UNet structure allows the model to process information at multiple resolutions, further enhancing its ability to handle noise at different scales while maintaining computational efficiency.

A Practical Noise Degradation Model

To bridge the gap between laboratory simulations and real-world application, the authors developed a comprehensive training data synthesis pipeline. Rather than relying on simple AWGN, the pipeline utilizes a "double degradation" strategy and a random shuffle mechanism.

The synthesis model incorporates:

  • Diverse Noise Types: Gaussian, Poisson (shot noise), speckle noise, and processed camera sensor noise.
  • Artifact Simulation: JPEG compression and various resizing methods (bilinear and bicubic).
  • Random Shuffling: The order of these degradations is randomized, mimicking the unpredictable processing history of real digital images.
  • Double Degradation: Applying the degradation sequence twice ensures the model learns to handle complex, spatially correlated noise that often results from image signal processing (ISP) pipelines and web compression.

Experimental Results and Evaluation

SCUNet was evaluated against several state-of-the-art denoisers, including DnCNN, DRUNet, and SwinIR, across both synthetic and real-world datasets.

Performance and Efficiency

SCUNet achieved state-of-the-art results on standard benchmarks like Set12, BSD68, and Urban100. Notably, it demonstrated a significant advantage in computational efficiency. For a 256x256 image, SCUNet requires approximately 67.1G FLOPs, a stark contrast to the 787.9G FLOPs required by the pure Transformer-based SwinIR. This makes SCUNet a more viable candidate for practical, time-sensitive applications.

Real-World Denoising

On real-world datasets such as the Darmstadt Noise Dataset (DND) and the Smartphone Image Denoising Dataset (SIDD), SCUNet's practical degradation model proved its worth. The model successfully removed low-frequency noise and recovered sharp edges in scenarios where models trained only on AWGN produced blurry or artifact-laden results. Visual evaluations on the "Barbara" image showed that SCUNet could recover fine, repetitive striped textures that other models typically smoothed over.

Conclusion

SCUNet represents a significant step toward a general-purpose blind denoiser. By combining the complementary strengths of CNNs and Transformers within a UNet framework and training on a realistic degradation pipeline, the model achieves a balance of high performance and practical efficiency. While the data synthesis pipeline remains hand-designed, its success provides a robust foundation for future research into automated degradation modeling and even more resilient restoration techniques.

Summary updated

Abstract

While recent years have witnessed a dramatic upsurge of exploiting deep neural networks toward solving image denoising, existing methods mostly rely on simple noise assumptions, such as additive white Gaussian noise (AWGN), JPEG compression noise and camera sensor noise, and a general-purpose blind denoising method for real images remains unsolved. In this paper, we attempt to solve this problem from the perspective of network architecture design and training data synthesis. Specifically, for the network architecture design, we propose a swin-conv block to incorporate the local modeling ability of residual convolutional layer and non-local modeling ability of swin transformer block, and then plug it as the main building block into the widely-used image-to-image translation UNet architecture. For the training data synthesis, we design a practical noise degradation model which takes into consideration different kinds of noise (including Gaussian, Poisson, speckle, JPEG compression, and processed camera sensor noises) and resizing, and also involves a random shuffle strategy and a double degradation strategy. Extensive experiments on AGWN removal and real image denoising demonstrate that the new network architecture design achieves state-of-the-art performance and the new degradation model can help to significantly improve the practicability. We believe our work can provide useful insights into current denoising research.
BibTeX
@article{zhang2023practical,
  author = {Kai Zhang and Yawei Li and Jingyun Liang and Jiezhang Cao and Yulun Zhang and Hao Tang and Radu Timofte and Luc Van Gool},
  title = {{Practical Blind Denoising via Swin-Conv-UNet and Data Synthesis}},
  journal = {Mach. Intell. Res.},
  year = {2023},
  doi = {10.1007/s11633-023-1466-0},
}
Figure