Continual Learning by Three-Phase Consolidation
Davide Maltoni, Lorenzo Pellegrini
TL;DR
This work tackles catastrophic forgetting in class-incremental continual learning by introducing Three-Phase Consolidation (TPC), a lightweight, replay-friendly scheme combining online bias correction and gradient masking across three learning phases. The method bootstraps novel classes, then jointly updates all seen classes with selective masking, and finally consolidates by balancing all classes, without relying on heavy distillation or complex replay strategies. Empirical results on Core50, ImageNet1000, CIFAR100, and NICv2 show that TPC achieves competitive or superior accuracy with favorable efficiency compared to strong baselines like AR1, BiC, and DER++. The approach is implemented in the Avalanche framework, facilitating reproducibility and practical deployment in real-world continual learning tasks. Overall, TPC demonstrates that a simple, well-structured three-phase update can effectively mitigate bias and forgetting in long sequences with limited data, making it appealing for dynamic environments and privacy-constrained settings.
Abstract
TPC (Three-Phase Consolidation) is here introduced as a simple but effective approach to continually learn new classes (and/or instances of known classes) while controlling forgetting of previous knowledge. Each experience (a.k.a. task) is learned in three phases characterized by different rules and learning dynamics, aimed at removing the class-bias problem (due to class unbalancing) and limiting gradient-based corrections to prevent forgetting of underrepresented classes. Several experiments on complex datasets demonstrate its accuracy and efficiency advantages over competitive existing approaches. The algorithm and all the results presented in this paper are fully reproducible thanks to its publication on the Avalanche open framework for continual learning.
