Abstract
Continual learning in unsupervised generative modeling remains a significant challenge due to catastrophic forgetting and the absence of task boundaries. This paper introduces Sinkhorn-based Dual Dynamic Memory (SDDM), a novel framework that leverages Online Optimal Transport to manage a biologically inspired dual-memory system. By calculating Sinkhorn distances, the system identifies representative samples for long-term storage and triggers dynamic architecture expansion in Denoising Diffusion Probabilistic Models (DDPMs). Our approach achieves state-of-the-art FID scores on various benchmarks, including high-resolution image generation, while maintaining competitive performance in classification tasks.
1. Introduction
Deep generative models typically operate on static datasets, but real-world applications often involve continuous data streams. Learning from such streams without explicit task boundaries or labels leads to catastrophic forgetting, where new information overwrites previously learned knowledge. This paper addresses the Online Task-Free Continual Learning (OTFCL) problem, proposing a method that learns from unlabeled image streams where underlying distributions change over time without external notification.
2. Methodology
The proposed framework, Sinkhorn-based Dual Dynamic Memory (SDDM), consists of two primary components: a dual-memory management system and a dynamic model expansion strategy.
2.1 Dual Dynamic Memory (SDDM)
Inspired by biological memory, the system maintains two buffers:
- Temporary Memory: A simple first-in-first-out (FIFO) buffer storing recent samples for immediate training.
- Dynamic Expansion Memory: A persistent store for representative samples across the data stream's history.
The core innovation is the use of Online Optimal Transport (OOT). The system computes the Sinkhorn distance between incoming data batches and existing memory blocks. A high distance indicates that the new data is significantly different from stored samples, prompting the creation of a new memory block. This ensures a diverse and representative memory buffer within a constrained capacity.
2.2 Dynamic Model Expansion (SDDM-Dyn)
To handle increasing data complexity, the authors employ a mixture-of-experts approach for Denoising Diffusion Probabilistic Models (DDPMs). When the memory system detects a distribution shift that exceeds the current model's capacity, it "freezes" the existing parameters and adds a new generative expert to the ensemble.
3. Experimental Evaluation
The method was evaluated on standard benchmarks adapted for class-incremental learning:
- Image Generation: Split MNIST, Fashion-MNIST, SVHN, and CIFAR-10.
- High-Resolution Generation: CelebA-HQ, CACD, and FFHQ (up to $128\times128$ and $256\times256$ resolutions).
- Classification: Split CIFAR-10, Split TinyImageNet, and Permuted MNIST.
4. Results and Discussion
SDDM-Dyn consistently outperformed existing methods in generative quality. On Split CIFAR-10, it achieved a state-of-the-art FID of 73.52, compared to 80.15 for CGKD-DDPM and 155.72 for R-VAE. The memory system's independence from model gradients also allowed it to excel in classification tasks, surpassing DER++ on Split CIFAR-10 with 74.63% accuracy.
Key insights include the superiority of Optimal Transport over KL divergence for high-dimensional probabilistic matching and the effectiveness of decoupling memory management from the training process, allowing the buffer to be used for both unsupervised and supervised tasks.
5. Conclusion and Future Work
SDDM provides a robust solution for OTFCL by combining intelligent memory allocation with dynamic architecture expansion. While highly effective, the system's performance is sensitive to the expansion threshold $\lambda$, and the ensemble approach increases parameter count over time. Future research will focus on hyperparameter optimization and expert compression techniques to enhance scalability on resource-constrained devices.
Summary updated