Learning of Patch-Based Smooth-Plus-Sparse Models for Image Reconstruction

Stanislas Ducotterd, Sebastian Neumayer, Michael Unser

TL;DR

This paper introduces a bilevel learning framework for image reconstruction that splits image patches into an unpenalized smooth subspace and a penalized sparse subspace. By combining learned analysis and synthesis dictionaries trained via implicit differentiation, the model guarantees algorithmic convergence, delivers clear interpretability, and outperforms 32-million-parameter deep networks in severely ill-posed inverse problems such as 16-fold compressed-sensing MRI.

What Problem Does This Paper Address?

Standard patch-based image reconstruction models (e.g., K-SVD, EPLL) enforce sparsity on every component of an extracted patch. However, penalizing low-frequency content (like patch means or smooth gradients) often degrades image contrast and introduces artifacts. Conversely, while modern deep denoisers (such as DRUNet) produce sharp images, they act as opaque black boxes, lack provable convergence guarantees, require tens of millions of parameters, and can hallucinate artifacts under extreme subsampling.

The authors set out to bridge this gap: can we design a principled, compact variational model that cleanly decomposes patches into smooth and sparse components, enjoys guaranteed convergence, and matches or exceeds deep learning performance on challenging inverse problems?

Methods

The authors frame image reconstruction as an energy minimization problem that regularizes patches via an infimal convolution of an analysis and a synthesis dictionary:

$$x^* = \arg\min_x \min_{\{\alpha_k\}} \frac{1}{2}\|Hx - y\|^2 + \sum_k \left( \frac{\beta}{2}\|\hat{P}_k x - D\alpha_k\|^2 + \lambda \mathcal{R}(\alpha_k) \right)$$

Key components of the framework include:

  1. Subspace Orthogonality ($\hat{P}_k = (I - QQ^T)P_k$): A learned analysis frame $Q$ spans a $p_2$-dimensional subspace representing smooth/low-frequency patch features that are left unpenalized. The synthesis dictionary $D$ is strictly constrained to the orthogonal complement ($Q^T D = 0$).
  2. Convolutional Reformulation: By adopting circular boundary padding, the authors prove that all patch extraction and synthesis operators act as linear shift-invariant operators. Evaluating the inner updates corresponds to running a 2-layer convolutional network without explicit patch extraction.
  3. Bilevel Learning via Implicit Differentiation:
  4. Inner Problem: Solved using inertial Proximal Alternating Linearized Minimization (iPALM), which has provable convergence.
  5. Outer Problem: Parameters ($D$, $Q$, and regularizer weights) are trained end-to-end using the Deep Equilibrium (DEQ) framework via implicit differentiation (Anderson or Broyden acceleration), avoiding the memory overhead of algorithm unrolling.
  6. Regularizer Variants: The authors explore both a convex patch-based regularizer (CPR, based on group $\ell_1-\ell_2$ mixed norms) and a non-convex variant (NCPR, parameterized via smooth thresholding proximal operators).

Datasets

  • Training: 238,400 image crops ($40 \times 40$) sampled from the BSD500 natural image dataset, corrupted with Gaussian noise ($\sigma \in \{5/255, 25/255\}$).
  • Denoising Benchmark: The standard BSD68 benchmark.
  • Super-Resolution Benchmark: High-resolution synchrotron X-ray tomographic microscopy slices (100 test images of size $600 \times 600$) of diamond microstructures from the TOMCAT beamline (Swiss Light Source).
  • CS-MRI Benchmark: Knee MRI scans from the fastMRI dataset (10 validation, 50 test images), evaluated on Proton-Density (PD) and Proton-Density Fat-Suppressed (PDFS) data under 8-fold and 16-fold Cartesian subsampling.

Key Insights and Ideas

  • Leave the smooth parts alone: Low-frequency patch variations do not conform well to sparse dictionary penalties. Projecting out the subspace spanned by $Q$ frees the sparse dictionary $D$ to focus purely on high-frequency edges and textures.
  • Physical interpretability by construction: Any reconstructed image $x^*$ can be split analytically into a smooth generalized Tikhonov reconstruction and a sparse dictionary-based component, allowing domain experts to inspect where sparse penalties altered the image.
  • Robustness in data-starved regimes: With only ~50,000 parameters (600× fewer than DRUNet's 32M), the model relies on structural priors rather than massive overparameterization. As a result, it degrades gracefully when measurement data is severely depleted.

Key Results

  • Denoising (BSD68): At $\sigma = 25/255$, NCPR achieves 28.68 dB, beating classical patch-based baselines like K-SVD (28.32 dB), Total Variation (27.48 dB), and BM3D (28.60 dB).
  • Super-Resolution (4× downsampling + Gaussian blur): NCPR reaches 28.04 dB / 0.781 SSIM, trailing the 32M-parameter DRUNet (28.37 dB / 0.788 SSIM) by only ~0.3 dB while offering guaranteed algorithmic convergence.
  • Accelerated CS-MRI: In severe subsampling regimes (16-fold acceleration on PDFS data), NCPR achieves 26.16 dB / 0.619 SSIM, outperforming both Prox-DRUNet (25.85 dB / 0.608 SSIM) and unconstrained DRUNet (25.83 dB / 0.610 SSIM) while avoiding hallucination artifacts.

Limitations and Future Work

  • Higher-noise / Mild Subsampling Gap: When measurement data is abundant (e.g., 8-fold MRI or mild denoising), heavily parameterized deep networks still hold an advantage of 1–2 dB over this compact model.
  • Inner-Loop Iteration Cost: While implicit differentiation avoids storing unrolled forward passes in GPU memory, the inner optimization still requires 50–75 solver iterations per training step, requiring ~10 hours on a Tesla V100 GPU for small patch sizes ($13 \times 13$).
  • Fixed Patch Geometries: The method uses single-scale local patches; extending the formulation to multi-scale or non-local convolutional dictionary representations remains an avenue for future exploration.

Summary updated

BibTeX
@inproceedings{ducotterd2025learning,
  author = {Stanislas Ducotterd and Sebastian Neumayer and Michael Unser},
  title = {{Learning of Patch-Based Smooth-Plus-Sparse Models for Image Reconstruction}},
  booktitle = {CPAL (Proceedings Track)},
  year = {2025},
  url = {https://openreview.net/forum?id=xJpLu0Dicu},
}
Figure