A Deterministic Nonsmooth Frank Wolfe Algorithm with Coreset Guarantees

Sathya N. Ravi, Maxwell D. Collins, Vikas Singh · DOI

Abstract

We present a new Frank-Wolfe (FW) type algorithm that is applicable to minimization problems with a nonsmooth convex objective. We provide convergence bounds and show that the scheme yields so-called coreset results for various Machine Learning problems including 1-median, Balanced Development, Sparse PCA, Graph Cuts, and the $\ell_1$-norm-regularized Support Vector Machine (SVM) among others. This means that the algorithm provides approximate solutions to these problems in time complexity bounds that are not dependent on the size of the input problem. Our framework, motivated by a growing body of work on sublinear algorithms for various data analysis problems, is entirely deterministic and makes no use of smoothing or proximal operators. Apart from these theoretical results, we show experimentally that the algorithm is very practical and in some cases also offers significant computational advantages on large problem instances. We provide an open source implementation that can be adapted for other problems that fit the overall structure.

Introduction

Optimization is the engine under the hood of modern machine learning. However, as datasets grow to massive proportions, even "gold standard" linear-time algorithms—those that look at every data point at least once—are becoming computationally prohibitive. To address this, researchers are increasingly turning toward sublinear algorithms: methods capable of finding high-quality approximate solutions by processing only a tiny fraction of the total data.

In "A Deterministic Nonsmooth Frank Wolfe Algorithm with Coreset Guarantees," Sathya N. Ravi and colleagues introduce a powerful new framework for this challenge. By extending the classic Frank-Wolfe (FW) algorithm to handle nonsmooth convex functions without the traditional computational overhead of "smoothing," the authors provide a deterministic path to solving massive optimization problems in time that is independent of the input size.

The Challenge of Nonsmoothness

The Frank-Wolfe algorithm is highly valued in machine learning because it is "projection-free." Instead of performing expensive projections onto feasible sets, it solves a simple linear subproblem at each iteration. However, FW traditionally requires the objective function to be smooth (differentiable).

When faced with nonsmooth functions—such as the absolute values used in sparse coding or the hinge losses in Support Vector Machines (SVMs)—practitioners typically resort to two strategies:

  1. Smoothing: Adding a small penalty to "round off" sharp corners. This is computationally expensive and requires sensitive hyperparameter tuning.
  2. Proximal Operators: These can be as mathematically and computationally difficult to solve as the original optimization problem.

Furthermore, while FW is known to produce sparse solutions, proving this property for nonsmooth functions has remained a significant theoretical hurdle. The authors sought a method to retain the benefits of FW—simplicity and data sparsity—without the "smoothing tax."

Methods: Approximate Subdifferentials

The core innovation of this work is the use of approximate subdifferentials. In a smooth function, the gradient provides a clear direction for descent. In a nonsmooth function, a standard subgradient at a "kink" might point in a direction that does not actually improve the objective, leading to oscillation.

Based on a deterministic scheme originally proposed by White in 1993, the authors' algorithm looks at a small neighborhood $T(x, \epsilon)$ around the current point. By considering the set of all possible slopes (subgradients) within that neighborhood, the algorithm identifies a descent direction guaranteed to improve the objective.

Key Technical Highlights

  • Deterministic Nature: Unlike many sublinear algorithms that rely on randomized sampling to achieve speed, this approach is entirely predictable and deterministic.
  • No Smoothing or Proximal Operators: The algorithm deals with "kinks" in the objective function directly, avoiding the need for complex transformations.
  • Coreset Guarantees: The authors prove that for several machine learning problems, the algorithm identifies a "coreset"—a small subset of data that acts as a proxy for the entire dataset. Crucially, the size of this subset depends on the desired precision, not the total number of data points ($n$).

Key Insights and Results

The algorithm’s complexity is tied to the "intrinsic hardness" of the problem (represented by a curvature constant $C_f$) rather than the size of the input. If the data is well-separated, the algorithm remains fast regardless of whether the dataset contains a thousand or a billion points.

Convergence and Sparsity

The algorithm achieves a convergence rate of $O(1/\sqrt{k})$. While this is theoretically slower than the $O(1/k)$ rate seen in smooth Frank-Wolfe variants, it is highly robust for nonsmooth objectives. Because it is a Frank-Wolfe variant, each iteration adds at most one new "atom" (or data point) to the solution, naturally building a coreset as it progresses.

Empirical Performance

The authors evaluated the algorithm across several benchmarks:

  • $\ell_1$-SVM: On standard datasets like leukemia and w8a, the algorithm converged in fewer than 40 iterations using a bisection line search, significantly outperforming randomized smoothing baselines.
  • 1-median Clustering: Testing on synthetic datasets confirmed that the size of the coreset and the number of iterations remained constant even as the total number of points ($n$) increased, verifying the sublinear property.
  • Multiway Graph Cuts: On the dblife dataset, which involves approximately 20 million decision variables, the algorithm successfully ran on a single desktop. Previous approaches to problems of this scale typically required distributed computing clusters.

Conclusion

This framework provides a robust, deterministic method for scaling nonsmooth optimization. By bypassing the need for smoothing and proximal operators, the authors have created a practical tool for high-dimensional data analysis. While the primary trade-off lies in the complexity of the linear subproblem for certain mathematical structures, the ability to achieve coreset guarantees makes this a significant step forward for sublinear machine learning. Future work may explore identifying broader classes of problems where these subproblems are most efficiently solved and investigating if the $O(1/\sqrt{k})$ rate can be further optimized.

Summary updated

BibTeX
@article{ravi2017deterministic,
  author = {Sathya N. Ravi and Maxwell D. Collins and Vikas Singh},
  title = {{A Deterministic Nonsmooth Frank Wolfe Algorithm with Coreset Guarantees}},
  journal = {INFORMS J. Optim.},
  year = {2017},
  doi = {10.1287/ijoo.2019.0014},
}
Figure