Abstract
In class-incremental learning, a model learns continuously from a sequential data stream in which new classes occur. Existing methods often rely on static architectures that are manually crafted. These methods can be prone to capacity saturation because a neural network's ability to generalize to new concepts is limited by its fixed capacity. To understand how to expand a continual learner, we focus on the neural architecture design problem in the context of class-incremental learning: at each time step, the learner must optimize its performance on all classes observed so far by selecting the most competitive neural architecture. To tackle this problem, we propose Continual Neural Architecture Search (CNAS): an autoML approach that takes advantage of the sequential nature of class-incremental learning to efficiently and adaptively identify strong architectures in a continual learning setting. We employ a task network to perform the classification task and a reinforcement learning agent as the meta-controller for architecture search. In addition, we apply network transformations to transfer weights from previous learning step and to reduce the size of the architecture search space, thus saving a large amount of computational resources. We evaluate CNAS on the CIFAR-100 dataset under varied incremental learning scenarios with limited computational power (1 GPU). Experimental results demonstrate that CNAS outperforms architectures that are optimized for the entire dataset. In addition, CNAS is at least an order of magnitude more efficient than naively using existing autoML methods.
1. Introduction
In Class-incremental Learning (CIL), an AI model encounters a stream of data where new categories of objects appear sequentially. Most existing approaches use a "static" architecture—a model with a fixed size chosen before training begins. This leads to a "Goldilocks" problem: if the model is too small, it eventually runs out of capacity to learn new concepts without forgetting old ones (capacity saturation); if it is too large from the start, it wastes computational resources on simple early tasks.
This paper addresses the continual architecture design problem: How can a learner autonomously decide to expand its own structure to maintain high performance as the complexity of the task grows?
2. Methodology: The CNAS Framework
The proposed CNAS framework consists of three main components working in a loop:
- The Task Network: A standard Convolutional Neural Network (CNN) that performs classification. When new classes arrive, the output layer is expanded to accommodate them.
- The RL Meta-Controller: A Reinforcement Learning agent (using the REINFORCE algorithm) that observes the current state of the network and the data. It suggests "actions" in the form of Net2Net transformations.
- Net2WiderNet: Adds more units or filters to an existing layer.
- Net2DeeperNet: Inserts a new layer.
- Net2Net initializes the new, larger network so that it mathematically represents the exact same function as the smaller one, allowing for a "warm start" that saves significant training time.
- The Heuristic Function: This acts as a gatekeeper, evaluating candidate architectures on a validation set. If improvements appear to be due to random noise rather than a genuine need for capacity, the expansion is rejected to prevent bloat.
3. Experimental Evaluation
The researchers evaluated CNAS using the CIFAR-100 dataset across several scenarios, including fixed $k$-class increments and mixed-class settings where the number of new classes varies.
Key Insights
- Efficiency: By using Net2Net to transfer weights, CNAS can run on a single GPU, making it at least 10x faster than naive AutoML methods.
- Adaptive Growth: CNAS models typically start with significantly fewer parameters than a "static" model optimized for the full dataset, growing only when task difficulty necessitates it.
- Rehearsal: The method assumes access to a growing pool of past data (rehearsal) to mitigate forgetting.
4. Results
Experimental results show that CNAS consistently achieves higher average incremental accuracy than static architectures (SA) pre-optimized for the entire 100-class dataset.
In addition to superior accuracy, CNAS demonstrated high parameter efficiency. In 2-class incremental experiments, it maintained higher accuracy while utilizing fewer parameters than the static baseline for the majority of the learning process. The RL meta-controller was also shown to be superior to random architecture search (RAS), particularly as the number of classes grew.
5. Conclusion
CNAS provides an efficient and adaptive framework for neural architecture design in class-incremental learning. By leveraging reinforcement learning and network transformations, it overcomes the limitations of static architectures while remaining computationally feasible. Future work will explore expanding the search space to include complex structural changes like skip connections and reducing the dependency on stored rehearsal data.
Summary updated