Accelerated Parallel Optimization Methods for Large Scale Machine Learning

Haipeng Luo, Patrick Haffner, Jean-François PaiementarXiv 2014

Abstract

The growing amount of high dimensional data in different machine learning applications requires more efficient and scalable optimization algorithms. In this work, we consider combining two techniques, parallelism and Nesterov's acceleration, to design faster algorithms for $L_1$-regularized loss. We first simplify BOOM, a variant of gradient descent, and study it in a unified framework, which allows us to not only propose a refined measurement of sparsity to improve BOOM, but also show that BOOM is provably slower than FISTA. Moving on to parallel coordinate descent methods, we then propose an efficient accelerated version of Shotgun, improving the convergence rate from $O(1/t)$ to $O(1/t^2)$. Our algorithm enjoys a concise form and analysis compared to previous work, and also allows one to study several connected work in a unified way.

Introduction

In the era of large-scale machine learning, researchers are often forced to choose between two primary strategies for handling high-dimensional data: parallelism and acceleration. Parallelism, exemplified by algorithms like Shotgun, distributes the computational load across multiple processors by updating subsets of features simultaneously. Acceleration, pioneered by Nesterov, uses momentum-based techniques to achieve faster convergence rates.

However, combining these two approaches is non-trivial. Standard acceleration techniques typically require a full gradient update to maintain stability. When applied to parallel coordinate descent—where only a random subset of features is updated—the momentum can become unstable, leading to divergence. This paper provides a theoretical bridge between these two domains, refining existing algorithms and introducing a new framework for accelerated parallel optimization.

Refining BOOM and the FISTA Comparison

The authors begin by analyzing BOOM, a variant of gradient descent designed for sparse data. By placing BOOM and the well-known Fast Iterative Shrinkage-Thresholding Algorithm (FISTA) into a unified framework, the paper reveals that FISTA is theoretically superior to BOOM on normalized data.

A key contribution in this analysis is the introduction of a refined measurement of data sparsity, denoted as $\bar{\kappa}$ (the maximum weighted average sparsity). Unlike traditional measures that simply count non-zero entries, $\bar{\kappa}$ treats sparsity as a distribution. This tighter measurement allows for the calculation of larger, more aggressive step sizes, improving the efficiency of the optimization process without sacrificing stability.

Accelerated Shotgun: $O(1/t^2)$ Convergence

The primary contribution of this work is the development of Accelerated Shotgun, a parallel randomized coordinate descent method. While the original Shotgun algorithm achieved a convergence rate of $O(1/t)$, this new iteration boosts that rate to the optimal $O(1/t^2)$.

To achieve this acceleration while maintaining the benefits of parallel coordinate updates, the authors introduce a "step back" term ($c_t$). This term acts as a dampener for the momentum. Because the algorithm only processes $P$ out of $d$ total coordinates at each step, the momentum generated by previous iterations can become too aggressive for the partial information available in the current step. The $c_t$ term reduces the momentum just enough to maintain convergence while still allowing the algorithm to reach the optimum significantly faster than non-accelerated methods.

Theoretical Results and Complexity

The paper derives several key theoretical insights regarding the performance of these algorithms:

  • Optimal Parallelism: The authors identify the optimal number of parallel updates ($P$) to minimize total computation time. They found that for parallel systems, the optimal $P$ is approximately $\frac{2}{3}(\frac{d-1}{ ho-1} + 1)$, where $\rho$ is the spectral radius of the data matrix.
  • Unified Framework: The Accelerated Shotgun algorithm is shown to be a universal framework. By adjusting specific parameters, it can be reduced to FISTA (full gradient), standard Shotgun, or accelerated single-coordinate descent.
  • Computational Efficiency: For a fixed number of parallel updates, the proposed method matches the theoretical optimal rate of FISTA but with a much lower computational cost per iteration, as it avoids processing the entire feature set at every step.

Conclusion and Future Directions

This work provides a rigorous mathematical foundation for combining parallelism and acceleration in $L_1$-regularized problems. While the paper is purely theoretical and does not include empirical "wall-clock" comparisons, it establishes that the $O(1/t^2)$ convergence rate is achievable in a parallel coordinate descent setting.

Future research may focus on the practical implementation of these algorithms in distributed-memory environments. The current analysis assumes a shared-memory architecture; in distributed systems, communication latency between nodes may require further adjustments to the "step back" constant to maintain the theoretical speedups. Additionally, the simplified analysis presented here could be extended to more complex non-smooth optimization problems.

Summary updated

BibTeX
@misc{luo2014accelerated,
  author = {Haipeng Luo and Patrick Haffner and Jean-François Paiement},
  title = {{Accelerated Parallel Optimization Methods for Large Scale Machine Learning}},
  year = {2014},
  eprint = {1411.6725},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1411.6725},
}
Figure