Skip to main content
QUICK REVIEW

[Paper Review] Energy-Based Models for Continual Learning

Shuang Li, Yilun Du|arXiv (Cornell University)|Nov 24, 2020
Domain Adaptation and Few-Shot LearningComputer Science64 references6 citations
TL;DR

This paper proposes Energy-Based Models (EBMs) as a novel approach to continual learning that avoids catastrophic forgetting by training an unnormalized energy function over class-label pairs, using a contrastive divergence objective that selectively updates only relevant features. EBMs significantly outperform existing methods on class-incremental and boundary-free continual learning benchmarks without requiring replay or stored data.

ABSTRACT

We motivate Energy-Based Models (EBMs) as a promising model class for continual learning problems. Instead of tackling continual learning via the use of external memory, growing models, or regularization, EBMs change the underlying training objective to cause less interference with previously learned information. Our proposed version of EBMs for continual learning is simple, efficient, and outperforms baseline methods by a large margin on several benchmarks. Moreover, our proposed contrastive divergence-based training objective can be combined with other continual learning methods, resulting in substantial boosts in their performance. We further show that EBMs are adaptable to a more general continual learning setting where the data distribution changes without the notion of explicitly delineated tasks. These observations point towards EBMs as a useful building block for future continual learning methods.

Motivation & Objective

  • To address catastrophic forgetting in continual learning by rethinking classification as energy-based learning rather than probabilistic classification.
  • To develop a training objective that minimizes interference with previously learned knowledge by focusing on relevant input features through conditional gains.
  • To enable effective continual learning in both boundary-aware and boundary-free settings, especially in class-incremental scenarios without data replay or external memory.
  • To provide a simple, efficient, and broadly applicable training framework that can enhance existing continual learning methods.
  • To demonstrate that EBMs naturally handle dynamically growing classes and distribution shifts without relying on task boundary information.

Proposed method

  • Formulate classification as learning an energy function that assigns lower energy to correct class-label pairs and higher energy to incorrect ones, using a contrastive divergence-based training objective.
  • Introduce a conditional gain mechanism that acts as an attention filter, allowing the model to focus on input features relevant to specific classes during training.
  • Train the model using a wake-sleep process where the energy of the true label is minimized while the energy of negative labels is maximized, reducing interference with prior knowledge.
  • Dynamically extend the model to new classes by learning new conditional gains without retraining the entire network.
  • Apply the EBM framework to both standard class-incremental learning and more challenging boundary-free continual learning, where task boundaries are absent.
  • Combine the EBM objective with existing regularization methods (e.g., Online EWC, SI) to boost their performance in continual learning settings.

Experimental results

Research questions

  • RQ1Can energy-based models reduce catastrophic forgetting in continual learning without relying on external memory or model expansion?
  • RQ2How well do EBMs perform in class-incremental learning when no replay or stored data is used?
  • RQ3Can EBMs be effectively applied to boundary-free continual learning, where task boundaries are not explicitly defined?
  • RQ4Does the contrastive divergence-based EBM objective improve performance when combined with existing regularization techniques?
  • RQ5How does the conditional gain mechanism in EBMs reduce interference with previously learned knowledge?

Key findings

  • EBMs achieve 81.78% ± 1.22 mean test accuracy on split MNIST in the boundary-free setting, significantly outperforming Online EWC (39.62%) and SI (28.79%).
  • On permuted MNIST, EBMs achieve 92.35% ± 0.11, compared to 41.37% for Online EWC and 35.71% for SI.
  • On CIFAR-10, EBMs achieve 49.47% ± 1.25, surpassing Online EWC (22.53%) and SI (26.26%) in the boundary-free setting.
  • On CIFAR-100, EBMs achieve 34.39% ± 0.24, substantially exceeding Online EWC (9.57%) and SI (10.42%) in the boundary-free setting.
  • EBMs show strong generalization across multiple benchmarks and settings, including class-incremental learning without replay or stored data.
  • The EBM objective can be combined with existing methods like Online EWC and SI, resulting in substantial performance boosts in both boundary-aware and boundary-free settings.

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.