Slow and Steady Wins the Race: Maintaining Plasticity with Hare and Tortoise Networks

Hojoon Lee, Hyeonseo Cho, Hyunseung Kim, Donghu Kim, Dugki Min, Jaegul Choo, Clare Lyle · OpenReview

Abstract

This study investigates the loss of generalization ability in neural networks, revisiting warm-starting experiments from Ash & Adams. Our empirical analysis reveals that common methods designed to enhance plasticity by maintaining trainability provide limited benefits to generalization. While reinitializing the network can be effective, it also risks losing valuable prior knowledge. To this end, we introduce the Hare & Tortoise, inspired by the brain's complementary learning system. Hare & Tortoise consists of two components: the Hare network, which rapidly adapts to new information analogously to the hippocampus, and the Tortoise network, which gradually integrates knowledge akin to the neocortex. By periodically reinitializing the Hare network to the Tortoise's weights, our method preserves plasticity while retaining general knowledge. Hare & Tortoise can effectively maintain the network's ability to generalize, which improves advanced reinforcement learning algorithms on the Atari-100k benchmark. The code is available at https://github.com/dojeon-ai/hare-tortoise.

Introduction

In dynamic learning environments such as Reinforcement Learning (RL) and continual learning, neural networks often suffer from a "loss of plasticity"—a diminishing ability to adapt to new information over time. While previous research has focused on maintaining "trainability" (the ability to minimize training loss), this work highlights a more critical issue: the loss of "generalizability." A network may maintain the capacity to fit training data perfectly while failing to perform on unseen test data, particularly after a period of learning from noisy or biased distributions.

Empirical Analysis of Plasticity Loss

The authors conducted extensive experiments to characterize this phenomenon across various datasets, including MNIST, CIFAR, and Tiny ImageNet. By simulating "warm-starting" scenarios—where a model is initially trained on a subset of data or noisy labels before transitioning to the full, clean dataset—they observed a persistent generalization gap.

Empirical evidence of plasticity loss across different datasets and noise levels.

As shown in the figure above, increasing noise ratios or decreasing subset sizes during the initial phase leads to a significant drop in final test accuracy, even after the model is allowed to train on clean data. This suggests that the network becomes "stuck" in suboptimal regions of the weight space that prioritize memorization over feature extraction.

The Hare & Tortoise Architecture

To combat this, the authors propose the Hare & Tortoise (H&T) architecture, inspired by the brain’s Complementary Learning Systems (CLS). The system decouples rapid adaptation from long-term knowledge consolidation.

The Hare & Tortoise (H&T) architecture diagram.

The architecture consists of two primary components:

  1. The Hare Network ($\theta_h$): An "online" network that updates quickly via standard gradients to capture immediate data patterns.
  2. The Tortoise Network ($\theta_t$): A stable anchor that maintains an Exponential Moving Average (EMA) of the Hare’s weights. It acts as a repository for general, persistent knowledge.
  3. Periodic Reinitialization: At regular intervals, the Hare network is reset to the weights of the Tortoise ($\theta_h \leftarrow \theta_t$).

This "forgetting" mechanism allows the Hare to shed spurious correlations and noise learned during fast adaptation phases, while the Tortoise ensures that valuable features are preserved and refined over time.

Key Results

The H&T framework was evaluated across supervised learning and RL benchmarks:

  • Supervised Learning: In warm-starting experiments on CIFAR-100, H&T significantly outperformed standard EMA and self-distillation, effectively bridging the generalization gap caused by initial noisy training.
  • Reinforcement Learning: Integrated into the state-of-the-art BBF algorithm, H&T improved the Interquartile Mean (IQM) score on the Atari-100k benchmark from 0.826 to 0.891. Notably, this improvement was achieved without the additional computational overhead typically required by self-supervised auxiliary objectives.

Conclusion

The Hare & Tortoise architecture provides a simple yet effective mechanism for maintaining plasticity in non-stationary environments. By distinguishing between trainability and generalizability, the authors demonstrate that periodic reinitialization to a stable moving average can prevent networks from becoming rigid. Future work includes exploring the theoretical underpinnings of the generalization gap in warm-started models and scaling H&T to larger architectures like Transformers.

Summary updated

BibTeX
@inproceedings{lee2024slow,
  author = {Hojoon Lee and Hyeonseo Cho and Hyunseung Kim and Donghu Kim and Dugki Min and Jaegul Choo and Clare Lyle},
  title = {{Slow and Steady Wins the Race: Maintaining Plasticity with Hare and Tortoise Networks}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=VF177x7Syw},
}
Figure