Skip to main content
QUICK REVIEW

[Paper Review] Learning to learn by gradient descent by gradient descent

Marcin Andrychowicz, Misha Denil|arXiv (Cornell University)|Jun 14, 2016
Human Pose and Action RecognitionComputer Science33 references344 citations
TL;DR

The paper trains a neural optimizer (an LSTM-based updater) to learn update rules for optimizing diverse objectives, and shows it outperforms hand-designed optimizers and generalizes across tasks and architectures.

ABSTRACT

The move from hand-designed features to learned features in machine learning has been wildly successful. In spite of this, optimization algorithms are still designed by hand. In this paper we show how the design of an optimization algorithm can be cast as a learning problem, allowing the algorithm to learn to exploit structure in the problems of interest in an automatic way. Our learned algorithms, implemented by LSTMs, outperform generic, hand-designed competitors on the tasks for which they are trained, and also generalize well to new tasks with similar structure. We demonstrate this on a number of tasks, including simple convex problems, training neural networks, and styling images with neural art.

Motivation & Objective

  • Replace hand-designed optimization rules with a learnable optimizer that can exploit problem structure.
  • Cast optimizer design as a meta-learning problem trained across a distribution of tasks.
  • Achieve transfer to new architectures, activations, and related problems without retraining from scratch.
  • Demonstrate scalability via a coordinatewise LSTM optimizer suitable for large parameter counts.

Proposed method

  • Parameterize the updater g as a recurrent neural network (LSTM) that operates coordinatewise on optimizee parameters.
  • Share optimizer parameters across coordinates to keep the model compact and invariant to parameter ordering.
  • Train the optimizer by minimizing an objective that sums a weighted loss over optimization trajectories, and backpropagate through time to φ.
  • Use truncated BPTT and gradient flow through the optimization graph with a relaxed trajectory objective to enable training over partial trajectories.
  • Apply preprocessing and postprocessing to stabilize inputs/outputs of the optimizer, including a specific gradient preprocessing scheme.
  • Compare learned optimizers against standard baselines (SGD, RMSprop, Adam, NAG) across multiple tasks including quadratic functions, MNIST, CIFAR-10, and Neural Art.

Experimental results

Research questions

  • RQ1Can a neural optimizer learned from a family of problems outperform traditional hand-designed optimizers on those problems?
  • RQ2To what extent can the learned optimizer generalize to different model architectures and activation functions within the same problem class?
  • RQ3Is a coordinatewise LSTM updater scalable to large neural networks and transferable across related tasks?
  • RQ4How well does a learned optimizer transfer to tasks beyond its training distribution (e.g., different data, styles, or resolutions in Neural Art)?

Key findings

  • Learned LSTM optimizers substantially outperform standard baselines on a suite of tasks including quadratic functions and training neural networks.
  • The LSTM optimizer trained on one architecture/general setup can generalize to other architectures and activation functions in MNIST and CIFAR-10 tasks.
  • On CIFAR-10, the learned optimizer outperforms hand-crafted optimizers across held-out data distributions and even when some labels are removed or the dataset is altered.
  • In Neural Art style transfer, the LSTM optimizer outperforms traditional optimizers and generalizes to new styles and higher resolutions beyond training conditions.
  • Coordinatewise LSTM with shared weights but separate hidden states facilitates scaling to many parameters while preserving transfer capabilities.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.