A signal and its wavelet representation. Each pixel in the heat map (top) represents an atom (a wavelet centered in time according to the horizontal position and with frequency corresponding to height). The color of the pixel gives the inner product of the corresponding wavelet atom with the signal (bottom). Matching pursuit should represent the signal by just a few atoms, such as the three at the centers of the clearly visible ellipses.
Matching pursuit (MP) is a sparse approximation algorithm which finds the "best matching" projections of multidimensional data onto the span of an over-complete (i.e., redundant) dictionary . The basic idea is to approximately represent a signal from Hilbert space as a weighted sum of finitely many functions (called atoms) taken from . An approximation with atoms has the form
where is the th column of the matrix and is the scalar weighting factor (amplitude) for the atom . Normally, not every atom in will be used in this sum. Instead, matching pursuit chooses the atoms one at a time in order to maximally (greedily) reduce the approximation error. This is achieved by finding the atom that has the highest inner product with the signal (assuming the atoms are normalized), subtracting from the signal an approximation that uses only that one atom, and repeating the process until the signal is satisfactorily decomposed, i.e., the norm of the residual is small,
where the residual after calculating and is denoted by
.
If converges quickly to zero, then only a few atoms are needed to get a good approximation to . Such sparse representations are desirable for signal coding and compression. More precisely, the sparsity problem that matching pursuit is intended to approximately solve is
where is the pseudo-norm (i.e. the number of nonzero elements of ). In the previous notation, the nonzero entries of are . Solving the sparsity problem exactly is NP-hard, which is why approximation methods like MP are used.
For comparison, consider the Fourier transform representation of a signal - this can be described using the terms given above, where the dictionary is built from sinusoidal basis functions (the smallest possible complete dictionary). The main disadvantage of Fourier analysis in signal processing is that it extracts only the global features of the signals and does not adapt to the analysed signals .
By taking an extremely redundant dictionary, we can look in it for atoms (functions) that best match a signal .
The algorithm
Example of the retrieval of an unknown signal (gray line) from few measurements (black dots) using a orthogonal matching pursuit algorithm (purple dots show the retrieved coefficients).
If contains a large number of vectors, searching for the most sparse representation of is computationally unacceptable for practical applications.
In 1993, Mallat and Zhang[1] proposed a greedy solution that they named "Matching Pursuit."
For any signal and any dictionary , the algorithm iteratively generates a sorted list of atom indices and weighting scalars, which form the sub-optimal solution to the problem of sparse signal representation.
Algorithm Matching Pursuit
Input: Signal: , dictionary with normalized columns .
Output: List of coefficients and indices for corresponding atoms .
Initialization:
;
;
Repeat:
Find with maximum inner product ;
;
;
;
Until stop condition (for example: )
return
"←" denotes assignment. For instance, "largest ← item" means that the value of largest changes to the value of item.
"return" terminates the algorithm and outputs the following value.
In signal processing, the concept of matching pursuit is related to statistical projection pursuit, in which "interesting" projections are found; ones that deviate more from a normal distribution are considered to be more interesting.
Properties
The algorithm converges (i.e. ) for any that is in the space spanned by the dictionary.
The error decreases monotonically.
As at each step, the residual is orthogonal to the selected filter, the energy conservation equation is satisfied for each :
.
In the case that the vectors in are orthonormal, rather than being redundant, then MP is a form of principal component analysis
Applications
Matching pursuit has been applied to signal, image[2] and video coding,[3][4] shape representation and recognition,[5] 3D objects coding,[6] and in interdisciplinary applications like structural health monitoring.[7] It has been shown that it performs better than DCT based coding for low bit rates in both efficiency of coding and quality of image.[8]
The main problem with matching pursuit is the computational complexity of the encoder. In the basic version of an algorithm, the large dictionary needs to be searched at each iteration. Improvements include the use of approximate dictionary representations and suboptimal ways of choosing the best match at each iteration (atom extraction).[9]
The matching pursuit algorithm is used in MP/SOFT, a method of simulating quantum dynamics.[10]
MP is also used in dictionary learning.[11][12] In this algorithm, atoms are learned from a database (in general, natural scenes such as usual images) and not chosen from generic dictionaries.
A very recent application of MP is its use in linear computation coding[13] to speed-up the computation of matrix-vector products.
Extensions
A popular extension of Matching Pursuit (MP) is its orthogonal version: Orthogonal Matching Pursuit[14][15] (OMP). The main difference from MP is that after every step, all the coefficients extracted so far are updated, by computing the orthogonal projection of the signal onto the subspace spanned by the set of atoms selected so far. This can lead to results better than standard MP, but requires more computation. OMP was shown to have stability and performance guarantees under certain restricted isometry conditions.[16] The incremental multi-parameter algorithm (IMP), published three years before MP, works in the same way as OMP.[17]
Extensions such as Multichannel MP[18] and Multichannel OMP[19] allow one to process multicomponent signals. An obvious extension of Matching Pursuit is over multiple positions and scales, by augmenting the dictionary to be that of a wavelet basis. This can be done efficiently using the convolution operator without changing the core algorithm.[20]
Matching pursuit is related to the field of compressed sensing and has been extended by researchers in that community. Notable extensions are Orthogonal Matching Pursuit (OMP),[21] Stagewise OMP (StOMP),[22] compressive sampling matching pursuit (CoSaMP),[23] Generalized OMP (gOMP),[24] and Multipath Matching Pursuit (MMP).[25]
^Neff, R.; Zakhor, A. (1997). "Very low bit-rate video coding based on matching pursuits". IEEE Transactions on Circuits and Systems for Video Technology. 7 (1): 158–171. doi:10.1109/76.554427. S2CID15317511.
^Lin, Jian-Liang; Hwang, Wen-Liang; Pei, Soo-Chang (2007). "Fast matching pursuit video coding by combining dictionary approximation and atom extraction". IEEE Transactions on Circuits and Systems for Video Technology. 17 (12): 1679–1689. CiteSeerX10.1.1.671.9670. doi:10.1109/tcsvt.2007.903120. S2CID8315216.
^Donoho, David L.; Tsaig, Yaakov; Drori, Iddo; Jean-luc, Starck (2006). "Sparse solution of underdetermined linear equations by stagewise orthogonal matching pursuit". IEEE Transactions on Information Theory. 58 (2): 1094–1121. doi:10.1109/tit.2011.2173241. S2CID7923170.
^Needell, D.; Tropp, J.A. (2009). "CoSaMP: Iterative signal recovery from incomplete and inaccurate samples". Applied and Computational Harmonic Analysis. 26 (3): 301–321. arXiv:0803.2392. doi:10.1016/j.acha.2008.07.002. S2CID1642637.