Skip to main content
QUICK REVIEW

[Paper Review] L4: Practical loss-based stepsize adaptation for deep learning

Michal Rolínek, Georg Martius|arXiv (Cornell University)|Feb 14, 2018
Stochastic Gradient Optimization TechniquesComputer Science16 references27 citations
TL;DR

This paper proposes L4, a practical loss-based stepsize adaptation method for stochastic gradient descent that dynamically adjusts the learning rate at each batch using a linear approximation of the loss function. By decoupling gradient estimation from update direction and solving for the stepsize that minimizes the loss under linearization, L4 enables rapid, adaptive learning rate changes—resulting in consistent performance gains over Adam and Momentum SGD with default hyperparameters across multiple architectures and datasets, without increased computational cost.

ABSTRACT

We propose a stepsize adaptation scheme for stochastic gradient descent. It operates directly with the loss function and rescales the gradient in order to make fixed predicted progress on the loss. We demonstrate its capabilities by conclusively improving the performance of Adam and Momentum optimizers. The enhanced optimizers with default hyperparameters consistently outperform their constant stepsize counterparts, even the best ones, without a measurable increase in computational cost. The performance is validated on multiple architectures including dense nets, CNNs, ResNets, and the recurrent Differential Neural Computer on classical datasets MNIST, fashion MNIST, CIFAR10 and others.

Motivation & Objective

  • To develop a practical, automatic stepsize adaptation scheme for stochastic gradient descent that reduces reliance on manual hyperparameter tuning.
  • To address the challenge of noisy, varying loss estimates in mini-batch training by computing the learning rate afresh at every iteration.
  • To enable rapid, adaptive learning rate adjustments that respond effectively to changing loss landscapes, especially in small-batch regimes.
  • To improve optimization performance across diverse deep learning architectures and datasets without increasing computational cost.
  • To validate that adaptive learning rates can outperform even finely-tuned constant-stepsize baselines, especially under default settings.

Proposed method

  • L4 computes the stepsize η at each iteration by solving for the value that would drive the linearized loss to a target minimum L^min, using the equation η = (L(θ) - L^min) / (g^T v).
  • It decouples the gradient estimate g from the update direction v, allowing the method to focus on the direction of steepest descent while adapting the stepsize independently of the magnitude of v.
  • The method operates directly on the current batch loss and gradient, enabling per-batch learning rate adaptation without maintaining running statistics or memory of past values.
  • L4 is designed as a meta-algorithm and can be combined with any standard optimizer, such as Adam or Momentum SGD.
  • The target minimum loss L^min is estimated as the lowest observed loss during training, enabling the method to adapt to the current optimization state.
  • The approach is inspired by Newton's method and Polyak's rule but adapted for the stochastic, noisy setting of deep learning.

Experimental results

Research questions

  • RQ1Can a loss-based, per-batch learning rate adaptation scheme consistently outperform standard optimizers with default hyperparameters across diverse architectures and datasets?
  • RQ2Does dynamic stepsize adaptation that changes rapidly between batches improve optimization performance, especially in small-batch regimes?
  • RQ3Can L4 break the 'optimization floor'—i.e., drive the loss to near-zero values—on ill-conditioned deep learning tasks where standard methods plateau?
  • RQ4To what extent can L4 improve generalization, as evidenced by test performance, even without explicit regularization tuning?
  • RQ5Is the performance gain of L4 due to better optimization dynamics, or is it merely a result of hyperparameter sensitivity in baseline methods?

Key findings

  • L4-adapted Adam and Momentum SGD outperform their constant-stepsize counterparts—even when the latter are finely tuned—across all evaluated datasets and architectures.
  • On Fashion MNIST with dropout rate p=0.7, L4 Adam achieved 93.6±0.25% test accuracy, surpassing the best baseline Adam (93.1±0.2%) by a statistically significant margin.
  • On MNIST, L4 optimizers consistently outperformed standard baselines, with smaller batch sizes (e.g., 8, 16) yielding better results than the standard batch size of 64.
  • For the Differential Neural Computer (DNC), L4 Momentum SGD with batch size 8 achieved convergence in four out of five runs, though one run diverged, indicating sensitivity at the extreme end of small-batch settings.
  • The method demonstrated robustness across a wide range of batch sizes, with performance improving as batch size decreased, validating its ability to handle high-variance loss estimates.
  • L4 successfully drove the loss to near-zero levels on MNIST and ill-conditioned regression tasks, breaking the 'optimization floor' observed in standard methods.

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.