Breaking the Nonsmooth Barrier: A Scalable Parallel Method for Composite Optimization

Fabian Pedregosa, Rémi Leblond, Simon Lacoste-Julien

Overview

In the era of massive datasets, Stochastic Gradient Descent (SGD) and its asynchronous parallel variants (like HOGWILD!) have become the gold standard for training machine learning models. These methods allow multiple CPU cores to update a shared model simultaneously without locking memory, drastically reducing training time.

However, a major limitation has persisted: these fast, asynchronous methods only work well for smooth mathematical functions. Many critical machine learning tools—such as the Lasso for feature selection, Group Lasso, or models with hard constraints—rely on nonsmooth objectives.

To address this, researchers have introduced PROXASAGA, the first asynchronous parallel optimization algorithm designed to handle nonsmooth objectives with the efficiency of variance-reduced methods. By leveraging data sparsity and a clever reweighting scheme, PROXASAGA achieves near-linear speedups on multi-core systems, outperforming traditional methods by up to two orders of magnitude.

The Challenge: The Proximal Bottleneck

The technical hurdle in optimizing nonsmooth functions lies in the "proximal operator," a mathematical tool required to handle the nonsmooth components of an objective. In a standard setup, applying this operator requires updating every single variable in the model at every step.

In a parallel, multi-core environment, this creates a massive bottleneck. If every core tries to overwrite the entire shared memory simultaneously, it results in a "traffic jam" that destroys the speed benefits of parallelization. Threads either have to wait for each other (locking), or they overwrite each other's progress destructively.

The PROXASAGA Solution

PROXASAGA builds upon the SAGA algorithm—a popular "variance-reduced" method that converges faster than standard SGD—and adapts it for asynchronous, nonsmooth environments. The authors introduce several key innovations:

  • Sparse Proximal Updates: Instead of updating the entire model at every step, PROXASAGA only updates the specific "blocks" of variables that correspond to the non-zero features in the current data sample.
  • Block-wise Reweighting: Because some features appear more frequently in a dataset than others, updating only sparse blocks could bias the model. The authors introduce a reweighting factor to ensure the random steps remain "unbiased" and point toward the true global optimum on average.
  • Lock-Free Asynchrony: The algorithm is entirely lock-free. Threads do not wait for one another, and the algorithm is mathematically proven to tolerate "inconsistent reads" (where one core reads a model vector while another is halfway through updating it).
  • The "Perturbed Iterate" Framework: To guarantee convergence, the authors utilize a sophisticated theoretical framework that treats the delays and inconsistencies caused by asynchrony as "noise," proving the algorithm still finds the global optimum at a linear rate.

Experimental Setup

The authors evaluated PROXASAGA on three massive, high-dimensional, and extremely sparse datasets representative of real-world problems in education technology and ad-tech:

  1. KDD 2010 (Bridge to Algebra): ~19 million samples and 1.1 million features.
  2. KDD 2012: ~150 million samples and 54 million features.
  3. Criteo (Display Advertising Challenge): ~45 million samples and 1 million features.

Key Results

The core insight of the paper is that sparsity is the enabler of asynchrony. Because the datasets are sparse, different CPU cores naturally work on different parts of the model, rarely stepping on each other's toes.

Convergence and speedup of PROXASAGA compared to baselines across three massive datasets.

Empirical testing demonstrated massive performance gains:

  • Unprecedented Speed: PROXASAGA was 5x to 80x faster than FISTA (a standard parallel batch method) and 13x to 290x faster than ASYSPCD (asynchronous coordinate descent) in reaching high-precision solutions.
  • High Scalability: On a 20-core machine, the algorithm achieved an empirical speedup of up to 11x on the KDD 2010 dataset.
  • Linear Convergence: The algorithm successfully retains the linear convergence property of SAGA, reaching the optimal solution significantly faster than standard SGD-based methods.

Limitations and Future Work

While PROXASAGA represents a major leap forward, its efficiency is heavily tied to the sparsity of the data. If a dataset is dense, the "collisions" between cores increase, degrading the parallel speedup. Furthermore, while the algorithm is mathematically scalable, it eventually hits a hardware "memory wall" where the CPU cannot move data in and out of RAM fast enough to keep all cores fully utilized.

Future work may explore extending this sparse, lock-free approach to other variance-reduction schemes like SVRG, or investigating whether similar convergence guarantees can be achieved for dense nonsmooth problems.

Summary updated

BibTeX
@inproceedings{pedregosa2017breaking,
  author = {Fabian Pedregosa and Rémi Leblond and Simon Lacoste-Julien},
  title = {{Breaking the Nonsmooth Barrier: A Scalable Parallel Method for Composite Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2017},
}
Figure