# 交替方向乘子法

交替方向乘子法（alternating direction method of multipliers，ADMM）是用于求解如下形式凸优化问题的算法：最小化 \( f(x) + g(z) \)，约束条件为 \( Ax + Bz = c \)，其中 f 与 g 为凸的、闭的、真函数。其工作方式是在 x 与 z 上交替最小化增广拉格朗日函数，然后执行一步对偶上升，从而使大规模问题分解为可分别求解或并行求解的子问题。ADMM 广泛应用于各类统计与机器学习问题，包括 lasso、稀疏逻辑回归、基追踪、协方差选择和支持向量机，并与对偶分解、乘子法、Douglas–Rachford 分裂、Spingarn 部分逆方法、Dykstra 交替投影以及针对 \( \ell_1 \) 问题的 Bregman 迭代算法密切相关。<sup>[1](https://doi.org/10.1561/2200000016)</sup>

| 关键事实 | 详情 |
|---|---|
| 问题类别 | 最小化 \( f(x) + g(z) \)，约束条件为 \( Ax + Bz = c \)，其中 f、g 为凸的、闭的、真函数，且未增广拉格朗日函数存在鞍点<sup>[2](https://web.stanford.edu/~boyd/papers/pdf/springer_15_lect2.pdf)</sup> |
| 迭代方式 | 先做 x 最小化，再做 z 最小化，然后以步长 \( \rho \) 做对偶更新<sup>[2](https://web.stanford.edu/~boyd/papers/pdf/springer_15_lect2.pdf)</sup> |
| 停止判据 | 原始残差 \( r^{k+1} = Ax^{k+1} + Bz^{k+1} - c \) 与对偶残差 \( s^{k+1} = \rho A^{T}B(z^{k+1} - z^{k}) \) 均低于容差<sup>[3](https://cvx-learning.readthedocs.io/en/latest/ADMM/ADMM.html)</sup> |
| 一般收敛速率 | 在温和凸性假设下为 \( O(1/k) \)；在强凸性或误差界条件下为线性收敛<sup>[4](https://proceedings.mlr.press/v70/xu17c/xu17c.pdf)</sup><sup> • </sup><sup>[5](https://optimization-online.org/wp-content/uploads/2012/08/3578.pdf)</sup> |
| 实际表现 | 达到中等精度较快，达到高精度极慢<sup>[3](https://cvx-learning.readthedocs.io/en/latest/ADMM/ADMM.html)</sup> |
| 多块注意事项 | 直接推广到三块及以上时不一定收敛，且对任意惩罚参数 \( \beta > 0 \) 均如此<sup>[6](https://link.springer.com/article/10.1007/s10107-014-0826-5)</sup> |
| 起源 | 最早的应用出现于 20 世纪 70 年代中期；收敛性分析完成于 20 世纪 80 年代初<sup>[7](https://www.numdam.org/item/RO_2017__51_1_17_0.pdf)</sup><sup> • </sup><sup>[8](https://optimization-online.org/wp-content/uploads/2015/06/4954.pdf)</sup> |

## 工作原理

ADMM 针对的是这样一类问题：目标函数可分离为两个不同变量的函数，二者仅通过一个线性约束耦合。它使用增广拉格朗日函数

\[ L_{\rho}(x, z, y) = f(x) + g(z) + y^{T}(Ax + Bz - c) + \frac{\rho}{2}\|Ax + Bz - c\|_2^2, \]

其中惩罚参数 \( \rho > 0 \)。<sup>[2](https://web.stanford.edu/~boyd/papers/pdf/springer_15_lect2.pdf)</sup> 二次惩罚项正是乘子法能够稳健收敛的原因，但它对分解而言也是坏消息：惩罚项将 x 与 z 耦合在一起，因此增广拉格朗日函数不允许可分离的联合最小化；而朴素的对偶分解则通过各自独立的可分离最小化来最小化未增广的拉格朗日函数。<sup>[2](https://web.stanford.edu/~boyd/papers/pdf/springer_15_lect2.pdf)</sup><sup> • </sup><sup>[27](https://stanford.edu/~boyd/papers/pdf/admm_distr_stats.pdf)</sup>

ADMM 以高斯–赛德尔模式最小化增广拉格朗日函数，从而恢复可分解性：先固定 z 对 x 最小化，再固定 x 对 z 最小化。每个子问题只最小化某一个函数加上一个二次扰动，因此 f 与 g 解耦，并行计算成为可能。<sup>[8](https://optimization-online.org/wp-content/uploads/2015/06/4954.pdf)</sup> 令 \( u^{k} = (1/\rho)y^{k} \)，得到缩放对偶形式，此时更新变为对 f 与 g 加上二次项的近端式最小化，而对偶变量则累积缩放后的原始残差。<sup>[2](https://web.stanford.edu/~boyd/papers/pdf/springer_15_lect2.pdf)</sup>

## 执行方式

每次迭代 k 执行三步：<sup>[2](https://web.stanford.edu/~boyd/papers/pdf/springer_15_lect2.pdf)</sup>

\[ x^{k+1} := \arg\min_{x} L_{\rho}(x, z^{k}, y^{k}) \]
\[ z^{k+1} := \arg\min_{z} L_{\rho}(x^{k+1}, z, y^{k}) \]
\[ y^{k+1} := y^{k} + \rho(Ax^{k+1} + Bz^{k+1} - c) \]

与乘子法唯一实质性的区别在于，原始最小化被拆成两部分，而不是在 (x, z) 上联合优化。<sup>[9](https://mdav.ece.gatech.edu/ece-6270-spring2021/notes/19-admm.pdf)</sup> 当每个目标项形式简单时，子问题具有闭式解，无需内层迭代。对于 lasso，x 更新是一个正则化最小二乘求解，\( x^{k+1} = (A^{T}A + \rho I)^{-1}(A^{T}b + \rho z^{k} - y^{k}) \)，而 z 更新是软阈值操作，\( z^{k+1} = S_{\lambda/\rho}(x^{k+1} + y^{k}/\rho) \)。<sup>[2](https://web.stanford.edu/~boyd/papers/pdf/springer_15_lect2.pdf)</sup><sup> • </sup><sup>[9](https://mdav.ece.gatech.edu/ece-6270-spring2021/notes/19-admm.pdf)</sup> 一般凸约束可通过取 g 为约束集 C 的指示函数来处理，此时 z 更新即为向 C 的投影；对于基追踪，该投影可通过伪逆得到闭式表达。<sup>[9](https://mdav.ece.gatech.edu/ece-6270-spring2021/notes/19-admm.pdf)</sup>

终止由原始残差 \( r^{k+1} = Ax^{k+1} + Bz^{k+1} - c \) 与对偶残差 \( s^{k+1} = \rho A^{T}B(z^{k+1} - z^{k}) \) 监控，二者分别与容差比较。<sup>[3](https://cvx-learning.readthedocs.io/en/latest/ADMM/ADMM.html)</sup> 惩罚参数 \( \rho \) 对速度影响很大：较大的强凸性常数有助于收敛，而较大的 Lipschitz 常数以及 A、B 和 [A, B] 的病态性则不利于收敛。<sup>[5](https://optimization-online.org/wp-content/uploads/2012/08/3578.pdf)</sup> 一种常用的残差平衡方案是：当原始残差占主导时，将 \( \rho \) 乘以因子 \( \tau^{\mathrm{incr}} \)；当对偶残差占主导时，将其除以 \( \tau^{\mathrm{decr}} \)；其余情况保持不变。<sup>[3](https://cvx-learning.readthedocs.io/en/latest/ADMM/ADMM.html)</sup> 也可以采用过松弛：当松弛参数 γ 位于 \( (0, (1+\sqrt{5})/2) \) 内时收敛有保证，且在过松弛变体中 \( \gamma = 1.618 \) 的收敛速度明显快于 \( \gamma = 1 \)。<sup>[7](https://www.numdam.org/item/RO_2017__51_1_17_0.pdf)</sup><sup> • </sup><sup>[5](https://optimization-online.org/wp-content/uploads/2012/08/3578.pdf)</sup>

## 起源

ADMM 背后的分裂思想可追溯至 20 世纪 50 年代针对线性算子的 Douglas–Rachford 算法与 Peaceman–Rachford 算法。<sup>[7](https://www.numdam.org/item/RO_2017__51_1_17_0.pdf)</sup> ADMM 的首次应用归功于丹尼尔·加贝（Daniel Gabay）与贝特朗·梅西耶（Bertrand Mercier），他们求解了热传导方程，并由加贝给出了理论分析；其论文《A dual algorithm for the solution of nonlinear variational problems via finite element approximation》于 1976 年发表于《Computers & Mathematics with Applications》。<sup>[7](https://www.numdam.org/item/RO_2017__51_1_17_0.pdf)</sup><sup> • </sup><sup>[10](https://doi.org/10.1016/0898-1221%2876%2990003-1)</sup> 一个前身来自 R. T. 罗卡费拉（R. T. Rockafellar）于 1976 年发表在《Mathematics of Operations Research》上的论文，该文引入了“近端乘子法”，其基础是用于极大单调算子的近端点算法，后来被改编为 ADMM 的各种变体。<sup>[11](https://doi.org/10.1287/moor.1.2.97)</sup> 1979 年，P. L. 利翁斯（P. L. Lions）与 B. 梅西耶（B. Mercier） 在《SIAM Journal on Numerical Analysis》上分析了两极大单调算子之和的分裂方法（包括 Douglas–Rachford）的收敛性。<sup>[12](https://doi.org/10.1137/0716071)</sup> ADMM 本身的收敛性证明出现于 20 世纪 80 年代初：其一给出了变分不等式证明，其二表明 ADMM 就是应用于对偶问题的 Douglas–Rachford 分裂。<sup>[13](https://www.maths.ed.ac.uk/~gondzio/admm2020/slides/Talk_Edin_Eckstein.pdf)</sup> 乔纳森·埃克斯坦（Jonathan Eckstein）与迪米特里·P. 伯特塞卡斯（Dimitri P. Bertsekas）于 1992 年发表在《Mathematical Programming》上的论文，是第一部严格处理 ADMM 子问题非精确求解的出版物。<sup>[14](https://doi.org/10.1007/bf01581204)</sup> 斯蒂芬·博伊德（Stephen Boyd）及其同事于 2011 年发表在《Foundations and Trends in Machine Learning》上的综述，使该方法在分布式优化与统计学习领域广为人知。<sup>[1](https://doi.org/10.1561/2200000016)</sup>

## 变体

**共识 ADMM 与分布式 ADMM。** 对于最小化 \( \sum_i f_i(x) \) 的问题，共识 ADMM 引入局部变量 \( x_i \) 及共识约束 \( x_i - z = 0 \)；每次迭代收集并平均各局部迭代值，将平均值广播出去，并并行更新对偶变量与局部变量。<sup>[2](https://web.stanford.edu/~boyd/papers/pdf/springer_15_lect2.pdf)</sup> 在标准形式中，每个节点最小化 \( f_i(x) + \langle y_i^k, x - z^k \rangle + (\rho/2)\|x - z^k\|^2 \)，更新其对偶变量，全局变量则为平均值 \( z^{k+1} = (1/N)\sum_i (x_i^{k+1} + y_i^{k+1}/\rho) \)。<sup>[15](https://link.springer.com/article/10.1186/s13634-025-01225-8)</sup>

**Bregman ADMM。** BADMM 在 x 更新与 z 更新中用 Bregman 散度替代二次惩罚，统一了广义 ADMM、非精确 ADMM 与 Bethe ADMM，具有全局收敛性和 \( O(1/T) \) 迭代复杂度；在某些情形下，其速度在维度 n 上比 ADMM 快 \( O(n/\ln n) \) 倍。<sup>[16](https://proceedings.neurips.cc/paper_files/paper/2014/file/ad71c82b22f4f65b9398f76d8be4c615-Paper.pdf)</sup>

**多块方案。** 逐块 ADMM 将若干目标项归为两块并应用原始 ADMM，子问题进一步分解为可并行的（雅可比）部分；收敛要求近端系数 \( \tau_i > m_i - 1 \)。<sup>[17](https://smai-jcm.centre-mersenne.org/item/10.5802/smai-jcm.6.pdf)</sup> 何与袁提出用一个简单的校正步来校正直接多块推广的输出，从而对三块问题获得全局收敛性和最坏情形 \( O(1/t) \) 迭代复杂度。<sup>[18](http://maths.nju.edu.cn/~hebma/paper/ADMM-m-Paper/2018-COAP-HY.pdf)</sup> 李、孙与托（Toh）针对含一个强凸块的问题给出了一种收敛的三块半近端 ADMM。<sup>[19](https://ww3.math.ucla.edu/camreport/cam14-91.pdf)</sup>

**自适应变体。** ACADMM 通过由局部曲率估计得到的谱步长 \( \tau_i^k = 1/\sqrt{\alpha_i \beta_i} \) 为各工作节点设置各自的惩罚参数，其推导基于 Douglas–Rachford 解释，并给出了节点参数各异时自适应 ADMM 的 \( O(1/k) \) 速率。<sup>[4](https://proceedings.mlr.press/v70/xu17c/xu17c.pdf)</sup> ARADMM（徐征（Zheng Xu）、马里奥·A. T. 菲格雷多（Mario A. T. Figueiredo）与汤姆·戈尔茨坦（Tom Goldstein），2016）利用谱信息自适应地选择惩罚参数。<sup>[20](https://doi.org/10.48550/arxiv.1605.07246)</sup>

## 应用

ADMM 的分解结构适用于包括 lasso、稀疏逻辑回归、基追踪、协方差选择和支持向量机在内的统计与机器学习问题，并支持 MPI 与 Hadoop MapReduce 的分布式实现。<sup>[1](https://doi.org/10.1561/2200000016)</sup> 在一个分布式 lasso 示例中，约 30 GB 数据被划分为 80 个子系统，分布在 Amazon EC2 上 10 台八核机器上，约 15 次 ADMM 迭代的 lasso 求解耗时 5–6 分钟。<sup>[2](https://web.stanford.edu/~boyd/papers/pdf/springer_15_lect2.pdf)</sup> ADMM 型更新还可求解鲁棒主成分分析<sup>[21](https://doi.org/10.1145/1970392.1970395)</sup>以及用于稀疏逆协方差估计的图 lasso。<sup>[22](https://doi.org/10.1093/biostatistics/kxm045)</sup>

## 局限与替代方法

收敛所需条件很少：f 与 g 凸、闭、真，且未增广拉格朗日函数存在鞍点；此时迭代点趋于可行，目标值趋于最优值。<sup>[2](https://web.stanford.edu/~boyd/papers/pdf/springer_15_lect2.pdf)</sup> 在温和条件下，ADMM 对凸问题以 \( O(1/k) \) 收敛，在强凸性下线性收敛。<sup>[4](https://proceedings.mlr.press/v70/xu17c/xu17c.pdf)</sup><sup> • </sup><sup>[16](https://proceedings.neurips.cc/paper_files/paper/2014/file/ad71c82b22f4f65b9398f76d8be4c615-Paper.pdf)</sup> 线性收敛已沿若干路径得到确立。邓与殷证明了：当至少一个目标函数严格凸且梯度 Lipschitz 连续，并且 A 与 B 满足一定秩条件时，算法全局线性收敛，即对某个 \( c > 1 \) 有 \( O(1/c^{k}) \)。<sup>[5](https://optimization-online.org/wp-content/uploads/2012/08/3578.pdf)</sup> 洪与罗在误差界条件和充分小的对偶步长下，对任意数量的凸可分离函数建立了全局 R-线性收敛，无需强凸性；这意味着 lasso 情形下 ADMM 线性收敛。<sup>[23](https://dl.acm.org/doi/10.1007/s10107-016-1034-2)</sup> 西原（Nishihara）、莱萨德（Lessard）、雷希特（Recht）、帕卡德（Packard）与乔丹（Jordan）利用动力系统稳定性框架，在一个目标项强凸时证明了线性收敛，并表明最小化其速率上界可为选择算法参数提供实用方法。<sup>[24](https://proceedings.mlr.press/v37/nishihara15.html)</sup>

在实践中，ADMM 收敛到中等精度很快，但达到高精度可能极慢，这使其适用于中等精度即足够的场景，颇像共轭梯度法。<sup>[3](https://cvx-learning.readthedocs.io/en/latest/ADMM/ADMM.html)</sup> 主要局限在于精度。对于半定规划，ADMM 及其变体主要用于为下游求解器提供热启动或获得粗糙解，因为与内点法相比它们难以达到中等精度；已有记录的 SDP 失败案例在 \( 10^{6} \) 次迭代或 100 小时后最大 KKT 残差仍高于 \( 10^{-10} \)，这与收敛解的最小正特征值接近零有关。<sup>[25](https://arxiv.org/pdf/2503.20142)</sup> 与商业求解器相比，BADMM 在 GPU 上实现时，对大规模运输线性规划的闭式逐元素并行更新可比 Gurobi 快若干数量级。<sup>[16](https://proceedings.neurips.cc/paper_files/paper/2014/file/ad71c82b22f4f65b9398f76d8be4c615-Paper.pdf)</sup>

将 ADMM 直接推广到三块及以上并循环更新各块，不一定收敛。陈彩华及其同事给出了一个三维线性方程例子，在该例中，直接推广的 ADMM 对任意惩罚参数 \( \beta > 0 \) 以及维度为 3 的连续稠密半空间中的任意起点都发散，从而对这个长期悬而未决的问题给出了否定答案。<sup>[6](https://link.springer.com/article/10.1007/s10107-014-0826-5)</sup> 即使所有函数都强凸，直接推广仍可能发散：在他们的例子中，\( \beta = 1 \) 时迭代矩阵的谱半径为 1.0087。<sup>[6](https://link.springer.com/article/10.1007/s10107-014-0826-5)</sup> 较小的对偶步长也无法挽救该迭代；即使步长因子 \( \gamma \) 小至 \( 10^{-8} \)，该变体仍然发散。<sup>[6](https://link.springer.com/article/10.1007/s10107-014-0826-5)</sup> 直接推广的收敛性可在某些限制性条件下恢复，例如某些系数矩阵正交，或采用上文所述的校正方案与逐块方案。<sup>[6](https://link.springer.com/article/10.1007/s10107-014-0826-5)</sup><sup> • </sup><sup>[17](https://smai-jcm.centre-mersenne.org/item/10.5802/smai-jcm.6.pdf)</sup><sup> • </sup><sup>[18](http://maths.nju.edu.cn/~hebma/paper/ADMM-m-Paper/2018-COAP-HY.pdf)</sup> 除多块问题外，ADMM 相关算法的收敛性在凸情形下已充分确立，但对于非凸变分问题上的经典 ALG1/ALG2/ALG3 方案，仍缺乏一般的收敛理论。<sup>[26](https://ww3.math.ucla.edu/camreport/cam16-10.pdf)</sup>

## References

1. [Stephen Boyd and colleagues (2011). Distributed Optimization and Statistical Learning via the Alternating Direction Method of Multipliers. Foundations and Trends® in Machine Learning.](https://doi.org/10.1561/2200000016)
2. [Distributed Optimization via Alternating Direction Method of Multipliers (Springer lecture slides, Boyd, 2015)](https://web.stanford.edu/~boyd/papers/pdf/springer_15_lect2.pdf)
3. [Cvx-Learning: Alternating Direction Method of Multipliers](https://cvx-learning.readthedocs.io/en/latest/ADMM/ADMM.html)
4. [Adaptive Consensus ADMM for Distributed Optimization (ACADMM, ICML 2017)](https://proceedings.mlr.press/v70/xu17c/xu17c.pdf)
5. [On the Linear Convergence of the Alternating Direction Method of Multipliers (Deng & Yin)](https://optimization-online.org/wp-content/uploads/2012/08/3578.pdf)
6. [The direct extension of ADMM for multi-block convex minimization problems is not necessarily convergent (Chen, He, Ye, Yuan; Mathematical Programming)](https://link.springer.com/article/10.1007/s10107-014-0826-5)
7. [A survey on operator splitting and decomposition of convex programs](https://www.numdam.org/item/RO_2017__51_1_17_0.pdf)
8. [Understanding the Convergence of the Alternating Direction Method of Multipliers (Eckstein, tutorial)](https://optimization-online.org/wp-content/uploads/2015/06/4954.pdf)
9. [Georgia Tech ECE 6270 lecture notes: ADMM (Davenport, Egerstedt, Romberg)](https://mdav.ece.gatech.edu/ece-6270-spring2021/notes/19-admm.pdf)
10. [A dual algorithm for the solution of nonlinear variational problems via finite element approximation (Computers & Mathematics with Applications, 1976)](https://doi.org/10.1016/0898-1221%2876%2990003-1)
11. [R. T. Rockafellar (1976). Augmented Lagrangians and Applications of the Proximal Point Algorithm in Convex Programming. Mathematics of Operations Research.](https://doi.org/10.1287/moor.1.2.97)
12. [P. L. Lions, B. Mercier (1979). Splitting Algorithms for the Sum of Two Nonlinear Operators. SIAM Journal on Numerical Analysis.](https://doi.org/10.1137/0716071)
13. [The ADMM – slides by Jonathan Eckstein (ADMM history talk, Edinburgh 2020)](https://www.maths.ed.ac.uk/~gondzio/admm2020/slides/Talk_Edin_Eckstein.pdf)
14. [Jonathan Eckstein, Dimitri P. Bertsekas (1992). On the Douglas, Rachford splitting method and the proximal point algorithm for maximal monotone operators. Mathematical Programming.](https://doi.org/10.1007/bf01581204)
15. [Fast-converging decentralized alternating direction method of multipliers for consensus optimization (EURASIP Journal on Advances in Signal Processing, 2025)](https://link.springer.com/article/10.1186/s13634-025-01225-8)
16. [Bregman Alternating Direction Method of Multipliers (BADMM), NeurIPS 2014](https://proceedings.neurips.cc/paper_files/paper/2014/file/ad71c82b22f4f65b9398f76d8be4c615-Paper.pdf)
17. [Block-wise Alternating Direction Method of Multipliers for Multiple-block Convex Programming and Beyond](https://smai-jcm.centre-mersenne.org/item/10.5802/smai-jcm.6.pdf)
18. [A class of ADMM-based algorithms for three-block separable convex programming (He & Yuan, COAP 2018)](http://maths.nju.edu.cn/~hebma/paper/ADMM-m-Paper/2018-COAP-HY.pdf)
19. [On the Convergence Rate of Multi-Block ADMM (CAM Report 14-91)](https://ww3.math.ucla.edu/camreport/cam14-91.pdf)
20. [Xu, Zheng, Figueiredo, Mario A. T., Goldstein, Tom (2016). Adaptive ADMM with Spectral Penalty Parameter Selection. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1605.07246)
21. [Emmanuel J. Candès and colleagues (2011). Robust principal component analysis?. Journal of the ACM.](https://doi.org/10.1145/1970392.1970395)
22. [Jerome Friedman, Trevor Hastie, Robert Tibshirani (2007). Sparse inverse covariance estimation with the graphical lasso. Biostatistics.](https://doi.org/10.1093/biostatistics/kxm045)
23. [On the linear convergence of the alternating direction method of multipliers (Hong & Luo, Mathematical Programming)](https://dl.acm.org/doi/10.1007/s10107-016-1034-2)
24. [A General Analysis of the Convergence of ADMM (Nishihara, Lessard, Recht, Packard, Jordan; ICML 2015)](https://proceedings.mlr.press/v37/nishihara15.html)
25. [Local linear convergence of ADMM for semidefinite programming under strict complementarity](https://arxiv.org/pdf/2503.20142)
26. [Some Facts about Operator-Splitting and Alternating Direction Methods (Glowinski, Pan, Tai)](https://ww3.math.ucla.edu/camreport/cam16-10.pdf)
27. [Admm Distr Stats.pdf, stanford.edu](https://stanford.edu/~boyd/papers/pdf/admm_distr_stats.pdf)

---
*Initially written Sep 29, 2026 · Edited: 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/alternating-direction-method-of-multipliers

English original: https://www.edgepedia.org/alternating-direction-method-of-multipliers
