NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Adaptive Gradient Normalization and Independent Sampling for (Stochastic) Generalized-Smooth Optimization

Yufeng Yang, Erin E. Tripp, Yifan Sun, Shaofeng Zou, Yi Zhou

TL;DR

Many modern machine learning problems violate standard Lipschitz smoothness, exhibiting curvature that grows with the gradient norm. This paper analyzes adaptively normalized gradient descent under generalized Polyak-Łojasiewicz (PŁ) geometries and introduces IAN-SGD (Independent-Adaptively Normalized SGD). By using an independent sample to scale the gradient step, IAN-SGD breaks the estimator bias inherent to normalized methods, achieving the optimal $\mathcal{O}(\epsilon^{-4})$ sample complexity with $\mathcal{O}(1)$ batch sizes under relaxed affine noise assumptions.

What Problem Does This Paper Address?

Standard non-convex optimization relies on $L$-smoothness, assuming the gradient cannot change faster than a fixed constant $L$. However, tasks like distributionally robust optimization (DRO), meta-learning, and deep neural network training typically satisfy generalized-smoothness, where the local smoothness parameter scales polynomially with the gradient norm ($\|\nabla f(w)\|^\alpha$). When gradients spike, standard stochastic gradient descent (SGD) often destabilizes or grinds to a halt.

While normalized and clipped SGD variants help manage these erratic landscapes, existing theoretical analyses hit two major roadblocks:

  1. Gradient Estimator Bias: Normalizing a mini-batch stochastic gradient by its own norm ($\nabla f_\xi / \|\nabla f_\xi\|^\beta$) introduces heavy directional bias in expectation.
  2. Restrictive Assumptions: Prior guarantees either required the stochastic noise to be bounded by a hard constant almost surely (which outlier gradients easily break) or demanded impractically large mini-batch sizes ($\Omega(\epsilon^{-2})$) to achieve standard $\mathcal{O}(\epsilon^{-4})$ sample complexity.

Methods

  • Adaptive Normalized Gradient Descent (AN-GD): In the deterministic setting, updates follow $w_{t+1} = w_t - \gamma \frac{\nabla f(w_t)}{\|\nabla f(w_t)\|^\beta}$, where $\beta \in [\alpha, 1]$ balances step aggressiveness when gradients are large versus numerical stability when gradients vanish.
  • Independent-Adaptively Normalized SGD (IAN-SGD): In the stochastic setting, the authors decouple the gradient numerator and denominator by evaluating them on two independent samples (or mini-batches) $\xi$ and $\xi'$: $$w_{t+1} = w_t - \gamma \frac{\nabla f_\xi(w_t)}{h_t^\beta}, \quad h_t = \max\left\{1, \Gamma \cdot \left(\frac{\|\nabla f_{\xi'}(w_t)\|}{1-\tau_1} + \frac{\tau_2}{1-\tau_1}\right)\right\}$$
  • Independent Normalization: Conditioning on the current parameters, $\mathbb{E}_{\xi, \xi'}[\nabla f_\xi / h_t^\beta] = \mathbb{E}_{\xi'}[1/h_t^\beta] \nabla F(w)$, preserving the true gradient's direction and eliminating normalization bias.
  • Thresholding & Clipping: The normalization denominator $h_t$ is lower-bounded by 1. Near stationary points where gradients approach zero, $h_t = 1$, seamlessly reverting IAN-SGD to standard SGD.
  • Affine Noise Assumption: Replaces uniform bounds with an affine noise model: $\|\nabla f_\xi(w) - \nabla F(w)\| \le \tau_1 \|\nabla F(w)\| + \tau_2$ almost surely, allowing stochastic variance to grow with the true gradient norm.

Datasets

The authors evaluated their framework on three benchmark settings:

  • Synthetic Phase Retrieval: $m = 3{,}000$ Gaussian random measurements with additive noise in dimension $d = 100$.
  • Life Expectancy Dataset (WHO / Kaggle): A 34-feature regression benchmark used to evaluate a dual formulation of regularized $\chi^2$-divergence Distributionally Robust Optimization (DRO).
  • CIFAR-10: Natural image classification dataset used to train ResNet-18 and ResNet-50 from scratch.

No newly created datasets were introduced.

Key Insights and Ideas

  • Geometry-Normalization Interplay: Under generalized PŁ conditions ($\|\nabla f(w)\|^\rho \ge 2\mu(f(w) - f^*)$), the choice of normalization exponent $\beta$ dictates the convergence regime. If $\rho + \beta > 2$, AN-GD boosts convergence from polynomial to local linear convergence.
  • Bias Elimination via Dual Sampling: Drawing a small auxiliary mini-batch $\xi'$ exclusively to estimate gradient magnitude restores directional unbiasedness without requiring large mini-batches.
  • Optimal Complexity with Constant Batch Size: Prior clipped SGD analyses required $\Omega(\epsilon^{-2})$ batch sizes or suffered worse $\mathcal{O}(\epsilon^{-5})$ sample complexity under generic bounded variance. IAN-SGD achieves standard $\mathcal{O}(\epsilon^{-4})$ complexity while maintaining $\mathcal{O}(1)$ per-iteration batch sizes.

Key Results

  • Theoretical Complexity: IAN-SGD reaches an $\epsilon$-stationary point ($\min_{t\le T} \|\nabla F(w_t)\| \le \epsilon$) with at least $1/2$ probability within $T = \mathcal{O}(\epsilon^{-4})$ iterations using $\mathcal{O}(1)$ mini-batch sizes under generalized smoothness and affine noise.
  • Phase Retrieval: IAN-SGD (with $\beta = 2/3$, independent batch size $|B'|=4$, and $|B|=64$) converged faster in sample complexity than standard SGD, NSGD, NSGD with momentum, clipped SGD, and SPIDER.
  • DRO: On the WHO Life Expectancy regression task, IAN-SGD reached lower objective loss substantially faster than clipped SGD, SPIDER, and momentum-based variants.
  • Deep Networks: When training ResNet-18 and ResNet-50 on CIFAR-10, IAN-SGD matched or surpassed standard baselines (SGD, Adam, Adagrad, NSGD, and clipped SGD).
  • Ablation Findings: Performance is robust to the stabilization term $\delta$ (values from $10^{-8}$ to $10^{-1}$ work well), while setting $\beta \approx 2/3$ and allocating $|B'| \ge |B|/4$ yielded the fastest and most stable empirical convergence.

Limitations and Future Work

  • Dual-Batch Overhead: The algorithm requires querying two independent gradient evaluations per iteration ($\xi$ and $\xi'$), which introduces a slight memory/computational overhead (though the second batch $|B'|$ can be much smaller than $|B|$).
  • Noise Assumptions: While weaker than uniformly bounded noise, the affine approximation condition still assumes an almost-sure bound rather than purely moment-based (expected) variance bounds.
  • Future Directions: Combining independent adaptive normalization with variance reduction techniques (e.g., SPIDER/SARAH) or stochastic momentum schemes to target improved $\mathcal{O}(\epsilon^{-3})$ sample complexity in generalized-smooth regimes.

Summary updated

BibTeX
@article{yang2025adaptive,
  author = {Yufeng Yang and Erin E. Tripp and Yifan Sun and Shaofeng Zou and Yi Zhou},
  title = {{Adaptive Gradient Normalization and Independent Sampling for (Stochastic) Generalized-Smooth Optimization}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=KKSQQMlEfw},
}
Figure