Skip to main content
QUICK REVIEW

[Paper Review] Learning to Learn Neural Networks

Tom Bosc|arXiv (Cornell University)|Oct 19, 2016
Neural Networks and ApplicationsComputer Science2 references6 citations
TL;DR

This paper proposes a meta-learning framework where a Long Short-Term Memory (LSTM) network learns to update the parameters of a neural network in an online, sequential manner. By storing model weights in the LSTM’s cell state and training the LSTM to minimize test loss via backpropagation, the method learns effective, generalizable learning algorithms that outperform handcrafted baselines on non-linearly separable data.

ABSTRACT

Meta-learning consists in learning learning algorithms. We use a Long Short Term Memory (LSTM) based network to learn to compute on-line updates of the parameters of another neural network. These parameters are stored in the cell state of the LSTM. Our framework allows to compare learned algorithms to hand-made algorithms within the traditional train and test methodology. In an experiment, we learn a learning algorithm for a one-hidden layer Multi-Layer Perceptron (MLP) on non-linearly separable datasets. The learned algorithm is able to update parameters of both layers and generalise well on similar datasets.

Motivation & Objective

  • To develop a differentiable, end-to-end framework for learning online learning algorithms using recurrent networks.
  • To enable direct comparison between learned and handcrafted learning algorithms within a unified train-and-test paradigm.
  • To train a meta-learner that generalizes across diverse datasets by optimizing for test set performance.
  • To investigate whether a neural network can autonomously learn effective parameter update rules for another neural network.

Proposed method

  • A Long Short-Term Memory (LSTM) network stores and updates the parameters of a target neural network in its hidden state, treating the model weights as the LSTM’s internal state.
  • The learner component of the LSTM computes parameter updates using inputs, targets, predictions, and a separator flag (1_{t<τ}) to distinguish training from test phases.
  • The model’s output o_t is computed as f_θ_t(x_t), where θ_t is the current parameter estimate stored in the LSTM’s hidden state.
  • Meta-learning optimizes the learner’s parameters α and initial state θ_1 by minimizing the average loss on test sets across training datasets, using a separate training objective (Eq. 4) for optimization stability.
  • The framework enables backpropagation through both the model and the learner, allowing end-to-end training of the meta-learner.
  • A separator flag 1_{t<τ} prevents the learner from misinterpreting zero targets in the test phase as actual target values.

Experimental results

Research questions

  • RQ1Can a recurrent neural network learn to update parameters of another neural network in an online, sequential setting?
  • RQ2How does a learned learning algorithm compare to handcrafted algorithms like SGD or logistic regression in terms of generalization on non-linearly separable data?
  • RQ3Can the meta-learner focus on updating only a subset of parameters, and does this improve learning efficiency or performance?
  • RQ4Does the framework support generalization to unseen datasets with similar structure to the training data?

Key findings

  • The learned algorithm achieved a mean cross-entropy loss of 0.540 on the test set, significantly lower than logistic regression (0.574), SVM (linear) (0.573), and SVM (RBF) (0.507), indicating strong generalization on non-linear data.
  • The model successfully updated parameters of both the input-to-hidden and hidden-to-output layers, demonstrating capability beyond shallow networks.
  • Weight matrices showed that some parameters remained nearly unchanged over time, suggesting the meta-learner selectively focused on updating only a subset of weights.
  • The loss on the test set decreased progressively during training and stabilized after all training samples were seen, indicating effective learning and convergence.
  • The framework allowed the meta-learner to avoid overfitting to training targets by using a test-set-only objective (Eq. 3), preventing target copying.
  • The method generalizes to complex models, as evidenced by the ability to learn updates for a two-layer MLP with 4 hidden units and 1 output, even with noisy, non-linearly separable data.

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.