# 迭代硬阈值

**迭代硬阈值**（iterative hard thresholding，IHT）是一种迭代算法，用于从少量线性测量中恢复稀疏向量：每一步先对最小二乘失配做一次梯度步，然后只保留结果中绝对值最大的若干项，其余置零。[爱丁堡大学](https://www.edgepedia.org/zh/university-of-edinburgh)的托马斯·布卢门萨思（Thomas Blumensath）和迈克·E·戴维斯（Mike E. Davies）在2008年的一篇arXiv论文和2009年发表于《应用与计算调和分析》（*Applied and Computational Harmonic Analysis*）的论文中，为该算法给出了压缩感知（从远少于通常所需的测量数中恢复信号）的主要理论分析，证明这一简单过程具有接近最优的恢复保证。<sup>[1](https://arxiv.org/abs/0805.0510)</sup><sup> • </sup><sup>[2](https://www.sciencedirect.com/science/article/pii/S1063520309000384)</sup>

| 关键事实 | 详情 |
|---|---|
| 更新规则 | 从 x[0] = 0 出发，迭代 x[n+1] = H_s(x[n] + Φᵀ(y − Φx[n]))，其中 H_s 保留绝对值最大的 s 个分量，其余置零<sup>[3](https://www.pure.ed.ac.uk/ws/files/17821354/BDIHT.pdf)</sup> |
| 误差保证 | 在有限次迭代内可达到 7‖ẽ‖₂ 的估计误差，且可达到的误差线性依赖于观测误差的大小<sup>[3](https://www.pure.ed.ac.uk/ws/files/17821354/BDIHT.pdf)</sup> |
| 测量数 | 所需观测数随稀疏度 s 线性增长、随维数 N 对数增长；在常数因子意义下，这一关系已知是最优的<sup>[3](https://www.pure.ed.ac.uk/ws/files/17821354/BDIHT.pdf)</sup> |
| 每次迭代代价 | 只需应用测量算子 Φ 及其伴随 Φᵀ；内存与问题规模成线性关系，每次迭代的复杂度与应用 Φ 或 Φᵀ 同阶<sup>[2](https://www.sciencedirect.com/science/article/pii/S1063520309000384)</sup> |
| 迭代次数 | 所需迭代次数对数依赖于形如 ‖x_s‖₂²/‖ẽ‖₂² 的信噪比<sup>[3](https://www.pure.ed.ac.uk/ws/files/17821354/BDIHT.pdf)</sup> |
| 恢复条件 | 当限制等距常数满足 δ₃K < 1/√32 时，经典保证成立，给出 ‖x − xⁿ‖₂ ≤ 2⁻ⁿ‖x_K‖₂ + 6ε̃_K<sup>[4](https://www.research.ed.ac.uk/files/17821481/BD_NIHT09.pdf)</sup> |
| 已知最佳RIP界 | 通过IHT保证恢复 k-稀疏信号的已知最佳RIP界为 δ₃k < 1/√3 ≈ 0.5774，后改进为 δ₃k < (√5 − 1)/2 ≈ 0.618<sup>[5](https://arxiv.org/abs/2007.01451)</sup> |

## 算法

IHT求解稀疏恢复问题 y = Φx + e，其中 y 是测量向量，Φ 是测量矩阵，x 是未知稀疏信号，e 是观测误差。若一个向量中非零元素不超过 s 个，则称其为 s-稀疏的；大多数真实信号只是近似稀疏，即能被某个 s-稀疏向量很好地逼近。<sup>[3](https://www.pure.ed.ac.uk/ws/files/17821354/BDIHT.pdf)</sup>

每次迭代先对平方残差 ‖y − Φx‖₂² 做一步梯度下降，然后施加硬阈值算子 H_s，保留绝对值最大的 s 个分量，其余舍入为零。在 ℓ⁰-正则化最小二乘的等价形式中，更新为 x[k+1] = H_{√(2γλ)}(x[k] − γΦᵀ(Φx[k] − y))，当步长满足 γ < 1/‖Φ‖² 时保证收敛到局部极小点，其中 ‖Φ‖ 是 Φ 的最大奇异值。<sup>[6](https://www.emerald.com/books/oa-monograph/20856/chapter/106970236/Greedy-Algorithms)</sup> 在单位步长的压缩感知形式中，算法只需应用 Φ 和 Φᵀ，因此适用于任何能计算算子及其伴随的采样算子，包括从不显式构造矩阵的快速变换。<sup>[2](https://www.sciencedirect.com/science/article/pii/S1063520309000384)</sup>

## 收敛理论

**局部收敛。** 若 Φ 张成 R^M 且 ‖Φ‖₂ < 1，则IHT算法在 x 为 K-稀疏的约束下收敛到代价函数 ‖y − Φx‖₂² 的局部极小值。<sup>[4](https://www.research.ed.ac.uk/files/17821481/BD_NIHT09.pdf)</sup> 布卢门萨思和戴维斯最初的收敛保证依赖于限制等距性质（RIP）和互相干性，二者共同要求测量矩阵的归一化版本逼近一个列不相关的正交矩阵。<sup>[7](https://pmc.ncbi.nlm.nih.gov/articles/PMC5696071/)</sup> RIP常数 δ_s 是使得 (1 − δ_s)‖x‖₂² ≤ ‖Φx‖₂² ≤ (1 + δ_s)‖x‖₂² 对所有 s-稀疏 x 成立的最小常数。<sup>[3](https://www.pure.ed.ac.uk/ws/files/17821354/BDIHT.pdf)</sup>

**稳定性与噪声。** 在 δ₃K < 1/√32 条件下，IHT在第 n 次迭代恢复出满足 ‖x − xⁿ‖₂ ≤ 2⁻ⁿ‖x_K‖₂ + 6ε̃_K 的近似，其中 x_K 是 x 的最佳 K 项逼近；因此误差几何式下降，并收敛到一个由噪声水平控制其质量的固定点。<sup>[4](https://www.research.ed.ac.uk/files/17821481/BD_NIHT09.pdf)</sup> 可达到的估计误差线性依赖于观测误差的大小，故性能随噪声增大而线性退化。<sup>[3](https://www.pure.ed.ac.uk/ws/files/17821354/BDIHT.pdf)</sup>

**收紧常数。** 条件 δ₃k < 1/√3 ≈ 0.5774 多年来一直是保证IHT恢复 k-稀疏信号的已知最佳RIP界。优化与压缩感知领域的研究者赵云彬（Yun-Bin Zhao）和罗智泉（Zhi-Quan Luo）后来将其改进为 δ₃k < (√5 − 1)/2 ≈ 0.618，这一更大的容许常数扩大了保证所覆盖的矩阵范围。<sup>[5](https://arxiv.org/abs/2007.01451)</sup>

## 步长与归一化变体

IHT的性能高度依赖于步长：步长选得过大可能使方法发散，而过小则导致收敛缓慢，或收敛到局部极小而非期望的全局极小。<sup>[8](https://academic.oup.com/imaiai/article/4/4/289/2357061)</sup> 算法对矩阵 Φ 的重缩放也很敏感，经验证据表明，当理论条件不满足时，IHT往往变得不稳定；在一项使用128×256高斯矩阵、稀疏度从2到64的实验中，对 Φ 做列归一化显著提高了精确恢复支撑集的比例。<sup>[4](https://www.research.ed.ac.uk/files/17821481/BD_NIHT09.pdf)</sup>

**归一化IHT**（NIHT）通过公式自适应地计算步长来解决这一问题，在当前支撑集等于真实支撑集时选取最优步长。<sup>[8](https://academic.oup.com/imaiai/article/4/4/289/2357061)</sup> 经过这一修改，算法总是收敛，与其他最先进方法相比仍具竞争力，并保持与未修改算法相似的性能保证。<sup>[4](https://www.research.ed.ac.uk/files/17821481/BD_NIHT09.pdf)</sup> 然而，当传感算子在当前支撑集上病态时，NIHT仍继承了最速下降的缓慢渐近速率：其每次迭代的收敛速率为 (κ − 1)/(κ + 1)，其中 κ 是受限矩阵的条件数；共轭梯度变体如CGIHT以更高的每次迭代工作量为代价，将其提高到 (√κ − 1)/(√κ + 1)。<sup>[8](https://academic.oup.com/imaiai/article/4/4/289/2357061)</sup>

## 扩展

**统计估计。** IHT及相关方法（如GraDeS、硬阈值追踪、CoSaMP和[子空间追踪](https://www.edgepedia.org/zh/subspace-pursuit)）的经典分析要求损失函数的受限条件数低于某个通用常数，这就排除了变量对之间可以任意相关的高维统计情形；当两个变量的协方差矩阵相关系数为 1 − ε 时，即使有无穷多个样本，受限条件数也无法降到 1/ε 以下。高维[M估计](https://www.edgepedia.org/zh/m-estimation)的研究表明，在受限强凸性和光滑性条件下，投影梯度/IHT方法对任意可微（可能非凸）的目标都能实现全局收敛，只要投影所用的支撑集大小满足 s ≥ 4(L/α)² s*，其中 s* 是稀疏最优解的稀疏度。<sup>[9](https://papers.neurips.cc/paper/5293-on-iterative-hard-thresholding-methods-for-high-dimensional-m-estimation.pdf)</sup>

**加速与结构。** 坎纳（Khanna）和基里利迪斯（Kyrillidis）研究了针对带非凸稀疏约束的凸目标的动量加速IHT，观察到相对投影梯度下降和Frank-Wolfe变体的显著改进。<sup>[10](https://proceedings.mlr.press/v84/khanna18a.html)</sup> 针对不满足标准RIP的测量（如秩一测量）的低秩矩阵恢复，已发展出自适应IHT变体。<sup>[11](https://www.sciencedirect.com/science/article/pii/S0885064X22000905)</sup> 均匀恢复保证也已扩展到分层稀疏信号，CoSaMP的变体也有相应扩展。<sup>[12](https://doi.org/10.1109/TSP.2021.3080458)</sup>

**应用。** IHT已被用于全基因组关联研究中的模型选择，因其收敛保证而被选中，并针对遗传学家的需求做了调整。<sup>[7](https://pmc.ncbi.nlm.nih.gov/articles/PMC5696071/)</sup> 在无线通信中，先验信息辅助的IHT（PA-IHT）被用于TDS-OFDM系统中的压缩信道估计；通过利用粗信道估计，它去除了测量矩阵 ℓ₂ 范数必须小于1的经典要求，并减少了所需迭代次数。<sup>[13](https://arxiv.org/abs/1510.06800)</sup> 相关的硬阈值迭代还出现在毫米波大规模MIMO信道的余稀疏恢复<sup>[14](https://onlinelibrary.wiley.com/doi/abs/10.1002/dac.5092)</sup>以及大规模MIMO阵列的波达方向估计中<sup>[15](https://www.scielo.br/j/babt/a/QVQgM5ryZnCLbwM9kxyNm9k/?lang=en)</sup>。

## 实际性能

均匀恢复保证并不能说明全部问题。在限制等距常数过大、理论不再适用的数值实验中，一些算法平均而言仍然表现良好，另一些则不然，因此均匀保证未必是衡量平均性能的好指标。<sup>[3](https://www.pure.ed.ac.uk/ws/files/17821354/BDIHT.pdf)</sup> 布卢门萨思和戴维斯指出，据他们所知，在同等简单的算法中只有CoSaMP具有类似的保证清单。<sup>[3](https://www.pure.ed.ac.uk/ws/files/17821354/BDIHT.pdf)</sup> 对于中等精度目标，NIHT往往能以比更复杂的变体更少的计算时间求解压缩感知问题，因为除非要求极高精度，共轭梯度方法更高的每次迭代成本会抵消其更快的渐近速率。<sup>[8](https://academic.oup.com/imaiai/article/4/4/289/2357061)</sup>

## References

1. [Blumensath, T., Davies, M.E. (2008). Iterative Hard Thresholding for Compressed Sensing. arXiv:0805.0510.](https://arxiv.org/abs/0805.0510)
2. [Blumensath, T., Davies, M.E. (2009). Iterative hard thresholding for compressed sensing. Applied and Computational Harmonic Analysis 27(3), 265–274.](https://www.sciencedirect.com/science/article/pii/S1063520309000384)
3. [Blumensath, T., Davies, M.E. Iterative hard thresholding for compressed sensing (full text, University of Edinburgh).](https://www.pure.ed.ac.uk/ws/files/17821354/BDIHT.pdf)
4. [Blumensath, T., Davies, M.E. (2009). Normalized iterative hard thresholding: guaranteed stability and performance.](https://www.research.ed.ac.uk/files/17821481/BD_NIHT09.pdf)
5. [Zhao, Y.-B., Luo, Z.-Q. (2020). Improved RIP-Based Bounds for Guaranteed Performance of two Compressed Sensing Algorithms. arXiv:2007.01451.](https://arxiv.org/abs/2007.01451)
6. [Greedy Algorithms, in Compressed Sensing Approach to Systems and Control (Emerald Publishing).](https://www.emerald.com/books/oa-monograph/20856/chapter/106970236/Greedy-Algorithms)
7. [Iterative Hard Thresholding for Model Selection in Genome-Wide Association Studies (PMC).](https://pmc.ncbi.nlm.nih.gov/articles/PMC5696071/)
8. [CGIHT: conjugate gradient iterative hard thresholding for compressed sensing and matrix completion. Information and Inference: A Journal of the IMA 4(4), 289–327.](https://academic.oup.com/imaiai/article/4/4/289/2357061)
9. [On Iterative Hard Thresholding Methods for High-dimensional M-Estimation (NeurIPS).](https://papers.neurips.cc/paper/5293-on-iterative-hard-thresholding-methods-for-high-dimensional-m-estimation.pdf)
10. [Khanna, R., Kyrillidis, A. (2018). IHT dies hard: Provable accelerated Iterative Hard Thresholding. AISTATS, PMLR 84, 188–198.](https://proceedings.mlr.press/v84/khanna18a.html)
11. [Xia, Y., Zhou, L. (2023). Adaptive iterative hard thresholding for low-rank matrix recovery and rank-one measurements. Journal of Complexity 76, 101725.](https://www.sciencedirect.com/science/article/pii/S0885064X22000905)
12. [The Benefits of Acting Locally: Reconstruction Algorithms for Sparse in Levels Signals (IEEE Transactions on Signal Processing, 2021).](https://doi.org/10.1109/TSP.2021.3080458)
13. [Gao, Z., Zhang, C., Wang, Z., Chen, S. (2015). Priori-Information Aided Iterative Hard Threshold: A Low-Complexity High-Accuracy Compressive Sensing Based Channel Estimation for TDS-OFDM. arXiv:1510.06800.](https://arxiv.org/abs/1510.06800)
14. [Hajjaj, M. (2022). Iterative Newton hard thresholding-based approach for cosparse recovery of mmWave massive MIMO channels. International Journal of Communication Systems 35(6), e5092.](https://onlinelibrary.wiley.com/doi/abs/10.1002/dac.5092)
15. [CRDN: Cognitive Radio with Deep Network for Proficient Spectrum Sharing in Massive MIMO Systems, SciELO](https://www.scielo.br/j/babt/a/QVQgM5ryZnCLbwM9kxyNm9k/?lang=en)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 通信与日常技术 › 无线信号处理技术 › 压缩感知与用于无线通信的机器学习

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/iterative-hard-thresholding

English original: https://www.edgepedia.org/iterative-hard-thresholding
