UniVR: A Universal Variance Reduction Framework for Proximal Stochastic Gradient Method

Zeyuan Allen Zhu, Yang YuanarXiv 2015

Introduction

In the field of machine learning, training models typically involves minimizing a loss function through Empirical Risk Minimization (ERM). While Stochastic Gradient Descent (SGD) remains the workhorse for these tasks, variance-reduction techniques like the Stochastic Variance Reduced Gradient (SVRG) algorithm have significantly improved convergence rates. However, a significant limitation of standard SVRG is its theoretical dependence on the strong convexity of the objective function. Many critical machine learning problems—such as Lasso, L1-regularized Logistic Regression, and Principal Component Analysis (PCA)—are either non-strongly convex or composed of non-convex individual functions.

Historically, practitioners addressed these limitations using "indirect methods," such as adding a dummy regularizer to force strong convexity. This approach is often inefficient, requiring extensive hyperparameter tuning and preventing convergence to the exact solution. This paper introduces SVRG++, a novel framework that directly addresses non-strongly convex and sum-of-non-convex objectives without the need for auxiliary regularizers, achieving state-of-the-art theoretical complexity and empirical performance.

Methodology

The authors propose a suite of algorithmic innovations designed to broaden the applicability of variance reduction:

SVRG++ and SVRG_Auto_Epoch

SVRG++ modifies the standard SVRG architecture in two fundamental ways. First, it employs doubling epoch lengths, where each successive inner loop is twice as long as the previous one. Second, it initializes each new epoch using the final vector of the preceding epoch rather than the average. This structure allows for a more efficient transition between epochs in the absence of strong convexity.

For practical implementation, the authors also introduce SVRG_Auto_Epoch. This heuristic variant dynamically terminates an epoch when it detects that the variance of the gradient estimator has exceeded a specific threshold, providing a more flexible alternative to fixed or doubling epoch schedules.

Asymmetric Smoothness Analysis

To handle sum-of-non-convex problems (where the total objective is convex but individual components are not), the authors introduce a mathematical framework that separates upper smoothness ($L$) from lower smoothness ($l$). The lower smoothness parameter specifically quantifies the degree of non-convexity within the individual functions. This leads to the SVRG++_nc algorithm, which integrates the doubling-epoch strategy with this refined smoothness analysis.

Theoretical Contributions

The paper provides several key theoretical breakthroughs:

  1. Improved Gradient Complexity: For non-strongly convex objectives, SVRG++ achieves a gradient complexity of $O(n \log(1/\epsilon) + L/\epsilon)$. This outperforms existing direct methods like SAGA or SAG, which typically scale as $O((n+L)/\epsilon)$, particularly in large-scale settings where $n \gg L$.
  2. Linear Non-Convexity Penalty: Previous research suggested that non-convex components resulted in a quadratic penalty to SVRG's running time. The authors' refined analysis proves that the penalty is actually linear, resulting in a complexity of $O((n + L/\sigma + Ll/\sigma^2) \log(1/\epsilon))$ for sum-of-non-convex problems.
  3. Robustness Threshold: The analysis demonstrates a "free threshold" for SVRG; if the non-convexity ($l$) of individual functions is sufficiently small, the algorithm converges as rapidly as it would on a purely convex problem.

Empirical Evaluation

The proposed algorithms were evaluated against standard SVRG, SAGA, and SDCA across four real-world classification datasets: Adult, Covtype, Ijcnn1, and MNIST. The tasks included Lasso and Logistic Regression. Additionally, synthetic datasets were utilized to validate the theoretical bounds for sum-of-non-convex objectives by precisely controlling smoothness parameters.

Across all benchmarks, SVRG++ and SVRG_Auto_Epoch consistently demonstrated superior performance. The doubling epoch strategy proved highly effective at navigating non-strongly convex landscapes, while the Auto_Epoch variant showed significant promise as a robust, parameter-free heuristic for practical applications.

Conclusion and Future Work

UniVR provides a unified and direct framework for applying variance reduction to a wider class of optimization problems. By eliminating the need for dummy regularizers and refining the analysis of non-convex components, SVRG++ sets a new standard for both theoretical efficiency and practical utility. Future research directions include providing formal complexity bounds for the SVRG_Auto_Epoch variant and exploring the integration of SVRG++ with other enhancements such as mini-batching or inexact full gradient computations.

Summary updated

BibTeX
@misc{zhu2015univr,
  author = {Zeyuan Allen Zhu and Yang Yuan},
  title = {{UniVR: A Universal Variance Reduction Framework for Proximal Stochastic Gradient Method}},
  year = {2015},
  url = {https://openreview.net/forum?id=3QGBiQIcKc},
}

Loading related content...

Figure