Skip to main content
QUICK REVIEW

[Paper Review] Prediction Error-based Classification for Class-Incremental Learning

Michał Zając, Tinne Tuytelaars|arXiv (Cornell University)|May 30, 2023
Domain Adaptation and Few-Shot LearningComputer Science3 citations
TL;DR

This paper proposes Prediction Error-based Classification (PEC), a novel class-incremental learning method that computes class scores by measuring how well a class-specific student network approximates a frozen random teacher network. PEC outperforms rehearsal-free and moderate-replay rehearsal baselines across MNIST, SVHN, CIFAR-10, CIFAR-100, and miniImageNet in single-pass learning, demonstrating high sample efficiency and robustness without forgetting.

ABSTRACT

Class-incremental learning (CIL) is a particularly challenging variant of continual learning, where the goal is to learn to discriminate between all classes presented in an incremental fashion. Existing approaches often suffer from excessive forgetting and imbalance of the scores assigned to classes that have not been seen together during training. In this study, we introduce a novel approach, Prediction Error-based Classification (PEC), which differs from traditional discriminative and generative classification paradigms. PEC computes a class score by measuring the prediction error of a model trained to replicate the outputs of a frozen random neural network on data from that class. The method can be interpreted as approximating a classification rule based on Gaussian Process posterior variance. PEC offers several practical advantages, including sample efficiency, ease of tuning, and effectiveness even when data are presented one class at a time. Our empirical results show that PEC performs strongly in single-pass-through-data CIL, outperforming other rehearsal-free baselines in all cases and rehearsal-based methods with moderate replay buffer size in most cases across multiple benchmarks.

Motivation & Objective

  • Address the challenge of catastrophic forgetting and score imbalance in class-incremental learning (CIL), where models must learn classes incrementally without revisiting past data.
  • Overcome limitations of existing discriminative and generative classification approaches in CIL, particularly the need for memory replay, hyperparameter tuning, or complex generative modeling.
  • Develop a simple, sample-efficient, and theoretically grounded method that avoids forgetting and works effectively even with one-class-at-a-time data streams.
  • Demonstrate strong performance in the single-pass-through-data setting, a realistic and challenging continual learning scenario with limited compute and memory.

Proposed method

  • Train a frozen random neural network (the 'teacher') with fixed, randomly initialized weights to produce target outputs for each input.
  • For each class, train a separate student network to regress the teacher's outputs on data from that class, minimizing the mean squared error between predictions and teacher outputs.
  • During inference, compute the prediction error (MSE) of each class-specific student network on a test sample to generate a class score, with lower error indicating higher confidence.
  • Interpret the method as approximating a Gaussian Process posterior variance-based classification rule, providing theoretical grounding.
  • Use a single, shared teacher network across all classes, ensuring modularity and eliminating catastrophic forgetting.
  • Avoid hyperparameter tuning by relying on the intrinsic error minimization objective, making the method easy to deploy.

Experimental results

Research questions

  • RQ1Can a simpler, non-generative approach achieve competitive performance in class-incremental learning without requiring memory replay or complex generative modeling?
  • RQ2How does prediction error-based classification compare to existing rehearsal-free and rehearsal-based baselines in terms of accuracy and stability under single-pass data streaming?
  • RQ3What is the impact of data order and class presentation sequence on the performance of PEC in a realistic, non-i.i.d. learning setting?
  • RQ4To what extent does PEC mitigate catastrophic forgetting and score imbalance compared to standard discriminative and generative approaches?
  • RQ5Can PEC maintain strong performance with minimal data and computational resources, especially when training data are presented one class at a time?

Key findings

  • PEC outperforms all rehearsal-free baselines across all evaluated benchmarks (MNIST, SVHN, CIFAR-10, CIFAR-100, miniImageNet) in the single-pass-through-data setting.
  • PEC surpasses rehearsal-based methods with moderate replay buffer sizes in most benchmarks, demonstrating strong sample efficiency and robustness.
  • The method achieves strong performance even when data are presented one class at a time, highlighting its suitability for real-world streaming scenarios.
  • PEC shows no catastrophic forgetting due to the modular, isolated training of class-specific student networks.
  • Empirical results confirm that PEC is highly sample efficient and requires no additional hyperparameters beyond standard training settings.
  • Theoretical analysis supports PEC as an approximation of a GP posterior variance-based classification rule, providing a principled foundation for its design.

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.