Stochastic dual averaging methods using variance reduction techniques for regularized empirical risk minimization problems

Tomoya Murata, Taiji SuzukiarXiv 2016

Abstract

In large-scale machine learning, regularized empirical risk minimization (ERM) is a standard framework for training models. While stochastic gradient descent (SGD) is efficient for large datasets, its high variance leads to slow convergence. Recent variance-reduction techniques like SVRG and SAGA improve convergence speed but often require averaging past iterations to guarantee theoretical convergence in non-strongly convex settings. This averaging destroys the sparsity induced by regularizers like $L_1$. This paper introduces two new methods, SVRDA (Stochastic Variance Reduced Dual Averaging) and SADA (Stochastic Average Dual Averaging), which combine variance reduction with dual averaging. These methods achieve state-of-the-art convergence rates while producing sparse solutions by outputting the result of a proximal mapping rather than an average of iterates.

Introduction

Training modern machine learning models involves minimizing a loss function over a massive dataset while applying a penalty (regularization) to prevent overfitting. $L_1$ regularization is particularly popular because it encourages sparsity, forcing many model weights to exactly zero, which aids in interpretability and reduces memory usage.

Standard Gradient Descent (GD) is computationally prohibitive for massive datasets, leading practitioners to favor Stochastic Gradient Descent (SGD). However, SGD's inherent variance results in sublinear convergence. While modern variance-reduced methods like SVRG and SAGA achieve linear convergence, they face a significant practical hurdle: to maintain theoretical guarantees in non-strongly convex scenarios, the final output must be the average of all previous iterations. This averaging process effectively "fills in" the zeros created by the regularizer, negating the benefits of sparsity. This research addresses how to maintain fast convergence without sacrificing the sparsity of the final model.

Proposed Methods: SVRDA and SADA

The authors propose two novel algorithms that integrate variance reduction into the Regularized Dual Averaging (RDA) framework:

  1. SVRDA (Stochastic Variance Reduced Dual Averaging): This method utilizes an epoch-based variance reduction strategy similar to SVRG. It periodically computes a full gradient to anchor updates, using a dual averaging rule combined with a momentum scheme.
  2. SADA (Stochastic Average Dual Averaging): This method employs a SAGA-style approach, maintaining a table of past gradients to reduce variance without requiring periodic full gradient computations.

The Multi-Stage Advantage

The key innovation lies in the multi-stage structure of these algorithms. Unlike previous methods, SVRDA and SADA are designed to output the result of a proximal mapping directly. For non-strongly convex regularizers, the algorithms exponentially increase the number of iterations in each stage. This allows the methods to converge to the optimal solution using only the final proximal step, thereby preserving the sparsity induced by the regularizer.

Theoretical and Comparative Analysis

Both SVRDA and SADA match the best-known theoretical gradient complexities for non-accelerated stochastic methods. In the non-strongly convex case, they achieve a complexity of $O(n \log(1/\epsilon) + \bar{L}/\epsilon)$, which is a significant improvement over standard SGD and SAGA.

Table 1: Comparison of gradient complexity, final output type, and memory cost for various stochastic optimization methods. Note that SVRDA and SADA provide "Prox" (proximal) outputs even in non-strongly convex cases, unlike SAGA or UniVR.

As shown in the table above, SVRDA and SADA are unique in providing a proximal output for non-strongly convex problems while maintaining competitive memory costs. This theoretical advantage translates directly into the ability to recover sparse models during the optimization process.

Empirical Performance

The methods were evaluated on three large-scale binary classification datasets: covertype, Reuters-21578, and sido0. The experimental results confirmed the theoretical findings:

  • Superior Sparsity: In tests with $L_1$ regularization, SVRDA and SADA produced significantly sparser solutions than UniVR and SAGA. SAGA's sparsity recovery was particularly poor due to its reliance on iterate averaging.
  • Fast Convergence: Empirically, the proposed methods reduced the objective gap as quickly as, or faster than, state-of-the-art benchmarks like SVRG and SAGA across all datasets.

Conclusion

SVRDA and SADA bridge the gap between fast stochastic optimization and the practical need for sparse models in regularized ERM. By leveraging dual averaging and a multi-stage proximal output strategy, these methods avoid the sparsity-destroying effects of iterate averaging. Future research will explore extending this framework to the Alternating Direction Method of Multipliers (ADMM) to handle more complex, structured regularizers where direct proximal mapping is computationally difficult.

Summary updated

BibTeX
@misc{murata2016stochastic,
  author = {Tomoya Murata and Taiji Suzuki},
  title = {{Stochastic dual averaging methods using variance reduction techniques for regularized empirical risk minimization problems}},
  year = {2016},
  eprint = {1603.02412},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1603.02412},
}
Figure