Skip to main content
QUICK REVIEW

[Paper Review] A Novel Stochastic Stratified Average Gradient Method: Convergence Rate and Its Complexity

Aixiang Chen, Bingchuan Chen|arXiv (Cornell University)|Oct 21, 2017
Stochastic Gradient Optimization TechniquesComputer Science13 references6 citations
TL;DR

This paper proposes SSAG, a novel stochastic optimization method that combines stratified sampling and iterative averaging to reduce gradient variance, achieving linear convergence at rate $\mathcal{O}((1 - \frac{\mu}{8CL})^k)$ independent of data size $N$, with low storage and iteration costs. The method outperforms SAG and other algorithms by leveraging class-level structure in data.

ABSTRACT

SGD (Stochastic Gradient Descent) is a popular algorithm for large scale optimization problems due to its low iterative cost. However, SGD can not achieve linear convergence rate as FGD (Full Gradient Descent) because of the inherent gradient variance. To attack the problem, mini-batch SGD was proposed to get a trade-off in terms of convergence rate and iteration cost. In this paper, a general CVI (Convergence-Variance Inequality) equation is presented to state formally the interaction of convergence rate and gradient variance. Then a novel algorithm named SSAG (Stochastic Stratified Average Gradient) is introduced to reduce gradient variance based on two techniques, stratified sampling and averaging over iterations that is a key idea in SAG (Stochastic Average Gradient). Furthermore, SSAG can achieve linear convergence rate of $\mathcal {O}((1-\fracμ{8CL})^k)$ at smaller storage and iterative costs, where $C\geq 2$ is the category number of training data. This convergence rate depends mainly on the variance between classes, but not on the variance within the classes. In the case of $C\ll N$ ($N$ is the training data size), SSAG's convergence rate is much better than SAG's convergence rate of $\mathcal {O}((1-\fracμ{8NL})^k)$. Our experimental results show SSAG outperforms SAG and many other algorithms.

Motivation & Objective

  • To address the trade-off between convergence speed and computational cost in large-scale optimization.
  • To reduce gradient variance in stochastic optimization without increasing iteration cost or storage requirements.
  • To develop a method that achieves linear convergence independent of training data size $N$, especially when $C \ll N$.
  • To formalize the relationship between convergence rate and gradient variance via a new Convergence-Variance Inequality (CVI).
  • To design an algorithm suitable for training deep neural networks on massive datasets with strong theoretical guarantees.

Proposed method

  • Introduces a new Convergence-Variance Inequality (CVI) to formally link convergence rate and gradient variance.
  • Employs stratified sampling to reduce initial gradient variance by sampling more uniformly across data classes.
  • Uses iterative averaging of past gradients, inspired by SAG, to maintain low variance over time.
  • Proposes SSAG (Stochastic Stratified Average Gradient) as a hybrid of stratified sampling and gradient averaging.
  • Derives convergence rate bounds using strong convexity and matrix analysis, proving linear convergence.
  • Establishes complexity bounds showing dependence on class count $C$ rather than data size $N$.

Experimental results

Research questions

  • RQ1Can gradient variance be reduced more effectively than in standard SGD or SAG by using stratified sampling in the sampling process?
  • RQ2Does combining stratified sampling with iterative averaging yield a linear convergence rate independent of data size $N$?
  • RQ3What is the theoretical relationship between gradient variance and convergence rate in stochastic optimization?
  • RQ4Can the convergence rate of SSAG be proven to depend only on the number of classes $C$ rather than the full dataset size $N$?
  • RQ5How does SSAG compare in practice to SAG, SVRG, and SAGA in terms of convergence speed and computational cost?

Key findings

  • SSAG achieves a linear convergence rate of $\mathcal{O}((1 - \frac{\mu}{8CL})^k)$, which depends on the number of classes $C$ rather than the data size $N$.
  • When $C \ll N$, SSAG's convergence rate is significantly faster than SAG's $\mathcal{O}((1 - \frac{\mu}{8NL})^k)$.
  • The method maintains low storage and iteration costs, making it suitable for large-scale deep learning.
  • Theoretical analysis proves that the convergence rate is independent of $N$ and depends only on inter-class variance.
  • Experimental results confirm that SSAG outperforms SAG, SVRG, SAGA, and mini-batch SGD in convergence speed and stability.
  • The convergence bound is derived using a Schur complement condition and matrix analysis, establishing $E\|W^k - W^*\|^2 \leq (1 - \frac{\mu}{8CL})^k \cdot \mathcal{O}(\sigma_c^2(W^*))$.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.