Unwrapping ADMM: Efficient Distributed Computing via Transpose Reduction

Tom Goldstein, Gavin Taylor, Kawika Barabin, Kent Sayre

Introduction

In the era of big data, machine learning models are increasingly trained on datasets that exceed the memory capacity of any single machine. Distributed computing frameworks have become the standard solution, with the Alternating Direction Method of Multipliers (ADMM) serving as a cornerstone algorithm for decentralized optimization. Specifically, Consensus ADMM is widely used to coordinate multiple worker nodes, each processing a subset of the data to reach a global agreement on model parameters.

However, Consensus ADMM faces significant scalability hurdles, particularly when dealing with heterogeneous data. When data distributions vary significantly across nodes, the algorithm requires an excessive number of communication rounds to converge. Furthermore, the computational cost of solving local sub-problems on each node can be prohibitive. This paper presents "Transpose Reduction ADMM," a novel approach that rethinks the distributed optimization workflow to achieve massive speedups on large-scale, "tall" datasets.

The Limitations of Local Consensus

The traditional Consensus ADMM approach relies on each node solving a local version of the optimization problem. For example, in a Lasso regression task, each node minimizes a loss function based solely on its local data partition. A central parameter server then averages these local solutions to update the global model.

This "local-first" strategy is problematic for two reasons:

  1. Heterogeneity Sensitivity: If Node A's data suggests a very different model than Node B's, the consensus step becomes a "tug-of-war." The nodes struggle to agree, leading to slow convergence.
  2. Computational Overhead: Solving local sub-problems often requires nested iterative solvers (inner loops) on every worker node, consuming significant CPU cycles and time.

Transpose Reduction: A Global Strategy

The authors propose "unwrapping" the data matrix from the objective function. Their core insight leverages the mathematical properties of "tall" matrices—datasets where the number of observations ($m$) is much larger than the number of features ($n$).

While the full data matrix $D$ might be terabytes in size, the Gram matrix $D^T D$ is only $n \times n$. For many real-world problems where $n$ is in the thousands, this $n \times n$ matrix can easily fit in the memory of a single central server.

The Transpose ADMM Workflow

  1. Distributed Pre-computation: Each worker node computes its local contribution to the global Gram matrix ($D_i^T D_i$) and a local vector ($D_i^T b$). This is a one-time cost.
  2. Global Reduction: These compact summaries are sent to a central server and aggregated to form the global $D^T D$.
  3. Centralized Updates: Instead of nodes solving local problems, the central server solves a global least-squares problem in every iteration. Because it uses the global Gram matrix, the server effectively optimizes against the entire dataset simultaneously, eliminating the "tug-of-war" effect.
  4. Lightweight Worker Tasks: Remote nodes are relegated to simple, coordinate-wise proximal updates (e.g., soft-thresholding for Lasso). These operations are computationally trivial and require no inner loops.

Experimental Evaluation

The effectiveness of Transpose Reduction ADMM was tested on both synthetic datasets and the Second Generation Guide Star Catalog (GSC-II). The GSC-II dataset is a massive astronomical repository containing features for 950 million stars, resulting in a 1.8 TB matrix.

Convergence and Speed

The results demonstrate a transformative improvement in performance. On the 1.8 TB GSC-II dataset, Transpose ADMM achieved convergence in approximately one minute using a 4,000-core cluster. In contrast, standard Consensus ADMM was projected to take days to reach the same level of accuracy.

Figure 6: Comparison of convergence rates. Transpose ADMM (blue) reaches the objective minimum almost instantly compared to the gradual descent of Consensus ADMM (green).

Scalability and Robustness

The method exhibits excellent linear scaling. As the amount of data and the number of cores increase, the total computation time for Transpose ADMM remains remarkably low and stable compared to the linear growth seen in consensus methods.

Figure 4: Total computation time scaling. Transpose ADMM (blue) maintains a significantly lower computational footprint as data volume and core count increase, whereas Consensus ADMM (green) scales poorly.

Crucially, Transpose ADMM is insensitive to data partitioning. In synthetic tests where data was intentionally distributed non-identically across nodes, the algorithm's runtime remained constant, whereas Consensus ADMM's performance degraded sharply.

Conclusion and Future Directions

Transpose Reduction ADMM offers a powerful alternative for distributed optimization on tall datasets. By shifting the heavy lifting to a global sub-problem solved on a central node, it bypasses the convergence issues inherent in consensus-based methods.

The primary limitation of this approach is the feature count ($n$). As $n$ grows into the millions, the $n \times n$ Gram matrix becomes too large for a single server. While the authors suggest dual formulations for "wide" matrices, the current "unwrapped" approach is most effective for problems with a manageable number of features. Despite this, for the vast majority of "tall" big data problems, Transpose ADMM provides a path toward near-real-time distributed optimization.

Summary updated

BibTeX
@inproceedings{goldstein2016unwrapping,
  author = {Tom Goldstein and Gavin Taylor and Kawika Barabin and Kent Sayre},
  title = {{Unwrapping ADMM: Efficient Distributed Computing via Transpose Reduction}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2016},
}
Figure