Random Sub-Samples Generation for Self-Supervised Real Image Denoising

Yizhong Pan, Xiao Liu, Xiangyu Liao, Yuanzhouhan Cao, Chao Ren · DOI

Abstract

Deep learning has revolutionized image denoising, yet its reliance on supervised training with paired noisy-clean images limits its applicability to real-world scenarios where ground truth is unavailable. Self-supervised methods, particularly Blind-Spot Networks (BSN), offer an alternative but often fail on real-world noise due to the assumption of pixel-wise independence. This paper introduces Sampling Difference As Perturbation (SDAP), a framework utilizing Random Sub-samples Generation (RSG) and a cyclic loss function. By treating the inherent differences between random sub-samples as a training perturbation, SDAP effectively handles spatially correlated noise. Experimental results on the SIDD and DND benchmarks demonstrate that SDAP significantly outperforms existing self-supervised methods, narrowing the performance gap with supervised models.

Introduction

The primary bottleneck in deploying deep denoising models is the "data problem." While supervised models achieve high performance, they require massive datasets of noisy images paired with their clean counterparts. In real-world photography, capturing such pairs is technically demanding, often requiring static scenes and long exposures to generate a noise-free reference.

Self-supervised approaches like BSN attempt to learn denoising from noisy images alone. However, BSNs typically assume that noise is independent across pixels. In reality, the Image Signal Processing (ISP) pipeline in modern cameras introduces spatial correlation, where the noise in one pixel is related to its neighbors. Previous solutions, such as Pixel-shuffle Downsampling (PD), attempted to break these correlations by downsampling images into sub-images. However, PD's rigid, deterministic patterns limit data diversity and often lead to overfitting on real-world sensor data.

The SDAP Framework

To address these limitations, we propose the Sampling Difference As Perturbation (SDAP) framework, which reimagines how we generate training data from single noisy images through three core innovations.

Random Sub-samples Generation (RSG)

Unlike the fixed grids used in PD, RSG introduces stochasticity into the downsampling process. The input image is divided into small cells, and pixels within these cells are randomly shuffled before being assigned to sub-images. This randomization ensures that the network encounters a much wider variety of noise distributions and spatial arrangements during training, preventing the model from memorizing specific noise patterns and significantly increasing the effective training volume.

Sampling Difference as Perturbation

A key discovery in our research is that BSN performance improves when a controlled amount of "perturbation" or variation is added during training. We found that the natural variance between two different random sub-samples (generated via RSG) acts as an ideal, intrinsic perturbation. By leveraging this "sampling difference," the model learns to be more robust to the complex, non-linear noise found in real-world sensors without the need for manually tuned artificial Gaussian noise injection.

Cyclic Sampling Difference Loss

To stabilize training and ensure the model learns from the entire pixel distribution, we implement a cyclic loss function. Instead of a simple pairwise comparison, the model processes a sequence of sub-images in a closed loop ($1 \to 2, 2 \to 3, \dots, n \to 1$). This cyclic approach forces the network to maintain consistency across all possible sub-samples of the original noisy image, leading to more generalized denoising capabilities.

Post-Processing: SDAP Enhancement (E)

Randomized sampling can occasionally introduce "checkerboard" artifacts in the final output. To mitigate this, we employ an enhancement step (SDAP-E) during the inference phase. By denoising the image multiple times with different sampling seeds and averaging the results, we smooth out artifacts and produce a more natural, high-quality image.

Experimental Results

We evaluated SDAP on two industry-standard benchmarks: the Smartphone Image Denoising Dataset (SIDD) and the Darmstadt Noise Dataset (DND).

Quantitative Performance

SDAP achieved state-of-the-art (SOTA) results among self-supervised methods. On the SIDD benchmark, SDAP reached a Peak Signal-to-Noise Ratio (PSNR) of 37.55 dB, a significant improvement of over 3 dB compared to the previous leading method, AP-BSN. On the DND benchmark, the model achieved 38.56 dB. These results are particularly noteworthy as they approach the performance of fully supervised models like VDN (39.38 dB), despite SDAP never seeing a clean image during training.

Qualitative Analysis

Visually, SDAP excels at preserving structural edges and fine textures. While competing methods like CBDNet or CVF-SID often produce "blotchy" artifacts or over-smooth the image to the point of losing detail, SDAP maintains a balance between noise reduction and detail preservation, resulting in sharper and more realistic textures.

Discussion and Conclusion

The SDAP framework demonstrates that randomness and sampling variance, often viewed as hurdles in image processing, can be harnessed as powerful signals for self-supervised learning. By moving away from rigid downsampling to the flexible RSG strategy, we effectively address the problem of spatially correlated noise in real-world images.

However, challenges remain. In extremely noisy conditions, the model can still exhibit over-smoothing, occasionally mistaking very fine textures for noise. Future work will focus on refining the distinction between high-frequency image details and correlated noise patterns. Overall, SDAP represents a significant step forward in making high-performance image denoising accessible for real-world applications where clean training data is unavailable.

Summary updated

BibTeX
@inproceedings{pan2023random,
  author = {Yizhong Pan and Xiao Liu and Xiangyu Liao and Yuanzhouhan Cao and Chao Ren},
  title = {{Random Sub-Samples Generation for Self-Supervised Real Image Denoising}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
  doi = {10.1109/iccv51070.2023.01116},
}
Figure