# 匹配追踪

匹配追踪是一种贪心稀疏近似算法，它将信号分解为从冗余字典中逐一选取的波形的线性展开，每一步都选择与当前残差最匹配的原子。它在所选原子上产生一个稀疏系数向量，并产生一系列残差，其范数在每次迭代中单调递减。<sup>[1](https://doi.org/10.1109/78.258082)</sup><sup> • </sup><sup>[2](https://sparse-plex.readthedocs.io/en/latest/book/pursuit/mp/algorithm.html)</sup> 它被用于紧凑信号编码、时频分析、去噪，以及压缩感知中从少量测量值重建稀疏信号。

| 事实 | 详情 |
|---|---|
| 提出者 | S.G. 马拉（Mallat）与张智峰（Zhifeng Zhang），《IEEE信号处理汇刊》，1993年 <sup>[1](https://doi.org/10.1109/78.258082)</sup> |
| 输出 | 选取最匹配信号结构的字典波形的线性展开 <sup>[1](https://doi.org/10.1109/78.258082)</sup> |
| 选择规则 | 使与当前残差的内积绝对值最大的原子 <sup>[3](http://scholarpedia.org/article/Matching_pursuit)</sup> |
| 能量守恒 | \( \|f\|^2 = \sum_n \|\langle R^n f, g_{\gamma_n} \rangle\|^2 + \|R^M f\|^2 \)，对于完备字典，残差收敛到零 <sup>[3](http://scholarpedia.org/article/Matching_pursuit)</sup> |
| OMP收敛性 | 对于\( d \)维向量至多\( d \)步 <sup>[4](https://www.mathworks.com/help/wavelet/ug/matching-pursuit-algorithms.html)</sup> |
| 压缩感知保证 | OMP从\( O(m \ln d) \)个随机测量中恢复\( d \)维的\( m \)-稀疏信号 <sup>[5](https://doi.org/10.1109/tit.2007.909108)</sup> |
| 计算代价 | \( p \)次非正交迭代为\( O(p \cdot I \cdot Z) \)，正交化追踪为\( O(p^2 \cdot I \cdot Z) \) <sup>[6](https://geoffdavis.net/papers/spie.pdf)</sup> |

## 工作原理

MP所近似的精确问题是难解的：在冗余字典中计算信号的最优展开是NP难的，因此贪心算法转而计算次优展开。<sup>[6](https://geoffdavis.net/papers/spie.pdf)</sup> MP从信号本身出发，在字典上最大化\( \|\langle R^n x, g \rangle\| \)以找到使残差范数最小的字典原子\( g_{\gamma_n} \)，减去其贡献，然后重复。<sup>[3](http://scholarpedia.org/article/Matching_pursuit)</sup> 由于字典是冗余的，原子之间并不相互正交，因此被减去的分量不必与先前所选原子的张成空间正交；这既是MP简洁性的来源，也是其低效性的来源。<sup>[4](https://www.mathworks.com/help/wavelet/ug/matching-pursuit-algorithms.html)</sup>

收敛性依赖于能量守恒。尽管分解是非线性的，\( \|x\|^2 = \sum_n \|\langle R^n x, g_{\gamma_n} \rangle\|^2 + \|R^M x\|^2 \)在每个阶段都成立，而对于完备字典，当\( M \to \infty \)时残差收敛到零。<sup>[3](http://scholarpedia.org/article/Matching_pursuit)</sup> 衰减是指数式的：\( \|r^{(m)}\|_2^2 \le (1 - \mu_{\min}(D)^2)^m \|x\|_2^2 \)，其中\( \mu_{\min}(D) \)是字典的下确界相干性。<sup>[7](https://www.machinelearning.tf.fau.de/pdfs/mmmlisp19/2-omp.pdf)</sup>

稀疏信号的精确恢复需要对字典施加条件。若精确恢复条件\( \mathrm{ERC}(S) < 1 \)成立，则MP只选择S中的原子，OMP在至多\( |S| \)次迭代中恢复x；一个基于相干性的充分条件是\( \|S\| < \frac{1}{2}(1 + 1/\mu(D)) \)。<sup>[7](https://www.machinelearning.tf.fau.de/pdfs/mmmlisp19/2-omp.pdf)</sup> 在压缩感知中，阶数为\( 3k \)、等距常数为\( \delta_{3k} < 1/\sqrt{32k} \)的限制等距性质（RIP）足以让OMP在k次迭代中精确恢复任意k-稀疏信号，而该常数几乎无法再放宽。<sup>[8](https://users.ece.utexas.edu/~sanghavi/courses/papers/davenport_wakin_omp.pdf)</sup> 对于随机测量，OMP能从\( O(m \ln d) \)个测量中可靠地恢复\( d \)维的m-稀疏信号，这比早期\( O(m^2) \)的结果是很大的改进。<sup>[5](https://doi.org/10.1109/tit.2007.909108)</sup>

## 具体做法

实践者运行以下循环 <sup>[3](http://scholarpedia.org/article/Matching_pursuit)</sup><sup> • </sup><sup>[9](https://tisp.indigits.com/sparse_approx/omp_sa)</sup>：

1. 初始化残差\( R^0 x = x \)和空支撑集。
2. 扫描：计算与所有字典原子的相关性\( z = D^H r^{(k-1)} \)。
3. 选择使\( \|z_j \| \)最大的原子\( j_0 \)；在基本MP中，先前选过的原子不被排除，而OMP将选择限制在当前支撑集之外的原子。
4. 更新系数。在基本MP中，加上\( \langle R^n x, g_{\gamma_n} \rangle g_{\gamma_n} \)并令\( R^{n+1}x = R^n x - \langle R^n x, g_{\gamma_n} \rangle g_{\gamma_n} \)。在OMP中，将\( j_0 \)加入支撑集并求解最小二乘重拟合\( a^k = (D_S^H D_S)^{-1} D_S^H x \)；这一重拟合使残差与所选原子的张成空间正交，这正是其名称的由来。<sup>[9](https://tisp.indigits.com/sparse_approx/omp_sa)</sup>
5. 更新残差并重复，直到满足停止准则，例如残差范数目标或固定原子数。

残差范数在每次MP迭代中单调递减。若字典是正交归一基，MP在恰好K次迭代中恢复K-稀疏表示；对于非正交原子，通常需要多得多的迭代。<sup>[2](https://sparse-plex.readthedocs.io/en/latest/book/pursuit/mp/algorithm.html)</sup> 弱选择规则将最大化放宽为\( \|\langle x, \phi_p \rangle\| \ge \alpha \max_k \|\langle x, \phi_k \rangle\| \)，其中\( \alpha \in (0,1] \)，这在计算上可能更高效，尤其是对于非常大的字典。<sup>[4](https://www.mathworks.com/help/wavelet/ug/matching-pursuit-algorithms.html)</sup>

对于p次迭代，非正交追踪的代价为\( O(p \cdot I \cdot Z) \)，其中I是内积代价，Z是内积非零的原子平均数；正交化追踪的代价为\( O(p^2 \cdot I \cdot Z) \)，多出一个p因子。<sup>[6](https://geoffdavis.net/papers/spie.pdf)</sup>

## 起源

马拉（Mallat）和张（Zhang）在《IEEE信号处理汇刊》1993年的《基于时频字典的匹配追踪》一文中引入了匹配追踪。<sup>[1](https://doi.org/10.1109/78.258082)</sup> 他们的论文引用了更早的贪心思想：该策略与弗里德曼（Friedman）和施蒂茨勒（Stuetzle）为统计参数估计发展的投影追踪策略密切相关 <sup>[1](https://doi.org/10.1109/78.258082)</sup>，他们还引用了弗里德曼和图基（Tukey）1974年为探索性数据分析提出的投影追踪算法。<sup>[10](https://laurentjacques.gitlab.io/post/matching-pursuit-before-computer-science/)</sup> 一种类似的算法被发展用于在时频原子上展开信号。<sup>[1](https://doi.org/10.1109/78.258082)</sup> 在数值分析中，同样的选择和残差更新方案出现在R.V. 索思韦尔（Southwell，1935）的“逐次松弛法”中，后来由G. 坦普尔（Temple，1938）推广到无穷维希尔伯特空间。

[正交匹配追踪](https://www.edgepedia.org/zh/orthogonal-matching-pursuit)由许多研究者独立发展，最早的信号处理论文约在1993年出现。<sup>[11](https://www.ices.utexas.edu/media/reports/0304.pdf)</sup> OMP是马拉-张算法的修改版，保持残差的完全后向正交性。<sup>[12](https://www.khoury.northeastern.edu/home/eelhami/courses/EE290A/OMP_Krishnaprasad.pdf)</sup>

## 变体

**正交匹配追踪**将信号投影到已选原子的张成空间上，因此一个原子永远不会被再次选中；这以适度的复杂度代价消除了MP收敛慢和稀疏性差的问题。<sup>[13](https://www.eurasip.org/Proceedings/Eusipco/Eusipco2009/contents/papers/1569186118.pdf)</sup> 对于含N个元素的有限字典，OMP在不超过N步内收敛到字典张成空间上的投影。<sup>[12](https://www.khoury.northeastern.edu/home/eelhami/courses/EE290A/OMP_Krishnaprasad.pdf)</sup> 弱匹配追踪通过因子\( \alpha \)接受近乎最佳的原子。<sup>[4](https://www.mathworks.com/help/wavelet/ug/matching-pursuit-algorithms.html)</sup>

压缩感知家族修改了识别和更新步骤。CoSaMP基于OMP但融入了其他思想以加速它并提供更强的保证，运行一个五步迭代：识别、支撑集合并、最小二乘估计、剪枝和样本更新，最小二乘矩阵至多\( 3s \)列。<sup>[14](https://doi.org/10.1016/j.acha.2008.07.002)</sup> ROMP和子空间追踪在识别步骤上与OMP不同，而CoSaMP和DThresh在两个步骤上都不同；每个都有基于RIP的噪声下鲁棒恢复保证。<sup>[8](https://users.ece.utexas.edu/~sanghavi/courses/papers/davenport_wakin_omp.pdf)</sup> 分阶段OMP（StOMP）是该家族中的另一种贪心追踪。<sup>[14](https://doi.org/10.1016/j.acha.2008.07.002)</sup> 子模匹配追踪（SMP）用期望子模目标重新表述原子选择，对任意信号表示问题给出近最优性界；其单点估计版本与优化OMP一致。<sup>[15](https://doi.org/10.48550/arxiv.2305.07782)</sup>

## 应用

使用Gabor字典时，匹配追踪定义了一种自适应时频变换，其能量分布由所选原子的维格纳分布构建，没有交叉项，这与维格纳分布和科恩类分布不同。<sup>[1](https://doi.org/10.1109/78.258082)</sup> MP残差收敛到一种称为字典噪声的过程的实现，这允许将相干结构从噪声中分离出来。<sup>[6](https://geoffdavis.net/papers/spie.pdf)</sup> 一种最大化跨通道乘积平方之和的多通道扩展已被应用于EEG和MEG时频分析。<sup>[3](http://scholarpedia.org/article/Matching_pursuit)</sup> 在压缩感知中，OMP经常被用于过完备字典上的稀疏恢复，尽管简单，但在经验上具有竞争力。<sup>[8](https://users.ece.utexas.edu/~sanghavi/courses/papers/davenport_wakin_omp.pdf)</sup>

## 局限与替代方案

贪心性是核心的失败模式。即使信号完全由字典结构构成，MP也可能失败，例如首先选择一个同时包含两个结构的中间波形。<sup>[3](http://scholarpedia.org/article/Matching_pursuit)</sup> 更广泛地说，MP及其变体无法保证真正稀疏的表示：一个在最优支撑集之外的初始原子会迫使后续原子对其进行补偿。<sup>[16](http://www.cvc.yale.edu/publications/techreports/tr1359.pdf)</sup> CoSaMP和子空间追踪不保证误差单调递减，可能在局部极小值处振荡或停滞，增加计算负担。<sup>[17](https://link.springer.com/article/10.1186/1687-6180-2011-34)</sup>

主要的替代方案是基追踪，它用线性规划求解的L1凸问题替代难解的L0目标；它产生比匹配追踪更精确的解，但复杂度更高，且当字典是正交归一基时，OMP退化为硬阈值而基追踪退化为软阈值。<sup>[13](https://www.eurasip.org/Proceedings/Eusipco/Eusipco2009/contents/papers/1569186118.pdf)</sup><sup> • </sup><sup>[18](https://people.tamu.edu/~popov/Learning/Cohen.pdf)</sup> 特罗普（Tropp）给出了一个累积相干性条件，在该条件下OMP和基追踪都能恢复精确稀疏信号的最优表示，并证明对于每个输入信号，OMP的误差仅比相同项数下可达到的最小误差差一个小因子。字典的选择也很重要：字典可以是解析的，例如通常用狄拉克基和傅里叶基补全的Gabor函数，也可以通过机器学习方法构建，如K-means、K-SVD或其他聚类策略。<sup>[3](http://scholarpedia.org/article/Matching_pursuit)</sup><sup> • </sup><sup>[17](https://link.springer.com/article/10.1186/1687-6180-2011-34)</sup>

## References

1. [S.G. Mallat, Zhifeng Zhang (1993). Matching pursuits with time-frequency dictionaries. IEEE Transactions on Signal Processing.](https://doi.org/10.1109/78.258082)
2. [Matching Pursuit Algorithm (sparse-plex tutorial)](https://sparse-plex.readthedocs.io/en/latest/book/pursuit/mp/algorithm.html)
3. [Matching pursuit - Scholarpedia](http://scholarpedia.org/article/Matching_pursuit)
4. [Matching Pursuit Algorithms - MATLAB & Simulink (MathWorks)](https://www.mathworks.com/help/wavelet/ug/matching-pursuit-algorithms.html)
5. [Joel A. Tropp, Anna C. Gilbert (2007). Signal Recovery From Random Measurements Via Orthogonal Matching Pursuit. IEEE Transactions on Information Theory.](https://doi.org/10.1109/tit.2007.909108)
6. [Matching Pursuit with Time-Frequency Dictionaries (Davis, Mallat & Zhang, SPIE)](https://geoffdavis.net/papers/spie.pdf)
7. [Orthogonal Matching Pursuit (lecture notes, Mathematics of Information, FAU)](https://www.machinelearning.tf.fau.de/pdfs/mmmlisp19/2-omp.pdf)
8. [Analysis of Orthogonal Matching Pursuit (Davenport & Wakin)](https://users.ece.utexas.edu/~sanghavi/courses/papers/davenport_wakin_omp.pdf)
9. [Orthogonal Matching Pursuit, Topics in Signal Processing (online textbook)](https://tisp.indigits.com/sparse_approx/omp_sa)
10. [Matching Pursuit Before Computer Science (Laurent Jacques)](https://laurentjacques.gitlab.io/post/matching-pursuit-before-computer-science/)
11. [Orthogonal Matching Pursuit (Tropp technical report / historical review)](https://www.ices.utexas.edu/media/reports/0304.pdf)
12. [Orthogonal Matching Pursuit: Recursive Function Approximation... (Pati, Rezaiifar & Krishnaprasad, Asilomar 1993)](https://www.khoury.northeastern.edu/home/eelhami/courses/EE290A/OMP_Krishnaprasad.pdf)
13. [A Comparative Study of Some Greedy Pursuit Algorithms for Sparse Approximation (EUSIPCO 2009)](https://www.eurasip.org/Proceedings/Eusipco/Eusipco2009/contents/papers/1569186118.pdf)
14. [D. Needell, J.A. Tropp (2008). CoSaMP: Iterative signal recovery from incomplete and inaccurate samples. Applied and Computational Harmonic Analysis.](https://doi.org/10.1016/j.acha.2008.07.002)
15. [Tohidi, Ehsan, Coutino, Mario, Gesbert, David (2023). Revisiting Matching Pursuit: Beyond Approximate Submodularity. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2305.07782)
16. [Greedy Basis Pursuit (Yale CS technical report TR1359)](http://www.cvc.yale.edu/publications/techreports/tr1359.pdf)
17. [Greedy sparse decompositions: a comparative study (EURASIP JASP)](https://link.springer.com/article/10.1186/1687-6180-2011-34)
18. [Matching pursuit and basis pursuit (lecture notes, Cohen)](https://people.tamu.edu/~popov/Learning/Cohen.pdf)

---
*Initially written Sep 29, 2026 · Reviewed: Sep 30, 2026 · Edited: Sep 30, 2026; Oct 25, 2026 · Last review: Sep 30, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Algorithms and computational methods › Numerical, string, and geometric algorithms › Fourier and signal transforms

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/matching-pursuit

English original: https://www.edgepedia.org/matching-pursuit
