Continual Learning via Local Module Composition
Oleksiy Ostapenko, Pau Rodríguez, Massimo Caccia, Laurent Charlin
Abstract
Modularity is a compelling solution to continual learning (CL), the problem of modeling sequences of related tasks. Learning and then composing modules to solve different tasks provides an abstraction to address the principal challenges of CL including catastrophic forgetting, backward and forward transfer across tasks, and sub-linear model growth. We introduce local module composition (LMC), an approach to modular CL where each module is provided a local structural component that estimates a module's relevance to the input. Dynamic module composition is performed layer-wise based on local relevance scores. We demonstrate that agnosticity to task identities (IDs) arises from (local) structural learning that is module-specific as opposed to the task- and/or model-specific as in previous works, making LMC applicable to more CL settings compared to previous works. In addition, LMC also tracks statistics about the input distribution and adds new modules when outlier samples are detected. In the first set of experiments, LMC performs favorably compared to existing methods on the recent Continual Transfer-learning Benchmark without requiring task identities. In another study, we show that the locality of structural learning allows LMC to interpolate to related but unseen tasks (OOD), as well as to compose modular networks trained independently on different task sequences into a third modular network without any fine-tuning. Finally, in search for limitations of LMC we study it on more challenging sequences of 30 and 100 tasks, demonstrating that local module selection becomes much more challenging in presence of a large number of candidate modules. In this setting best performing LMC spawns much fewer modules compared to an oracle based baseline, however, it reaches a lower overall accuracy. The codebase is available under https://github.com/oleksost/LMC.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 9ffde5ea-0d4b-4fa6-aef6-dadc5f79f1feCited by top-tier papers24
- New Insights on Reducing Abrupt Representation Change in Online Continual LearningLucas Caccia, Rahaf Aljundi, Nader Asadi, Tinne Tuytelaars et al.ICLR 2022 · 279 citations
- Towards Modular LLMs by Building and Reusing a Library of LoRAsOleksiy Ostapenko, Zhan Su, Edoardo M. Ponti, Laurent Charlin et al.ICML 2024 · 70 citations
- Dynamically Expandable Graph Convolution for Streaming RecommendationBowei He, Xu He, Yingxue Zhang, Ruiming Tang et al.WWW 2023 · 60 citations
- A Model or 603 Exemplars: Towards Memory-Efficient Class-Incremental LearningDa-Wei Zhou, Qi-Wei Wang, Han-Jia Ye, De-Chuan ZhanICLR 2023 · 46 citations
- Multi-Head Adapter Routing for Cross-Task GeneralizationLucas Page-Caccia, Edoardo Maria Ponti, Zhan Su, Matheus Pereira et al.NeurIPS 2023 · 38 citations
Builds on10
- Gradient Starvation: A Learning Proclivity in Neural NetworksMohammad Pezeshki, Sékou-Oumar Kaba, Yoshua Bengio, Aaron C. Courville et al.NeurIPS 2021 · 378 citations
- A Neural Dirichlet Process Mixture Model for Task-Free Continual LearningSoochan Lee, Junsoo Ha, Dongsu Zhang, Gunhee KimICLR 2020 · 238 citations
- Efficient Continual Learning with Modular Networks and Task-Driven PriorsTom Veniat, Ludovic Denoyer, Marc'Aurelio RanzatoICLR 2021 · 110 citations
- Continuous Meta-Learning without TasksJames Harrison, Apoorva Sharma, Chelsea Finn, Marco PavoneNeurIPS 2020 · 86 citations
- Learning where to learn: Gradient sparsity in meta and continual learningJohannes von Oswald, Dominic Zhao, Seijin Kobayashi, Simon Schug et al.NeurIPS 2021 · 61 citations
Related papers
- A Probabilistic Framework for Modular Continual LearningLazar Valkov, Akash Srivastava, Swarat Chaudhuri, Charles SuttonICLR 2024 · 5 citations
- A Combinatorial Perspective on Transfer LearningJianan Wang, Eren Sezener, David Budden, Marcus Hutter et al.NeurIPS 2020 · 9 citations
- Continual Sequence Generation with Adaptive Compositional ModulesYanzhe Zhang, Xuezhi Wang, Diyi YangACL 2022 · 53 citations
- Self-Expansion of Pre-trained Models with Mixture of Adapters for Continual LearningHuiyi Wang, Haodong Lu, Lina Yao, Dong GongCVPR 2025
- Self-Composing Policies for Scalable Continual Reinforcement LearningMikel Malagón, Josu Ceberio, José Antonio LozanoICML 2024 · 13 citations
