Overcoming Multi-Model Forgetting

Yassine Benyahia, Kaicheng Yu, Kamil Bennani-Smires, Martin Jaggi, Anthony C. Davison, Mathieu Salzmann, Claudiu Musat

Weight sharing is the "secret sauce" that makes modern Neural Architecture Search (NAS) computationally feasible, but it comes with a hidden cost: multi-model forgetting. This paper introduces Weight Plasticity Loss (WPL), a statistically-grounded regularization technique that uses Fisher information to protect important shared weights, leading to significantly better final architectures in both computer vision and natural language processing.

The Problem: Multi-Model Forgetting (MMF)

Training thousands of deep learning architectures from scratch to find the "best" one is prohibitively expensive. To solve this, researchers use weight sharing: a large "super-graph" contains many possible sub-architectures that all pull from the same pool of parameters.

However, the authors identify a major flaw they call multi-model forgetting (MMF). When the search algorithm trains a new architecture ("Model B"), it often overwrites weights that were crucial for a previously evaluated architecture ("Model A"). Because Model A’s performance now looks worse than it actually was, the search process becomes noisy and unstable. It’s like several artists trying to paint different pictures on the same canvas; as soon as one starts a new section, they ruin the work of the previous artist.

Figure 3: Illustration of weight sharing between architectures and the resulting performance drop (multi-model forgetting) as training iterations progress.

Methodology: Weight Plasticity Loss (WPL)

The authors propose Weight Plasticity Loss (WPL) to mitigate this interference. Unlike simple heuristics, WPL is derived from a Bayesian perspective, aiming to maximize the posterior probability of parameters across all models.

Key components include:

  • Fisher Information: WPL uses the diagonal of the Fisher Information Matrix to estimate "weight importance." If a specific shared weight was vital for a previously trained architecture, the Fisher value will be high.
  • The Loss Function: When training a new architecture, WPL adds a penalty term that discourages the optimizer from making large changes to weights with high importance scores for previous models.
  • Efficiency: To keep the process feasible, the authors use a momentum-based update for the Fisher information, adding virtually zero computational overhead to the search process.

Key Insights and Results

The researchers evaluated WPL across MNIST, Penn Treebank (PTB), and CIFAR-10. A critical insight is that MMF differs from standard "catastrophic forgetting"; while the latter involves losing knowledge of a task, MMF involves different architectures losing performance on the same task because they share a "brain."

Figure 5: Comparison of accuracy over time. WPL (orange lines) prevents the performance of Model A from collapsing while Model B learns, unlike the baseline (purple lines) where Model A is forgotten.

Experimental Highlights:

  • Forgetting Reduction: In controlled experiments on MNIST, WPL reduced the forgetting effect by up to 99% for fully converged models and 52% in more realistic "loose" training scenarios where models aren't trained to full convergence.
  • Language Modeling (PTB): Integrating WPL into the ENAS framework dropped test perplexity from 65.01 to 61.9, outperforming original results without extensive tuning.
  • Image Classification (CIFAR-10): WPL reduced the top-1 error rate from 4.87% to 3.81%.
  • Better Search Feedback: By preserving the performance of "good" architectures found early in the search, the NAS controller receives cleaner reward signals, allowing it to converge on superior final designs.

Limitations and Future Work

While effective, WPL introduces a scaling parameter ((\alpha)) that requires tuning, typically through a scheduled decay. Additionally, while computational costs are low, storing Fisher information for all shared weights increases memory usage for extremely large-scale super-graphs. Future work may explore applying WPL to ensemble learning, where multiple models could benefit from more stable shared representations.

Summary updated

BibTeX
@inproceedings{benyahia2019overcoming,
  author = {Yassine Benyahia and Kaicheng Yu and Kamil Bennani-Smires and Martin Jaggi and Anthony C. Davison and Mathieu Salzmann and Claudiu Musat},
  title = {{Overcoming Multi-Model Forgetting}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
  url = {https://openreview.net/forum?id=ByNp_2bOZS},
}
Figure