Abstract
Selecting an optimal learning rate remains one of the most challenging aspects of training deep neural networks. While adaptive optimizers and Hyper-gradient Descent (HD) methods attempt to automate this process, they often struggle with a trade-off between the rigidity of global updates and the instability of parameter-wise adaptation. This paper introduces Combined Adaptive Multi-level Hyper-gradient Descent (CAM-HD), a novel framework that treats learning rates as trainable parameters across a multi-level hierarchy. By mathematically linking learning rate regularization to a weighted combination of global, layer-wise, and parameter-wise levels, CAM-HD dynamically balances general and local information. Experimental results on standard benchmarks demonstrate that CAM-HD significantly outperforms traditional adaptive methods like Adam and SGD with Nesterov momentum.
Introduction
In the landscape of deep learning, the learning rate is arguably the most critical hyper-parameter. Traditional adaptive optimizers, such as Adam, utilize fixed rules and manual initializations to adjust rates during training. A more sophisticated alternative, Hyper-gradient Descent (HD), applies the gradient of the loss function to update the learning rate itself. However, existing HD implementations typically operate at a global level—applying a single rate to the entire model—or at a parameter-wise level, which often leads to over-parameterization and training instability.
The challenge lies in finding the "Goldilocks" zone of granularity: an optimizer flexible enough to adapt to specific layer dynamics but controlled enough to avoid the noise of individual parameter updates. CAM-HD addresses this by introducing a hierarchical adaptation strategy that integrates multiple levels of granularity simultaneously.
Methodology
Multi-level Adaptation Strategy
CAM-HD moves beyond the binary choice of global versus local adaptation. Instead, it proposes a hierarchy of four distinct levels:
- Global-level: A single learning rate for the entire architecture.
- Layer-level: Independent rates for each layer (e.g., convolutional or fully connected layers).
- Unit/Filter-level: Rates specific to individual neurons or convolutional filters.
- Parameter-level: A unique learning rate for every individual weight in the network.
Regularization as a Weighted Combination
To prevent the optimizer from overfitting to the training data—a common pitfall of high-granularity HD—the authors introduce a regularization mechanism. This mechanism penalizes local learning rates when they deviate significantly from the global average.
A key theoretical contribution of this work is the proof that this regularization is mathematically equivalent to calculating the final effective learning rate as a weighted linear combination of the "virtual" learning rates at each hierarchical level. This insight transforms a complex regularization problem into a straightforward architectural design choice.
The CAM-HD Optimizer
In the CAM-HD framework, the weights (denoted as $\gamma$) for these different levels are not fixed; they are learned via backpropagation alongside the model weights. This allows the optimizer to evolve its own "granularity profile" during the training process. For instance, the model might favor global updates during the initial high-variance phase of training and shift toward fine-grained, layer-wise updates as it approaches convergence.
Crucially, the computational overhead of this hierarchy is negligible. Since the gradients required to update the learning rates are largely derived from the standard backpropagation pass, the extra cost is more than an order of magnitude smaller than the base training cost.
Experimental Results
The authors evaluated CAM-HD against several industry-standard optimizers, including Adam, SGD with Nesterov momentum (SGDN), RAdam, and Adabound, across image classification benchmarks (MNIST, CIFAR-10, and SVHN).
Performance Benchmarks
- ResNet-18 on CIFAR-10: Adam-CAM-HD achieved a top-1 accuracy of 90.31%, a substantial improvement over standard Adam (87.03%) and the original Hyper-gradient Descent (87.26%).
- ResNet-34 on CIFAR-10: Adabound-CAM-HD reached 91.12% accuracy, outperforming the baseline Adabound (90.15%).
- Stability: Beyond raw accuracy, CAM-HD demonstrated superior stability. While "naïve" hyper-gradient methods often exhibit high variance in their convergence curves, the hierarchical structure of CAM-HD effectively managed the risks of over-parameterization, leading to smoother and more reliable training trajectories.
Discussion and Limitations
While CAM-HD reduces the burden of tuning the primary learning rate, it introduces a "meta-learning rate" ($\beta$) used to update the learning rates themselves. Although the authors suggest that a default value (e.g., 1e-7) is robust across various tasks, it remains a parameter that may require adjustment for specialized architectures. Additionally, the loss surface for the combination weights ($\gamma$) is potentially non-convex, meaning the optimizer could theoretically settle into a sub-optimal adaptation style.
Conclusion
CAM-HD represents a significant step forward in automated optimization. By framing learning rate adaptation as a hierarchical, regularized combination problem, it provides a robust mechanism for balancing local and global training signals. Future research will explore the application of this multi-level hierarchy to Transformer architectures and Large Language Models, where the distinct dynamics of different layers (e.g., attention vs. feed-forward blocks) may further benefit from adaptive granularity.
Summary updated