Efficient Architecture Search for Continual Learning

Qiang Gao, Zhipeng Luo, Diego Klabjan, Fengli Zhang

TL;DR

CLEAS (Continual Learning with Efficient Architecture Search) uses a fine-grained, neuron-level Reinforcement Learning controller to solve the "catastrophic forgetting" problem in AI. By selectively reusing old neurons and adding minimal new ones for each new task, it achieves state-of-the-art accuracy while significantly reducing model size compared to existing methods.

What Problem Does This Paper Address?

In the quest for Artificial General Intelligence, Continual Learning (CL) is a holy grail: the ability for an AI to learn a sequence of tasks over time, just like a human. However, neural networks suffer from three major headaches in this setting:

  1. Catastrophic Forgetting: Learning a new task (like recognizing cats) often overwrites the weights learned for a previous task (like recognizing dogs).
  2. Adaptation: How do you modify a network to handle a completely new type of data?
  3. Model Complexity: If you just keep adding new neurons for every task, the model eventually becomes a bloated, unmanageable mess that exceeds hardware limits.

Previous approaches either used fixed-size networks (which inevitably forget) or expandable networks that were too redundant. Specifically, the previous state-of-the-art, RCL, blindly reused all neurons from previous tasks, leading to massive inefficiency and potential interference between unrelated tasks.

Methods

The authors introduce CLEAS, a framework consisting of two parts: a Task Network that does the actual learning, and a Controller Network (an RNN/LSTM) that acts as an architect.

The core innovation is neuron-level control. Instead of deciding how many layers to add, the controller looks at every single individual neuron (or convolutional filter) and decides whether to "use" or "drop" it for the current task.

The CLEAS framework: The controller (right) decides the configuration of the task network (left) by selecting which neurons to reuse or add.

Key technical details include:

  • Zero Forgetting: Weights of reused neurons are frozen. Only new weights (connecting old-to-new or new-to-new neurons) are trained.
  • Global State Definition: Unlike other NAS methods that look at one neuron at a time, the CLEAS controller treats the entire network configuration as a single state, leading to better global optimization.
  • CLEAS-C for CNNs: An extension that allows the controller to not just pick filters, but also decide if a filter's size should be expanded (e.g., from 3x3 to 4x4) to better capture new features.

Datasets

The researchers evaluated CLEAS on three standard sequential classification benchmarks:

  • MNIST Permutation: 10 tasks where each task is a different random pixel-shuffle of the classic handwritten digits.
  • Rotated MNIST: 10 tasks where digits are rotated by different angles (0 to 180 degrees).
  • Incremental CIFAR-100: A more complex dataset of 100 object classes, split into 10 tasks of 10 classes each.

Key Insights and Ideas

  • Selective Reuse is Key: Reusing everything is bad. Some old neurons are "adversarial" or simply redundant for new tasks. By dropping them, CLEAS creates a more focused and efficient sub-network for each task.
  • The "Concise" Advantage: As the task index increases, CLEAS actually tends to drop more old filters and add fewer new ones, maintaining a lean architecture even as its knowledge base grows.
  • Filter Expansion: In CNNs, allowing the filter size to grow slightly (e.g., from 3x3 to 4x4) provides a significant accuracy boost (0.7% on CIFAR-100) by allowing the network to learn more complex spatial features for later tasks.

Key Results

CLEAS consistently outperformed the previous state-of-the-art (RCL) across all metrics:

  • Accuracy: Improved relative accuracy by 0.21% on MNIST variants and a substantial 6.70% on the challenging CIFAR-100 dataset.
  • Efficiency: This is where CLEAS shines. It reduced network complexity (number of parameters) by 29.9%, 19.0%, and 51.0% across the three datasets respectively.
Average number of parameters across tasks. CLEAS (red) uses significantly fewer parameters than other expandable methods like PGN, DEN, and RCL.

Limitations and Future Work

The primary drawback of CLEAS is training time. Because the controller performs a fine-grained search at the neuron level, the RNN used for the search is quite long, making the search process computationally expensive.

The authors suggest that future work should focus on designing more efficient search strategies or controller architectures to reduce this runtime without sacrificing the model's impressive accuracy and compactness.

Summary updated

BibTeX
@article{gao2023efficient,
  author = {Qiang Gao and Zhipeng Luo and Diego Klabjan and Fengli Zhang},
  title = {{Efficient Architecture Search for Continual Learning}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2023},
  doi = {10.1109/tnnls.2022.3151511},
}
Figure