Parameter-Level Soft-Masking for Continual Learning
About
Existing research on task incremental learning in continual learning has primarily focused on preventing catastrophic forgetting (CF). Although several techniques have achieved learning with no CF, they attain it by letting each task monopolize a sub-network in a shared network, which seriously limits knowledge transfer (KT) and causes over-consumption of the network capacity, i.e., as more tasks are learned, the performance deteriorates. The goal of this paper is threefold: (1) overcoming CF, (2) encouraging KT, and (3) tackling the capacity problem. A novel technique (called SPG) is proposed that soft-masks (partially blocks) parameter updating in training based on the importance of each parameter to old tasks. Each task still uses the full network, i.e., no monopoly of any part of the network by any task, which enables maximum KT and reduction in capacity usage. To our knowledge, this is the first work that soft-masks a model at the parameter-level for continual learning. Extensive experiments demonstrate the effectiveness of SPG in achieving all three objectives. More notably, it attains significant transfer of knowledge not only among similar tasks (with shared knowledge) but also among dissimilar tasks (with little shared knowledge) while mitigating CF.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Depth Estimation | NYU v2 (test) | -- | 432 | |
| Semantic segmentation | NYU v2 (test) | mIoU19.77 | 282 | |
| Surface Normal Estimation | NYU v2 (test) | Mean Angle Distance (MAD)28.38 | 224 | |
| Depth Estimation | Cityscapes | Abs. Err.0.0418 | 53 | |
| Depth Estimation | Cityscapes | Absolute Error0.0155 | 34 | |
| Semantic segmentation | Cityscapes | mIoU57.99 | 26 | |
| Multi-task Sequence Performance | Cityscapes | Delta Tb-51.5 | 18 | |
| 7-class Semantic Segmentation | Cityscapes | mIoU69.68 | 18 | |
| Depth Estimation | Taskonomy | Depth Error0.2008 | 18 | |
| Keypoint-2D Detection | Taskonomy | K.-2D Score54.81 | 9 |