Smooth minimization of nonsmooth functions with parallel coordinate descent methods

Olivier Fercoq, Peter RichtárikarXiv 2013 · DOI

TL;DR

This paper introduces and analyzes a family of parallel coordinate descent methods for optimizing large-scale, non-smooth, and separable convex functions. The key innovation lies in developing methods that achieve significant parallelization speedup, especially for problems with sparse data, by carefully selecting parameters that balance computational cost and convergence rate.

What Problem Does This Paper Address?

Modern machine learning and optimization problems often involve minimizing functions with a massive number of variables (e.g., millions). Traditional optimization algorithms struggle with such scale due to high computational costs per iteration and memory requirements. This paper focuses on a specific class of problems: minimizing the sum of a non-smooth, separable convex function and a smooth, convex function. This class includes important real-world applications like L1-regularized regression and the "AdaBoost" problem. The challenge is to develop methods that are not only scalable but also efficient in terms of both the number of iterations and the work per iteration, particularly in a parallel computing environment. The authors aim to bridge the gap between the theoretical efficiency of parallel algorithms and their practical applicability to big data problems.

Methods

The core of the paper is the Smoothed Parallel Coordinate Descent Method (SPCDM). This method leverages Nesterov's smoothing technique to approximate non-smooth functions with smooth ones, allowing for the application of powerful optimization tools. The key novelty lies in the analysis of Expected Separable Overapproximation (ESO) inequalities, which provide a framework for understanding the convergence of parallel coordinate descent.

The authors introduce and analyze:

  • Parallel Coordinate Descent Methods (PCDM): These methods update a randomly selected subset of blocks (groups of variables) in parallel at each iteration.
  • Nesterov's Smoothing Technique: Used to transform non-smooth problems into smooth ones, enabling better theoretical analysis.
  • ESO Inequalities: A crucial tool for deriving iteration complexity bounds for PCDM. The paper focuses on computing "good" ESO parameters (β and w) that are easily computable and lead to efficient parallelization.
  • Data-Dependent Weights (w*): The authors propose a specific way to choose weights that capture the sparsity of the input data matrix, leading to improved performance.
  • Subspace Lipschitz Constants: These are derived to provide tighter bounds on the gradient's behavior within the subspaces relevant to parallel updates, which are more informative than global Lipschitz constants.

The SPCDM algorithm itself is presented as Algorithm 1, which iteratively generates random block subsets, computes updates in parallel for those blocks, and then updates the decision vector.

Datasets

The paper uses the following datasets for evaluation:

  • Dorothea dataset: Used for L1-regression experiments.
  • URL reputation dataset: Used for experiments with minimizing the logarithm of the exponential loss (AdaBoost problem).

The authors note that these are medium-scale numerical experiments.

Key Insights and Ideas

  • The importance of "Nesterov separability": The degree of separability of the objective function (how much it depends on blocks of variables) is identified as a crucial factor for parallelization speedup. Problems with lower separability (smaller ω) benefit more from parallelization.
  • ESO parameters are key: The efficiency of parallel coordinate descent hinges on finding small, easily computable ESO parameters (β and w). The paper provides novel formulas for these parameters that are data-dependent and exploit sparsity.
  • Subspace Lipschitz constants are more relevant than global ones: For parallel updates, understanding the gradient's behavior within the updated subspace is more critical than its global behavior. This leads to tighter convergence bounds.
  • Parallelization speedup is achievable and predictable: The theoretical analysis provides clear bounds on how the number of iterations decreases with an increasing number of processors (τ), especially for sparse problems.
  • The trade-off between β and τ: While more processors (τ) generally reduce iterations, the parameter β (related to step size) can increase with τ, potentially limiting speedup. The paper's methods aim to keep β small even for larger τ.

Key Results

  • Theoretical Complexity Bounds: The paper derives iteration complexity bounds for SPCDM for both strongly convex and general convex problems. These bounds show that the number of iterations decreases as the number of processors (τ) increases, and is also influenced by the degree of Nesterov separability (ω).
  • Practical Speedup: Numerical experiments demonstrate significant parallelization speedup. For the AdaBoost problem, using 16 processors was nearly 5 times faster than a single processor. For L1 regression, speedup was proportional to the number of processors.
  • Efficient ESO Parameter Computation: The paper provides formulas for computing ESO parameters β and w that are efficient (e.g., $O(\nnz(A))$ time) and data-dependent, making them practical for large-scale problems.
  • Comparison with Existing Methods: SPCDM is shown to be competitive with, and often faster than, other state-of-the-art methods, including GLPK's simplex, accelerated gradient methods, and sparse subgradient methods, especially for large-scale problems where parallelization is beneficial.

Limitations and Future Work

  • Assumptions for Theoretical Guarantees: Some theoretical results, particularly in the non-strongly convex case, rely on assumptions (e.g., $\beta' = \min\{\omega, \tau\}$) that might be technically needed for the analysis but may not always hold in practice. The authors suggest that alternative approaches (like accepting only decreasing updates) could be used, though they might slow down the method.
  • Numerical Stability: The paper notes potential numerical issues with the smooth approximation of the infinity norm due to exponentials, suggesting a safer but less parallelizable computation method.
  • Future Work: The paper mentions a follow-up work [5] that delves deeper into the properties of SPCDM applied to the AdaBoost problem. The investigation of the phenomenon where the derived formulas for β' are similar to those for smooth partially separable functions, despite different problem classes, is stated as an open question.

Summary updated

Abstract

We study the performance of a family of randomized parallel coordinate descent methods for minimizing the sum of a nonsmooth and separable convex functions. The problem class includes as a special case L1-regularized L1 regression and the minimization of the exponential loss ("AdaBoost problem"). We assume the input data defining the loss function is contained in a sparse $m\times n$ matrix $A$ with at most $\omega$ nonzeros in each row. Our methods need $O(n \beta/\tau)$ iterations to find an approximate solution with high probability, where $\tau$ is the number of processors and $\beta = 1 + (\omega-1)(\tau-1)/(n-1)$ for the fastest variant. The notation hides dependence on quantities such as the required accuracy and confidence levels and the distance of the starting iterate from an optimal point. Since $\beta/\tau$ is a decreasing function of $\tau$, the method needs fewer iterations when more processors are used. Certain variants of our algorithms perform on average only $O(\nnz(A)/n)$ arithmetic operations during a single iteration per processor and, because $\beta$ decreases when $\omega$ does, fewer iterations are needed for sparser problems.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
URL reputation dataset; logarithm of the exponential lossSPCDM (τ=1 processor)time2542 sTime to obtain a solution at the given accuracy shown by the horizontal line; dataset h…
Source quote
L1043: given by the URL reputation dataset; m=7,792,260, n=3,231,961 and \omega=414. When \tau=16 processors were used, the method needed 562s to obtain a solution of a given accuracy (depicted by the horizontal line). When \tau=8 processors were used, the method needed 1200s, roughly double that time. Compared to a single processor, which needed 2542s, the setup with \tau=16 was nearly 5 times faster. Hence, it is possible to observe nearly parallelization speedup, as our theory predicts.
Dorothea dataset; minimize f(x)=||Ãx−b̃||∞Sparse subgradient (optimal value unknown)time544 sTable comparison at ε=0.01; dataset has m=800, n=100,000, and ω=6,061.
Source quote
L944: Sparse subgradient~\cite{Nesterov-Subgrad-Huge}, optimal value unknown │ 166,686 ~~~ │ 544 ~~~
Dorothea dataset; minimize f(x)=||Ãx−b̃||∞Smoothed PCDM (τ=4 cores, β=3.0)time53 sTable comparison at ε=0.01; dataset has m=800, n=100,000, and ω=6,061.
Source quote
L946: Smoothed PCDM (Theorem~\ref{thm:complexity_strong_convexity_smoothed}), \tau = 4 cores (\beta=3.0) │ 15,700,000 ~~~ │ 53 ~~~
Dorothea dataset; minimize f(x)=||Ãx−b̃||∞Smoothed PCDM (τ=16 cores, β=5.4)time37 sTable comparison at ε=0.01; dataset has m=800, n=100,000, and ω=6,061.
Source quote
L948: Smoothed PCDM (Theorem~\ref{thm:complexity_strong_convexity_smoothed}), \tau =16 cores (\beta=5.4) │ 7,000,000 ~~~ │ 37 ~~~
BibTeX
@misc{fercoq2013smooth,
  author = {Olivier Fercoq and Peter Richtárik},
  title = {{Smooth minimization of nonsmooth functions with parallel coordinate descent methods}},
  year = {2013},
  eprint = {1309.5885},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1309.5885},
}

Loading related content...

Figure