Skip to main content
QUICK REVIEW

[Paper Review] New Insights on Reducing Abrupt Representation Change in Online Continual Learning

Lucas Caccia, Rahaf Aljundi|arXiv (Cornell University)|Apr 11, 2021
Domain Adaptation and Few-Shot LearningComputer Science45 citations
TL;DR

The paper reveals that standard experience replay (ER) induces large representation drift when new classes appear and proposes asymmetric loss approaches (ER-AML and ER-ACE) to mitigate drift, improving online continual learning performance under memory and compute constraints.

ABSTRACT

In the online continual learning paradigm, agents must learn from a changing distribution while respecting memory and compute constraints. Experience Replay (ER), where a small subset of past data is stored and replayed alongside new data, has emerged as a simple and effective learning strategy. In this work, we focus on the change in representations of observed data that arises when previously unobserved classes appear in the incoming data stream, and new classes must be distinguished from previous ones. We shed new light on this question by showing that applying ER causes the newly added classes' representations to overlap significantly with the previous classes, leading to highly disruptive parameter updates. Based on this empirical analysis, we propose a new method which mitigates this issue by shielding the learned representations from drastic adaptation to accommodate new classes. We show that using an asymmetric update rule pushes new classes to adapt to the older ones (rather than the reverse), which is more effective especially at task boundaries, where much of the forgetting typically occurs. Empirical results show significant gains over strong baselines on standard continual learning benchmarks.

Motivation & Objective

  • Motivate and analyze representation drift in online continual learning under ER when new classes arrive.
  • Identify root causes of abrupt representation changes at task boundaries.
  • Propose and evaluate asymmetric loss-based methods (ER-AML and ER-ACE) to mitigate drift.
  • Demonstrate performance gains on standard online CL benchmarks under constrained resources.
  • Provide computational cost analysis to inform practical online learning deployments.

Proposed method

  • Empirically diagnose representation drift caused by ER when new classes appear in the stream.
  • Propose ER-AML: a distance-metric learning loss on incoming data with negatives restricted to the incoming batch, paired with a cross-entropy-like loss on the replay buffer.
  • Propose ER-ACE: an asymmetric cross-entropy loss where the denominator in softmax excludes old-class negatives not in the current batch.
  • Generalize to an asymmetric setup that applies different losses to incoming data and replay data to preserve old representations while learning new classes.
  • Optionally combine ER-ACE with existing replay methods for additional gains.
  • Evaluate on standard online CL benchmarks under single-head, online, memory-bounded settings, and analyze compute cost.

Experimental results

Research questions

  • RQ1What causes abrupt representation changes when new classes are introduced in online continual learning with replay?
  • RQ2Can asymmetric loss schemes on incoming vs replay data reduce representation drift without sacrificing learning of new classes?
  • RQ3Do ER-AML and ER-ACE provide robust performance across typical online CL benchmarks under memory and compute constraints?
  • RQ4How do these methods compare in terms of computational cost and practicality for online deployment?

Key findings

  • ER with standard replay causes the representations of older classes to drift significantly when new classes arrive.
  • Using asymmetric losses that treat incoming data separately from replay data mitigates representation drift and improves stability at task boundaries.
  • ER-AML with constrained negatives (only from the incoming batch) reduces drift and yields substantial accuracy gains, especially with small replay buffers.
  • ER-ACE provides a simple cross-entropy variant with asymmetric treatment that achieves strong performance gains, matching or exceeding ER-AML in many settings.
  • Both ER-AML and ER-ACE achieve state-of-the-art results on Split CIFAR-10, Split CIFAR-100, and Mini-Imagenet under online single-head constraints, with notable gains over ER, MIR, DER++, and SS-IL, particularly under tight memory budgets.
  • The proposed methods maintain learning ability for new classes while preserving recognition of older ones, and can be combined with existing methods for additional gains.

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.