Dual-CBA: Improving Online Continual Learning via Dual Continual Bias Adaptors from a Bi-level Optimization Perspective

Quanziang Wang, Renzhen Wang, Yichen Wu, Xixi Jia, Minghao Zhou +1 more
8/26/2024
cs.LGcs.AI

No official code found. Best implementation: wqza/Dual-CBA-online-CL (2 stars, last commit 2026-03-11).

Abstract

In online continual learning (CL), models trained on changing distributions easily forget previously learned knowledge and bias toward newly received tasks. To address this issue, we present Continual Bias Adaptor (CBA), a bi-level framework that augments the classification network to adapt to catastrophic distribution shifts during training, enabling the network to achieve a stable consolidation of all seen tasks. However, the CBA module adjusts distribution shifts in a class-specific manner, exacerbating the stability gap issue and, to some extent, fails to meet the need for continual testing in online CL. To mitigate this challenge, we further propose a novel class-agnostic CBA module that separately aggregates the posterior probabilities of classes from new and old tasks, and applies a stable adjustment to the resulting posterior probabilities. We combine the two kinds of CBA modules into a unified Dual-CBA module, which thus is capable of adapting to catastrophic distribution shifts and simultaneously meets the real-time testing requirements of online CL. Besides, we propose Incremental Batch Normalization (IBN), a tailored BN module to re-estimate its population statistics for alleviating the feature bias arising from the inner loop optimization problem of our bi-level framework. To validate the effectiveness of the proposed method, we theoretically provide some insights into how it mitigates catastrophic distribution shifts, and empirically demonstrate its superiority through extensive experiments based on four rehearsal-based baselines and three public continual learning benchmarks.

View on arXivView PDF

Code Implementations(1)

This is an official PyTorch implementation of "Dual-CBA: Improving Online Continual Learning via Dual Continual Bias Adaptors from a Bi-level Optimization Perspective"

20Shell, PythonMar 11, 20267 months ago

Similar Papers

Cite this paper

@article{wang2024dualcba,
  title  = {Dual-CBA: Improving Online Continual Learning via Dual Continual Bias Adaptors from a Bi-level Optimization Perspective},
  author = {Quanziang Wang and Renzhen Wang and Yichen Wu and Xixi Jia and Minghao Zhou and Deyu Meng},
  year   = {2024},
  eprint = {2408.13991},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.13991v1}
}

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

Discussion