[Paper Review] DS-MLR: Exploiting Double Separability for Scaling up Distributed Multinomial Logistic Regression
DS-MLR proposes a distributed stochastic optimization algorithm that exploits double separability in multinomial logistic regression to enable simultaneous data and model parallelism, eliminating storage bottlenecks. It achieves state-of-the-art scalability on extreme multi-class problems, such as a 159 GB Reddit dataset with 358 GB parameters, where no prior method applies.
Scaling multinomial logistic regression to datasets with very large number of data points and classes is challenging. This is primarily because one needs to compute the log-partition function on every data point. This makes distributing the computation hard. In this paper, we present a distributed stochastic gradient descent based optimization method (DS-MLR) for scaling up multinomial logistic regression problems to massive scale datasets without hitting any storage constraints on the data and model parameters. Our algorithm exploits double-separability, an attractive property that allows us to achieve both data as well as model parallelism simultaneously. In addition, we introduce a non-blocking and asynchronous variant of our algorithm that avoids bulk-synchronization. We demonstrate the versatility of DS-MLR to various scenarios in data and model parallelism, through an extensive empirical study using several real-world datasets. In particular, we demonstrate the scalability of DS-MLR by solving an extreme multi-class classification problem on the Reddit dataset (159 GB data, 358 GB parameters) where, to the best of our knowledge, no other existing methods apply.
Motivation & Objective
- Address the scalability challenge of multinomial logistic regression (MLR) on massive datasets with large numbers of data points and classes.
- Overcome the limitations of existing methods—L-BFGS and LC—that require full model or data replication, making them infeasible for extreme-scale problems.
- Enable both data and model parallelism simultaneously to support scenarios where neither data nor model fits on a single machine.
- Design a non-blocking, asynchronous variant to reduce synchronization overhead and improve performance in distributed environments.
- Demonstrate the method’s versatility across all regimes of distributed machine learning, including extreme-scale settings.
Proposed method
- Reformulate the MLR objective function to exploit double separability, allowing independent partitioning of data and model parameters.
- Decompose the log-partition function into separable components across data and model dimensions, enabling distributed computation without full parameter replication.
- Implement a synchronous distributed optimization algorithm that updates parameters across workers using local gradients and aggregated auxiliary variables.
- Develop an asynchronous, non-blocking variant (DS-MLR Async) that interleaves computation and communication, reducing idle time and improving throughput.
- Use a parameter server-like architecture with efficient communication patterns to minimize data transfer overhead during each iteration.
- Leverage the doubly separable structure to compute gradients and update parameters in a way that scales linearly with data and model size.
Experimental results
Research questions
- RQ1Can a distributed MLR algorithm be designed to support both data and model parallelism simultaneously without incurring prohibitive storage costs?
- RQ2How does the proposed double separability reformulation enable scalable optimization in extreme-scale settings where existing methods fail?
- RQ3What performance gains does the non-blocking, asynchronous variant (DS-MLR Async) achieve over synchronous and blocking alternatives?
- RQ4To what extent can DS-MLR scale across different data and model size regimes, including cases where both exceed single-machine capacity?
- RQ5How does DS-MLR perform on real-world extreme multi-class classification tasks, such as the Reddit dataset with 1.7 billion comments and 358K classes?
Key findings
- DS-MLR successfully scales to a Reddit dataset with 159 GB of data and 358 GB of model parameters—a regime where no prior method applies.
- On the LSHTC1-large dataset, DS-MLR achieved convergence in 1,191 seconds, while the LC method required 32,624 seconds, demonstrating a 27x speedup.
- In the data-does-not-fit-and-model-does-not-fit regime, DS-MLR achieved fast convergence on the YouTube8M-Video dataset (4,716 classes, 1,152 features) due to its non-blocking, asynchronous design.
- On the ODP dataset with 355 GB of model parameters, DS-MLR outperformed LC, which was too slow to complete even a single iteration due to high per-iteration cost.
- DS-MLR showed near-linear speedup on LSHTC1-large, achieving 16x speedup with 20 workers, indicating strong horizontal scalability.
- The asynchronous variant reduced synchronization overhead and enabled higher utilization of multi-core, multi-machine systems, especially on dense datasets like YouTube8M-Video.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.