Learning representations through stochastic gradient descent in cross-validation error

Richard S. Sutton, Vivek VeeriaharXiv 2016

Abstract

Representations are fundamental to artificial intelligence, as the performance of any learning system depends heavily on how data is represented. While modern deep learning typically relies on backpropagation to learn these representations, this method often struggles with non-stationary data streams. In this paper, we introduce Crossprop, an incremental learning algorithm that learns the incoming weights of hidden units using a meta-gradient descent approach. By introducing an additional memory parameter for each weight, Crossprop generalizes the standard backpropagation update. Our experiments demonstrate that Crossprop effectively learns and reuses feature representations when tackling new tasks, whereas backpropagation tends to relearn representations from scratch, leading to interference and inefficiency.

Introduction

The transition from hand-engineered features to learned representations via multi-layer neural networks has significantly reduced the human labor involved in designing AI systems. However, the standard method for training these networks—backpropagation (backprop)—has a fundamental flaw in the context of continual learning. Backprop treats weights as independent entities and updates them to minimize the error of the current example. In environments where tasks change over time, this often leads to "interference," where the network modifies hidden units that were already useful for a previous task to satisfy the requirements of a new one. This "racing problem" results in a form of catastrophic forgetting, forcing the network to constantly reinvent its feature detectors.

The Crossprop Algorithm

Crossprop addresses the limitations of backprop by utilizing meta-gradient descent, a concept originally introduced by Sutton (1992) and Schraudolph (1999) for adapting step-sizes. Instead of merely calculating the instantaneous gradient of the error, Crossprop evaluates how past values of the weights influenced the current error.

Memory Parameters and Update Rules

The core innovation of Crossprop is the introduction of a memory parameter, $h_{ij}$, for every incoming weight to a hidden unit. This parameter tracks the dependency of the output weights on the input weights over time. The final update for an input weight becomes a combination of the standard backprop gradient and a term involving this memory parameter.

To ensure the algorithm is practical for modern architectures, the authors also developed Crossprop-Approx. While the full version of the algorithm can be computationally expensive as the number of output units increases, the approximated version scales linearly with the number of weights, making it viable for larger-scale models.

Experimental Methodology

The researchers evaluated Crossprop against backprop and its variants (such as ADAM and RMSProp) using two primary benchmarks designed to test feature stability:

  1. GEOFF (GEneric Online Feature Finding): A synthetic environment where a target network generates data. The tasks (A, B, and C) are created by keeping input-to-hidden weights fixed while randomly changing the output weights. This tests whether a learner can maintain stable internal features while only updating its final mapping layer.
  2. Shifted MNIST: A non-stationary version of the MNIST digit dataset. In Task A, labels are standard (0-9). In Task B, the labels are shifted (e.g., 0 becomes 1). This requires the network to preserve its visual feature detectors while adapting to a completely new label regime.

Key Insights and Results

Feature Reuse vs. Relearning

The most significant finding is the difference in how the two algorithms reach their error targets. While backprop and Crossprop may eventually achieve similar error rates, backprop constantly "re-invents the wheel." Using $L^2$ norm measurements of weight changes, the study showed that Crossprop’s incoming weights ($U$) stabilize significantly after the first task is mastered. Conversely, backprop’s weights continue to fluctuate wildly as it attempts to relearn features for every new task.

Solving the "Racing" Problem

By employing meta-gradients, Crossprop coordinates the updates between incoming weights (the features) and outgoing weights (the predictions). It effectively "realizes" when an error can be corrected by simply adjusting the output mapping, thereby protecting the underlying feature detectors from unnecessary modification.

Performance and Visualization

On the GEOFF benchmarks, Crossprop achieved superior asymptotic error values compared to standard backprop and popular adaptive optimizers. Qualitatively, t-SNE visualizations revealed that Crossprop learns feature clusters that are visually similar to those produced by backprop, confirming that it retains the representational power of deep learning while adding much-needed stability.

Limitations and Future Directions

While promising, Crossprop currently faces a few hurdles:

  • Architectural Depth: The current research focuses on single-hidden-layer networks. Its performance in deeper architectures like ResNets or Transformers is a subject for future study.
  • Memory Overhead: The requirement of maintaining extra memory parameters ($h_{ij}$) increases the model's memory footprint.
  • Scaling: Future work will involve testing Crossprop on high-dimensional reinforcement learning tasks, such as the Atari Learning Environment, to see if these stability benefits translate to more complex, real-world scenarios.

Summary updated

BibTeX
@misc{sutton2016learning,
  author = {Richard S. Sutton and Vivek Veeriah},
  title = {{Learning representations through stochastic gradient descent in cross-validation error}},
  year = {2016},
  eprint = {1612.02879},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1612.02879},
}
Figure