A Simple Stochastic Variance Reduced Algorithm with Fast Convergence Rates

Kaiwen Zhou, Fanhua Shang, James Cheng

TL;DR

Accelerated stochastic variance-reduced methods achieve optimal convergence rates for empirical risk minimization, but their complex inner-loop coupling across multiple variable vectors makes them heavy and hard to parallelize. This paper introduces MiG, a simple algorithm that tracks only one variable vector in its inner loop while still hitting the theoretical best-known accelerated convergence rates. Its lean structure enables practical, lock-free asynchronous and sparse implementations that outperform existing baselines in wall-clock time.

What Problem Does This Paper Address?

In machine learning, empirical risk minimization often balances a finite sum of smooth loss functions with a convex regularizer: $$\min_{x \in \mathbb{R}^d} \left\{ \frac{1}{n} \sum_{i=1}^n f_i(x) + g(x) \right\}$$

While stochastic variance-reduced gradient methods (like SVRG and SAGA) achieve linear convergence rates, accelerated methods (such as Katyusha and Catalyst) push this further to optimal oracle complexities of $\mathcal{O}((n + \sqrt{\kappa n}) \log(1/\epsilon))$, where $\kappa = L/\sigma$ is the condition number.

However, existing accelerated algorithms maintain and couple at least two or three evolving vectors in the inner loop (e.g., combining Nesterov momentum with variance-reduction momentum). This structure introduces substantial memory overhead and makes them fragile to coordinate perturbations in lock-free multi-threaded (asynchronous) and sparse settings. The authors ask: Can we design an accelerated stochastic variance-reduced algorithm that tracks only a single variable vector?

Methods

The authors introduce MiG (and its non-strongly convex variant $\text{MiG}^\text{NSC}$), along with sparse and asynchronous variants:

  • Single-Vector Tracking: Instead of carrying multiple vectors through the inner loop, MiG only updates $x$. A temporary point $y$ is computed on-the-fly as a convex combination of $x_{j-1}$ and the outer-loop snapshot $\tilde{x}_{s-1}$: $$y_{j-1} = \theta x_{j-1} + (1 - \theta) \tilde{x}_{s-1}$$ Gradient variance reduction is computed at $y_{j-1}$, followed by a proximal step to update $x_j$.

  • Epoch Updates & Snapshots: At the end of each epoch, the snapshot $\tilde{x}_s$ is computed via a weighted average of iterates, while the next epoch begins directly from the last iterate $x_m^s$ (rather than the averaged snapshot), avoiding convergence degradation on ill-conditioned problems.

  • Sparse & Lock-Free Asynchronous Extensions: Because only $x$ evolves, perturbations in multi-threaded execution affect only one vector. The authors develop coordinate-reweighted gradient updates and a practical "fake average" scheme (Option II) that only touches coordinates present in the sampled data points.

Datasets

The authors evaluate MiG on standard benchmark datasets for classification and regression:

  • covtype (dense): evaluated on $\ell_2$-regularized logistic regression.
  • a9a (dense): evaluated on ridge regression.
  • RCV1 (sparse): 697,641 samples, 47,236 features, $1.5 \times 10^{-3}$ density.
  • KDD2010 (sparse): 19,264,097 samples, 1,163,024 features, $10^{-6}$ density.

No new datasets were introduced.

Key Insights and Ideas

  • Discarding Nesterov Momentum Without Losing Acceleration: MiG demonstrates that the secondary proximal/Nesterov momentum step present in Katyusha can be completely omitted ($1 - \tau_1 - \tau_2 = 0$). Relying solely on the "Katyusha momentum" parameter $\theta$ is sufficient to preserve the accelerated $\mathcal{O}((n + \sqrt{\kappa n}) \log(1/\epsilon))$ rate.
  • Streamlined Hyperparameter Tuning: By dropping extra momentum terms, MiG simplifies tuning. For strongly convex problems, the learning rate can be tied directly to $\theta$ ($\eta = \frac{1}{3\theta L}$), leaving essentially one hyperparameter to search.
  • Perturbation Containment in Asynchrony: Analyzing lock-free algorithms under the "perturbed iterate" framework is notoriously difficult when multiple vectors interact concurrently. With MiG, the perturbation vector $\xi$ applies only to $x$, dramatically reducing race-condition degradation across concurrent worker threads.

Key Results

  • Theoretical Complexity:
  • Strongly convex: matches the best-known rate of $\mathcal{O}((n + \sqrt{\kappa n})\log(1/\epsilon))$.
  • Non-strongly convex: achieves the optimal $\mathcal{O}(1/T^2)$ convergence rate.
  • Sequential Wall-Clock Efficiency: In dense benchmarks (covtype and a9a), MiG matched or closely trailed Katyusha in effective passes but converged faster in actual CPU time due to reduced per-iteration vector arithmetic and memory access.
  • Multi-Threaded Scaling: On high-dimensional sparse datasets (RCV1 and KDD2010), asynchronous MiG substantially surpassed lock-free competitors KroMagnon (async SVRG) and ASAGA:
  • Outperformed both baselines in gradient evaluations.
  • Achieved near-linear speedups up to 20 concurrent threads on RCV1 to reach a $10^{-5}$ sub-optimality threshold.

Limitations and Future Work

  • Theoretical Gaps in Sparse/Async Settings: The strong theoretical acceleration for Serial Sparse MiG (Option II) relies on a restrictive upper bound on coordinate frequency variance ($D_m$) and an impractical epoch-restarting scheme. Under practical lock-free conditions, the proven rate reverts to non-accelerated $\mathcal{O}((n + \kappa)\log(1/\epsilon))$, even though empirical acceleration remains visible.
  • Condition-Number Dependent Delays: The linear speedup condition for Asynchronous MiG requires the maximum thread overlap $\tau$ to satisfy constraints tied to sparsity $\Delta$ and condition number $\kappa$.
  • Future Directions: Adapting the single-vector design to distributed multi-machine settings, online variance reduction, and non-smooth composite objectives (via smoothing frameworks like AdaptSmooth).

Summary updated

BibTeX
@inproceedings{zhou2018simple,
  author = {Kaiwen Zhou and Fanhua Shang and James Cheng},
  title = {{A Simple Stochastic Variance Reduced Algorithm with Fast Convergence Rates}},
  booktitle = {International Conference on Machine Learning},
  year = {2018},
  url = {https://openreview.net/forum?id=ry-nZibd-H},
}
Figure