Techniquecore
Variational regularization
Also called energy minimization reconstruction.
Reconstruct by minimizing a data fidelity term plus a weighted regularization functional that encodes prior knowledge about the image.
Variational regularization reconstructs the unknown of an inverse problem as a minimizer of an energy . The data fidelity term measures the misfit to the data, the regularizer is small for the images that the model expects, and the weight sets the balance. Tikhonov regularization is the case of two quadratic terms; total variation, sparsity and total generalized variation are the main nonquadratic cases. For convex, lower semicontinuous and coercive the minimizer exists, depends stably on the data and converges to an -minimizing solution when the noise and go to 0 at matched speeds, so the technique is a regularization method in the sense of the area.
In plain words
A measurement of an image is never perfect, and many different images explain it equally well. Some of these images are full of noise and wild patterns. To pick a good one, write down a score with two parts. The first part says how badly a candidate image explains the measurement. The second part says how strange the candidate looks, for example how many edges it has or how rough it is. Add the two parts, with a weight on the second, and search for the image with the lowest total score. The choice of the second part is where the knowledge about the images goes. The weight decides how much to trust the measurement against that knowledge.
When it applies
Setting. and are Hilbert spaces, is a bounded linear operator, and the data are with and (deterministic noise). The discrete setting is , with an matrix . For Gaussian noise the energy is
which is the form of the variational pages of this area. Other noise laws change only the first term (see data fidelity term). The pages on the regularization of inverse problems, such as Tikhonov regularization, write for the same weight.
Use the technique when the problem is ill-posed and the prior knowledge is a statement about structure, not only about size: edges, sparsity in a basis or frame, piecewise smooth regions, nonnegativity. It also applies when no closed form exists, because the energy is minimized by a numerical solver.
Hypotheses (H). is convex, lower semicontinuous and proper, and for every the set is bounded. The last condition is the coercivity condition. It holds for with any , for in , and for total variation on with when does not map constants to 0 (Acar and Vogel 1994).
Theorem (existence, stability, convergence). Under (H):
- For every and , has a minimizer . It is unique if is injective or is strictly convex.
- If in , then every sequence of minimizers for the data has a subsequence that converges weakly to a minimizer for .
- Let and choose with . Then every sequence with has a subsequence that converges weakly to an -minimizing solution, that is a minimizer of over , and along it. If the -minimizing solution is unique, the whole family converges weakly to it.
Proof. A bounded sequence in a Hilbert space has a weakly convergent subsequence, and a convex lower semicontinuous function is weakly lower semicontinuous; is convex and continuous, so it is weakly lower semicontinuous too.
(1) If , then and , so the sublevel sets of are bounded by (H). Take a minimizing sequence; a subsequence converges weakly to some , and . If is injective the data term is strictly convex, and a strictly convex function has at most one minimizer.
(2) Let be the energy with data . For a fixed with , , which is bounded in ; so is bounded, and a subsequence converges weakly to some . Since , weak lower semicontinuity gives for every .
(3) Let be an -minimizing solution; it exists by the argument of (1) applied to on the closed affine set . Write and for the iterates and weights. Comparing with , whose residual is at most ,
So , which is bounded, and . By (H) the sequence is bounded; a subsequence converges weakly to some with , and . So is -minimizing and . If is unique, every subsequence has a further subsequence with the limit , so the whole family converges.
The theorem gives convergence without a rate. A rate needs a source condition, and for convex the natural measure of the error is the Bregman distance: under and the Bregman distance is (convergence rates in Bregman distance). Nonconvex and Banach space versions with the weak topology replaced by a suitable one are in Scherzer et al. (2009), Chapter 3.
The template
VARIATIONAL(A, y, data about the noise)- 1
choose the data term D from the noise law ▷ hole: least squares, Kullback-Leibler, l1 - 2
choose the regularizer R from the prior knowledge ▷ hole: Tikhonov, TV, TGV, l1 of a transform - 3
choose a first λ ▷ hole: the starting weight - 4
repeat - 5
x_λ ← argmin_x D(Ax, y) + λ R(x) ▷ hole: the solver - 6
evaluate the parameter rule at λ ▷ hole: discrepancy, GCV, L-curve, learned - 7
if the rule is satisfied then return x_λ - 8
update λ ▷ hole: the search over λ
The holes are the model (L1, L2), the solver (L5) and the parameter choice (L3, L6, L8). For a quadratic model the solver is a linear system. For a convex nonsmooth model it is a first order method that uses and and the proximal operator of each term: the proximal gradient method or FISTA when has a cheap proximal operator, and the Chambolle-Pock algorithm, split Bregman or ADMM when acts on a linear transform of . The cost of the solver is counted per iteration, as one product with , one with and the proximal steps, and the iteration count depends on the accuracy, not on the data size alone.
Classic examples
Tikhonov. gives the normal equations , which is the Tikhonov solution of EHN with . With for a difference operator it is Phillips' smoothing. The minimizer is linear in the data, and edges are smeared.
Total variation against a smoothness penalty. Denoise with and , with the forward difference matrix ().
| regularizer | minimizer | jump at the edge |
|---|---|---|
| 1.2857 | ||
| (total variation) | 2 |
The quadratic penalty solves and spreads the step over all four samples. Total variation keeps the flat parts flat and keeps a sharp edge, but lowers the jump from 3 to 2: each side moves toward the other by divided by its length 2. This is the contrast loss of total variation, which Bregman iteration removes. Rudin, Osher and Fatemi (1992) introduced the total variation model; total variation denoising has its theory and solver.
Sparsity. with gives soft thresholding: for and the minimizer is . The quadratic penalty gives : every entry shrinks and none becomes zero. With a forward operator, for a wavelet transform is the basis of compressed sensing and of compressed sensing MRI; the two ways to put a transform into are compared on analysis and synthesis sparsity.
Poisson data. For photon counts, with total variation and is the standard model in emission tomography and fluorescence microscopy. The energy is convex, but the data term has no Lipschitz gradient near zero, so the solvers use its proximal operator.
Statistical reading. With noise and a prior density proportional to , the maximum a posteriori estimate minimizes , which is with . For the Gaussian prior , and , so the weight of EHN Tikhonov is . The MAP reading is a correspondence of minimizers. It does not make total variation a good model of the prior distribution of images.
Variations
- Constrained forms. Morozov: minimize subject to . Ivanov: minimize subject to . For convex each is equivalent to the penalized form for some , which the constrained form chooses implicitly. The first is the discrepancy principle built into the problem.
- Nonlinear forward maps. with a nonlinear . Existence and convergence hold when is weakly sequentially closed; the energy is not convex, so solvers find stationary points (Scherzer et al. 2009, Chapter 3).
- Several terms. , for example total variation plus a nonnegativity constraint, or an infimal convolution of first and second order terms. Total generalized variation is a balanced form of the latter.
- Iterative refinement. Bregman iteration solves the problem again with the residual added back, and replaces the choice of by a stop index.
- Learned regularizers. is a network or has learned weights, chosen by bilevel learning, or the proximal step of is replaced by a denoiser in plug-and-play priors. The theorem above then holds only if the learned meets its hypotheses.
Pitfalls
- Coercivity fails. If and share a direction with no cost, a minimizer need not exist or be unique. For total variation, constants cost nothing, so must see the mean of ; for blind inpainting or a sampling mask that misses a region, the solution in that region is decided by alone.
- The weight depends on the scaling. has the units of the data term over those of . Doubling the image intensity doubles but quadruples the squared residual, so a weight tuned on one intensity range does not transfer. Values of in papers are design choices tuned for a data set, not constants of the method.
- Contrast loss and bias. Every penalty with pulls the solution toward its zero set: total variation lowers jumps, shrinks large coefficients. Debiasing or Bregman iteration corrects this.
- Staircasing. Total variation turns smooth ramps in noisy data into piecewise constant steps. Total generalized variation avoids it.
- Parameter rules. The L-curve and GCV are heuristics; only rules that use the noise level give a convergent method in the worst case (Bakushinskii veto).
- Discretization. The anisotropic discrete total variation favors edges along the axes. The isotropic form with the Euclidean length per pixel is closer to the continuous model.
Exercises
- Show that for the minimizer is , and compute its spectral filter factors.
- Verify the two rows of the table for . For the total variation row, check the optimality condition with the dual vector .
- Show that the convergence part of the theorem fails if : construct a diagonal operator with , and noise along one singular vector such that does not go to 0.
- Prove that for convex the constrained problem subject to has a solution that also minimizes for some , if for every minimizer of .
- For in and , write the minimizer of and of the Kullback-Leibler version for , and compare how each shrinks.
References
- Otmar Scherzer, Markus Grasmair, Harald Grossauer, Markus Haltmeier and Frank Lenzen, Variational Methods in Imaging, Springer, 2009, Applied Mathematical Sciences 167, Chapter 3, Variational Regularization Methods for the Solution of Inverse Problems (existence, stability and convergence for convex and nonconvex regularizers)
- Heinz W. Engl, Martin Hanke and Andreas Neubauer, Regularization of Inverse Problems, Kluwer, 1996, Chapter 5, Tikhonov Regularization (the quadratic case and its convergence theory)
- Robert Acar and Curtis R. Vogel, Analysis of bounded variation penalty methods for ill-posed problems, Inverse Problems 10(6), 1994, pages 1217 to 1229 (existence, uniqueness and stability for total variation penalties with a forward operator)
- Leonid I. Rudin, Stanley Osher and Emad Fatemi, Nonlinear total variation based noise removal algorithms, Physica D 60(1-4), 1992, pages 259 to 268 (the total variation model)
- Martin Benning and Martin Burger, Modern regularization methods for inverse problems, Acta Numerica 27, 2018, pages 1 to 111 (survey of variational and iterative regularization with convex functionals)
- Antonin Chambolle and Thomas Pock, An introduction to continuous optimization for imaging, Acta Numerica 25, 2016, pages 161 to 319 (the models and the first order solvers)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag NDREDD Edit this page History Report an error Markdown