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 (NAS), we empirically demonstrate that it is possible to find random weight architectures—termed "deep priors"—that enable a simple linear classifier to perform on par with fully trained deep counterparts. Through ablation experiments, we confirm that suitable deep priors do not require additional inference, excluding the possibility of "lottery ticket" weight initializations. 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

In traditional deep learning, performance is largely attributed to parameter inference—the process of adjusting weights through backpropagation. However, this reliance on weight updates creates a significant hurdle in continual learning: the phenomenon of catastrophic interference (or catastrophic forgetting). When a model is trained on a new task, the updates to its weights often overwrite the representations learned for previous tasks.

This research proposes a radical alternative: what if the deep feature extractor remained frozen and random? If the encoder's parameters never change, it cannot "forget" previous tasks. The challenge then becomes finding an architecture whose structure alone is sufficient to make data linearly separable.

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

The authors introduce Deep Prior Neural Architecture Search (DP-NAS) to discover these specialized structures. The process involves a reinforcement learning agent (a Q-learner) that explores a vast search space of architectures, varying the number of layers, filter sizes, pooling operations, and skip connections.

The DP-NAS workflow: from architecture sampling to linear classifier training and agent updates.

Unlike standard NAS, which requires training every sampled model, DP-NAS evaluates architectures using random Gaussian weights. A dataset is passed through this random "deep prior" to generate an embedding, and only a simple linear classifier is trained on top. This approach is significantly faster than conventional NAS because it avoids the computationally expensive process of backpropagating through the entire deep network.

Key Insights: Structure over Parameters

A central finding of this work is that the hierarchy of operations in a "good" architecture naturally resonates with data statistics. These deep priors can separate classes in high-dimensional space even without being explicitly trained.

Comparison of accuracy between random-weight architectures and their fully trained counterparts across different search indices.

As shown in the comparison above, for the highest-performing architectures (indices 12-17), the performance gap between random weights and fully trained weights is remarkably small. This suggests that the architecture itself performs the "heavy lifting" of feature extraction. Furthermore, ablation studies confirmed that this success is not due to a "lucky" weight initialization (the "lottery ticket" hypothesis); performance remained consistent across different random seeds, proving the advantage is inherent to the topology.

Continual Learning Performance

The fixed nature of the deep prior provides a "trivial" but effective solution to forgetting. In multi-head continual learning, where the task identity is known, the shared random encoder remains unchanged while a new linear head is trained for each task. This resulted in near-perfect scores on MNIST (99.79%) and FashionMNIST (99.37%), outperforming state-of-the-art methods like Elastic Weight Consolidation (EWC) and Variational Continual Learning (VCL).

In the more challenging single-head scenario, where task identity is unknown, the frozen deep prior combined with a small "core set" of examples (2.5% of the data) outperformed complex generative replay methods. This demonstrates that a well-chosen structural prior can provide a robust foundation for learning new information without degrading old knowledge.

Conclusion

This research shifts the focus from weight optimization to architectural design. By identifying deep priors that work with random weights, we can bypass the problem of catastrophic interference in continual learning. While current results assume a consistent data distribution, future work will explore how these priors generalize across domain shifts and more complex datasets like ImageNet.

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