[Paper Review] Automatic Gradient Descent: Deep Learning without Hyperparameters
This paper introduces Automatic Gradient Descent (AGD), a hyperparameter-free first-order optimiser for deep neural networks that explicitly leverages network architecture through Bregman divergences and deep relative trust. AGD achieves state-of-the-art performance on CIFAR-10 and ImageNet without learning rate tuning, training fully-connected and convolutional networks out-of-the-box with no manual hyperparameter adjustment.
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.
Motivation & Objective
- To eliminate the need for manual hyperparameter tuning in deep learning optimisation.
- To develop a theoretically grounded, architecture-aware optimisation framework that scales to large models and datasets.
- To derive a first-order optimiser without hyperparameters by combining Bregman divergence and deep relative trust.
- To enable reliable training of deep networks like ResNet-50 on ImageNet without learning rate schedules or tuning.
- To provide a foundation for next-generation optimisers that are automatic, deterministic, and architecture-dependent.
Proposed method
- Uses Bregman divergence to express the linearisation error of the objective function in terms of functional perturbations in the network output.
- Applies deep relative trust to bound the relationship between weight perturbations and induced functional perturbations, capturing architectural non-linearities.
- Combines these components via the majorise-minimise meta-algorithm to construct an architecture-dependent majorising function.
- Derives an update rule by minimising the majorising function with respect to weight perturbations, yielding a hyperparameter-free update.
- Extends the framework from fully-connected to convolutional networks via heuristic adaptation, validated empirically.
- Employs non-asymptotic, deterministic analysis using standard matrix and vector norms, avoiding random matrix theory.
Experimental results
Research questions
- RQ1Can a first-order optimiser be derived that is completely free of hyperparameters by explicitly encoding neural network architecture?
- RQ2How can Bregman divergence and deep relative trust be combined to create an architecture-aware majorising function for non-convex deep learning objectives?
- RQ3Can such a framework train deep networks like ResNet-50 on ImageNet without any learning rate tuning or decay schedules?
- RQ4Does the resulting optimiser outperform standard methods like Adam and SGD when trained with default hyperparameters?
- RQ5Can the framework be extended to other architectures such as transformers or models with biases?
Key findings
- AGD trains a 32-layer fully-connected network on CIFAR-10 successfully where Adam and SGD fail with their default learning rates.
- On ResNet-18, AGD achieves test accuracy comparable to the best-tuned Adam and SGD performance across a learning rate grid search.
- AGD trains ResNet-50 on ImageNet to a top-1 test accuracy of 65.5%, matching the performance of SGD with a learning rate of 0.1 and no decay schedule.
- The method is robust across architectures and scales to large-scale datasets without requiring any hyperparameter tuning.
- AGD is implemented in PyTorch and released publicly, enabling reproducibility and further development.
- The theoretical framework is general and can be extended to new loss functions or architectures by specifying their Bregman divergence and perturbation bounds.
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.