Conceptadvanced
Analysis and synthesis sparsity
Also called analysis prior, synthesis prior, cosparsity.
A synthesis model writes the image as a sparse sum of atoms, while an analysis model asks that an operator such as a gradient map the image to a sparse vector.
Sparsity priors come in two forms. A synthesis model writes the image as with a dictionary and asks that the coefficient vector be sparse; an analysis model applies an operator to the image and asks that have many zeros, a property called cosparsity. The two give the same variational problem when the operator is square and invertible, for example an orthonormal wavelet basis, and different problems for redundant frames (Elad, Milanfar and Rubinstein 2007). Total variation is the main analysis prior in imaging.
In plain words
There are two ways to say that an image is simple. The first way says: the image is built from a few pieces taken from a fixed list of building blocks. To store it, keep the few pieces and their weights. The second way says: if you run a set of tests on the image, most tests give zero. A test can be "is this pixel equal to its neighbor", and a cartoon image passes most of these tests. When the list of blocks and the set of tests are the same size and match one to one, the two ways say the same thing. When there are more blocks or tests than pixels, they say different things and give different reconstructions.
The idea
The two variational problems. For data and weight :
Both are instances of variational regularization. The synthesis problem is a lasso in and is solved by iterative shrinkage, as the proximal operator of is soft thresholding. The analysis problem has the operator inside the norm, so its proximal operator has no closed form in general; split Bregman, ADMM or the Chambolle-Pock algorithm split off as a new variable.
When they agree. If and , the change of variables maps one problem onto the other, so . An orthonormal basis with is the common case. When the matrix has a null space, and many give the same ; the synthesis problem picks the sparsest coding of each candidate in its penalty, while the analysis problem charges every candidate by all its correlations . For a redundant tight frame with the two problems are in general different, as the example below shows.
The geometry of the models. In synthesis, an image with active atoms lies in the span of those columns of , so the model is a union of subspaces of dimension at most . In analysis, an image with zeros in lies in the orthogonal complement of those rows, so the model is a union of subspaces of dimension at least (Nam et al. 2013). The number of zeros is the cosparsity. For a redundant the analysis model needs many zeros to be small, and its subspaces are of a different kind from the synthesis subspaces: a high cosparsity counts the constraints that hold, not the atoms that are used.
Total variation as analysis. With the matrix of forward differences, is the anisotropic total variation, and the zeros of are the places where neighboring pixels are equal. A piecewise constant image with short boundaries is highly cosparse. Total generalized variation is an analysis prior with a second order operator on the pair .
Recovery guarantees. For synthesis, the theory of compressed sensing and basis pursuit needs to satisfy a restricted isometry or coherence condition, which fails for a coherent . Candes, Eldar, Needell and Randall (2011) prove error bounds for analysis with a tight frame and under a restricted isometry condition on adapted to , with the error controlled by the tail of . This allows highly redundant and coherent frames.
Examples
Haar basis against differences. For , the orthonormal Haar coefficients of the step are : 2 nonzeros. The step , with the edge at a different place, has the coefficients : 3 nonzeros. Its forward differences have one nonzero, as do those of the first step, , so both have cosparsity 2 for the difference matrix. The Haar synthesis model depends on the position of the edge relative to the dyadic grid; the difference analysis model does not.
A tight frame in the plane. Let have the three columns with :
This is a Parseval tight frame, and . Take , and .
| data | synthesis | analysis |
|---|---|---|
| , along the atom | ||
| , between and |
For the synthesis solution uses one atom, , and shrinks along it. The analysis solution has , with no zero entry. The gradient of there is , so the analysis solution is . The synthesis solution is . The analysis prior pulls harder along , and the two reconstructions differ. For the analysis vector has a zero in its first entry and the two models give the same point.
Image models. Wavelet synthesis with an orthonormal basis and wavelet analysis are the same problem. With the undecimated (translation invariant) wavelet frame they differ, and compressed sensing MRI often uses the analysis form. In one dimension, total variation equals a synthesis model whose atoms are step functions, with the constant left free. In two dimensions the difference operator has about two rows per pixel, so this change of variables is not available.
Where it is used
- Synthesis: dictionary learning and K-SVD, sparse coding of patches, convolutional sparse coding, and greedy pursuit methods, which select atoms one by one.
- Analysis: total variation and TGV in denoising, deblurring and tomography; of a redundant wavelet or curvelet frame in compressed sensing MRI; learned analysis operators and filter based models in learned regularizers.
- Choice between them: synthesis is natural when the data are known to be a few atoms, such as spikes or a few frequencies. Analysis is natural when the prior is a set of constraints, such as flat regions or smooth edges, and when the operator is a redundant filter bank.
References
- Michael Elad, Peyman Milanfar and Ron Rubinstein, Analysis versus synthesis in signal priors, Inverse Problems 23(3), 2007, pages 947 to 968 (the two MAP formulations, their equality for a square invertible operator and their difference for redundant ones)
- Sangnam Nam, Mike E. Davies, Michael Elad and Remi Gribonval, The cosparse analysis model and algorithms, Applied and Computational Harmonic Analysis 34(1), 2013, pages 30 to 56 (cosparsity, the union of subspaces of the analysis model and its uniqueness and recovery results)
- Emmanuel J. Candes, Yonina C. Eldar, Deanna Needell and Paige Randall, Compressed sensing with coherent and redundant dictionaries, Applied and Computational Harmonic Analysis 31(1), 2011, pages 59 to 73 (recovery guarantees for l1 analysis with a tight frame)
- Martin Benning and Martin Burger, Modern regularization methods for inverse problems, Acta Numerica 27, 2018, pages 1 to 111 (sparsity regularizers in the variational framework)
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 | W4 complete |
|
Tag 6V9TP3 Edit this page History Report an error Markdown