Continual Normalization: Rethinking Batch Normalization for Online Continual Learning

Quang Pham, Chenghao Liu, Steven Hoi
3/30/2022
cs.LG

Official code: phquang/Continual-Normalization (14 stars, Python, last commit 2022-09-07).

Abstract

Existing continual learning methods use Batch Normalization (BN) to facilitate training and improve generalization across tasks. However, the non-i.i.d and non-stationary nature of continual learning data, especially in the online setting, amplify the discrepancy between training and testing in BN and hinder the performance of older tasks.

Show full abstract

In this work, we study the cross-task normalization effect of BN in online continual learning where BN normalizes the testing data using moments biased towards the current task, resulting in higher catastrophic forgetting. This limitation motivates us to propose a simple yet effective method that we call Continual Normalization (CN) to facilitate training similar to BN while mitigating its negative effect. Extensive experiments on different continual learning algorithms and online scenarios show that CN is a direct replacement for BN and can provide substantial performance improvements. Our implementation is available at \url{https://github.com/phquang/Continual-Normalization}.

View on arXivView PDF

Code Implementations(1)

144Python, ShellMar 14, 20224 years ago

Similar Papers

Cite this paper

@article{pham2022continual,
  title  = {Continual Normalization: Rethinking Batch Normalization for Online Continual Learning},
  author = {Quang Pham and Chenghao Liu and Steven Hoi},
  year   = {2022},
  eprint = {2203.16102},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.16102}
}

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/2203.16102.svg)](https://codeofpaper.com/paper/2203.16102)

Discussion