Overcoming the Stability Gap in Continual Learning
Md Yousuf Harun, Christopher Kanan
TL;DR
This work targets model decay in industry by applying continual learning to large pre-trained models and identifying a stability gap that causes transient forgetting of old tasks when new data arrive. The authors propose Stability Gap Mitigation (SGM), a composite approach combining data-driven output-layer initialization, dynamic soft targets, LoRA-based limits on hidden-layer plasticity, and old-output-class freezing, achieving large reductions in stability, plasticity, and continual knowledge gaps. Across class-incremental and IID data streams, SGM dramatically improves learning efficiency, delivering up to 16.7× fewer network updates and 31.9× fewer TFLOPs versus joint training, while maintaining or exceeding the joint upper bound in several settings. The method generalizes across backbones and CL variants, including storage-constrained offline/online CL and non-rehearsal baselines, highlighting its practical potential for production systems to curb model decay with substantial compute and energy savings.
Abstract
Pre-trained deep neural networks (DNNs) are being widely deployed by industry for making business decisions and to serve users; however, a major problem is model decay, where the DNN's predictions become more erroneous over time, resulting in revenue loss or unhappy users. To mitigate model decay, DNNs are retrained from scratch using old and new data. This is computationally expensive, so retraining happens only once performance significantly decreases. Here, we study how continual learning (CL) could potentially overcome model decay in large pre-trained DNNs and greatly reduce computational costs for keeping DNNs up-to-date. We identify the "stability gap" as a major obstacle in our setting. The stability gap refers to a phenomenon where learning new data causes large drops in performance for past tasks before CL mitigation methods eventually compensate for this drop. We test two hypotheses to investigate the factors influencing the stability gap and identify a method that vastly reduces this gap. In large-scale experiments for both easy and hard CL distributions (e.g., class incremental learning), we demonstrate that our method reduces the stability gap and greatly increases computational efficiency. Our work aligns CL with the goals of the production setting, where CL is needed for many applications.
