Skip to main content
QUICK REVIEW

[Paper Review] Gradient-based Editing of Memory Examples for Online Task-free Continual Learning

Xisen Jin, Arka Sadhu|arXiv (Cornell University)|Jun 27, 2020
Domain Adaptation and Few-Shot LearningComputer Science40 citations
TL;DR

GMED edits memory-stored examples via small gradient updates to make their replay more effective at reducing forgetting in online task-free continual learning, achieving notable gains when combined with memory-based replay methods.

ABSTRACT

We explore task-free continual learning (CL), in which a model is trained to avoid catastrophic forgetting in the absence of explicit task boundaries or identities. Among many efforts on task-free CL, a notable family of approaches are memory-based that store and replay a subset of training examples. However, the utility of stored seen examples may diminish over time since CL models are continually updated. Here, we propose Gradient based Memory EDiting (GMED), a framework for editing stored examples in continuous input space via gradient updates, in order to create more "challenging" examples for replay. GMED-edited examples remain similar to their unedited forms, but can yield increased loss in the upcoming model updates, thereby making the future replays more effective in overcoming catastrophic forgetting. By construction, GMED can be seamlessly applied in conjunction with other memory-based CL algorithms to bring further improvement. Experiments validate the effectiveness of GMED, and our best method significantly outperforms baselines and previous state-of-the-art on five out of six datasets. Code can be found at https://github.com/INK-USC/GMED.

Motivation & Objective

  • Address catastrophic forgetting in online task-free continual learning without explicit task boundaries.
  • Leverage memory-based replay while maintaining in-distribution edited samples.
  • Introduce a modular editing framework that can augment existing memory-based CL methods.
  • Demonstrate significant empirical gains across multiple datasets and memory sizes.

Proposed method

  • Propose Gradient Memory Editing (GMED) which edits stored memory examples via gradient updates.
  • For a memory example (x_m, y_m), compute the loss increase d after a one-step update on a stream example (x_D, y_D).
  • Edit the memory example with x_m' = x_m + gamma^k * alpha * grad_x [d - beta * loss(x_m, y_m; theta_t)], where k is the replay count and gamma is a decay factor.
  • Update the model with the edited memory pair and the stream example, replacing the original memory entry with the edited one.
  • GMED can be integrated with ER, ER augmented with data augmentation (ER_aug), MIR, and GEM, with specific editing strategies adapted per integration.
  • Show that GMED edits are focused on increasing future interference to improve replay efficacy.

Experimental results

Research questions

  • RQ1How much does GMED improve performance when added to memory-based continual learning methods like ER, MIR, GEM, and ER_aug?
  • RQ2Are GMED gains due to the editing objective itself rather than simple perturbations or regularization?
  • RQ3How do GMED edits interact with different memory sizes and datasets in online task-free settings?
  • RQ4Can GMED be effectively combined with data augmentation and other replay strategies without increasing memory overhead?

Key findings

  • GMED consistently improves final accuracy when combined with ER and MIR across multiple datasets.
  • GMED+MIR and ER+GMED achieve state-of-the-art results on five of six datasets tested.
  • GMED gains are larger than those from random perturbation regularization and can stack with data augmentation.
  • Using GMED with various memory-based CL baselines yields statistically significant improvements across memory sizes.
  • GMED remains modular and can be integrated without additional generators, maintaining memory-based advantages.

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.