[Paper Review] Distributed Mini-Batch SDCA
This paper presents a refined analysis of distributed mini-batch stochastic dual coordinate ascent (mSDCA) for regularized empirical risk minimization, showing that smooth loss functions and well-spread data enable linear parallelization speedups with large mini-batch sizes. The analysis supports flexible sampling schemes, including distributed data partitioning, and demonstrates that mSDCA achieves better convergence guarantees than CoCoA+ with the same computational cost.
We present an improved analysis of mini-batched stochastic dual coordinate ascent for regularized empirical loss minimization (i.e. SVM and SVM-type objectives). Our analysis allows for flexible sampling schemes, including where data is distribute across machines, and combines a dependence on the smoothness of the loss and/or the data spread (measured through the spectral norm).
Motivation & Objective
- To provide a tighter convergence analysis for mini-batch stochastic dual coordinate ascent (mSDCA) in distributed settings with flexible sampling schemes.
- To establish that linear parallelization speedups are achievable not only under data spread (spectral norm) assumptions but also when the loss function is smooth.
- To analyze mSDCA under realistic distributed sampling—where data is partitioned across machines—without requiring uniform sampling over all subsets.
- To compare mSDCA's convergence guarantees directly with CoCoA+, showing mSDCA's superior theoretical bounds under equivalent computational cost.
- To ensure all convergence guarantees are on the duality gap, directly reflecting primal sub-optimality, which is the key performance metric in practice.
Proposed method
- Proposes a unified analysis framework that combines smoothness of the loss function and data spread (spectral norm) to derive tighter convergence bounds.
- Introduces a distributed sampling model where each machine contributes b/C samples per iteration, avoiding uniform sampling over all subsets.
- Derives iteration complexity bounds of the form $\tilde{O}\left(\frac{n}{b} + \frac{n\tilde{\sigma}^2}{b\lambda} + \frac{1}{\lambda} + \frac{\tilde{\sigma}^2}{\lambda^2}\right)$, where $\tilde{\sigma}^2$ captures data spread and smoothness.
- Applies the analysis to both standard and distributed mSDCA, showing that the ratio $\beta_{\text{dist}}/\beta_{\text{std}} \approx 1$, indicating negligible cost from distribution.
- Uses the duality gap as the convergence metric, ensuring theoretical bounds directly reflect primal solution quality.
- Compares mSDCA with CoCoA+ by showing that for the same number of dual updates per iteration, mSDCA's convergence rate strictly dominates CoCoA+’s, even though CoCoA+ performs more sequential updates per group.
Experimental results
Research questions
- RQ1Can mini-batching in SDCA yield linear speedups for smooth loss functions without requiring data spread (spectral norm) assumptions?
- RQ2How does distributed sampling—where mini-batches are drawn from multiple machines—impact convergence compared to uniform i.i.d. sampling?
- RQ3What is the theoretical convergence guarantee of mSDCA under flexible, realistic sampling schemes in distributed systems?
- RQ4Does mSDCA outperform CoCoA+ in terms of convergence rate when both perform the same amount of computation per iteration?
- RQ5Can the analysis of mSDCA be extended to combine benefits of smoothness and data spread, leading to larger effective mini-batch sizes?
Key findings
- The paper establishes that for smooth loss functions, mSDCA achieves linear speedups with mini-batch size up to polynomial in n, without requiring spectral norm assumptions.
- When data is well-spread (low spectral norm), mSDCA allows for larger mini-batch sizes, combining benefits of smoothness and data structure.
- The convergence bound for mSDCA is strictly better than that of CoCoA+ under the same computational budget: $\tilde{O}\left(1 + \frac{\sigma^2}{\lambda}\right)$ vs. $\tilde{O}\left(1 + \frac{\sigma'\tilde{\sigma}^2}{\lambda}\right)$, with $\sigma'\tilde{\sigma}^2 \geq \sigma^2$.
- Numerical experiments confirm that distributed mSDCA incurs negligible cost in terms of iterations compared to standard mSDCA, even with up to 16 machines.
- When communication cost is high, CoCoA+ with large H (many SDCA updates per group) outperforms mSDCA, but mSDCA remains superior in computation-heavy regimes.
- For b = 10^4 on the news20 dataset, mSDCA reduces the number of data accesses (epochs) by a factor of ~1,000 compared to b = 1, indicating near-linear reduction in iterations.
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.