Skip to main content
QUICK REVIEW

[Paper Review] Analysis of Biased Stochastic Gradient Descent Using Sequential Semidefinite Programs

Bin Hu, Peter Seiler|arXiv (Cornell University)|Nov 3, 2017
Stochastic Gradient Optimization TechniquesComputer Science34 references10 citations
TL;DR

This paper introduces a novel convergence analysis for biased stochastic gradient descent (SGD) where gradient updates are corrupted by both relative and absolute errors, using sequential semidefinite programs to derive tight worst-case convergence bounds. It formulates a linear matrix inequality (LMI) that jointly captures stepsize selection, convergence rate, optimization accuracy, and robustness to gradient inaccuracy, yielding analytical bounds for constant stepsizes under strong convexity and smoothness assumptions.

ABSTRACT

We present a convergence rate analysis for biased stochastic gradient descent (SGD), where individual gradient updates are corrupted by computation errors. We develop stochastic quadratic constraints to formulate a small linear matrix inequality (LMI) whose feasible points lead to convergence bounds of biased SGD. Based on this LMI condition, we develop a sequential minimization approach to analyze the intricate trade-offs that couple stepsize selection, convergence rate, optimization accuracy, and robustness to gradient inaccuracy. We also provide feasible points for this LMI and obtain theoretical formulas that quantify the convergence properties of biased SGD under various assumptions on the loss functions.

Motivation & Objective

  • To analyze the convergence properties of biased stochastic gradient descent (SGD) where gradient updates are corrupted by both relative and absolute errors.
  • To develop a unified framework that simultaneously captures the trade-offs between stepsize, convergence rate, optimization accuracy, and robustness to gradient inaccuracy.
  • To formulate a linear matrix inequality (LMI) whose feasible solutions yield worst-case convergence bounds for biased SGD under general error models.
  • To derive analytical convergence rate bounds for biased SGD with constant stepsizes under strong convexity and smoothness assumptions on the loss functions.
  • To provide a sequential minimization approach for analyzing biased SGD with time-varying stepsizes.

Proposed method

  • Formulates a stochastic quadratic constraint to model the error dynamics in biased SGD, leading to a small linear matrix inequality (LMI).
  • Uses the Schur complement to transform the LMI into an equivalent form suitable for convergence analysis.
  • Applies a sequential minimization strategy to analyze time-varying stepsize policies in biased SGD.
  • Derives analytical convergence bounds of the form $\mathbb{E}\|x_k - x_\star\|^2 \leq \rho^{2k}\mathbb{E}\|x_0 - x_\star\|^2 + H_\star$ with $\rho^2 = 1 - \frac{m^2 - \delta^2\tilde{M}}{m}\alpha + O(\alpha^2)$ and $H_\star = \frac{c^2 + 2\delta^2G^2}{m^2 - \delta^2\tilde{M}} + O(\alpha)$.
  • Employs an induction-based proof to show convergence of the upper bound sequence $V_k$ to the fixed point $V_\star$, ensuring asymptotic convergence.
  • Uses the method of Lagrange multipliers and variable substitution to solve the resulting minimization problem in the sequential update.

Experimental results

Research questions

  • RQ1How does the presence of both relative and absolute errors in gradient computation affect the convergence rate and final optimization error of SGD?
  • RQ2Can a unified analysis framework be developed that simultaneously captures the interplay between stepsize, convergence rate, accuracy, and robustness to gradient inaccuracy?
  • RQ3What is the tightest worst-case convergence bound achievable for biased SGD under a general error model $\|e_k\|^2 \leq \delta^2\|u_k\|^2 + c^2$?
  • RQ4How can a sequential minimization approach be used to analyze biased SGD with time-varying stepsizes?
  • RQ5What analytical convergence rate and final error bounds can be derived for biased SGD with constant stepsizes under strong convexity and smoothness assumptions?

Key findings

  • The convergence rate of biased SGD is characterized by $\rho^2 = 1 - \frac{m^2 - \delta^2\tilde{M}}{m}\alpha + O(\alpha^2)$, which depends on the strong convexity parameter $m$, the relative error bound $\delta$, and the gradient norm bound $\tilde{M}$.
  • The final optimization error is bounded by $H_\star = \frac{c^2 + 2\delta^2G^2}{m^2 - \delta^2\tilde{M}} + O(\alpha)$, where $c$ is the absolute error bound and $G^2$ is a gradient norm constant.
  • The proposed LMI-based analysis framework enables the derivation of convergence bounds that are robust to adversarial, random, or deterministic gradient errors, as long as they satisfy the error model (1.4).
  • The sequential minimization approach allows for the analysis of time-varying stepsize policies in biased SGD, with convergence of the upper bound sequence $V_k$ to the fixed point $V_\star$.
  • For sufficiently small constant stepsizes, the upper bound $\hat{U}_k$ can be made arbitrarily close to $V_\star$, ensuring $\lim_{k\to\infty} V_k = V_\star$.
  • The analysis reveals that decreasing the stepsize cannot eliminate the bias-induced error when $\delta > 0$, highlighting the fundamental trade-off between convergence speed and final accuracy in the presence of gradient inaccuracy.

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.