Abstract
We propose a communication- and computation-efficient distributed optimization algorithm using second-order information for solving empirical risk minimization (ERM) problems with a nonsmooth regularization term. Our algorithm is applicable to both the primal and the dual ERM problem. Current second-order and quasi-Newton methods for this problem either do not work well in the distributed setting or work only for specific regularizers. Our algorithm uses successive quadratic approximations of the smooth part, and we describe how to maintain an approximation of the (generalized) Hessian and solve subproblems efficiently in a distributed manner. When applied to the distributed dual ERM problem, unlike state of the art that takes only the block-diagonal part of the Hessian, our approach is able to utilize global curvature information and is thus magnitudes faster. The proposed method enjoys global linear convergence for a broad range of non-strongly convex problems that includes the most commonly used ERMs, thus requiring lower communication complexity. It also converges on non-convex problems, so has the potential to be used on applications such as deep learning. Computational results demonstrate that our method significantly improves on communication cost and running time over the current state-of-the-art methods.
Introduction
In the era of big data, machine learning models are increasingly trained on datasets so large they must be distributed across multiple computing nodes. In these distributed environments, the primary performance bottleneck is often not the local computation, but the communication overhead required to synchronize information between machines. Standard first-order methods, such as Stochastic Gradient Descent (SGD), are popular due to their simplicity but often require a high number of communication rounds to reach convergence.
Second-order methods, which utilize Hessian or curvature information, can converge in far fewer iterations. However, applying these methods to distributed problems with nonsmooth regularization (such as $L_1$ regularization in Lasso or hinge loss in SVMs) presents significant challenges. Existing distributed second-order solvers often resort to "block-diagonal" approximations, which ignore the correlations between features stored on different machines. This paper introduces DPLBFGS (Distributed Proximal Limited-memory Broyden-Fletcher-Goldfarb-Shanno), a framework that captures global curvature to achieve superior efficiency.
Methodology
Successive Quadratic Approximation
DPLBFGS is built on the principle of successive quadratic approximation. At each iteration, the algorithm constructs a quadratic model of the smooth part of the objective function. Crucially, it leaves the nonsmooth regularization term intact. This allows the solver to leverage the convergence benefits of second-order information while remaining compatible with the "kinks" inherent in nonsmooth objectives.
Distributed LBFGS and Global Curvature
The core innovation of DPLBFGS lies in its handling of the Hessian approximation ($H$). While previous methods often ignored off-diagonal terms to simplify distributed computation, DPLBFGS uses a distributed LBFGS approach. By maintaining a small set of vectors from previous iterations across all nodes, the algorithm can approximate the global Hessian. The resulting subproblems are solved using efficient allreduce operations, ensuring that the global structure of the data is accounted for without excessive communication.
Versatile Sub-solving with SpaRSA
To solve the proximal subproblems generated by the quadratic approximation, the authors employ a distributed version of SpaRSA (Spectral Proximal Gradient Method). This choice provides significant flexibility, as SpaRSA can handle a wide range of nonsmooth regularizers. This makes DPLBFGS a unified framework capable of addressing both primal and dual ERM problems effectively.
Experimental Evaluation
Datasets
The algorithm was evaluated using four large-scale binary classification datasets from the LIBSVM repository, representing different data characteristics:
- news20: High-dimensional ($d \approx 1.3M$) with relatively few instances.
- epsilon: Dense features, testing performance on non-sparse data.
- webspam: Large scale ($n \approx 350k, d \approx 16M$).
- avazu-site: Very large scale ($n \approx 25M$).
Key Results
- Dual Problem Performance: On dual ERM problems, DPLBFGS outperformed state-of-the-art methods like Block-Diagonal Approximation (BDA) and ADN by orders of magnitude. While block-diagonal methods tend to stall as they approach high accuracy, DPLBFGS maintains a rapid convergence rate.
- Primal Problem Efficiency: In primal optimization, DPLBFGS consistently beat standard solvers like OWLQN and SpaRSA in both total wall-clock time and the volume of data communicated between nodes.
- Theoretical Convergence: The paper establishes that DPLBFGS enjoys global linear convergence for a wide class of problems, including non-strongly convex objectives like Logistic Regression and SVMs.
Discussion and Insights
The Global Advantage
The primary insight of this research is that ignoring off-diagonal Hessian terms is a major performance killer in distributed settings. By capturing global curvature, DPLBFGS ensures that convergence speed remains high regardless of how many machines the data is split across—a property known as partition invariance.
Communication-Computation Trade-off
DPLBFGS prioritizes "batch" updates. By performing more sophisticated local computation to solve the proximal subproblem, the algorithm significantly reduces the total number of synchronization points required. This trade-off is highly beneficial in modern networked environments where communication latency is high.
Future Work
While DPLBFGS is highly effective, the authors identify several avenues for future research. This includes better exploitation of solution sparsity to reduce the size of communicated vectors and extending the algorithm to non-convex deep learning architectures, where its second-order properties could offer significant advantages over traditional SGD variants.
Conclusion
DPLBFGS represents a significant step forward in distributed optimization. By successfully integrating global curvature information into a proximal quasi-Newton framework, it provides a robust, communication-efficient solution for large-scale empirical risk minimization tasks.
Summary updated