Automatic Gradient Descent: Deep Learning without Hyperparameters
Jeremy Bernstein, Chris Mingard, Kevin Huang, Navid Azizan, Yisong Yue
TL;DR
The paper introduces automatic gradient descent (AGD), a hyperparameter-free optimizer that explicitly accounts for neural architecture by embedding it into a majorise-minimise framework via functional expansion and deep relative trust. By linking Bregman divergences with architecture-aware perturbation bounds, AGD derives layer-wise updates that scale with network depth and width, and reduces hyperparameter tuning to a single gain parameter. Theoretical guarantees include a convergence rate to critical points and, under a Polyak-Łojasiewicz-type condition, a bound toward global minima; empirically, AGD trains deep fully-connected and convolutional networks and achieves 65.5% top-1 on ImageNet with ResNet-50, matching or exceeding tuned baselines without hyperparameter tuning. This work provides a rigorous, architecture-driven optimisation paradigm that could substantially reduce computational cost and improve reproducibility in large-scale deep learning.
Abstract
The architecture of a deep neural network is defined explicitly in terms of the number of layers, the width of each layer and the general network topology. Existing optimisation frameworks neglect this information in favour of implicit architectural information (e.g. second-order methods) or architecture-agnostic distance functions (e.g. mirror descent). Meanwhile, the most popular optimiser in practice, Adam, is based on heuristics. This paper builds a new framework for deriving optimisation algorithms that explicitly leverage neural architecture. The theory extends mirror descent to non-convex composite objective functions: the idea is to transform a Bregman divergence to account for the non-linear structure of neural architecture. Working through the details for deep fully-connected networks yields automatic gradient descent: a first-order optimiser without any hyperparameters. Automatic gradient descent trains both fully-connected and convolutional networks out-of-the-box and at ImageNet scale. A PyTorch implementation is available at https://github.com/jxbz/agd and also in Appendix B. Overall, the paper supplies a rigorous theoretical foundation for a next-generation of architecture-dependent optimisers that work automatically and without hyperparameters.
