[Paper Review] Efficient Continual Learning with Modular Networks and Task-Driven Priors
This paper proposes a modular neural network architecture with task-driven priors for efficient continual learning, enabling sub-linear scaling in memory and computation while reducing catastrophic forgetting. By composing reusable modules from past tasks and dynamically selecting optimal combinations via a data-driven prior, the method achieves state-of-the-art performance on new, challenging benchmarks that probe transfer and scalability, outperforming existing approaches in long-stream continual learning settings.
Existing literature in Continual Learning (CL) has focused on overcoming catastrophic forgetting, the inability of the learner to recall how to perform tasks observed in the past. There are however other desirable properties of a CL system, such as the ability to transfer knowledge from previous tasks and to scale memory and compute sub-linearly with the number of tasks. Since most current benchmarks focus only on forgetting using short streams of tasks, we first propose a new suite of benchmarks to probe CL algorithms across these new axes. Finally, we introduce a new modular architecture, whose modules represent atomic skills that can be composed to perform a certain task. Learning a task reduces to figuring out which past modules to re-use, and which new modules to instantiate to solve the current task. Our learning algorithm leverages a task-driven prior over the exponential search space of all possible ways to combine modules, enabling efficient learning on long streams of tasks. Our experiments show that this modular architecture and learning algorithm perform competitively on widely used CL benchmarks while yielding superior performance on the more challenging benchmarks we introduce in this work.
Motivation & Objective
- To address limitations in existing continual learning methods that fail to scale efficiently or support knowledge transfer beyond forgetting mitigation.
- To identify key properties of a robust continual learning system: avoidance of catastrophic forgetting, effective knowledge transfer, and sub-linear growth in memory and computation with respect to the number of tasks.
- To design and evaluate a new benchmark suite, CTrL, that tests these properties beyond standard forgetting metrics.
- To develop a modular neural network architecture with a task-driven prior that enables efficient, scalable, and transfer-capable continual learning.
Proposed method
- The method employs a modular neural network where each task is solved by composing a small set of reusable neural modules, either inherited from previous tasks or newly trained.
- A task-driven prior is introduced to guide the search over the exponential space of possible module combinations, focusing only on locally perturbed architectures around the best-performing module configuration from the previous task.
- The prior is data-driven, using features from the previous task’s best-performing architecture to constrain the search space, ensuring efficient exploration.
- The architecture avoids forgetting by freezing past modules and only updating new modules during learning on current tasks.
- The model supports knowledge transfer by reusing common modules across semantically similar tasks.
- The method is evaluated under a realistic protocol where each task is seen only once, but data can be replayed during inference, simulating real-world continual learning.
Experimental results
Research questions
- RQ1Can a continual learning system achieve sub-linear growth in memory and computation while maintaining high performance across long streams of tasks?
- RQ2How effectively can a modular architecture enable knowledge transfer between related tasks in continual learning?
- RQ3To what extent do standard benchmarks fail to distinguish between continual learning methods in terms of transfer and scalability?
- RQ4How does a data-driven, task-specific prior improve search efficiency in the combinatorial space of module compositions?
- RQ5Can a modular architecture with a task-driven prior outperform existing state-of-the-art methods on both standard and newly designed, more challenging continual learning benchmarks?
Key findings
- The proposed method, MNTDP-D, achieves the highest average accuracy (0.70) and best plasticity performance on the CTrL benchmark using a ResNet backbone, outperforming all baselines.
- On the long-stream evaluation, MNTDP-D maintains high performance (0.75 average accuracy) with only 102.03 MB memory usage, significantly outperforming methods like HAT* and MNTDP-S.
- In the transfer evaluation stream, MNTDP-D achieves 0.70 accuracy on the final task despite reduced data and class reordering, demonstrating strong transfer capability.
- The method scales efficiently: with 100 tasks, MNTDP-D uses only 1299.0 FLOPs and 11.6 MB memory, showing sub-linear growth.
- On the plasticity stream, MNTDP-D maintains 0.70 accuracy on the probe task even after four distractor tasks, indicating minimal forgetting and strong retention.
- The ablation study confirms that the task-driven prior is critical: without it, performance drops significantly, especially in long streams.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.