Sub-network Discovery and Soft-masking for Continual Learning of Mixed Tasks

Zixuan Ke, Bing Liu, Wenhan Xiong, Asli Celikyilmaz, Haoran Li
10/13/2023
cs.CLcs.AIcs.LG

No official code found. Best implementation: ZixuanKe/PyContinual (323 stars, last commit 2024-01-29).

Abstract

Continual learning (CL) has two main objectives: preventing catastrophic forgetting (CF) and encouraging knowledge transfer (KT). The existing literature mainly focused on overcoming CF. Some work has also been done on KT when the tasks are similar. To our knowledge, only one method has been proposed to learn a sequence of mixed tasks. However, these techniques still suffer from CF and/or limited KT. This paper proposes a new CL method to achieve both. It overcomes CF by isolating the knowledge of each task via discovering a subnetwork for it. A soft-masking mechanism is also proposed to preserve the previous knowledge and to enable the new task to leverage the past knowledge to achieve KT. Experiments using classification, generation, information extraction, and their mixture (i.e., heterogeneous tasks) show that the proposed method consistently outperforms strong baselines.

View on arXivView PDF

Code Implementations(1)

PyContinual (An Easy and Extendible Framework for Continual Learning)

32370Shell, PythonJun 4, 20212 years ago
attention-mechanismcapsule-networkcatastrophic-forgettingcontinual-learningknowledge-transfer+4 more

Similar Papers

Cite this paper

@article{ke2023subnetwork,
  title  = {Sub-network Discovery and Soft-masking for Continual Learning of Mixed Tasks},
  author = {Zixuan Ke and Bing Liu and Wenhan Xiong and Asli Celikyilmaz and Haoran Li},
  year   = {2023},
  eprint = {2310.09436},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.09436v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.09436.svg)](https://codeofpaper.com/paper/2310.09436)

Discussion