Introduction
Deep neural networks typically struggle with "lifelong learning"—the ability to acquire a sequence of tasks over time. Most models suffer from catastrophic forgetting, where learning a new task overwrites the weights essential for previous ones. Existing solutions generally fall into two categories: regularization-based methods, which freeze weights in a fixed-capacity network (often leading to performance bottlenecks), and expansion-based methods, which add neurons for every new task (leading to unsustainable model growth).
The "Regularize, Expand and Compress" (REC) framework proposes a middle ground. It utilizes AutoML to temporarily expand a network's capacity to learn new information and then employs knowledge distillation to compress that knowledge back into the original model size. This "non-expansive" approach ensures high performance without the runaway memory costs associated with dynamic expansion.
The REC Framework
The REC framework operates in a continuous three-stage cycle for every new task encountered:
- Regularize (Multi-task Weight Consolidation - MWC): Unlike standard Elastic Weight Consolidation (EWC) which simply penalizes changes to important weights, MWC identifies a subset of weights useful for both old and new tasks. By applying $l_{2,1}$ and $l_1$ norms, the model is encouraged to find shared features, treating lifelong learning as a sequential multi-task problem.
- Expand (AutoML): When the current network capacity is insufficient for a new task, a Reinforcement Learning (RL) controller intervenes. Using "Net2Wider" and "Net2Deeper" operators, the controller automatically determines the optimal way to grow the network architecture to accommodate the new knowledge.
- Compress (Knowledge Distillation): To prevent model bloat, the expanded model acts as a "teacher." A "student" model, identical in size to the original network, is trained to mimic the teacher's outputs. This ensures the final model remains compact and ready for the next task.
Experimental Evaluation
The authors evaluated REC against state-of-the-art methods like DEN (Dynamically Expandable Network) and EWC across several benchmarks, including MNIST-permutation, MNIST-variation, CIFAR-100, and CUB-200.
Key Results
- Superior Accuracy: On the MNIST-permutation task, REC achieved an average accuracy of 95.7%, significantly outperforming EWC (84.4%). On the more complex CIFAR-100 dataset, REC reached 59.7% accuracy, a substantial improvement over EWC’s 41.9%.
- Fixed-Size Efficiency: While methods like DEN achieve decent accuracy, they do so by expanding the model size. On MNIST-permutation, DEN grew to 0.14M parameters (a 14x increase), whereas REC maintained a constant size of 0.01M parameters throughout the sequence of tasks.
Discussion and Future Work
The core insight of REC is temporary plasticity: a model only needs extra capacity during the learning phase. Once a task is mastered, that knowledge can be distilled into a more efficient footprint. Furthermore, the use of MWC highlights that task correlation is vital; explicitly looking for shared parameters across tasks is more effective than treating them in isolation.
Despite its success, the framework has limitations. The "Expand" stage relies on Reinforcement Learning, which is computationally expensive and slower than simple regularization. Additionally, while tested on AlexNet and VGG-style architectures, extending REC to modern residual or dense architectures remains a key area for future research. The authors also suggest that maintaining a small set of "exemplar" data from previous tasks could further refine the rewards used by the AutoML controller, potentially improving performance on highly dissimilar tasks.
Summary updated