Rethinking Momentum Knowledge Distillation in Online Continual Learning
Nicolas Michel, Maorong Wang, Ling Xiao, Toshihiko Yamasaki
TL;DR
This work tackles Online Continual Learning (OCL) by leveraging Momentum Knowledge Distillation (MKD) with an evolving Exponential Moving Average (EMA) teacher to overcome KD-specific challenges in single-pass data streams. By integrating MKD with existing replay-based OCL methods and introducing a plasticity-stability control via the parameter $\alpha$ and a teacher-dependent weight $\lambda_{\alpha}$, the approach yields substantial accuracy gains (over $10$ percentage points on ImageNet100) and improves stability, backward transfer, and feature discrimination. The paper also provides detailed ablations and analyses of boundary conditions, showing MKD effectively handles both clear and blurry task boundaries and reduces several known issues in OCL such as task-recency bias and feature drift. The results demonstrate that KD, when rethought as MKD with an evolving teacher, becomes a central, efficient component for advancing OCL performance in a model- and architecture-agnostic manner.
Abstract
Online Continual Learning (OCL) addresses the problem of training neural networks on a continuous data stream where multiple classification tasks emerge in sequence. In contrast to offline Continual Learning, data can be seen only once in OCL, which is a very severe constraint. In this context, replay-based strategies have achieved impressive results and most state-of-the-art approaches heavily depend on them. While Knowledge Distillation (KD) has been extensively used in offline Continual Learning, it remains under-exploited in OCL, despite its high potential. In this paper, we analyze the challenges in applying KD to OCL and give empirical justifications. We introduce a direct yet effective methodology for applying Momentum Knowledge Distillation (MKD) to many flagship OCL methods and demonstrate its capabilities to enhance existing approaches. In addition to improving existing state-of-the-art accuracy by more than $10\%$ points on ImageNet100, we shed light on MKD internal mechanics and impacts during training in OCL. We argue that similar to replay, MKD should be considered a central component of OCL. The code is available at \url{https://github.com/Nicolas1203/mkd_ocl}.
