[Paper Review] HyperAdam: A Learnable Task-Adaptive Adam for Network Training
HyperAdam is a learnable, task-adaptive optimizer that combines multiple Adam updates with varying decay rates using a recurrent neural network (RNN) to dynamically weight them based on task-specific states. It outperforms traditional optimizers like Adam and state-of-the-art learning-based optimizers across MLPs, CNNs, and LSTMs, achieving superior training loss reduction and generalization on MNIST and CIFAR-10 datasets.
Deep neural networks are traditionally trained using human-designed stochastic optimization algorithms, such as SGD and Adam. Recently, the approach of learning to optimize network parameters has emerged as a promising research topic. However, these learned black-box optimizers sometimes do not fully utilize the experience in human-designed optimizers, therefore have limitation in generalization ability. In this paper, a new optimizer, dubbed as extit{HyperAdam}, is proposed that combines the idea of "learning to optimize" and traditional Adam optimizer. Given a network for training, its parameter update in each iteration generated by HyperAdam is an adaptive combination of multiple updates generated by Adam with varying decay rates. The combination weights and decay rates in HyperAdam are adaptively learned depending on the task. HyperAdam is modeled as a recurrent neural network with AdamCell, WeightCell and StateCell. It is justified to be state-of-the-art for various network training, such as multilayer perceptron, CNN and LSTM.
Motivation & Objective
- To address the generalization limitations of black-box, data-driven optimizers by integrating insights from human-designed optimizers like Adam.
- To develop a learnable optimizer that adapts its update strategy based on the current task and network state.
- To improve training convergence and generalization in deep neural networks across diverse architectures (MLP, CNN, LSTM).
- To design a hybrid optimization framework that combines the strengths of adaptive moment estimation (Adam) and learning-to-optimize approaches.
Proposed method
- HyperAdam models the optimizer as a recurrent neural network (RNN) with three components: StateCell, AdamCell, and WeightCell.
- StateCell maintains a task-dependent hidden state that conditions the update process.
- AdamCell generates multiple candidate parameter updates using different decay rates (β, γ) for the same gradient.
- WeightCell learns adaptive, task-specific weights to combine the candidate updates into a final update direction.
- The RNN is trained end-to-end on a meta-train set to optimize the hyperparameters of the ensemble combination.
- The method uses two key training tricks: random sampling of meta-optimization data and combination with convex functions to improve generalization.
Experimental results
Research questions
- RQ1Can a learnable optimizer that combines multiple Adam variants with different decay rates outperform standard Adam and other learning-based optimizers?
- RQ2How does task-adaptive weighting of multiple Adam updates affect training convergence and model generalization?
- RQ3To what extent does incorporating human-designed optimization principles (e.g., adaptive moment estimation) improve the generalization of data-driven optimizers?
- RQ4What is the impact of architectural components like LSTM and preprocessing in the state representation on HyperAdam’s performance?
Key findings
- HyperAdam achieved the lowest training loss of 0.05 on CNN-1 (MNIST) after 10,000 steps, significantly outperforming DMoptimizer (2.30) and RNNprop (0.36).
- On CNN-2 (MNIST), HyperAdam achieved a top-1 accuracy of 99.02%, surpassing Adam (98.98%) and drastically outperforming DMoptimizer (11.35%) and RNNprop (11.37%).
- For 4-hidden-layer MLP on MNIST, HyperAdam with J=20 candidate updates achieved the best performance, outperforming all baselines and showing diminishing returns beyond J=20.
- HyperAdam reduced training loss to 0.64 in 26.33 seconds on an 8-hidden-layer MLP, outperforming Adam (28.97s to reach 0.64, final loss 0.52).
- Ablation studies confirmed that both the LSTM block and preprocessing in StateCell significantly improve performance, and the combination of 'random sampling' and 'convex function combination' enhances generalization.
- On CIFAR-10, HyperAdam achieved lower loss than Adam and RMSProp at 10,000 steps despite slower initial convergence, demonstrating strong generalization.
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.