Crossprop: Learning Representations by Stochastic Meta-Gradient Descent in Neural Networks

Vivek Veeriah, Shangtong Zhang, Richard S. SuttonECML/PKDD 2017

TL;DR

This paper introduces "Crossprop," a novel meta-gradient descent algorithm for learning neural network representations. Unlike backpropagation, Crossprop learns to reuse features across sequential tasks, demonstrating improved continual learning capabilities by avoiding catastrophic forgetting and relearning.

What Problem Does This Paper Address?

The core problem this paper tackles is the limitation of traditional backpropagation in continual learning scenarios. While backpropagation excels at learning representations from scratch, it struggles when a system needs to adapt to a sequence of related tasks. In such settings, backpropagation tends to "forget" previously learned features and relearn them for each new task, even if the new task could be solved by leveraging existing knowledge. This relearning process is inefficient and hinders the development of truly adaptive AI systems that can build upon past experiences. The paper aims to develop a learning algorithm that can effectively learn and reuse representations across a series of tasks.

Methods

The paper introduces Crossprop, a new incremental learning algorithm that utilizes a meta-gradient descent approach to learn the incoming weights of hidden units in a neural network. This is an adaptation of meta-gradient descent, previously used for learning step-sizes, now applied to learning the weights themselves.

Key aspects of Crossprop:

  • Meta-Gradient Descent for Weights: Instead of directly optimizing weights based on the current error, Crossprop considers the influence of past weight updates on the current error. This is achieved by introducing an additional memory parameter for each weight.
  • Recursive Update Equations: The algorithm derives recursive update equations for both the incoming weights ($U$) and the new memory parameters ($h$).
  • Generalization of Backprop: The final update equations for Crossprop are presented as a generalization of the backpropagation update equation.
  • Crossprop-Approx: An approximated version is also proposed to reduce computational cost, especially for networks with multiple output units.
  • Mixing Backprop and Meta-Gradient: A weighting factor ($\eta$) is introduced to allow for a smooth transition between pure backpropagation and the meta-gradient approach.

Datasets

  • GEOFF Tasks: A synthetic, feature-finding benchmark designed to generate an infinite number of supervised learning tasks. The paper uses this to create a sequence of related tasks (Task A, B, C) by modifying the outgoing target weights of a target network.
  • MNIST Dataset: The standard handwritten digit dataset is adapted for a continual learning setting by cyclically shifting the labels for each task.

Key Insights and Ideas

  • Reusability over Relearning: The fundamental insight is that for continual learning, reusing learned features is more efficient and effective than relearning them for each new task. Crossprop embodies this by learning to adapt existing representations rather than discarding and rebuilding them.
  • Memory for Past Influence: The introduction of the memory parameter ($h$) is crucial. It allows the algorithm to account for how past weight values have influenced the current error, leading to more robust and transferable representations.
  • Meta-Learning for Representation: Applying meta-gradient descent not just to learning rates but to the weights themselves represents a novel way to "learn how to learn" representations that are more adaptable and generalizable.
  • Backprop's "Racing" Problem: The paper highlights a key limitation of backprop: individual weights independently try to minimize error, leading to a "race" that can disrupt previously learned useful features. Crossprop aims to mitigate this by coordinating updates.

Key Results

  • Improved Continual Learning: Experiments on GEOFF and MNIST tasks show that Crossprop learns and reuses its feature representations across sequential tasks, while backpropagation tends to relearn features for each new task.
  • Similar Asymptotic Performance: While backprop might achieve slightly better asymptotic values in some cases, Crossprop reaches comparable performance levels.
  • Faster Feature Acquisition: Crossprop appears to find useful feature representations more quickly than backprop, especially in continual learning scenarios.
  • Feature Visualization: Visualizations of learned features (using t-SNE) on MNIST show that both backprop and Crossprop cluster examples similarly, but the process of learning these features differs significantly, with Crossprop showing less drastic changes to its internal representations.

Limitations and Future Work

  • Computational Cost: The paper acknowledges that the full Crossprop algorithm can be computationally expensive, especially for networks with many output units, leading to the development of the "Crossprop-Approx" version.
  • Evaluation on Deeper Networks: The current evaluation is primarily on single-hidden-layer networks. The authors propose studying Crossprop's performance on deeper neural networks and more complex benchmarks like ImageNet and the Arcade Learning Environment as future work.
  • Generalization to More Difficult Benchmarks: Extending the evaluation to more challenging and diverse datasets is a clear next step.

Summary updated

BibTeX
@inproceedings{veeriah2017crossprop,
  author = {Vivek Veeriah and Shangtong Zhang and Richard S. Sutton},
  title = {{Crossprop: Learning Representations by Stochastic Meta-Gradient Descent in Neural Networks}},
  booktitle = {ECML/PKDD},
  year = {2017},
  url = {https://openreview.net/forum?id=COnKo74Nw_s},
}
Figure