Skip to main content
QUICK REVIEW

[Paper Review] Continual Normalization: Rethinking Batch Normalization for Online Continual Learning

Quang Pham, Chenghao Liu|arXiv (Cornell University)|Mar 30, 2022
Domain Adaptation and Few-Shot LearningComputer Science22 citations
TL;DR

Continual Normalization (CN) replaces Batch Normalization in online continual learning to balance mini-batch and spatial normalization, reducing cross-task forgetting while preserving knowledge transfer.

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. 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}.

Motivation & Objective

  • Study the cross-task normalization effect of Batch Normalization in online continual learning
  • Identify desirable properties of a normalization layer for continual learning
  • Propose Continual Normalization (CN) to balance training facilitation and forgetting mitigation
  • Demonstrate CN as a drop-in BN replacement with improvements across online protocols

Proposed method

  • CN first applies Group Normalization (GN) without affine parameters to normalize spatial features
  • Then applies Batch Normalization (BN) with affine parameters to the GN output: a_CN = gamma * BN(a_GN) + beta
  • CN uses GN to incorporate spatial information and BN to retain transfer capabilities, enabling adaptive normalization without extra test-time inputs
  • CN does not introduce new learnable parameters beyond BN's gamma and beta and maintains compatibility with existing backbones
  • CN is argued to balance mini-batch and within-sample normalization to reduce cross-task normalization effects
  • Comparison is made against BN, BRN, IN, GN, and SN across online continual learning benchmarks

Experimental results

Research questions

  • RQ1Does BN improve forward knowledge transfer but incur higher forgetting due to cross-task normalization in online CL?
  • RQ2Can CN outperform BN and other normalization layers in various online continual learning protocols?
  • RQ3Is CN a direct, test-time-adaptive replacement for BN with minimal overhead?
  • RQ4How does CN perform across task-incremental, class-incremental, and task-free online CL settings?

Key findings

  • CN consistently achieves best overall ACC across online task-incremental experiments on Split CIFAR-100 and Split Mini IMN when compared with BN, BRN, IN, GN, and SN
  • CN balances forgetting (FM) and learning accuracy (LA), offering improved stability and transfer over BN in several settings
  • CN demonstrates improved performance over BN in online class-incremental settings under DER++ across Split CIFAR-10 and Split Tiny IMN, with higher ACC and lower FM in many configurations
  • CN shows competitive or superior results with multiple group configurations (G=8, G=32) and across memory sizes, with CN often yielding more stable results than BN
  • In long-tailed online continual learning benchmarks (COCOseq, NUS-WIDEseq), CN provides consistent improvements over BN, particularly in reducing forgetting across metrics

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.