Frank–Wolfe algorithm

{{Short description|Optimization algorithm}}

The Frank–Wolfe algorithm is an iterative first-order optimization algorithm for constrained convex optimization. Also known as the conditional gradient method,{{Cite journal | last1 = Levitin | first1 = E. S. | last2 = Polyak | first2 = B. T. | doi = 10.1016/0041-5553(66)90114-5 | title = Constrained minimization methods | journal = USSR Computational Mathematics and Mathematical Physics | volume = 6 | issue = 5 | pages = 1 | year = 1966 }} reduced gradient algorithm and the convex combination algorithm, the method was originally proposed by Marguerite Frank and Philip Wolfe in 1956.{{Cite journal | last1 = Frank | first1 = M. | last2 = Wolfe | first2 = P. | doi = 10.1002/nav.3800030109 | title = An algorithm for quadratic programming | journal = Naval Research Logistics Quarterly | volume = 3 | issue = 1–2 | pages = 95–110 | year = 1956 }} In each iteration, the Frank–Wolfe algorithm considers a linear approximation of the objective function, and moves towards a minimizer of this linear function (taken over the same domain).

Problem statement

Suppose \mathcal{D} is a compact convex set in a vector space and f \colon \mathcal{D} \to \mathbb{R} is a convex, differentiable real-valued function. The Frank–Wolfe algorithm solves the optimization problem

:Minimize f(\mathbf{x})

:subject to \mathbf{x} \in \mathcal{D}.

Algorithm

File:Frank-Wolfe Algorithm.png

:Initialization: Let k \leftarrow 0, and let \mathbf{x}_0 \! be any point in \mathcal{D}.

:Step 1. Direction-finding subproblem: Find \mathbf{s}_k solving

::Minimize \mathbf{s}^T \nabla f(\mathbf{x}_k)

::Subject to \mathbf{s} \in \mathcal{D}

:(Interpretation: Minimize the linear approximation of the problem given by the first-order Taylor approximation of f around \mathbf{x}_k \! constrained to stay within \mathcal{D}.)

:Step 2. Step size determination: Set \alpha \leftarrow \frac{2}{k+2}, or alternatively find \alpha that minimizes f(\mathbf{x}_k+\alpha(\mathbf{s}_k -\mathbf{x}_k)) subject to 0 \le \alpha \le 1 .

:Step 3. Update: Let \mathbf{x}_{k+1}\leftarrow \mathbf{x}_k+\alpha(\mathbf{s}_k-\mathbf{x}_k), let k \leftarrow k+1 and go to Step 1.

Properties

While competing methods such as gradient descent for constrained optimization require a projection step back to the feasible set in each iteration, the Frank–Wolfe algorithm only needs the solution of a convex problem over the same set in each iteration, and automatically stays in the feasible set.

The convergence of the Frank–Wolfe algorithm is sublinear in general: the error in the objective function to the optimum is O(1/k) after k iterations, so long as the gradient is Lipschitz continuous with respect to some norm. The same convergence rate can also be shown if the sub-problems are only solved approximately.{{Cite journal | last1 = Dunn | first1 = J. C. | last2 = Harshbarger | first2 = S. | doi = 10.1016/0022-247X(78)90137-3 | title = Conditional gradient algorithms with open loop step size rules | journal = Journal of Mathematical Analysis and Applications | volume = 62 | issue = 2 | pages = 432 | year = 1978 | doi-access = free }}

The iterations of the algorithm can always be represented as a sparse convex combination of the extreme points of the feasible set, which has helped to the popularity of the algorithm for sparse greedy optimization in machine learning and signal processing problems,{{Cite journal | last1 = Clarkson | first1 = K. L. | title = Coresets, sparse greedy approximation, and the Frank-Wolfe algorithm | doi = 10.1145/1824777.1824783 | journal = ACM Transactions on Algorithms | volume = 6 | issue = 4 | pages = 1–30 | year = 2010 | citeseerx = 10.1.1.145.9299 }} as well as for example the optimization of minimum–cost flows in transportation networks.{{Cite journal | last1 = Fukushima | first1 = M. | title = A modified Frank-Wolfe algorithm for solving the traffic assignment problem | doi = 10.1016/0191-2615(84)90029-8 | journal = Transportation Research Part B: Methodological | volume = 18 | issue = 2 | pages = 169–177| year = 1984 }}

If the feasible set is given by a set of linear constraints, then the subproblem to be solved in each iteration becomes a linear program.

While the worst-case convergence rate with O(1/k) can not be improved in general, faster convergence can be obtained for special problem classes, such as some strongly convex problems.{{Cite book|title=Nonlinear Programming|first= Dimitri |last=Bertsekas|year= 1999|page= 215|publisher= Athena Scientific| isbn =978-1-886529-00-7}}

Lower bounds on the solution value, and primal-dual analysis

Since f is convex, for any two points \mathbf{x}, \mathbf{y} \in \mathcal{D} we have:

:

f(\mathbf{y}) \geq f(\mathbf{x}) + (\mathbf{y} - \mathbf{x})^T \nabla f(\mathbf{x})

This also holds for the (unknown) optimal solution \mathbf{x}^*. That is, f(\mathbf{x}^*) \ge f(\mathbf{x}) + (\mathbf{x}^* - \mathbf{x})^T \nabla f(\mathbf{x}). The best lower bound with respect to a given point \mathbf{x} is given by

:

\begin{align}

f(\mathbf{x}^*)

& \ge f(\mathbf{x}) + (\mathbf{x}^* - \mathbf{x})^T \nabla f(\mathbf{x}) \\

&\geq \min_{\mathbf{y} \in D} \left\{ f(\mathbf{x}) + (\mathbf{y} - \mathbf{x})^T \nabla f(\mathbf{x}) \right\} \\

&= f(\mathbf{x}) - \mathbf{x}^T \nabla f(\mathbf{x}) + \min_{\mathbf{y} \in D} \mathbf{y}^T \nabla f(\mathbf{x})

\end{align}

The latter optimization problem is solved in every iteration of the Frank–Wolfe algorithm, therefore the solution \mathbf{s}_k of the direction-finding subproblem of the k-th iteration can be used to determine increasing lower bounds l_k during each iteration by setting l_0 = - \infty and

:

l_k := \max (l_{k - 1}, f(\mathbf{x}_k) + (\mathbf{s}_k - \mathbf{x}_k)^T \nabla f(\mathbf{x}_k))

Such lower bounds on the unknown optimal value are important in practice because they can be used as a stopping criterion, and give an efficient certificate of the approximation quality in every iteration, since always l_k \leq f(\mathbf{x}^*) \leq f(\mathbf{x}_k).

It has been shown that this corresponding duality gap, that is the difference between f(\mathbf{x}_k) and the lower bound l_k, decreases with the same convergence rate, i.e.

f(\mathbf{x}_k) - l_k = O(1/k) .

Notes

{{Reflist}}

Bibliography

  • {{cite journal|last=Jaggi|first=Martin|title=Revisiting Frank–Wolfe: Projection-Free Sparse Convex Optimization|journal=Journal of Machine Learning Research: Workshop and Conference Proceedings |volume=28|issue=1|pages=427–435|year= 2013 |url=http://jmlr.csail.mit.edu/proceedings/papers/v28/jaggi13.html}} (Overview paper)
  • [http://www.math.chalmers.se/Math/Grundutb/CTH/tma946/0203/fw_eng.pdf The Frank–Wolfe algorithm] description
  • {{Cite book | last1=Nocedal | first1=Jorge | last2=Wright | first2=Stephen J. | title=Numerical Optimization | publisher=Springer-Verlag | location=Berlin, New York | edition=2nd | isbn=978-0-387-30303-1 | year=2006 }}.

See also