Accelerate Stochastic Subgradient Method by Leveraging Local Error Bound

Yi Xu, Qihang Lin, Tianbao Yang

Abstract

Stochastic Subgradient Methods (SSG) are fundamental to large-scale non-smooth optimization in machine learning, yet they suffer from a slow convergence rate of $O(1/\epsilon^2)$. This paper introduces a theoretical framework to accelerate SSG by exploiting the Local Growth Condition (LGC), which characterizes the objective function's behavior near the optimal solution set. We propose the Accelerated Stochastic Subgradient Method (ASSG) and its practical variant, Restarting ASSG (RASSG). Our theoretical analysis demonstrates that these methods can improve iteration complexity to $O(1/\epsilon^{2(1-\theta)})$, where $\theta$ represents the local sharpness of the function. Empirical results across various large-scale datasets confirm that our approach significantly outperforms standard SSG and state-of-the-art smooth optimizers on non-smooth problems.

1. Introduction

In the era of big data, stochastic optimization has become the primary tool for training machine learning models. Among these, the Stochastic Subgradient Method (SSG) is particularly valued for its simplicity and its ability to handle non-smooth objectives, such as those involving Hinge loss or $L_1$ regularization. However, the primary drawback of SSG is its slow convergence rate. To achieve an $\epsilon$-accurate solution, SSG typically requires $O(1/\epsilon^2)$ iterations, making high-precision solutions computationally expensive.

While variance reduction techniques like SVRG and SAGA have successfully accelerated stochastic methods for smooth problems, their application to non-smooth optimization is often complex or ineffective. Previous attempts to bridge this gap relied on global properties like strong convexity, which are often too restrictive for practical applications. This paper addresses this limitation by leveraging local properties—specifically, how the function grows in the vicinity of the optimal solution—to achieve faster convergence without requiring smoothness.

2. The Local Growth Condition (LGC)

The core innovation of this work is the utilization of the Local Growth Condition (LGC). We quantify the "sharpness" of the objective function near the optimum using a parameter $\theta \in (0, 1]$. This condition suggests that the function value increases at a rate proportional to the distance from the optimal set, raised to the power of $1/\theta$.

Key insights regarding LGC include:

  • Sharpness and Convergence: When $\theta=1$ (characteristic of piecewise linear functions), the proposed algorithms achieve linear convergence ($O(\log(1/\epsilon))$). When $\theta=1/2$ (characteristic of quadratic growth), the rate improves to $O(1/\epsilon)$.
  • Local vs. Global: Unlike global growth conditions, which depend on the diameter of the entire search space, local constants are domain-size independent. This leads to tighter theoretical bounds and superior practical performance.
  • Sublevel Set Focus: The theory demonstrates that optimization efficiency is primarily governed by function behavior within the $\epsilon$-sublevel set, allowing the algorithm to remain efficient even if the function is "flat" in regions far from the optimum.

3. Accelerated Stochastic Subgradient Methods

We propose two primary algorithmic frameworks under the Accelerated Stochastic Subgradient Method (ASSG) umbrella, designed to mitigate gradient variance by restricting the search space as the algorithm progresses.

3.1 ASSG-c (Constrained Variant)

This variant operates in stages. In each stage, the algorithm projects the solution onto a "shrinking ball" centered at the solution from the previous stage. By systematically reducing the search radius, ASSG-c effectively controls the variance of the stochastic subgradients, leading to faster convergence.

3.2 ASSG-r (Regularized Variant)

For problems where projecting onto a complex intersection of constraints is computationally prohibitive, we introduce the regularized variant. ASSG-r replaces the explicit ball constraint with a proximal regularization term, penalizing solutions that stray too far from the previous stage's estimate.

3.3 RASSG (Restarting ASSG)

A significant challenge in applying these methods is that the growth parameters ($c$ and $\theta$) are often unknown. We develop RASSG, a practical variant that employs an adaptive restarting strategy. RASSG "searches" for the optimal parameters on the fly, making the framework robust and applicable to real-world engineering tasks without exhaustive hyperparameter tuning.

4. Empirical Evaluation

We evaluated the proposed methods on a diverse suite of large-scale datasets from the LibSVM repository, including classification tasks (covtype, real-sim, url, avazu, rcv1) and regression tasks (million songs, E2006-tfidf).

4.1 Performance Results

  • Theoretical Validation: Experiments confirmed the predicted speedup. On datasets like covtype, RASSG reached high-accuracy solutions significantly faster than standard SSG.
  • Comparison with Smooth Solvers: On non-smooth objectives, RASSG outperformed state-of-the-art smooth optimizers such as SAGA and SVRG++. This highlights the importance of using algorithms specifically designed for non-smooth geometry rather than attempting to apply smooth-centric variance reduction.
  • Robustness: The adaptive nature of RASSG proved effective across different data distributions, validating the utility of the restarting strategy when growth constants are unknown.

5. Conclusion and Future Work

This paper provides a unified framework for accelerating non-smooth stochastic optimization by leveraging local function geometry. By moving from a global to a local perspective, we improve the iteration complexity of the workhorse SSG from $O(1/\epsilon^2)$ to $O(1/\epsilon^{2(1-\theta)})$.

While RASSG improves practicality, future work should focus on further automating the selection of initial step sizes and stopping criteria. Additionally, extending the Local Growth Condition framework to non-convex landscapes, such as those found in deep learning, remains a promising and challenging direction for the field.

Summary updated

BibTeX
@misc{xu2016accelerate,
  author = {Yi Xu and Qihang Lin and Tianbao Yang},
  title = {{Accelerate Stochastic Subgradient Method by Leveraging Local Error Bound}},
  year = {2016},
  eprint = {1607.01027},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1607.01027},
}
Figure