# Frank–Wolfe 算法

Frank–Wolfe 算法是一种一阶方法，用于在紧凸集上最小化光滑凸函数：它反复在该集合上最小化一个线性函数，并朝所得点移动一小段距离。由于它从不向可行集投影，因此被称为无投影方法，也被称为条件梯度法。它广泛应用于机器学习和运筹学，包括 LASSO 回归、支持向量机训练、矩阵补全、交通分配、子模优化和对抗攻击。<sup>[1](https://link.springer.com/article/10.1007/s10479-024-06251-7)</sup><sup> • </sup><sup>[2](https://conditional-gradients.org/)</sup>

| 关键事实 | 详情 |
|---|---|
| 问题结构 | 紧凸集 \( C \subset \mathbb{R}^n \) 上的光滑凸目标函数<sup>[3](https://www.sciencedirect.com/science/article/abs/pii/S0167637721000882)</sup> |
| 核心更新 | \( v_t = \arg\min_{v \in P} \langle \nabla f(x_t), v \rangle \)，然后 \( x_{t+1} = (1-\gamma_t)x_t + \gamma_t v_t \)<sup>[4](https://link.springer.com/article/10.1365/s13291-023-00275-x)</sup> |
| 标准步长 | 递减规则 \( \gamma_t = 2/(2+t) \)<sup>[4](https://link.springer.com/article/10.1365/s13291-023-00275-x)</sup> |
| 收敛速率 | \( f(x_t) - f(x^*) \le 2L \cdot D^2/(t+2) \)，即 \( O(1/t) \) 速率，且已知是紧的<sup>[4](https://link.springer.com/article/10.1365/s13291-023-00275-x)</sup><sup> • </sup><sup>[5](https://proceedings.mlr.press/v28/jaggi13.pdf)</sup> |
| 稀疏性 | 在单纯形上，\( k \) 步之后迭代点的支撑集至多有 \( k+1 \) 个元素<sup>[1](https://link.springer.com/article/10.1007/s10479-024-06251-7)</sup> |
| 起源 | Marguerite Frank 与 Philip Wolfe 的论文，1956 年发表于《Naval Research Logistics Quarterly》<sup>[6](https://onlinelibrary.wiley.com/doi/10.1002/nav.3800030109)</sup> |

## 工作原理

该方法求解 \( \min_{x \in C} f(x) \)，其中 \( f \) 光滑且凸，\( C \) 紧且凸。在每个迭代点 \( x_t \) 处，它将目标函数线性化，并调用线性最小化预言机（LMO）：即在 \( C \) 上最小化线性函数的子程序。预言机的解 \( v_t \) 就是算法朝其迈步的顶点。<sup>[3](https://www.sciencedirect.com/science/article/abs/pii/S0167637721000882)</sup><sup> • </sup><sup>[4](https://link.springer.com/article/10.1365/s13291-023-00275-x)</sup>

LMO 取代了投影梯度法所使用的投影步骤。对某些可行集而言，这一替换是决定性的：核范数球——低秩矩阵补全的天然可行集——就是一个典型例子，其中线性最小化比投影更廉价。<sup>[4](https://link.springer.com/article/10.1365/s13291-023-00275-x)</sup> Combettes 与 Pokutta 的一项比较研究梳理了线性最小化比投影更廉价的集合，并发现即使在渐近复杂度相同的情况下，常数也可能相差显著。<sup>[1](https://link.springer.com/article/10.1007/s10479-024-06251-7)</sup><sup> • </sup><sup>[3](https://www.sciencedirect.com/science/article/abs/pii/S0167637721000882)</sup>

收敛性分析依赖于曲率常数 \( C_f \)，即取遍点对与插值参数时，目标函数沿可行域线段偏离其线性近似的程度的上确界。<sup>[5](https://proceedings.mlr.press/v28/jaggi13.pdf)</sup>

## 实现方法

一次迭代包含三个步骤。<sup>[4](https://link.springer.com/article/10.1365/s13291-023-00275-x)</sup>

1. 计算 \( \nabla f(x_t) \) 并求解 \( v_t \leftarrow \arg\min_{v \in P} \langle \nabla f(x_t), v \rangle \)。
2. 选择步长 \( \gamma_t \in [0,1] \)。
3. 更新 \( x_{t+1} \leftarrow (1-\gamma_t)x_t + \gamma_t v_t \)，由凸性保证迭代点仍可行。

最简单的选择是开环规则 \( \gamma_t = 2/(2+t) \)，它给出 \( f(x_t) - f(x^*) \le 2L \cdot D^2/(t+2) \)，其中 \( L \) 是光滑性界，\( D \) 是可行集的直径；经过 \( t \ge 2L \cdot D^2/\varepsilon \) 次迭代达到精度 \( \varepsilon \)。<sup>[4](https://link.springer.com/article/10.1365/s13291-023-00275-x)</sup> 替代方案包括精确线搜索 \( \alpha_k = \min \arg\min_{\alpha \in [0, \alpha_k^{\max}]} \varphi(\alpha) \)，其中 \( \varphi(\alpha) := f(x_k + \alpha d_k) \)，<sup>[1](https://link.springer.com/article/10.1007/s10479-024-06251-7)</sup> 以及短步规则 \( \gamma_t := \min\{ \langle \nabla f(x_t), x_t - v_t \rangle / (L \|x_t - v_t\|^2), 1 \} \)，当截断生效时可给出线性收敛。<sup>[4](https://link.springer.com/article/10.1365/s13291-023-00275-x)</sup>

Frank–Wolfe 间隙 \( \max_{v \in P} \langle \nabla f(x_t), x_t - v \rangle \) 给出未知次优性 \( f(x_t) - f(x^*) \) 的上界，作为每次迭代的副产品计算得出，并可作为停止准则，无需知道 \( L \) 或 \( D \)；其历次迭代中的最小值满足 \( \le 6.75 L \cdot D^2/(t+2) \)。<sup>[4](https://link.springer.com/article/10.1365/s13291-023-00275-x)</sup><sup> • </sup><sup>[7](https://proceedings.neurips.cc/paper_files/paper/2015/file/c058f544c737782deacefa532d9add4c-Paper.pdf)</sup>

## 起源

该方法是一种一阶算法，用于在多面体上最小化凸二次目标函数，做法是朝线性化目标函数的极小点移动。<sup>[1](https://link.springer.com/article/10.1007/s10479-024-06251-7)</sup> 后来该方法被推广到配备线性最小化预言机的集合上的光滑优化，部分动机来自最优控制，并在 20 世纪 60 年代和 70 年代的经典工作中得到分析。<sup>[1](https://link.springer.com/article/10.1007/s10479-024-06251-7)</sup><sup> • </sup><sup>[8](https://ar5iv.labs.arxiv.org/html/2002.11860)</sup>

## 变体

基础算法的 \( O(1/t) \) 速率一般而言是紧的，但若干活跃集变体对其有所改进。<sup>[5](https://proceedings.mlr.press/v28/jaggi13.pdf)</sup><sup> • </sup><sup>[7](https://proceedings.neurips.cc/paper_files/paper/2015/file/c058f544c737782deacefa532d9add4c-Paper.pdf)</sup>

**离步 Frank–Wolfe** 增加了一个远离当前支撑集中活跃原子的移动，解决了边界最优解附近的锯齿现象，且不需要可行性预言机。<sup>[7](https://proceedings.neurips.cc/paper_files/paper/2015/file/c058f544c737782deacefa532d9add4c-Paper.pdf)</sup> **成对 Frank–Wolfe** 是另一种此类活跃集变体，而**全校正 Frank–Wolfe** 在所有先前使用过的原子上重新优化目标函数；2015 年的一篇 NeurIPS 论文首次证明，离步、成对、全校正变体以及最小范数点算法在弱于目标函数强凸性的条件下都具有全局线性收敛性。<sup>[7](https://proceedings.neurips.cc/paper_files/paper/2015/file/c058f544c737782deacefa532d9add4c-Paper.pdf)</sup> 线性速率的常数因子可分解为函数经典条件数与作为约束集条件数的几何量的乘积。<sup>[7](https://proceedings.neurips.cc/paper_files/paper/2015/file/c058f544c737782deacefa532d9add4c-Paper.pdf)</sup> 其他变体包括扩展 Frank–Wolfe 方法（也称单纯形分解），以及使用保持在当前面内的方向的面内变体或分解不变变体。<sup>[1](https://link.springer.com/article/10.1007/s10479-024-06251-7)</sup>

当目标函数和可行集均为强凸时，Garber 与 Hazan 证明了原方法以 \( 1/t^2 \) 的加速速率收敛，且与维数无关，该速率介于 \( 1/t \) 与线性之间。<sup>[9](https://doi.org/10.48550/arxiv.1406.1305)</sup> 由蓝光辉与周毅提出的条件梯度滑动，在运行 Nesterov 式加速步骤的同时使用 Frank–Wolfe 进行近似投影，在不增加线性优化次数的情况下减少了梯度计算。<sup>[10](https://doi.org/10.1137/140992382)</sup> 近期工作包括由 Donald Goldfarb、Garud Iyengar 和 Chaoxu Zhou 提出的具有线性收敛性的随机 Frank–Wolfe 变体，<sup>[11](https://doi.org/10.48550/arxiv.1703.07269)</sup> 以及由 Aleksandr Beznosikov、David Dobre 和 Gauthier Gidel 提出的 Sarah Frank-Wolfe——一种具有已知最佳速率和实用特性的无投影方法。<sup>[12](https://doi.org/10.48550/arxiv.2304.11737)</sup>

该算法维持极点的凸组合，每次迭代至多增加一个新的极点，从而产生自然的精度与稀疏性之间的权衡。<sup>[4](https://link.springer.com/article/10.1365/s13291-023-00275-x)</sup> 在单纯形上，第 \( k \) 个迭代点的支撑集至多有 \( k+1 \) 个元素，这将该方法与贪心优化方案联系起来。<sup>[1](https://link.springer.com/article/10.1007/s10479-024-06251-7)</sup> 对于涉及稀疏向量和低秩矩阵的应用，迭代点的顶点稀疏性或原子稀疏性是非常理想的。<sup>[5](https://proceedings.mlr.press/v28/jaggi13.pdf)</sup><sup> • </sup><sup>[13](https://proceedings.nips.cc/paper/2020/file/da9e6a4a4aeca98588e4dd77ceb37695-Paper.pdf)</sup> 几何结构决定速率：多面体、球等强凸体以及内部最优解各自导致不同的保证，在集合或目标函数强凸时速率更快。<sup>[2](https://conditional-gradients.org/)</sup><sup> • </sup><sup>[9](https://doi.org/10.48550/arxiv.1406.1305)</sup>

## 应用

该方法在机器学习中的复兴，立足于其线性步骤的廉价性。所综述的应用包括 LASSO、SVM 训练、矩阵补全、最小包围球、密度混合估计、聚类检测、交通分配、子模优化和对抗攻击。<sup>[1](https://link.springer.com/article/10.1007/s10479-024-06251-7)</sup> 其无投影设计使得针对矩阵补全、度量学习、稀疏 PCA、结构化 SVM 及其他大规模问题的、具有可证明收敛性的实用算法成为可能。<sup>[14](http://proceedings.mlr.press/v37/garbera15.pdf)</sup> 全校正变体在最小包围球问题上产生约为经典算法一半大小的核心集，且接近正交匹配追踪。<sup>[5](https://proceedings.mlr.press/v28/jaggi13.pdf)</sup>

## 局限与替代方案

主要的失效模式是尾部收敛缓慢。当最优解位于边界上时，经典 Frank–Wolfe 仅次线性收敛，因为其迭代点在包含该最优解的面的顶点之间锯齿状移动。<sup>[7](https://proceedings.neurips.cc/paper_files/paper/2015/file/c058f544c737782deacefa532d9add4c-Paper.pdf)</sup> 这在最坏情况下不可避免：对于严格凸二次目标函数，在多面体上对任意 \( \delta > 0 \) 都有 \( \Omega(1/k^{1+\delta}) \) 下界，而迭代点为至多 \( k+1 \) 个活跃集元素的凸组合的方法在高维下面临 \( \Omega(1/k) \) 速率，因此需要活跃集变体来超越基础速率并在有限时间内识别支撑集。<sup>[1](https://link.springer.com/article/10.1007/s10479-024-06251-7)</sup> 没有离步时，迭代点也可能变得稠密。该方法的经济性取决于 LMO 是否廉价；当可行集上的线性最小化本身昂贵时，投影梯度法更可取。<sup>[1](https://link.springer.com/article/10.1007/s10479-024-06251-7)</sup><sup> • </sup><sup>[3](https://www.sciencedirect.com/science/article/abs/pii/S0167637721000882)</sup> 已发表的与投影梯度法的比较显示其在大规模问题上的每次迭代优势。<sup>[1](https://link.springer.com/article/10.1007/s10479-024-06251-7)</sup>

## References

1. [Frank–Wolfe and friends: a journey into projection-free first-order optimization methods (Annals of Operations Research)](https://link.springer.com/article/10.1007/s10479-024-06251-7)
2. [Conditional Gradient Methods (monograph site)](https://conditional-gradients.org/)
3. [Complexity of linear minimization and projection on some sets (Combettes & Pokutta, Operations Research Letters)](https://www.sciencedirect.com/science/article/abs/pii/S0167637721000882)
4. [The Frank-Wolfe Algorithm: A Short Introduction (Jahresbericht der DMV; arXiv 2311.05313)](https://link.springer.com/article/10.1365/s13291-023-00275-x)
5. [Revisiting Frank-Wolfe: Projection-Free Sparse Convex Optimization (Jaggi, ICML 2013)](https://proceedings.mlr.press/v28/jaggi13.pdf)
6. [An algorithm for quadratic programming](https://onlinelibrary.wiley.com/doi/10.1002/nav.3800030109)
7. [On the Global Linear Convergence of Frank-Wolfe Optimization Variants (Lacoste-Julien & Jaggi, NeurIPS 2015)](https://proceedings.neurips.cc/paper_files/paper/2015/file/c058f544c737782deacefa532d9add4c-Paper.pdf)
8. [Stochastic Frank-Wolfe for Constrained Finite-Sum Minimization (arXiv 2002.11860)](https://ar5iv.labs.arxiv.org/html/2002.11860)
9. [Garber, Dan, Hazan, Elad (2014). Faster Rates for the Frank-Wolfe Method over Strongly-Convex Sets. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1406.1305)
10. [Guanghui Lan, Yi Zhou (2016). Conditional Gradient Sliding for Convex Optimization. SIAM Journal on Optimization.](https://doi.org/10.1137/140992382)
11. [Goldfarb, Donald, Iyengar, Garud, Zhou, Chaoxu (2017). Linear Convergence of Stochastic Frank Wolfe Variants. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1703.07269)
12. [Beznosikov, Aleksandr, Dobre, David, Gidel, Gauthier (2023). Sarah Frank-Wolfe: Methods for Constrained Optimization with Best Rates and Practical Features. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2304.11737)
13. [Revisiting Frank-Wolfe for Polytopes: Strict Complementarity and Sparsity (NeurIPS 2020)](https://proceedings.nips.cc/paper/2020/file/da9e6a4a4aeca98588e4dd77ceb37695-Paper.pdf)
14. [Faster Rates for the Frank-Wolfe Method over Strongly-Convex Sets (Garber & Hazan, ICML 2015)](http://proceedings.mlr.press/v37/garbera15.pdf)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 数学分析与数学模型 › Numerical analysis and computation › Optimization algorithms

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/frank-wolfe-algorithm

English original: https://www.edgepedia.org/frank-wolfe-algorithm
