[Paper Review] Continual Variational Autoencoder Learning via Online Cooperative Memorization
This paper proposes Online Cooperative Memorization (OCM), a novel memory buffering framework for continual variational autoencoders that enhances lifelong generative modeling by dynamically transferring diverse samples from a short-term memory (STM) to a long-term memory (LTM) using a kernel-based diversity criterion without requiring class labels. The method improves performance on continual learning benchmarks, achieving state-of-the-art results in reconstruction quality and classification accuracy with minimal parameter overhead.
Due to their inference, data representation and reconstruction properties, Variational Autoencoders (VAE) have been successfully used in continual learning classification tasks. However, their ability to generate images with specifications corresponding to the classes and databases learned during Continual Learning (CL) is not well understood and catastrophic forgetting remains a significant challenge. In this paper, we firstly analyze the forgetting behaviour of VAEs by developing a new theoretical framework that formulates CL as a dynamic optimal transport problem. This framework proves approximate bounds to the data likelihood without requiring the task information and explains how the prior knowledge is lost during the training process. We then propose a novel memory buffering approach, namely the Online Cooperative Memorization (OCM) framework, which consists of a Short-Term Memory (STM) that continually stores recent samples to provide future information for the model, and a Long-Term Memory (LTM) aiming to preserve a wide diversity of samples. The proposed OCM transfers certain samples from STM to LTM according to the information diversity selection criterion without requiring any supervised signals. The OCM framework is then combined with a dynamic VAE expansion mixture network for further enhancing its performance.
Motivation & Objective
- To address catastrophic forgetting in continual variational autoencoders (VAEs) under task-free continual learning (TFCL), where task identities are unknown.
- To develop a theoretically grounded framework that explains forgetting in VAEs during TFCL using dynamic optimal transport (OT) theory.
- To design a memory mechanism that preserves data diversity without relying on supervised signals or prior task information.
- To integrate the OCM framework with a dynamic VAE mixture network for scalable, high-performance lifelong generative modeling.
Proposed method
- Formulates continual learning as a dynamic optimal transport problem to derive theoretical bounds on data likelihood, revealing the importance of memory diversity in mitigating forgetting.
- Proposes Online Cooperative Memorization (OCM) with two memory components: a Short-Term Memory (STM) for recent data and a Long-Term Memory (LTM) for long-range retention.
- Introduces a kernel-based similarity measure to evaluate sample diversity in STM, selecting representative samples for transfer to LTM without class labels.
- Employs a dynamic VAE expansion mixture network that adds new components adaptively to model data distribution shifts across tasks.
- Uses a thresholding mechanism based on kernelized distance to determine when to transfer samples from STM to LTM, ensuring diversity and avoiding redundancy.
- Combines OCM with VAE training using ELBO optimization, enabling end-to-end learning under TFCL with minimal architectural modifications.
Experimental results
Research questions
- RQ1How does catastrophic forgetting manifest in VAEs under task-free continual learning, and what theoretical principles govern this behavior?
- RQ2Can a memory buffer system be designed to preserve data diversity without relying on class labels or task identities?
- RQ3What is the impact of memory diversity on the likelihood of reconstructed data in continual VAE training?
- RQ4How does the proposed OCM framework compare to existing memory-based and expansion-based VAE methods in terms of reconstruction and generalization performance?
Key findings
- The theoretical analysis shows that data likelihood in VAEs under TFCL is bounded by optimal transport distances, and memory diversity is critical for maintaining performance.
- OCM with dynamic expansion outperforms LIMix and CNDPM on Cross-Domain and ImageNet with fewer mixture components and lower memory usage.
- On Split MNIST and CIFAR10, Dynamic-OCM achieves 94.02% accuracy with 2.0K LTM samples, surpassing state-of-the-art methods.
- For ImageNet, OCM with expansion achieves IS 6.36 and FID 133.23, significantly outperforming random memory selection (IS 3.15, FID 145.36).
- The OCM framework improves reconstruction quality, as shown by sharper generated images and lower FID scores compared to random sampling baselines.
- The method generalizes to classification tasks, achieving SOTA performance on Split MNIST, CIFAR10, and CIFAR100 with fewer parameters than competing approaches.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.