Skip to main content
QUICK REVIEW

[Paper Review] Divide and not forget: Ensemble of selectively trained experts in Continual Learning

Grzegorz Rypeść, Sebastian Cygert|arXiv (Cornell University)|Jan 18, 2024
Domain Adaptation and Few-Shot LearningComputer Science11 citations
TL;DR

SEED introduces an exemplar-free continual learning method that ensembles multiple experts and fine-tunes only one expert per new task, using Gaussian class representations to select the best expert and ensemble predictions for task-agnostic and task-aware settings.

ABSTRACT

Class-incremental learning is becoming more popular as it helps models widen their applicability while not forgetting what they already know. A trend in this area is to use a mixture-of-expert technique, where different models work together to solve the task. However, the experts are usually trained all at once using whole task data, which makes them all prone to forgetting and increasing computational burden. To address this limitation, we introduce a novel approach named SEED. SEED selects only one, the most optimal expert for a considered task, and uses data from this task to fine-tune only this expert. For this purpose, each expert represents each class with a Gaussian distribution, and the optimal expert is selected based on the similarity of those distributions. Consequently, SEED increases diversity and heterogeneity within the experts while maintaining the high stability of this ensemble method. The extensive experiments demonstrate that SEED achieves state-of-the-art performance in exemplar-free settings across various scenarios, showing the potential of expert diversification through data in continual learning.

Motivation & Objective

  • Motivate exemplar-free class-incremental learning (CIL) to reduce forgetting while maintaining plasticity.
  • Propose SEED, an ensemble of fixed experts where only one is finetuned per task to minimize forgetting.
  • Represent each class within an expert by a multivariate Gaussian in a latent space to enable expert selection and inference.
  • Encourage diversification among experts to improve performance under distribution shifts and across tasks.

Proposed method

  • SEED uses K deep network experts g_k o f with shared initial layers f; f is frozen after the first task.
  • Each expert has a Gaussian G_k^c = (μ_k^c, Σ_k^c) per class c in its latent space.
  • Inference computes log-likelihoods of latent representations under each expert’s class Gaussians and averages softmaxed log-likelihoods across experts for predictions.
  • During training, for each new task t, select the expert whose latent class distributions overlap the least (via symmetrized KL divergence) and finetune only that expert with a cross-entropy loss plus feature distillation (L_KD).
  • The expert selection uses a KL-based criterion to maximize inter-class distribution distance within the task’s class set.
  • The full SEED pipeline includes: (i) computing per-class Gaussian distributions in each expert’s latent space, (ii) selecting the best expert for fine-tuning on the new task, (iii) updating the Gaussian distributions of the selected expert, and (iv) fixing f after the first task to prevent cross-task drift.
Figure 1: Exemplar-free Class Incremental Learning methods evaluated on CIFAR100 divided into eleven tasks for two different data distributions.
Figure 1: Exemplar-free Class Incremental Learning methods evaluated on CIFAR100 divided into eleven tasks for two different data distributions.

Experimental results

Research questions

  • RQ1Can an exemplar-free CIL method achieve state-of-the-art accuracy by selectively training a single expert per task?
  • RQ2Does enforcing diversity among a fixed ensemble of experts improve stability-plasticity trade-offs under various task splits and domain shifts?
  • RQ3How does Gaussian-based class representation within each expert aid in expert selection and robust inference across tasks?
  • RQ4What is the impact of shared feature layers and the number of experts on performance and parameter efficiency?

Key findings

  • SEED achieves state-of-the-art accuracy among exemplar-free CIL methods across multiple benchmarks and task splits.
  • The method significantly outperforms competitors in equal-split task scenarios and under substantial domain shifts (DomainNet).
  • A five-expert SEED setup with shared layers and selective fine-tuning demonstrates strong performance while using relatively few parameters per task.
  • Ablation studies show multivariate Gaussian representations and the KL-based expert selection are crucial for SEED’s performance, with the full design yielding the best results.
  • Diversity emerges organically: each expert specializes in different tasks, and the ensemble consistently outperforms the best single expert.
Figure 2: SEED comprises $K$ deep network experts $g_{k}\circ f$ (here $K=2$ ), sharing the initial layers $f$ for higher computational performance. $f$ are frozen after the first task. Each expert contains one Gaussian distribution per class $c\in C$ in his unique latent space. In this example, we
Figure 2: SEED comprises $K$ deep network experts $g_{k}\circ f$ (here $K=2$ ), sharing the initial layers $f$ for higher computational performance. $f$ are frozen after the first task. Each expert contains one Gaussian distribution per class $c\in C$ in his unique latent space. In this example, we

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.