TL;DR
This paper introduces two new algorithms, D3CA and RADiSA, designed for large-scale machine learning where data is "doubly distributed"—meaning both features and observations are partitioned across a cluster. These methods significantly outperform existing ADMM-based approaches by reducing communication overhead and accelerating convergence in distributed environments like Apache Spark.
What Problem Does This Paper Address?
In the world of Big Data, datasets often exceed the memory and disk capacity of a single machine. Traditionally, practitioners handle this by partitioning data in one of two ways:
- By Observation (Rows): Each node gets a subset of users/samples.
- By Feature (Columns): Each node gets a subset of attributes for all users.
However, we are increasingly entering the era of doubly distributed data, where a dataset is split both ways across a grid of nodes. This happens when different departments collect different features for the same individuals, or simply because the data is too massive for a single-axis split.
The challenge is that most optimization algorithms assume they can see either all features for some samples or all samples for some features. Moving data across a network to "re-align" it is incredibly slow and expensive. The authors tackle the question: How can we train a model efficiently without moving the data from its doubly distributed state?
Methods
The authors propose two distinct frameworks to solve this:
- D3CA (Doubly Distributed Dual Coordinate Ascent): This is a "dual" method based on the CoCoA framework. It treats each data block as an independent sub-problem. Workers solve these local problems, and then the algorithm averages the resulting dual variables. Because features are split, the same dual variable (associated with an observation) exists on multiple nodes; D3CA handles this by averaging them to ensure the global solution remains mathematically "feasible."
- RADiSA (RAndom Distributed Stochastic Algorithm): This is a "primal" method that blends Coordinate Descent (CD) and Stochastic Gradient Descent (SGD). It incorporates the SVRG (Stochastic Variance Reduced Gradient) technique to speed up convergence. Unlike previous methods that might only update one parameter per communication round, RADiSA allows for multiple local updates, making it much more communication-efficient.
Datasets
The researchers evaluated their algorithms using both synthetic and real-world benchmarks:
- Synthetic Data: Generated specifically for binary classification using hinge loss (SVM), ranging from 48 million to 168 million nonzero entries.
- real-sim: A dataset with 72,309 observations and 20,958 features.
- news20: A high-dimensional dataset with 19,996 observations and over 1.35 million features.
Key Insights and Ideas
- Communication is the Enemy: The "aha moment" here is that in distributed systems, the time spent calculating is often dwarfed by the time spent talking (network latency). By performing more work locally on each node before syncing, D3CA and RADiSA avoid the "chattiness" that slows down standard SGD.
- The Power of Averaging: In D3CA, the authors realized that simply averaging dual variables across feature partitions is a robust way to maintain dual feasibility, especially for non-smooth loss functions like those used in Support Vector Machines (SVMs).
- Partitioning Strategy Matters: The way you "slice" your data grid affects performance. For RADiSA, having more observation partitions ($P > Q$) generally yields better results. Conversely, for D3CA, having more feature partitions ($Q > P$) is often more efficient.
Key Results
- Superiority over ADMM: In all experiments, both D3CA and RADiSA reached the target optimality much faster than the block-distributed ADMM (the previous state-of-the-art for this problem).
- RADiSA-avg Wins: A variant of RADiSA that uses parameter averaging emerged as the top performer, particularly when dealing with smaller regularization values.
- Strong Scaling: RADiSA showed excellent "strong scaling"—as you add more computing cores to the same problem, the runtime drops significantly. D3CA's scaling was more "mixed," showing sensitivity to how the data was partitioned.
Limitations and Future Work
- D3CA Sensitivity: D3CA is very sensitive to the regularization parameter ($\lambda$). If $\lambda$ is too small, the algorithm can become erratic. The authors suggest that finding a more robust, automated step-size parameter is a priority for future research.
- Primal Bottleneck: In D3CA, calculating the primal vector can become a computational bottleneck; the authors hope to find ways to streamline this.
- SVRG Overhead: RADiSA requires a full gradient pass periodically (due to SVRG). The authors suggest exploring "streaming" versions of SVRG that could eliminate this requirement, making the algorithm even faster for truly massive, evolving datasets.
Summary updated