Neural Architecture Search of Deep Priors: Towards Continual Learning Without Catastrophic Interference

Martin Mundt, Iuliia Pliushch, Visvanathan Ramesh

Abstract

In this paper we analyze the classification performance of neural network structures without parametric inference. Making use of neural architecture search, we empirically demonstrate that it is possible to find random weight architectures, a deep prior, that enables a linear classification to perform on par with fully trained deep counterparts. Through ablation experiments, we exclude the possibility of winning a weight initialization lottery and confirm that suitable deep priors do not require additional inference. In an extension to continual learning, we investigate the possibility of catastrophic interference free incremental learning. Under the assumption of classes originating from the same data distribution, a deep prior found on only a subset of classes is shown to allow discrimination of further classes through training of a simple linear classifier.

Introduction: The Challenge of Catastrophic Interference

In deep learning, "catastrophic interference" (or forgetting) remains a significant hurdle for sequential learning. When a model learns new tasks over time, the weight updates required for new data often overwrite the parameters encoding knowledge from previous tasks. Traditional solutions typically involve regularizing weight updates or replaying old data. This research explores a radical alternative: What if we didn't need to infer the encoder's parameters at all? By keeping weights fixed, they can never be "overwritten," effectively sidestepping the core mechanism of catastrophic interference.

Methods: Deep Prior Neural Architecture Search (DP-NAS)

The authors propose Deep Prior Neural Architecture Search (DP-NAS), a framework designed to find architectures that perform well even with random, fixed weights.

The DP-NAS workflow: an RL agent samples architectures, which are then evaluated using fixed random weights and a trained linear classifier.

The process follows four key steps:

  1. The Search: A reinforcement learning agent (MetaQNN) samples neural network architectures, varying layers, filter sizes, pooling, and skip connections.
  2. Random Initialization: Sampled architectures are initialized with random Gaussian weights and kept fixed.
  3. The Linear Head: Data is passed through the random "deep prior" encoder. A simple linear classifier is then trained on the resulting embeddings.
  4. The Reward: The validation accuracy of this linear classifier serves as the reward signal for the RL agent.

Because only the final linear layer is trained, DP-NAS is significantly faster than traditional NAS methods that require full network convergence for every evaluation.

Key Insights: Structure as the Prior

The core hypothesis is that the hierarchical structure of a CNN inherently captures the statistics of natural images. The right structure—the "deep prior"—can make data linearly separable without any weight optimization.

Accuracy comparison between random and trained weights. For high-performing architectures (12-17), the gap between random and trained weights is negligible.

Ablation studies confirmed that this performance is not a result of a "weight initialization lottery." For a well-structured architecture, performance remains consistent across different random initializations. Furthermore, for the best-found deep priors, training the encoder weights provided almost no additional accuracy boost, suggesting the architecture itself performs the heavy lifting. Crucially, a deep prior found on a subset of classes generalizes remarkably well to new classes from the same data distribution.

Key Results in Continual Learning

The approach was evaluated on MNIST, FashionMNIST, and CIFAR-10 in incremental settings.

  • Competitive Accuracy: On FashionMNIST, DP-NAS identified random-weight architectures allowing a linear classifier to reach ~92% accuracy, rivaling fully trained models.
  • Multi-Head Incremental Learning: In scenarios where the task ID is known, the method achieved near-perfect scores (99.79% on MNIST and 99.37% on FashionMNIST), outperforming established methods like EWC and VCL.
  • Single-Head Success: In the more challenging single-head setting (unknown task ID), combining the deep prior with a minimal "core set" of 40 examples allowed the model to outperform sophisticated generative replay models.

Conclusion

By shifting the focus from parameter inference to architectural resonance, this work demonstrates that structure alone can solve complex classification tasks. This paradigm offers a computationally efficient path toward models that can learn continually without the risk of catastrophic forgetting.

Summary updated

BibTeX
@inproceedings{mundt2021neural,
  author = {Martin Mundt and Iuliia Pliushch and Visvanathan Ramesh},
  title = {{Neural Architecture Search of Deep Priors: Towards Continual Learning Without Catastrophic Interference}},
  booktitle = {Workshops @ CVPR},
  year = {2021},
  url = {https://openreview.net/forum?id=GgIwNSDQyng},
}
Figure