DUAL-LOCO: Distributing Statistical Estimation Using Random Projections

Christina Heinze, Brian McWilliams, Nicolai Meinshausen

Abstract

DUAL-LOCO is a communication-efficient algorithm for distributed machine learning designed for high-dimensional datasets where features ($p$) significantly outnumber samples ($n$). Unlike traditional methods that partition data by rows, DUAL-LOCO splits data by features. By employing low-dimensional random projections to approximate dependencies between feature sets, the algorithm achieves high accuracy with only a single round of communication. This approach enables massive speedups for cross-validation and demonstrates superior scaling compared to state-of-the-art distributed dual coordinate ascent methods.

Introduction

Most distributed optimization methods, such as parallel Stochastic Gradient Descent (SGD), assume data is partitioned by samples (row-wise). However, in modern high-dimensional scenarios—including bioinformatics, climate science, and computer vision—the number of features often exceeds the number of samples. Distributing data by features (column-wise) is challenging because loss functions are typically not separable; a prediction depends on the interaction of all features, preventing workers from calculating gradients independently. Previous solutions often required excessive communication rounds or were restricted to simple models like ridge regression. DUAL-LOCO addresses these limitations by providing a communication-efficient framework for general smooth loss functions.

Methods

DUAL-LOCO extends the LOcal COmponents (LOCO) algorithm by utilizing a dual optimization framework and random projections. The workflow proceeds as follows:

  1. Feature Partitioning: The $p$ features are distributed across $K$ workers.
  2. Random Projections: Each worker compresses their local raw features using a Subsampled Randomized Hadamard Transform (SRHT).
  3. Communication via Summation: Workers share these low-dimensional projections. Crucially, DUAL-LOCO sums these projections rather than concatenating them, ensuring communication overhead remains constant regardless of the number of workers.
  4. Local Dual Optimization: Each worker solves a "local dual" version of the global problem using their raw features and the summed compressed features from other workers.
  5. One-Shot Combination: Local solutions are sent to a master node and concatenated to form the final model.
Workflow of the DUAL-LOCO algorithm showing feature compression and local optimization.

By solving the problem in the dual space, the dimension of the dual variables remains stable whether using original or projected features, providing a more robust mathematical foundation than previous iterations.

Results and Evaluation

The algorithm was evaluated on two high-dimensional datasets: the Kaggle Dogs vs. Cats dataset (200,704 features extracted via CNN) and a Climate Data regression task ($n=849$ samples with 10,368 features).

Scaling and Efficiency

DUAL-LOCO demonstrated significantly better scaling than CoCoA+, a state-of-the-art distributed dual coordinate ascent method. As the number of workers ($K$) increased, DUAL-LOCO's runtime decreased consistently, whereas CoCoA+ eventually slowed due to communication overhead.

Runtime comparison between DUAL-LOCO and CoCoA+ across varying worker counts and cross-validation scenarios.

A major advantage of DUAL-LOCO is its efficiency in cross-validation. Because random projections are independent of the regularization parameter ($\lambda$), workers only need to communicate once. Subsequent iterations through different $\lambda$ values are performed locally, making cross-validation orders of magnitude faster than traditional distributed methods.

Accuracy and Interpretability

On the Dogs vs. Cats dataset, DUAL-LOCO achieved a test error within 0.9% of the optimal full-data solution. In the climate science task, the algorithm successfully recovered coefficient maps identifying key pressure differentials, yielding results visually and statistically similar to the "gold standard" solution.

Discussion and Limitations

DUAL-LOCO offers practical benefits beyond speed, including a layer of data privacy since workers share "disguised" random projections rather than raw features. However, several areas for future work remain:

  • Theoretical Guarantees: While the algorithm performed well on non-smooth Hinge loss, current theoretical proofs rely on Lipschitz continuous gradients (smooth loss).
  • Sample Scaling: If the number of samples ($n$) becomes extremely large, the projection matrices may become a communication bottleneck. Row-wise projections are a proposed future solution.
  • Penalty Support: The current implementation is optimized for $\ell_2$ (Ridge) penalties; extending this to $\ell_1$ (Lasso) for feature sparsity is a known challenge for future research.

Summary updated

BibTeX
@inproceedings{heinze2016dual,
  author = {Christina Heinze and Brian McWilliams and Nicolai Meinshausen},
  title = {{DUAL-LOCO: Distributing Statistical Estimation Using Random Projections}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2016},
  url = {https://openreview.net/forum?id=84biqAVzGgU},
}
Figure