Projected Semi-Stochastic Gradient Descent Method with Mini-Batch Scheme under Weak Strong Convexity Assumption

Jie Liu, Martin TakácarXiv 2016

Abstract

We propose a projected semi-stochastic gradient descent method with mini-batch (PS2GD) for improving both the theoretical complexity and practical performance of the general stochastic gradient descent method (SGD). We are able to prove linear convergence under a weak strong convexity assumption. This requires no strong convexity assumption for minimizing the sum of smooth convex functions subject to a compact polyhedral set, a common scenario in machine learning. PS2GD preserves low-cost per iteration and high optimization accuracy via stochastic gradient variance-reduction, and admits a simple parallel implementation with mini-batches. Moreover, PS2GD is applicable to the dual problem of SVM with hinge loss.

Introduction

In machine learning optimization, a classic trade-off exists between computational efficiency and convergence speed. Standard Stochastic Gradient Descent (SGD) is computationally inexpensive per iteration but suffers from sub-linear convergence due to the variance in its gradient estimates. While variance-reduction techniques like SVRG or S2GD achieve faster linear convergence, they typically necessitate the objective function to be strongly convex.

However, many practical models—such as Support Vector Machines (SVMs) or specific logistic regression configurations—are convex but not strongly convex. This paper addresses this gap by introducing PS2GD, which achieves linear convergence for constrained problems under a "weak strong convexity" (WSC) assumption, removing the strict requirement for full strong convexity.

Methodology

The PS2GD algorithm integrates three key components to optimize performance:

  1. Variance Reduction: Utilizing an outer loop to compute a full gradient periodically, PS2GD anchors its inner-loop stochastic estimates. This significantly reduces variance, allowing the algorithm to reach high precision.
  2. Projection Operator: To accommodate constraints, the algorithm employs a projection step that maps iterates back onto a compact polyhedral set defined by linear inequalities.
  3. Mini-Batching: PS2GD supports mini-batch processing, facilitating parallel implementation and improving performance in high-performance computing environments.

The theoretical foundation of PS2GD relies on the Hoffman bound to prove linear convergence under WSC. This suggests that linear convergence is attainable as long as the function behaves predictably near the optimal set, even without global strong convexity.

Experimental Setup

The performance of PS2GD was evaluated using three standard binary classification datasets: rcv1, news20, and astro-ph. These datasets represent varying scales of sample sizes and feature dimensions, as detailed in Table 1.

Table 1: Summary of datasets used in the experiments, including sample size (n), feature count (d), sparsity, and Lipschitz constant (L).

The experiments focused on constrained logistic regression problems where weights were restricted by an $L_\infty$ norm (e.g., $\|w\|_\infty \leq 0.1$).

Results and Discussion

Experimental results demonstrate that PS2GD consistently achieves higher precision compared to standard SGD and its variants. Notably, PS2GD significantly outperformed FISTA, a popular full-gradient method, by achieving comparable or better progress with substantially fewer gradient evaluations.

A key finding is the effectiveness of mini-batching. On the news20 dataset, mini-batch sizes of $b=4$ or $b=32$ outperformed the single-instance version ($b=1$), indicating that mini-batching provides practical benefits beyond mere parallelization. Furthermore, the results suggest that the strict requirement of strong convexity in previous literature may be an artifact of proof techniques rather than a fundamental algorithmic limitation.

Conclusion

PS2GD provides a robust framework for optimization in machine learning, offering linear convergence without the "strong convexity tax." By leveraging variance reduction and mini-batching under a weak strong convexity assumption, it serves as a versatile tool for both primal and dual problems. Future work may explore the applicability of these guarantees to non-linear constraint sets and provide more extensive benchmarks on distributed hardware.

Summary updated

BibTeX
@misc{liu2016projected,
  author = {Jie Liu and Martin Takác},
  title = {{Projected Semi-Stochastic Gradient Descent Method with Mini-Batch Scheme under Weak Strong Convexity Assumption}},
  year = {2016},
  eprint = {1612.05356},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1612.05356},
}
Figure