Avoiding Communication in Proximal Methods for Convex Optimization Problems

Saeed Soori, Aditya Devarakonda, James Demmel, Mert Gürbüzbalaban, Maryam Mehri DehnaviarXiv 2017

Introduction

In large-scale machine learning, solving L1-regularized least squares problems (e.g., LASSO) is fundamental for identifying patterns in massive datasets. As these datasets grow, distributed memory systems become necessary. However, traditional iterative algorithms like FISTA and Proximal Newton methods face a significant bottleneck: communication latency. On modern supercomputers, the cost of moving data between processors often exceeds the cost of computation. Standard implementations require synchronization at every iteration, leading to a "scaling wall" where increasing the number of processors eventually degrades performance.

Communication-Avoiding Reformulation

This paper introduces two novel variants: CA-SFISTA (Communication-Avoiding Stochastic FISTA) and CA-SPNM (Communication-Avoiding Stochastic Proximal Newton Method). The core innovation is a $k$-step reformulation that reduces communication frequency by a factor of $k$.

The process involves:

  1. Iteration Unrolling: The algorithm is mathematically reformulated to "look ahead" and prepare for $k$ local iterations.
  2. Randomized Sampling: To handle large matrices efficiently, processors use randomized sampling to compute local Gram matrices ($XX^T$ and $XY$).
  3. Single Synchronization: Instead of communicating every step, local matrices are shared via a single "all-reduce" operation every $k$ iterations.
  4. Redundant Computation: After receiving shared data, each processor independently performs the next $k$ updates.

This approach significantly slashes latency while maintaining the same arithmetic results as standard stochastic methods.

Experimental Evaluation

The authors evaluated CA-SFISTA and CA-SPNM using standard benchmarks: Abalone (small/dense), Covtype (medium), and SUSY (large). Tests were conducted on the XSEDE Comet system, scaling up to 1,024 nodes.

Scaling and Performance

A key finding is the mitigation of the scaling wall. In traditional implementations, communication overhead eventually dominates as more nodes are added.

Scaling bottleneck: Time vs. number of processors (p).

As shown in the figure above, there is often an optimal number of processors beyond which communication costs outweigh computational gains. The CA-variants address this by reducing the number of synchronization points, allowing for efficient scaling to higher node counts. The researchers observed speedups ranging from 3x to 10x over classical implementations.

Convergence Stability

A critical advantage of these communication-avoiding methods is their arithmetic equivalence to the original stochastic algorithms. The "avoidance" strategy does not compromise optimization quality.

Convergence of CA-variants compared to standard methods across different datasets and k values.

As illustrated in the convergence plots, CA-SFISTA and CA-SPNM follow identical error-reduction paths as their standard counterparts (SFISTA and SPNM), regardless of the step size $k$. This proves that the $k$-step reformulation is numerically stable and robust, providing the same accuracy as standard methods but with significantly reduced overhead.

Conclusion

By prioritizing local computation over frequent network communication, CA-SFISTA and CA-SPNM overcome the primary bottleneck in distributed convex optimization. These methods offer significant speedups and improved scalability on modern high-performance computing clusters without sacrificing convergence accuracy. Future work may explore extending these strategies to non-convex problems and addressing bandwidth limitations at extremely high node counts.

Summary updated

BibTeX
@misc{soori2017avoiding,
  author = {Saeed Soori and Aditya Devarakonda and James Demmel and Mert Gürbüzbalaban and Maryam Mehri Dehnavi},
  title = {{Avoiding Communication in Proximal Methods for Convex Optimization Problems}},
  year = {2017},
  eprint = {1710.08883},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1710.08883},
}
Figure