# 原子分解

原子分解把信号表示为一组基本波形的稀疏线性组合，这些基本波形称为原子，取自一个冗余字典；它解决的是用远少于固定变换所需的活动分量来表达信号的问题。这一思想处于稀疏逼近和[字典学习](https://www.edgepedia.org/zh/dictionary-learning)的核心：分析者不再把信号在傅里叶（Fourier）或小波等标准正交基中展开，而是从一个所含向量多于信号维数的集合中，选取一小部分最能匹配信号结构的原子。

| 关键事实 | 细节 |
|---|---|
| 核心问题 | 给定信号 \( x \in \mathbb{R}^{N} \) 和大小为 \( N \times L \)（其中 \( L \gg N \)）的字典 \( D \)，寻找系数向量 \( \gamma \)，使得 \( D \cdot \gamma = x \) 且非零项尽可能少 <sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC153464/)</sup><sup> • </sup><sup>[2](https://link.springer.com/article/10.1186/1687-6180-2011-34)</sup> |
| 常用表述 | \( \hat{\gamma} = \operatorname{Argmin}_{\gamma} \|\gamma\|_{0} \)，受约束于 \( \|x - D\gamma\|_{2}^{2} \leq \varepsilon \)，其中 \( \varepsilon \) 是误差容限 <sup>[3](https://csaws.cs.technion.ac.il/~ronrubin/Publications/KSVD-OMP-v2.pdf)</sup> |
| 精确恢复条件 | 当字典列为单位范数且互相干性满足 \( \mu < 1/(2K-1) \) 时，正交匹配追踪（Orthogonal Matching Pursuit，OMP）能精确恢复任意 \( K \)-稀疏信号 <sup>[4](https://ar5iv.labs.arxiv.org/html/0909.0083)</sup> |
| 问题规模 | 对一个长度为 8192 的信号使用小波包字典进行基追踪（Basis pursuit），会变成一个规模为 8192 × 212,992 的线性规划 <sup>[5](https://doi.org/10.1137/s1064827596304010)</sup> |
| 快速贪婪方法的代价 | 对于可压缩信号，CoSaMP（Compressive Sampling Matching Pursuit，压缩采样匹配追踪）的运行时间为 \( O(N \log^{2} N) \)，仅使用矩阵-向量乘积和 \( O(N) \) 工作存储 <sup>[6](https://doi.org/10.48550/arxiv.0803.2392)</sup> |
| 字典学习 | K-SVD 在样本的稀疏编码与逐原子字典更新之间交替，推广了 K 均值聚类 <sup>[7](https://doi.org/10.1109/tsp.2006.881199)</sup> |
| 主要应用 | 语音与音频压缩、去噪、源分离、自动索引，以及压缩感知恢复 <sup>[2](https://link.springer.com/article/10.1186/1687-6180-2011-34)</sup><sup> • </sup><sup>[4](https://ar5iv.labs.arxiv.org/html/0909.0083)</sup> |

## 工作原理

字典是一个矩阵，其列是候选原子：加博尔（Gabor）函数、小波包、正弦波或尖峰。由于字典是过完备的，列数 \( L \) 多于信号维数 \( N \)，所以有无穷多个系数向量 \( \gamma \) 满足 \( D \cdot \gamma = x \)；目标是其中最稀疏的那个，并以 \( \ell_{0} \) 范数 \( \|\gamma\|_{0} \) 来衡量，即非零项的个数。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC153464/)</sup><sup> • </sup><sup>[2](https://link.springer.com/article/10.1186/1687-6180-2011-34)</sup> 当信号能以唯一方式写成原子的高度稀疏和，并且某个优化准则能找到该分解时，所得结果称为理想原子分解。<sup>[8](http://www.rctn.org/w/images/6/6e/00959265.pdf)</sup>

与固定基的对比体现在计算上。如果字典是标准正交基，稀疏逼近问题就有直接解法，可逐项构建。<sup>[9](https://dl.acm.org/doi/10.1109/TIT.2004.834793)</sup> 在冗余字典中，原子之间会发生相互作用，因此一般而言，要选出最佳的 \( K \) 项子集，就需要枚举字典的子集，而这种搜索的代价随 \( L \) 指数增长。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC153464/)</sup>

字典的两个性质决定了何时可以证明精确恢复。互相干性 \( \mu := \max_{i,j} |\langle \phi_{i}, \phi_{j} \rangle| \) 衡量单位范数字典列之间最大的绝对内积；当 \( \mu < 1/(2K-1) \) 时，OMP 能精确恢复任意 \( K \)-稀疏信号。<sup>[4](https://ar5iv.labs.arxiv.org/html/0909.0083)</sup> \( k \) 阶限制等距性质（restricted isometry property，RIP）要求存在常数 \( \delta \)，使矩阵近似保持所有 \( k \)-稀疏向量的范数；这是通过 \( \ell_{1} \) 最小化及相关算法实现精确稀疏恢复的充分条件。<sup>[4](https://ar5iv.labs.arxiv.org/html/0909.0083)</sup>

## 实现方法

贪婪算法一次一个原子地构建分解。[匹配追踪](https://www.edgepedia.org/zh/matching-pursuit)是奠基性方法，它计算当前残差与所有字典元素的内积，选出相关性最强的原子，并减去该原子的贡献。<sup>[10](https://doi.org/10.1109/78.258082)</sup><sup> • </sup><sup>[11](https://elad.cs.technion.ac.il/wp-content/uploads/2018/02/23_Stability_IEEE_TIT.pdf)</sup> 正交匹配追踪（OMP）在每一步加入最小二乘最小化，以在已选原子张成的空间上获得对信号的最佳逼近，从而显著提高相对普通匹配追踪的收敛速度；它适用于非正交且可能过完备的字典。<sup>[9](https://dl.acm.org/doi/10.1109/TIT.2004.834793)</sup><sup> • </sup><sup>[12](https://www.khoury.northeastern.edu/home/eelhami/courses/EE290A/OMP_Krishnaprasad.pdf)</sup> CoSaMP（Compressive Sampling Matching Pursuit，[压缩采样匹配追踪](https://www.edgepedia.org/zh/compressive-sampling-matching-pursuit)）是一种基于 OMP 的迭代方法，能给出与最佳优化方法相同的保证，并对计算代价和存储给出严格界。<sup>[6](https://doi.org/10.48550/arxiv.0803.2392)</sup>

凸松弛路线用 \( \ell_{1} \) 范数替代 \( \ell_{0} \) 目标。[基追踪](https://www.edgepedia.org/zh/basis-pursuit)把信号分解为字典原子的叠加，并使系数的 \( \ell_{1} \) 范数最小；严格说来，它是一种原则而非算法，把受约束于 \( \|b\|_{0} = m \) 的 \( \min \|x - \Phi \cdot b\|_{2} \) 替换为受约束于 \( \Phi \cdot b = x \) 的 \( \min \|b\|_{1} \)。<sup>[5](https://doi.org/10.1137/s1064827596304010)</sup><sup> • </sup><sup>[9](https://dl.acm.org/doi/10.1109/TIT.2004.834793)</sup> 对于系数幅度以 1 为界的信号，\( \ell_{1} \) 范数是小于 \( \ell_{0} \) 范数的最大凸函数，这使得 \( \ell_{1} \) 问题成为最接近 \( \ell_{0} \) 问题的凸优化问题；即使 \( N \) 和 \( L \) 很大，它也可以转化为由内点法求解的线性规划。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC153464/)</sup>

## 起源

计算调和分析中的字典方法，与 S. G. 马拉特（S. G. Mallat）和张智峰（Zhifeng Zhang）1993 年发表于《IEEE信号处理汇刊》的论文《用时频字典进行匹配追踪》（Matching pursuits with time-frequency dictionaries）相关；该文提出把匹配追踪作为一种方法，将任意信号分解为从冗余字典中选出的波形的线性展开，以最佳匹配信号结构。<sup>[10](https://doi.org/10.1109/78.258082)</sup> 不久之后，陈（Chen）、多诺霍（Donoho）和桑德斯（Saunders）于 1998 年在《SIAM科学计算杂志》上发表了《通过基追踪进行原子分解》（Atomic Decomposition by Basis Pursuit）。<sup>[5](https://doi.org/10.1137/s1064827596304010)</sup> CoSaMP 由 D. 尼德尔（D. Needell）和 J. A. 特罗普（J. A. Tropp）于 2008 年在 arXiv 上报道 <sup>[6](https://doi.org/10.48550/arxiv.0803.2392)</sup>；K-SVD 字典学习算法由 M. 阿哈龙（M. Aharon）、M. 埃拉德（M. Elad）和 A. 布鲁克斯坦（A. Bruckstein）于 2006 年发表于《IEEE信号处理汇刊》。<sup>[7](https://doi.org/10.1109/tsp.2006.881199)</sup> 贪婪选择思想本身比信号处理更古老：在统计建模中，同样的逐步最小二乘过程被称为前向逐步回归，自 20 世纪 60 年代以来已被广泛实践。<sup>[11](https://elad.cs.technion.ac.il/wp-content/uploads/2018/02/23_Stability_IEEE_TIT.pdf)</sup>

## 变体

基本匹配追踪的扩展包括优化正交匹配追踪（Optimized Orthogonal Matching Pursuit）、梯度追踪（Gradient Pursuit）、互补匹配追踪（Complementary Matching Pursuit）和正交互补匹配追踪（Orthogonal Complementary Matching Pursuit）。<sup>[2](https://link.springer.com/article/10.1186/1687-6180-2011-34)</sup> CoSaMP 的保证用与上述恢复条件相同的表述给出：对于限制等距常数 \( \delta_{4s} \leq c \) 的采样矩阵，它产生一个 \( 2s \)-稀疏逼近 \( a \)，满足 \( \|x - a\|_{2} \leq C \cdot \max\{\eta, (1/\sqrt{s})\|x - x_{s}\|_{1} + \|e\|_{2}\} \)，其中 \( x_{s} \) 是最佳 \( s \)-稀疏逼近。<sup>[6](https://doi.org/10.48550/arxiv.0803.2392)</sup>

当没有解析字典能拟合数据时，字典本身就从样本中学习，这一问题与稀疏编码密切相关。K-SVD 算法推广了 K 均值聚类过程：它在当前字典下对样本进行稀疏编码，与更新字典原子以更好地拟合数据之间交替；每个原子连同其稀疏系数通过秩 1（SVD）近似一起更新，这加快了收敛速度，并使其比 MOD 方法要求更低。<sup>[7](https://doi.org/10.1109/tsp.2006.881199)</sup><sup> • </sup><sup>[13](https://elad.cs.technion.ac.il/wp-content/uploads/2018/02/IEEE_Proc_Dictionary.pdf)</sup> K-SVD 很灵活，可与任何追踪方法配合使用，包括基追踪、FOCUSS 或匹配追踪 <sup>[7](https://doi.org/10.1109/tsp.2006.881199)</sup>；批处理正交匹配追踪为训练过完备字典提供了一种高效实现。<sup>[3](https://csaws.cs.technion.ac.il/~ronrubin/Publications/KSVD-OMP-v2.pdf)</sup>

## 应用

[稀疏分解](https://www.edgepedia.org/zh/sparse-decomposition-signal-processing)与稀疏模型用于语音和音频压缩、去噪、源分离和自动索引。<sup>[2](https://link.springer.com/article/10.1186/1687-6180-2011-34)</sup> 使用加博尔字典时，匹配追踪定义了一种自适应时频变换，其能量分布避开了维格纳（Wigner）和科恩（Cohen）类分布的交叉项。<sup>[10](https://doi.org/10.1109/78.258082)</sup> OMP 也常用于压缩感知，从压缩测量中恢复稀疏或近似稀疏的信号，其吸引人的特点之一就是简单。<sup>[4](https://ar5iv.labs.arxiv.org/html/0909.0083)</sup>

## 局限与替代方法

信号在冗余字典中的最优展开是一个 NP 难问题，这正是促使人们采用贪婪匹配追踪算法、计算次优展开的原因。<sup>[14](https://geoffdavis.net/papers/spie.pdf)</sup> 精确求解 \( \ell_{0} \) 问题需要子集搜索，其复杂度随字典规模 \( L \) 指数增长。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC153464/)</sup> 已知匹配追踪本身一般不能提供稀疏逼近，文献中已有反例；在陈的实证测试中，基追踪能在很宽的幅度比范围内，精确恢复组合时频字典中四个正弦波和两个尖峰之和的索引与系数，而当正弦波和尖峰分量的幅度差异很大时，匹配追踪的恢复会变得非常不精确。<sup>[8](http://www.rctn.org/w/images/6/6e/00959265.pdf)</sup> 字典学习同样是 NP 难的。<sup>[15](https://arxiv.org/abs/1405.6664)</sup> K-SVD 和 MOD 受强非凸性困扰，可能陷入局部极小值甚至鞍点；训练出的字典是无结构的，应用成本相对较高，因此主要适合小信号块。<sup>[13](https://elad.cs.technion.ac.il/wp-content/uploads/2018/02/IEEE_Proc_Dictionary.pdf)</sup>

## References

1. [Optimally sparse representation in general (nonorthogonal) dictionaries via l1 minimization (PNAS, Donoho & Elad)](https://pmc.ncbi.nlm.nih.gov/articles/PMC153464/)
2. [Greedy sparse decompositions: a comparative study (EURASIP Journal on Advances in Signal Processing)](https://link.springer.com/article/10.1186/1687-6180-2011-34)
3. [Efficient Implementation of the K-SVD Algorithm using Batch Orthogonal Matching Pursuit (Rubinstein, Zibulevsky & Elad)](https://csaws.cs.technion.ac.il/~ronrubin/Publications/KSVD-OMP-v2.pdf)
4. [Analysis of Orthogonal Matching Pursuit using the Restricted Isometry Property (Davenport & Wakin)](https://ar5iv.labs.arxiv.org/html/0909.0083)
5. [Scott Shaobing Chen, David L. Donoho, Michael A. Saunders (1998). Atomic Decomposition by Basis Pursuit. SIAM Journal on Scientific Computing.](https://doi.org/10.1137/s1064827596304010)
6. [Needell, D., Tropp, J. A. (2008). CoSaMP: Iterative signal recovery from incomplete and inaccurate samples. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.0803.2392)
7. [M. Aharon, M. Elad, A. Bruckstein (2006). $rm K$-SVD: An Algorithm for Designing Overcomplete Dictionaries for Sparse Representation. IEEE Transactions on Signal Processing.](https://doi.org/10.1109/tsp.2006.881199)
8. [Uncertainty principles and ideal atomic decomposition (IEEE Transactions on Information Theory; Tropp)](http://www.rctn.org/w/images/6/6e/00959265.pdf)
9. [Greed is good: algorithmic results for sparse approximation (IEEE Trans. Information Theory, 2004, Tropp)](https://dl.acm.org/doi/10.1109/TIT.2004.834793)
10. [S.G. Mallat, Zhifeng Zhang (1993). Matching pursuits with time-frequency dictionaries. IEEE Transactions on Signal Processing.](https://doi.org/10.1109/78.258082)
11. [Stable Recovery of Sparse Overcomplete Representations (IEEE Trans. Information Theory)](https://elad.cs.technion.ac.il/wp-content/uploads/2018/02/23_Stability_IEEE_TIT.pdf)
12. [Orthogonal matching pursuit: recursive function approximation with applications to wavelet decomposition (Asilomar 1993)](https://www.khoury.northeastern.edu/home/eelhami/courses/EE290A/OMP_Krishnaprasad.pdf)
13. [Dictionaries for Sparse Representation Modeling (Proceedings of the IEEE, Elad)](https://elad.cs.technion.ac.il/wp-content/uploads/2018/02/IEEE_Proc_Dictionary.pdf)
14. [Adaptive greedy approximations (SPIE paper, Davis et al.)](https://geoffdavis.net/papers/spie.pdf)
15. [On the Computational Intractability of Exact and Approximate Dictionary Learning](https://arxiv.org/abs/1405.6664)

---
*Initially written Sep 29, 2026 · Reviewed: Sep 30, 2026 · Edited: Oct 15, 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/atomic-decomposition

English original: https://www.edgepedia.org/atomic-decomposition
