Skip to main content
QUICK REVIEW

[论文解读] WNGrad: Learn the Learning Rate in Gradient Descent

Xiaoxia Wu, Rachel Ward|arXiv (Cornell University)|Mar 7, 2018
Stochastic Gradient Optimization Techniques参考文献 21被引用 55
一句话总结

WNGrad 引入一种动态学习率更新规则,基于梯度观测进行自适应,在对 Lipschitz 常数具有鲁棒性并在批量与随机设定下实现接近最优的收敛。

ABSTRACT

Adjusting the learning rate schedule in stochastic gradient methods is an important unresolved problem which requires tuning in practice. If certain parameters of the loss function such as smoothness or strong convexity constants are known, theoretical learning rate schedules can be applied. However, in practice, such parameters are not known, and the loss function of interest is not convex in any case. The recently proposed batch normalization reparametrization is widely adopted in most neural network architectures today because, among other advantages, it is robust to the choice of Lipschitz constant of the gradient in loss function, allowing one to set a large learning rate without worry. Inspired by batch normalization, we propose a general nonlinear update rule for the learning rate in batch and stochastic gradient descent so that the learning rate can be initialized at a high value, and is subsequently decreased according to gradient observations along the way. The proposed method is shown to achieve robustness to the relationship between the learning rate and the Lipschitz constant, and near-optimal convergence rates in both the batch and stochastic settings ($O(1/T)$ for smooth loss in the batch setting, and $O(1/\sqrt{T})$ for convex loss in the stochastic setting). We also show through numerical evidence that such robustness of the proposed method extends to highly nonconvex and possibly non-smooth loss function in deep learning problems.Our analysis establishes some first theoretical understanding into the observed robustness for batch normalization and weight normalization.

研究动机与目标

  • Motivate and address the difficulty of selecting learning-rate schedules in stochastic gradient methods when key loss-function constants are unknown.
  • Propose a reparametrization-inspired learning-rate update that starts large and adapts based on observed gradients.
  • Establish convergence guarantees for WNGrad in both batch (nonconvex smooth) and stochastic (convex, not necessarily smooth) settings.
  • Demonstrate robustness and practical performance through numerical experiments on standard datasets (MNIST and CIFAR-10).

提出的方法

  • Introduce WNGrad with updates x_{k+1} = x_k - (1/b_k) ∇f(x_k) and b_{k+1} = b_k + (1/b_k) ∥∇f(x_k)∥^2.
  • Show that b_k grows to a level that stabilizes when b_k ≥ L, leading to robustness to the unknown Lipschitz constant L.
  • Prove global convergence for smooth f: min_k ∥∇f(x_k)∥^2 ≤ ε with T bounds that depend on f(x_1), f*, and L.
  • Prove stochastic convergence: f( x̄_k ) - f* ≤ G^2(D^2+2)/(γ√k) + (b_1 ∥x_1 - x*∥^2)/(2k) under convexity and variance assumptions.
  • Relate WNGrad to AdaGrad-like behavior without square-root computations, highlighting efficiency and scale-invariance.

实验结果

研究问题

  • RQ1Can a single, dynamically updated learning-rate parameter b_k yield convergence guarantees in both batch and stochastic gradient settings without knowing the Lipschitz constant?
  • RQ2Does the proposed b_k update provide robustness to the choice of learning-rate scale and improve generalization in nonconvex neural network problems?
  • RQ3What are the theoretical convergence rates for WNGrad in batch (smooth) and stochastic (convex, not necessarily smooth) settings?
  • RQ4How does WNGrad perform empirically on standard datasets (MNIST, CIFAR-10) compared to SGD and adaptive methods?
  • RQ5How do momentum variants (WN-Adam, WNGrad-Momentum) affect robustness to learning-rate scale?

主要发现

  • WNGrad 收敛到一个点,若 ∥∇f(x_T)∥^2 ≤ ε,在批量设定的光滑函数中需要的迭代次数为 O((f(x_1)−f*+L)^2/ε)。
  • 在随机设置中,b_k 的增长速度为 O(√k/G),从而获得对凸损失的最优 O(1/√T) 速率。
  • 该方案具有尺度不变性:将 f 乘以常数再进行缩放不会改变 WNGrad 的迭代。
  • 带动量或 Adam 变体的 WNGrad 对 Lipschitz 常数尺度具有鲁棒性,在某些设置下实验表现优于标准的 SGD/Adam。
  • 在 MNIST 和 CIFAR-10 上的数值实验表明 WNGrad 对梯度 Lipschitz 常数具有鲁棒性,且相比 SGD 展现出具有竞争力的泛化表现。

更好的研究,从现在开始

从阅读论文到最终审阅,大幅缩短您的研究时间。

无需绑定信用卡

本解读由 AI 生成,并经人工编辑审核。