[Paper Review] Masked Image Training for Generalizable Deep Image Denoising
This paper proposes masked image training to improve generalization in deep image denoising by training models to reconstruct randomly masked pixels during training, both at the input and in self-attention layers. The method significantly outperforms existing models on diverse noise types—including Poisson, salt-and-pepper, spatially correlated, and mixture noise—despite being trained only on Gaussian noise, demonstrating robust generalization without domain-specific data or fine-tuning.
When capturing and storing images, devices inevitably introduce noise. Reducing this noise is a critical task called image denoising. Deep learning has become the de facto method for image denoising, especially with the emergence of Transformer-based models that have achieved notable state-of-the-art results on various image tasks. However, deep learning-based methods often suffer from a lack of generalization ability. For example, deep models trained on Gaussian noise may perform poorly when tested on other noise distributions. To address this issue, we present a novel approach to enhance the generalization performance of denoising networks, known as masked training. Our method involves masking random pixels of the input image and reconstructing the missing information during training. We also mask out the features in the self-attention layers to avoid the impact of training-testing inconsistency. Our approach exhibits better generalization ability than other deep learning models and is directly applicable to real-world scenarios. Additionally, our interpretability analysis demonstrates the superiority of our method.
Motivation & Objective
- To address the poor generalization of deep learning-based image denoising models when tested on noise distributions different from their training data.
- To overcome the overfitting of denoising networks to specific noise patterns during training, which limits their real-world applicability.
- To improve model robustness by shifting the training objective from noise-specific reconstruction to content-aware image reconstruction.
- To develop a training strategy that enhances generalization without requiring real-world noise data or domain-specific fine-tuning.
Proposed method
- Introduces input masking by randomly removing pixels from the input image during training and training the network to reconstruct the missing regions.
- Applies feature masking within self-attention layers to prevent distribution shift between training and inference, ensuring robustness during testing.
- Uses a dual masking strategy—input mask and attention mask—within Transformer-based architectures to encourage learning of semantic and structural image content.
- Trains the model using a reconstruction loss on masked regions, promoting learning of image priors rather than memorizing noise patterns.
- Applies the same masking strategy during both training and inference, eliminating inconsistency between training and test-time behavior.
- Leverages the inductive bias of Transformers to dynamically complete masked features, improving feature-level robustness to distribution shifts.
Experimental results
Research questions
- RQ1Can masked training improve the generalization of deep denoising models beyond the noise distribution seen during training?
- RQ2Does masking input pixels and features in self-attention layers reduce overfitting to specific noise patterns?
- RQ3How does the proposed method compare to SOTA models when tested on out-of-distribution noise such as Poisson or salt-and-pepper noise?
- RQ4Can a model trained only on Gaussian noise effectively denoise complex, real-world noise mixtures?
- RQ5What is the impact of attention masking on feature-level robustness and generalization in Transformer-based denoisers?
Key findings
- On Poisson noise with α=3.5, the proposed method achieves a PSNR of 24.71, significantly outperforming SwinIR (19.21) and Restormer (21.25).
- For salt-and-pepper noise with d=0.012, the method achieves PSNR=21.75, surpassing the next best model (Dropout at 18.35) by over 3.4 dB.
- On spatially correlated Gaussian noise (σ=55), the method achieves PSNR=26.40, outperforming the baseline (25.74) and SwinIR (25.43).
- In mixture noise level 4, the method achieves PSNR=25.97, substantially exceeding SwinIR (21.19) and DnCNN (21.64).
- The model maintains high SSIM (0.8749) and low LPIPS (0.0995) on Urban100, indicating strong perceptual quality and fidelity.
- Interpretability analysis confirms that the model learns more robust and generalizable features compared to standard denoisers.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.