Efficient Continual Learning with Modular Networks and Task-Driven Priors
Tom Veniat, Ludovic Denoyer, Marc'Aurelio Ranzato
TL;DR
This work reframes continual learning by emphasizing not only memory of past tasks but also transfer and scalability across long task streams. It introduces the CTrL benchmark to probe transfer and efficiency, and proposes Modular Networks with a Task-Driven Prior (MNTDP), a modular architecture that reuses past modules and adds new ones for new tasks under a data-driven prior to keep the search space manageable. The approach demonstrates competitive performance on standard CL benchmarks and superior transfer and scalability on CTrL, with a clear trade-off between prior breadth and computational budget. This modular, prior-guided paradigm offers practical paths toward scalable, transferable lifelong learning in real-world long-tail task sequences.
Abstract
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.
