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

Neural networks often lose their "plasticity"—the ability to learn and generalize—as training progresses in changing environments. This paper introduces Hare & Tortoise (H&T), a bio-inspired dual-network architecture that maintains generalization by pairing a fast-adapting "Hare" network with a stable, knowledge-consolidating "Tortoise" network. By periodically resetting the Hare to the Tortoise’s weights, the system sheds spurious noise while retaining long-term knowledge, significantly boosting performance in reinforcement learning and continual learning tasks.

The Problem: Trainability vs. Generalizability

In fields like Reinforcement Learning (RL) and continual learning, data arrives in a continuous stream. Ideally, a model should stay "plastic," meaning it can adapt to new information indefinitely. However, researchers have observed a phenomenon known as the "loss of plasticity": over time, networks become less efficient at minimizing training loss (trainability) and, more importantly, worse at applying that learning to new data (generalizability).

Impact of warm-starting with limited or noisy data on final test accuracy.

While previous work has largely focused on fixing trainability (e.g., preventing dead neurons), this paper highlights a more insidious problem. Even if a model remains perfectly trainable and can achieve zero training loss, its ability to generalize often collapses after "warm-starting" on noisy or limited data. The authors set out to bridge this gap, seeking a way to keep networks flexible without forcing them to "forget" everything they’ve already learned.

The Hare & Tortoise Architecture

The authors take inspiration from the brain’s Complementary Learning Systems (CLS), which posits that the hippocampus learns quickly while the neocortex integrates that knowledge slowly for long-term stability.

The Hare & Tortoise (H&T) architecture.

The Hare & Tortoise (H&T) architecture translates this biological concept into a dual-network system:

  1. The Hare Network ($\theta_h$): This is the "online" network that performs standard gradient-based updates. It adapts rapidly to incoming data but is prone to overfitting and picking up noise.
  2. The Tortoise Network ($\theta_t$): This network maintains an Exponential Moving Average (EMA) of the Hare’s weights. It changes slowly, acting as a stable repository of general knowledge.
  3. The Periodic Reset: This is the core innovation. Every $N$ steps, the Hare’s weights are reinitialized to the Tortoise’s weights ($\theta_h \leftarrow \theta_t$).

This mechanism acts as a "soft reset." It forces the Hare to forget the fleeting, noisy correlations it might have overfit to during rapid adaptation, while starting its next learning phase from the most stable, generalized version of the model.

Key Insights and Results

The authors evaluated H&T across several challenging regimes, including supervised warm-starting (MNIST, CIFAR, Tiny ImageNet), continual learning, and the Atari-100k RL benchmark.

  • The Utility of Forgetting: In non-stationary environments, "forgetting" is a feature, not a bug. By resetting the Hare to the Tortoise, the model effectively prunes away bad local minima and spurious features that don't contribute to long-term generalization.
  • EMA is Not Enough: Simply using an EMA (Tortoise) for predictions is common, but H&T goes further by using that stable average to steer the active learner (Hare) back to a good starting point.
  • Superior Generalization: In warm-starting experiments on CIFAR-100, H&T consistently outperformed standard EMA and self-distillation methods, maintaining higher test accuracy even when the initial training phase was highly noisy.
  • Atari-100k Success: H&T can be integrated into modern RL algorithms with just a single line of code. When added to the BBF algorithm, H&T improved the Interquartile Mean (IQM) score from 0.826 to 0.940, achieving state-of-the-art results while requiring significantly less compute.
  • Continual Learning: H&T avoided the abrupt performance drops typically seen with hard re-initialization methods, providing a smoother and more effective learning curve across sequential tasks.

Limitations and Future Work

While H&T is remarkably robust to hyperparameter choices (like Tortoise momentum or reset frequency), it does exhibit some architecture sensitivity. For instance, its effectiveness was less pronounced on VGG-16 with Tiny ImageNet compared to more radical "Head Reset" methods, suggesting that reset strategies may need tuning for specific or very deep architectures.

Furthermore, while H&T provides a practical solution, the fundamental theoretical reason why warm-started models fail to generalize—despite having perfect trainability—remains an open research question. Future work may focus on identifying specific regions in the optimization landscape that generalize best, potentially allowing for even more targeted "Tortoise" updates.

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