Paper commentary
Learning Deep CNN Denoiser Prior for Image Restoration
Learned CNN denoisers can replace priors in model-based image restoration
- Problem Model-based optimization handles many inverse problems but is slow with sophisticated priors. Discriminative networks run fast but are usually confined to one task.
- Method The authors split the energy with half quadratic splitting so a learned CNN denoiser replaces the prior. They train 25 dilated denoisers for gray images and 25 for color images.
- Results The proposed denoiser reached 29.15 dB average PSNR on gray BSD68 at noise level 25, against 28.96 dB for MLP.
Why neither family is enough
Image restoration is an ill-posed inverse problem, so a prior has to constrain the solution, and the observation y is modeled as a degraded version of the latent clean image x. Two routes solve this energy. Model-based optimization is flexible because the degradation matrix H can be changed freely, but it runs an iterative inference that can be slow when the prior is sophisticated.
Discriminative learning produces a compact, fast inference, but it learns from training pairs generated with particular degradations, so it is usually confined to one task.
The split is also visible within a single task. A model-based denoiser such as BM3D or WNNM handles any noise level, while a discriminative method trains a separate network for each level. The two routes therefore complement each other, and combining them is attractive because the fast discriminative side can supply the parts that the flexible side lacks.
Variable splitting makes such a combination possible, because the regularization term then reduces to a denoising subproblem, so any discriminative denoiser can in principle enter the optimization. The authors note that the study of integrating a fast discriminative denoiser into model-based optimization is still lacking, and this gap is what the work addresses.
How a denoiser replaces the regularizer
The energy in Eqn. (2) has a fidelity term and a regularization term Φ(x) weighted by λ. Half quadratic splitting introduces an auxiliary variable z and enforces z = x, which yields an augmented cost with a penalty parameter μ that is increased over the iterations. Minimizing that cost alternates between two subproblems: one updates x using the fidelity term, and the other updates z using the regularizer.
The x-subproblem is a regularized least-squares problem with a closed-form solution, which the authors write as follows. \[ x^{k+1} = (H^T H + \mu I)^{-1}(H^T y + \mu z^{k}) \] Because H enters only through this linear system, the solution can be computed quickly for different degradation matrices.
The z-subproblem has the form of a Gaussian denoising problem applied to x^{k+1} with noise level equal to the square root of λ/μ. The regularizer is therefore replaced by a denoising step. \[ z^{k+1} = \text{Denoiser}(x^{k+1}, \sqrt{\lambda/\mu}) \] Since the prior enters only through this denoising step, the explicit form of Φ(·) need not be known, and any gray or color denoiser can take its place.
The same reasoning means several denoisers that capture different image priors can be applied in one solver, and the idea carries over to other optimizers such as ISTA and FISTA whenever a denoising subproblem appears.
Why a CNN denoiser and how it is built
Earlier denoiser priors used in this framework each have drawbacks. Total variation can create watercolor-like artifacts, K-SVD is computationally heavy, and non-local means and BM3D can over-smooth irregular structures without self-similarity. For color images, the authors note that CBM3D decorrelates the channels with a hand-designed transform and that the resulting channels still correlate, so a learned color prior that handles RGB jointly is preferred.
The authors list four reasons for choosing a CNN: inference is efficient on a GPU, deep architectures model priors strongly, the external prior learned by a CNN complements the internal prior of BM3D, and CNN training has advanced quickly.
The denoiser has seven layers. The first layer is a dilated convolution with ReLU, the five middle layers each combine a dilated convolution, batch normalization and ReLU, and the last layer is a dilated convolution alone.
Enlarging the receptive field with plain 3×3 filters would require either larger filters, which add parameters and computation, or more depth. A dilated filter with dilation factor s is a sparse filter of size (2s+1)×(2s+1) in which only 9 entries are nonzero. The per-layer receptive fields are 3, 5, 7, 9, 7, 5 and 3, which together give 33×33 for the whole network.
A plain 3×3 network of the same depth would reach 15×15, and matching 33×33 would need a depth of 16. Trained at noise level 25 under the same settings, the designed model reached an average PSNR of 29.15 dB on BSD68, against 28.94 dB for the 7-layer plain 3×3 network and 29.20 dB for the 16-layer one.
Batch normalization and residual learning are combined in the design, since the authors consider the pairing especially helpful for Gaussian denoising. It is said to speed up and stabilize training and to improve denoising, and the authors also found that it allows a model to be transferred quickly to another noise level.
Zero padding is used at the boundaries, because the network should learn boundary behavior itself. The dilation factor 4 layer pads 4 zeros on each side of a feature map. Training with small patches exposes the network to more boundary information, and the authors report that large patches gave no further gain. They also observed that a training patch smaller than the receptive field degrades performance.
Training a set of denoisers
Training data combine 400 BSD images, 400 selected ImageNet validation images and 4,744 images from the Waterloo Exploration Database. The authors found the larger collection does not improve BSD68 results but slightly helps other test images. Training patches are 35×35 and N=256×4,000 patches are sampled. Noisy patches are created by adding Gaussian noise to clean patches.
The loss is the average squared error between the network output f(y_i; Θ) and the residual y_i − x_i over N noisy-clean patch pairs, which follows from residual learning.
Models were trained in MatConvNet on a Titan X GPU, and each adjacent denoiser is initialized from a previously trained one to shorten training. Training the full set takes about three days.
Rather than one model per degradation, the authors train denoisers over the noise range [0, 50] with a step of 2, giving 25 denoisers each for gray and for color priors. The authors argue that a denoiser inside the iterative solver need not recover the clean image exactly, so the range [0, 50] suffices for the restoration tasks, and the required set is much smaller than one model per degradation.
Gaussian denoising on BSD68
On gray BSD68, the proposed denoiser reached 31.63 at noise level 15, 29.15 at noise level 25 and 26.19 at noise level 50, while BM3D scored 31.07, 28.57 and 25.62 at the same levels. At noise level 25 the strongest baseline in the table is MLP at 28.96, so the proposed denoiser sits about 0.2 dB above the discriminative and model-based baselines in that comparison.
For color BSD68, the proposed denoiser is compared with CBM3D at noise levels 5, 15, 25, 35 and 50. It reached 40.36, 33.86, 31.16, 29.50 and 27.86, against CBM3D's 40.24, 33.52, 30.71, 28.89 and 27.38. The authors attribute the larger color gain to the color prior that the CNN learns jointly over channels.
Run time was measured against BM3D and TNRD on images of 256×256, 512×512 and 1024×1024 at noise level 25. The 24-feature version, which the authors compare with TNRD at similar PSNR, reached 28.94 dB.
The authors attribute the speed-accuracy balance to three design points: 3×3 convolutions with ReLU are simple, the layers form a fluent information flow rather than the stage-wise structure of TNRD, and batch normalization helps Gaussian denoising.
Deblurring inside the HQS solver
Blurry images are generated with a blur kernel and additive Gaussian noise under circular boundary conditions, so the fidelity subproblem can be solved efficiently with the Fast Fourier Transform. Three kernels are used: a Gaussian kernel with standard deviation 1.6 and the first two of eight real kernels from [38]. The baselines are MLP, IDDBM3D, NCSR and EPLL, and color images are handled by plugging the color denoisers into HQS, whereas IDDBM3D and MLP act on each color channel.
The solver's parameters are set through the denoiser noise level. The noise level √(λ/μ) starts at 49 and decays exponentially to a value between 1 and 15, depending on the noise level, and the number of iterations is 30. Because λ is tied to σ² and fixed, the varying denoiser noise level controls μ implicitly, so no separate schedule for μ is set.
With the Gaussian kernel of standard deviation 1.6 and noise level 2, the proposed method reached 29.78 dB on Leaves, against 26.95 for IDDBM3D, 27.50 for NCSR and 28.91 for MLP. On Cameraman in the same block the proposed method scored 28.12, against 27.08 for IDDBM3D and 27.84 for MLP. The authors observe that IDDBM3D, NCSR and MLP tend to smooth edges and create color artifacts, whereas the proposed method keeps sharpness.
For Kernel 1 at noise level 2.55, the proposed method reached 32.07 on Cameraman, against 29.43 for EPLL, and at noise level 7.65 it reached 28.11 against 25.33 for EPLL. For Kernel 2 at noise level 2.55 the proposed method reached 31.69 on Cameraman against 29.67 for EPLL, and at noise level 7.65 it reached 27.70 against 24.85 for EPLL. These kernel blocks compare the proposed method only with EPLL.
Super-resolution with varied blur kernels
Each main iteration runs the back-projection update below five times before the denoising step, with step size α fixed to 1.75 and the denoiser noise level decaying exponentially from 12×sf to sf over 30 main iterations. \[ x^{k+1} = x^{k} - \alpha\,(y - x^{k}\downarrow_{s_f})\uparrow_{s_f}^{\text{bicubic}} \] Compared with the bicubic-only back-projection in the method of [24], this update is extended to arbitrary blur kernels.
Baselines are SRCNN, VDSR, SPMSR, NCSR and SRBM3D. Because the SRBM3D source code is unavailable, the authors also build SRBM3DG and SRBM3DC by replacing the denoiser with BM3D or CBM3D. SRCNN and VDSR are trained only with a bicubic kernel, so the authors present their results on Gaussian-blurred inputs as a demonstration of their limits rather than as a fair comparison.
On Set5 with bicubic ×2 on Y, VDSR reached 37.56 and the proposed Gaussian-prior variant reached 37.43, so VDSR is higher in that case, while the proposed variant exceeds SRCNN at 36.65. On Set5 with Gaussian ×3 on Y, NCSR reached 33.02, ProposedG 33.38 and ProposedC 33.17, while SRCNN and VDSR reached 30.42 and 30.54. On Set14 with Gaussian ×3 on Y, NCSR reached 29.26, ProposedG 29.63 and ProposedC 29.55.
The authors note that the proposed methods beat SRBM3DC and SRBM3DG on these comparisons, which they read as evidence that a good denoiser prior helps super-resolution. For speed, the authors report 0.5 second on GPU and 12 seconds on CPU for the Butterfly image, while NCSR took 198 seconds on CPU.
Limitations
The SRCNN and VDSR comparisons are unfair by design, since those models were trained for bicubic degradation. The SRBM3D code was unavailable, so its results are replaced by SRBM3DG and SRBM3DC. The run-time measurements exclude memory transfer between CPU and GPU, and the authors used a 24-feature version for the TNRD comparison.
Experiments cover Gaussian denoising, deblurring and super-resolution. Inpainting and blind deblurring were not tested and are listed as future extensions. The authors also list reducing the number of denoisers and the number of iterations as open problems. The authors fix 30 iterations for deblurring and find that large enough, but the iteration count was not varied in the tables.
Paper info
- Authors
- Zhang, Kai, Zuo, Wangmeng, Gu, Shuhang, Zhang, Lei
- Venue
- arXiv · Preprint
- First published
- 2017-4-11
- Added
- 2026-11-12
- Updated
- 2017-4-11
- Version
- v1
- arXiv
- 1704.03264
- 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, Gu, Shuhang, Zhang, Lei (2017). Learning Deep CNN Denoiser Prior for Image Restoration. arXiv:1704.03264v1. https://arxiv.org/abs/1704.03264v1
BibTeX
@misc{kai2017learning,
title = {{Learning Deep CNN Denoiser Prior for Image Restoration}},
author = {Zhang, Kai and Zuo, Wangmeng and Gu, Shuhang and Zhang, Lei},
year = {2017},
eprint = {1704.03264},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1704.03264v1}
}