NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning to Optimize Neural Nets

Ke Li, Jitendra MalikarXiv 2017

Abstract

Optimization is a fundamental component of machine learning, yet standard algorithms like Adam and RMSprop rely on hand-tuned update rules. This paper proposes a meta-learning framework that treats optimization as a reinforcement learning (RL) problem. By introducing "Convolutional Guided Policy Search" (GPS), the authors develop a learned optimizer that scales to high-dimensional parameter spaces and generalizes across different neural architectures and datasets. The resulting optimizer, Predicted Step Descent, demonstrates superior convergence and robustness compared to traditional hand-crafted methods.

Introduction

The performance of modern neural networks is heavily dependent on the choice of optimization algorithm. While algorithms like Stochastic Gradient Descent (SGD) and its adaptive variants (Adam, RMSprop) are widely used, they are essentially "static" rules designed by human intuition. These rules may not be optimal for the intricate, non-convex error surfaces characteristic of deep learning.

"Learning to Optimize" seeks to automate the discovery of update rules. However, scaling RL to the millions of parameters in a neural network presents significant challenges in terms of computational tractability and generalization. This paper addresses these hurdles by leveraging the geometric structure of neural network parameter spaces.

Methodology

The authors frame the optimization process as an RL task where the optimizer acts as a policy. At each step, the policy observes the current state—including gradients, objective values, and historical iterates—and predicts an update step $\Delta x$.

To handle the high dimensionality of the parameter space, the authors introduce Convolutional GPS. This method enforces permutation invariance by grouping parameters (e.g., all weights in a specific layer) and applying the same update logic across the group. This approach drastically reduces the state and action space, making RL feasible for large-scale models.

The learned optimizer, Predicted Step Descent, is implemented as an LSTM-based recurrent neural network. It processes features such as relative loss changes and normalized gradients to determine the optimal step size and direction.

Experimental Results

The meta-optimizer was trained on a simple MNIST task and subsequently evaluated on more complex datasets to test its generalization capabilities.

Generalization Across Architectures and Datasets

A key finding is that the learned optimizer generalizes remarkably well. Despite being trained on a small network, it successfully optimized larger architectures on the Toronto Faces Dataset (TFD), CIFAR-10, and CIFAR-100.

Figure 1: Generalization of Predicted Step Descent across TFD (a), CIFAR-10 (b), and CIFAR-100 (c). The learned optimizer (orange) consistently achieves faster convergence and lower objective values than standard baselines.

Robustness to Stochasticity

The authors also tested the optimizer's resilience to gradient noise by reducing the mini-batch size. Predicted Step Descent maintained stable and efficient convergence even in highly stochastic environments where traditional methods often struggle.

Discussion and Conclusion

The success of Predicted Step Descent highlights the potential of meta-learning in optimization. By exploiting the inherent symmetries in neural network weights, the authors transformed a seemingly intractable RL problem into a practical tool for training models.

However, limitations remain. The current study focused on relatively shallow networks, and the computational cost of the meta-training phase is high. Future research could explore scaling these techniques to deeper architectures like Transformers and automating the feature engineering process for the optimizer's state representation.

Summary updated

BibTeX
@misc{li2017learning,
  author = {Ke Li and Jitendra Malik},
  title = {{Learning to Optimize Neural Nets}},
  year = {2017},
  eprint = {1703.00441},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1703.00441},
}
Figure