Skip to main content
QUICK REVIEW

[Paper Review] Memory Replay with Data Compression for Continual Learning

Liyuan Wang, Xingxing Zhang|arXiv (Cornell University)|Feb 14, 2022
Domain Adaptation and Few-Shot LearningComputer Science39 citations
TL;DR

MRDC uses lossy data compression to expand the old data memory for continual learning and selects compression quality with a determinantal point process to balance quality and quantity without repetitive training.

ABSTRACT

Continual learning needs to overcome catastrophic forgetting of the past. Memory replay of representative old training samples has been shown as an effective solution, and achieves the state-of-the-art (SOTA) performance. However, existing work is mainly built on a small memory buffer containing a few original data, which cannot fully characterize the old data distribution. In this work, we propose memory replay with data compression (MRDC) to reduce the storage cost of old training samples and thus increase their amount that can be stored in the memory buffer. Observing that the trade-off between the quality and quantity of compressed data is highly nontrivial for the efficacy of memory replay, we propose a novel method based on determinantal point processes (DPPs) to efficiently determine an appropriate compression quality for currently-arrived training samples. In this way, using a naive data compression algorithm with a properly selected quality can largely boost recent strong baselines by saving more compressed data in a limited storage space. We extensively validate this across several benchmarks of class-incremental learning and in a realistic scenario of object detection for autonomous driving.

Motivation & Objective

  • Motivate memory replay as a way to mitigate catastrophic forgetting in continual learning.
  • Address the inefficiency of storing original data by proposing data compression to expand memory capacity.
  • Develop a method to choose an appropriate compression quality without repeated training using determinantal point processes (DPPs).
  • Demonstrate effectiveness on large-scale image and object detection benchmarks under realistic storage constraints.

Proposed method

  • Propose memory replay with data compression (MRDC) to store more old samples by compressing data with controllable quality q.
  • Model compression-quality selection as a sampling problem over compressed subsets via conditional deterministic point processes (DPPs).
  • Relax the intractable MLE objective by optimizing a surrogate that maximizes the likelihood of a target original-subset feature representation and enforces consistency between compressed and original feature volumes.
  • Derive a practical optimization (Eq. 5) that selects q by ensuring the ratio of compressed-to-original feature volumes is close to 1 within a tolerance, while maximizing the number of retained compressed samples.
  • Use JPEG as a simple, widely available lossy compressor and evaluate across class-incremental and semi-supervised object-detection tasks.
  • Compare MRDC against strong memory-replay baselines under fixed storage budgets and analyze computational cost.

Experimental results

Research questions

  • RQ1Can data compression increase the effective size of a memory buffer for memory replay without sacrificing performance?
  • RQ2How to efficiently select a compression quality to balance quality and quantity of stored examples without retraining?
  • RQ3Does MRDC improve continual learning performance on large-scale image classification and object detection benchmarks under realistic storage constraints?

Key findings

  • Memory replay with compressed data can substantially outperform replay of original data given the same storage budget.
  • A DPP-based method can select an appropriate JPEG quality without repetitive training and matches grid-search quality results, often saving over 100x computation.
  • MRDC improves several strong baselines (e.g., LUCIR, PODNet, DDE, AANets) on ImageNet-sub/Full and on CUB-200-2011.
  • In large-scale autonomous driving data (SODA10M), MRDC yields notable gains in semi-supervised object detection metrics over finetuning and baseline memory replay.
  • MRDC maintains competitive computational cost, offering gains with only modest additional computation compared to strong baselines.

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.