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

Kai Zhang, Yawei Li, Jingyun Liang, Jiezhang Cao, Yulun Zhang, Hao Tang, Deng-Ping Fan, Radu Timofte, Luc Van Gool · DOI

TL;DR

The authors introduce SCUNet (Swin-Conv-UNet), a hybrid architecture that blends the local feature extraction of CNNs with the long-range modeling of Swin Transformers. When paired with a sophisticated new "double-degradation" data synthesis pipeline, SCUNet achieves state-of-the-art results in both synthetic Gaussian denoising and practical, real-world "blind" denoising.

What Problem Does This Paper Address?

Image denoising is the bread and butter of computer vision, yet a massive gap remains between academic benchmarks and real-world performance. Most research focuses on Additive White Gaussian Noise (AWGN) because it's mathematically convenient. However, real-world noise is a messy cocktail of sensor artifacts, photon shot noise (Poisson), JPEG compression, and the effects of camera image signal processing (ISP) pipelines.

Furthermore, images are often resized, which spatially correlates noise in ways simple models can't handle. Existing "blind" denoisers—which don't know the noise level beforehand—often fail when faced with these complex, "in-the-wild" degradations. The authors tackle this by redesigning both the network architecture and the way we generate training data.

Methods

The paper introduces two major innovations:

1. The SCUNet Architecture

The authors propose the Swin-Conv (SC) block, which they plug into a standard multiscale UNet backbone.

  • Hybrid Modeling: In each SC block, the input feature map is split in two. One half goes through a Swin Transformer (SwinT) block to capture non-local, repetitive patterns. The other half goes through a Residual Convolutional (RConv) block to handle local textures and edges.
  • Efficiency: By using a UNet structure with downsampling, SCUNet maintains a much lower computational cost (FLOPs) compared to pure transformer models like SwinIR, which operate at full resolution.
Figure 1. The architecture of the proposed Swin-Conv-UNet (SCUNet) denoising network. SCUNet exploits the swin-conv (SC) block as the main building block of a UNet backbone. In each SC block, the input is first passed through a 1×1 convolution, and subsequently is split evenly into two feature map groups, each of which is then fed into a swin transformer (SwinT) block and residual 3×3 convolutional (RConv) block, respectively; after that, the outputs of SwinT block and RConv block are concatenated and then passed through a 1×1 convolution to produce the residual of the input. “SConv” and “TConv” denote 2×2 strided convolution with stride 2 and 2×2 transposed convolution with stride 2, respectively.

2. A Practical Noise Synthesis Pipeline

To train a model that works on real photos, you need realistic training data. The authors designed a pipeline that includes:

  • Diverse Noise Types: Gaussian, Poisson, speckle, JPEG compression, and processed camera sensor noise.
  • Resizing: Crucially, they apply bilinear and bicubic resizing, which mimics how images are handled in the real world.
  • Random Shuffle & Double Degradation: Instead of a fixed order, they randomly shuffle the degradations and apply the entire sequence twice. This "double degradation" strategy significantly expands the variety of noise patterns the model learns to handle.
Figure 2. Schematic illustration of the proposed paired training patches synthesis pipeline. For a high quality image, a randomly shuffled degradation sequence is performed to produce a noisy image. Meanwhile, the resizing and reverse-forward tone mapping are performed to produce a corresponding clean image. Paired noisy/clean training patches are then cropped for training deep blind denoising model. Note that, since Poisson noise is signal-dependent, the dashed arrow for “Poisson” means the clean image is used to generate the Poisson noise. To tackle the color shift issue, the dashed arrow for “Camera Sensor” means the reverse-forward tone mapping is performed on the clean image.

Datasets

  • Training: High-quality images from the Waterloo Exploration Database, DIV2K, and Flick2K.
  • Synthetic Evaluation: Standard benchmarks including Set12, BSD68, and Urban100 for grayscale and color Gaussian denoising.
  • Real-World Evaluation: The RNI15 dataset and various "in-the-wild" images from the internet to test blind denoising performance.

Key Insights and Ideas

  • Local + Non-Local is the Winning Combo: CNNs are great at edges, but Transformers excel at repetitive structures (like the stripes on a building). Combining them in a single block allows the network to choose the best tool for each part of the image.
  • Resizing Changes Everything: The authors highlight that resizing is a "hidden" degradation. Upscaling makes noise spatially correlated, while downscaling makes it less signal-dependent. Modeling this is vital for practical success.
  • The Power of Shuffling: By shuffling the degradation order, the model doesn't learn a specific "recipe" for noise. Instead, it learns to be robust to a wide range of unpredictable artifacts.

Key Results

SCUNet sets new state-of-the-art (SOTA) records across multiple categories:

  • Gaussian Denoising: On the Urban100 dataset (noise level 50), SCUNet achieved a PSNR of 28.56dB, significantly outperforming previous leaders like SwinIR (27.98dB) and Restormer (28.29dB).
  • Visual Quality: As seen in Figure 4, SCUNet is remarkably better at recovering fine, repetitive textures (like the mesh on the "Barbara" image) that other models either blur or distort.
  • Real-World Performance: In blind denoising tests on real photos, SCUNet successfully removed low-frequency sensor noise and JPEG artifacts that specialized models like CBDNet failed to touch.
Visual comparison on the 'Barbara' image. SCUNet (bottom right) recovers the repetitive texture much more clearly than competitors.

Limitations and Future Work

  • IQA Mismatch: The authors noted that standard no-reference Image Quality Assessment (IQA) metrics like NIQE don't always align with human perception for these complex real-world results. Developing better metrics for blind restoration is an open challenge.
  • Efficiency: While SCUNet has lower FLOPs than pure transformers, its runtime could still be improved through more optimized implementations of the hybrid blocks.
  • Generalization: While the synthesis pipeline is powerful, there is always room to incorporate even more complex ISP effects to close the "sim-to-real" gap further.

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 Deng-Ping Fan and Radu Timofte and Luc Van Gool},
  title = {{Practical Blind Image Denoising via Swin-Conv-UNet and Data Synthesis}},
  journal = {Mach. Intell. Res.},
  year = {2023},
  doi = {10.1007/s11633-023-1466-0},
}
Figure