Lifelong Generative Modelling Using Dynamic Expansion Graph Model

Fei Ye, Adrian G. Bors

Abstract

Variational Autoencoders (VAEs) often struggle with "catastrophic forgetting" when learning tasks sequentially. This paper presents the Lifelong ELBO (LELBO), a theoretical framework to analyze this forgetting, and introduces the Dynamic Expansion Graph Model (DEGM). DEGM utilizes a novelty-driven graph structure to balance high generative performance with parameter efficiency by reusing knowledge across tasks.

Introduction

In Lifelong Learning (LLL), models must acquire new information sequentially without losing previously learned knowledge. For generative models like VAEs, this is particularly challenging. Training on new data often shifts internal representations, leading to catastrophic forgetting of earlier tasks. Current approaches like Generative Replay (GR) or Expanding Network Architectures (ENA) either suffer from degrading replay quality or excessive parameter growth. This work addresses these issues through a new theoretical bound and a flexible, graph-based architecture.

Theoretical Framework: Lifelong ELBO (LELBO)

The authors derive the Lifelong ELBO (LELBO) to provide a mathematical foundation for understanding forgetting in VAEs. They demonstrate that the negative marginal log-likelihood in a lifelong setting is bounded by the discrepancy distance—the difference between the current data distribution and the evolved source distribution—and the accumulated errors from prior tasks. This analysis highlights that bridging the distributional gap is essential for maintaining performance over time.

The Dynamic Expansion Graph Model (DEGM)

To address the limitations of static architectures, the authors propose the Dynamic Expansion Graph Model (DEGM). DEGM is a mixture-based model that expands its structure based on the novelty of incoming tasks.

Overview of the DEGM architecture, illustrating the inference and decoding processes with basic and specific nodes.

The architecture consists of two primary node types:

  • Basic Nodes: These contain independent parameters and serve as primary knowledge repositories. They are only created when a task's novelty exceeds a threshold $\tau$.
  • Specific Nodes: These lightweight nodes act as "graph bridges," reusing and weighting information from existing Basic Nodes via an adjacency matrix.

By employing importance weights ($\pi_i$), DEGM structures knowledge to characterize the joint probabilistic representations of both past and current tasks, allowing for efficient knowledge sharing.

Experimental Evaluation

The DEGM was evaluated on several benchmarks, including Split MNIST, Split Fashion, COFMI (a cross-domain sequence), and CCCOSCZC (a complex high-dimensional benchmark featuring CelebA, CACD, and more).

Evaluation of target risk (a) and the discrepancy distance components (b) in the lifelong learning setting.

Key Results

  • Performance: On the COFMI benchmark, DEGM-IWELBO-50 achieved a log-likelihood score of -163.27, outperforming standard Generative Replay (-172.10) and the CN-DPM expansion model (-184.19).
  • Efficiency: On the CCCOSCZC benchmark, DEGM reached an average score of 393.8, approaching the performance of an "upper bound" baseline (381.3) that uses separate VAEs for every task, but with significantly fewer parameters.
  • Bound Tightness: Empirical results confirmed that the Importance Weighted ELBO (IWELBO) provides a tighter bound in lifelong settings, helping maintain generative quality over long task sequences.

Conclusion

The Dynamic Expansion Graph Model (DEGM) offers a principled approach to lifelong generative modeling. By combining the theoretical insights of LELBO with a novelty-driven graph architecture, DEGM effectively mitigates catastrophic forgetting while maintaining parameter efficiency. Future work will focus on automating threshold tuning and exploring more complex graph structures to further enhance scalability.

Summary updated

BibTeX
@inproceedings{ye2022lifelong,
  author = {Fei Ye and Adrian G. Bors},
  title = {{Lifelong Generative Modelling Using Dynamic Expansion Graph Model}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i8.20867},
}
Figure