Paper commentary
Beyond a Gaussian Denoiser: Residual Learning of Deep CNN for Image Denoising
DnCNN learns residual noise so one network denoises images at unknown noise levels
- Problem Earlier learned denoisers were each trained for one noise level, so a new noise level meant a new model. Unknown noise levels were hard to handle with a single model.
- Method DnCNN is a deep CNN that predicts the noise residual and subtracts it from the noisy input. Unlike direct clean-image prediction, it uses residual learning with batch normalization to train faster.
- Results DnCNN-S scored 29.23 dB on BSD68 at σ = 25, compared to 28.92 dB for TNRD.
Why earlier learned denoisers stalled
Denoising means recovering a clean image from a noisy one, and the usual working model adds white Gaussian noise with some standard deviation. Classical methods fit an image prior, such as non-local self-similarity, sparsity or gradient smoothness, and then solve an optimization problem. That test-time optimization is slow, and the models are non-convex with several hand-set parameters, so quality gains often cost speed.
Discriminative methods such as CSF and TNRD dropped the iterative solver by learning a fixed, truncated inference procedure. Their priors come from an analysis model that captures image structure only partly, and their training is staged and needs many hand-set choices. In practice the most limiting point is that each was trained for one noise level, so a new noise level meant a new model.
Plain neural networks had been tried as well, and MLP was likewise trained for one noise level. The authors note that no one had yet developed a CNN for general image denoising, which is the gap this work targets.
Predicting the residual instead of the clean image
The key idea is to have the network estimate the noise and subtract that estimate from the input, instead of estimating the clean image directly. The authors expected this to work because the noisy input already looks much like the clean image, so the direct mapping is close to an identity map, which is harder to learn. Unlike the residual network the authors cite as [22], which stacks many shortcut units, DnCNN uses a single residual unit that predicts the whole residual image.
Training minimizes the averaged squared error between the predicted residual and the true residual over noisy-clean patch pairs. Because the network never outputs the clean image, the clean estimate at run time is the input minus the predicted residual. The authors link this target to faster and more stable training once batch normalization is added.
The authors also connect this form to one-stage TNRD, which they write as a two-layer feed-forward CNN. DnCNN is then presented as a generalization of that form, with ReLU in place of the influence function, more depth and batch normalization.
Choosing depth from the receptive field
All convolutions are 3×3 and there are no pooling layers, so depth alone sets the receptive field. A depth d gives a receptive field of (2d+1)×(2d+1), so depth is a direct knob for how much context each output sees. Higher noise levels need larger context, so the authors compared DnCNN against the effective patch sizes of leading denoisers at σ = 25.
The effective patch is 49×49 for BM3D, 361×361 for WNNM, 47×47 for MLP and 61×61 for both CSF and TNRD. EPLL had the smallest effective patch at 36×36, so the authors asked whether a DnCNN with a similar receptive field could still compete.
For Gaussian denoising at a known level, the receptive field was set to 35×35, which corresponds to depth 17. For the other tasks the authors chose a larger receptive field, with depth 20.
Layers, padding and training setup
The first layer applies 64 filters of size 3×3×c followed by ReLU, where c is 1 for gray and 3 for color images. Each middle layer applies 64 filters of size 3×3×64, then batch normalization, then ReLU. The last layer uses c filters of size 3×3×64 to produce the residual output.
Zero padding before each convolution keeps every middle feature map at the input size, which differs from the symmetric padding in MLP and the per-stage padding in CSF and TNRD. The authors found no boundary artifacts from this simple padding, and they attribute that to the capacity of the network.
For DnCNN-S, the authors used 400 images of size 180×180 and cropped 128×1,600 patches of size 40×40. For the blind DnCNN-B, noise levels ran from 0 to 55, with 50×50 patches and 128×3,000 patches cropped in total. Training used SGD with weight decay 0.0001, momentum 0.9, a mini-batch size of 128 and 50 epochs, with the learning rate decayed exponentially from 1e−1 to 1e−4.
Weights were initialized with the method of reference [27].
Why residual learning and batch normalization need each other
The authors trained four variants at σ = 25, with and without residual learning and batch normalization, under SGD and under Adam, and tracked PSNR over epochs on 68 BSD images. Residual learning with plain SGD and no batch normalization could not reach TNRD's 28.92 dB. The authors attribute this shortfall to internal covariate shift, the drift of layer input distributions during training.
With batch normalization, learning the residual converges faster and reaches better PSNR than learning the original mapping. Both SGD and Adam reached their best results only when residual learning and batch normalization were combined, so the combination matters more than the optimizer.
Each component helps the other: residual learning without batch normalization converges quickly but stays below the combined model. Batch normalization without residual learning even slows convergence, according to the training curves. The authors explain that residual inputs are more Gaussian-like, less correlated and less tied to image content, which eases normalization.
This comparison uses one noise level and 68 BSD images, so it shows the training trend rather than a full benchmark result.
Gaussian denoising results
At σ = 25, DnCNN-S scored 29.23 dB on BSD68, compared to 28.92 dB for TNRD and 28.57 dB for BM3D. At σ = 15 and σ = 50 it scored 31.73 dB and 26.23 dB, compared to 31.42 dB and 25.97 dB for TNRD. The authors state the gain over BM3D is about 0.6 dB at every noise level. DnCNN-B, which needs no noise level, scored 31.61, 29.16 and 26.23 dB, still above TNRD at each level.
On the 12 widely used test images at σ = 25, the average is 30.436 dB for DnCNN-S and 29.969 dB for BM3D. At σ = 50 the average is 27.178 for DnCNN-S, compared to 27.052 for WNNM. DnCNN-S is highest on most images, but not on House and Barbara, which the authors tie to their repetitive structures. The authors link this to non-local methods doing better on regular, repetitive textures and discriminative methods doing better on irregular ones.
Visually, BM3D, WNNM, EPLL and MLP tend to give over-smooth edges and textures, while TNRD keeps edges but can add artifacts in smooth areas. DnCNN-S and DnCNN-B keep sharp edges and fine details and stay smooth in flat regions, as the authors observe.
For color, CDnCNN-B was trained on the remaining 432 color BSD images and tested on the color BSD68. Compared with CBM3D, CDnCNN-B produced fewer false color artifacts and more natural color in the visual comparisons. Figure 8 in the paper plots the PSNR gain over BM3D and CBM3D across noise levels, and the authors read it as one blind model working over a wide noise range.
One model for three general tasks
DnCNN-3 starts from DnCNN-B's parameters and trains on 91 images from [36] together with 200 Berkeley training images. Its inputs cover Gaussian noise at levels 0 to 55, bicubic down-then-up sampling at factors 2, 3 and 4, and JPEG compression at quality factors 5 to 99. The patches are 50×50, and 128×8,000 pairs were generated in total.
At σ = 25 on BSD68, DnCNN-3 scored 29.02 dB, compared to 28.92 dB for TNRD and 28.57 dB for BM3D. At σ = 50 it scored 26.10 dB, compared to 25.97 dB for TNRD.
On Set5 at ×2, DnCNN-3 reached 37.58 dB, compared to 37.56 dB for VDSR and 36.86 dB for TNRD. TNRD was trained for each upscaling factor, while VDSR and DnCNN-3 each use one model for all three factors. The authors describe DnCNN-3 as surpassing TNRD by a large margin and as on par with VDSR, which matches these numbers. Visually, VDSR and DnCNN-3 keep sharp edges and fine details, while TNRD blurs edges.
On Classic5 at quality factor 10, DnCNN-3 scored 29.40 dB, compared to 29.03 dB for AR-CNN and 29.28 dB for TNRD. The authors report about 0.3 dB over AR-CNN and about 0.1 dB over TNRD across quality factors. TNRD has no entry at quality factor 40 in Table V, so its comparison covers factors 10, 20 and 30 only.
Run time on CPU and GPU
At 512×512 on CPU, DnCNN-B took 4.11 s and DnCNN-S took 3.41 s, compared to 5.51 s for MLP and 5.67 s for CSF. BM3D (2.85 s) and TNRD (1.33 s) were faster on CPU, which the authors accept given the quality gain.
On GPU, DnCNN-B took 0.060 s for a 512×512 image at unknown noise level, which the authors present as the main speed advantage. The same row lists TNRD at 0.032 s, but those GPU numbers were copied from the original papers and measured on other hardware and libraries. So the claimed GPU advantage over TNRD can't be checked against these numbers.
Training took about six hours for DnCNN-S, one day for DnCNN-B and CDnCNN-B, and three days for DnCNN-3 on an Nvidia Titan X. Timing used the cuDNN-v5 library, and CPU-GPU memory transfers were not counted.
Limitations
The single-model experiments use only BSD68 and the 12 images for Gaussian denoising, Set5, Set14, BSD100 and Urban100 for super-resolution, and Classic5 and LIVE1 for JPEG. The zero-gradient condition behind the residual view is assumed, not checked, for noise that is not Gaussian, including super-resolution and JPEG noise.
DnCNN-S doesn't reach the best PSNR on House and Barbara, which the authors tie to repetitive structures. DnCNN-3 training took about three days on GPU, the longest training time the paper lists. The residual and batch normalization comparison covers one noise level and 68 images, so its curves are not a full benchmark. The GPU timing comparison with TNRD and CSF uses numbers copied from other papers, so it doesn't settle speed.
Paper info
- Authors
- Zhang, Kai, Zuo, Wangmeng, Chen, Yunjin, Meng, Deyu, Zhang, Lei
- Venue
- arXiv · Preprint
- First published
- 2016-8-13
- Added
- 2026-11-11
- Updated
- 2016-8-13
- Version
- v1
- arXiv
- 1608.03981
- DOI
- 10.1109/tip.2017.2662206
- Category
- cs.CV
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Zhang, Kai, Zuo, Wangmeng, Chen, Yunjin, Meng, Deyu, Zhang, Lei (2016). Beyond a Gaussian Denoiser: Residual Learning of Deep CNN for Image Denoising. arXiv:1608.03981v1. https://doi.org/10.1109/tip.2017.2662206
BibTeX
@article{kai2016beyond,
title = {{Beyond a Gaussian Denoiser: Residual Learning of Deep CNN for Image Denoising}},
author = {Zhang, Kai and Zuo, Wangmeng and Chen, Yunjin and Meng, Deyu and Zhang, Lei},
year = {2016},
eprint = {1608.03981},
archivePrefix = {arXiv},
doi = {10.1109/tip.2017.2662206},
url = {https://arxiv.org/abs/1608.03981v1}
}