[Paper Review] On the Convergence of SGD with Biased Gradients
This paper provides a unified convergence analysis for stochastic gradient descent (SGD) with biased gradient oracles, showing that convergence to a neighborhood of the optimum is achievable when bias is bounded relative to the gradient norm. It establishes improved convergence rates under the Polyak-Łojasiewicz condition and quantifies the impact of bias on attainable accuracy and convergence speed, covering applications like gradient compression and zeroth-order optimization.
We analyze the complexity of biased stochastic gradient methods (SGD), where individual updates are corrupted by deterministic, i.e. biased error terms. We derive convergence results for smooth (non-convex) functions and give improved rates under the Polyak-Lojasiewicz condition. We quantify how the magnitude of the bias impacts the attainable accuracy and the convergence rates (sometimes leading to divergence). Our framework covers many applications where either only biased gradient updates are available, or preferred, over unbiased ones for performance reasons. For instance, in the domain of distributed learning, biased gradient compression techniques such as top-k compression have been proposed as a tool to alleviate the communication bottleneck and in derivative-free optimization, only biased gradient estimators can be queried. We discuss a few guiding examples that show the broad applicability of our analysis.
Motivation & Objective
- To unify the analysis of biased SGD methods across diverse applications such as gradient compression and zeroth-order optimization.
- To identify conditions under which biased SGD converges to the true optimum versus a neighborhood of it.
- To quantify how the magnitude of bias affects convergence rates and final accuracy in non-convex optimization.
- To provide improved convergence rates under the Polyak-Łojasiewicz condition for smooth, non-convex functions.
- To reconcile disparate analyses of biased SGD into a single, generalizable theoretical framework.
Proposed method
- Models SGD with a biased gradient oracle: $\mathbf{g}_t = \nabla f(\mathbf{x}_t) + \mathbf{b}_t + \mathbf{n}_t$, where $\mathbf{b}_t$ is a deterministic bias and $\mathbf{n}_t$ is zero-mean noise.
- Analyzes convergence for smooth, non-convex functions and under the Polyak-Łojasiewicz (PŁ) condition, deriving convergence rates.
- Introduces a relative bias bound: convergence to the exact optimum is possible only if $\|\mathbf{b}_t\| \leq \mathcal{O}(\|\nabla f(\mathbf{x}_t)\|)$.
- Derives convergence rates that depend on the bias magnitude $\zeta^2$ and noise variance $\sigma^2$, showing that error floor scales with $\sigma^2 + \zeta^2$.
- Applies the framework to concrete examples: top-$k$ and random-$k$ gradient compression, and zeroth-order optimization with smoothing.
- Uses theoretical analysis and empirical validation on synthetic and deep learning benchmarks (e.g., ResNet18 on CIFAR-10) to verify predictions.
Experimental results
Research questions
- RQ1Under what conditions does SGD with biased gradients converge to the true optimum rather than a neighborhood?
- RQ2How does the magnitude of the bias affect the convergence rate and final attainable accuracy in non-convex optimization?
- RQ3Can the convergence rates of biased SGD be improved under the Polyak-Łojasiewicz condition compared to standard assumptions?
- RQ4How do specific biased gradient methods—like top-$k$ compression or zeroth-order estimation—behave under the proposed framework?
- RQ5What is the relationship between noise variance $\sigma^2$, bias $\zeta^2$, and the resulting error floor in practical implementations?
Key findings
- SGD with biased gradients converges to the true optimum only if the bias is bounded relative to the gradient norm, i.e., $\|\mathbf{b}_t\| \leq \mathcal{O}(\|\nabla f(\mathbf{x}_t)\|)$.
- When this relative bias condition is violated, SGD converges to a neighborhood of the solution, with the error floor determined by $\sigma^2 + \zeta^2$.
- Under the Polyak-Łojasiewicz condition, the paper derives improved convergence rates that are tighter than standard SGD bounds.
- For top-$k$ and random-$k$ gradient compression, the convergence rate slows down as $k$ decreases, with top-$k$ outperforming random-$k$ for the same $k$.
- In zeroth-order optimization, the error floor scales as $\mathcal{O}(\tau^2)$, where $\tau$ is the smoothing parameter, matching theoretical predictions.
- Empirical results on ResNet18 training show that top-$k$ compression achieves the same final error floor as full-precision SGD but with a slower convergence rate, while random-$k$ is more severely impacted by compression.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.