Abstract
Learning from data sequentially arriving, possibly in a non i.i.d. way, with changing task distribution over time is called continual learning. Much of the work thus far in continual learning focuses on supervised learning and some recent works on unsupervised learning. In many domains, each task contains a mix of labelled (typically very few) and unlabelled (typically plenty) training examples, which necessitates a semi-supervised learning approach. To address this in a continual learning setting, we propose a framework for semi-supervised continual learning called Meta-Consolidation for Continual Semi-Supervised Learning (MCSSL). Our framework has a hypernetwork that learns the meta-distribution that generates the weights of a semi-supervised auxiliary classifier generative adversarial network (Semi-ACGAN) as the base network. We consolidate the knowledge of sequential tasks in the hypernetwork, and the base network learns the semi-supervised learning task. Further, we present Semi-Split CIFAR-10, a new benchmark for continual semi-supervised learning, obtained by modifying the Split CIFAR-10 dataset, in which the tasks with labelled and unlabelled data arrive sequentially. Our proposed model yields significant improvements in the continual semi-supervised learning setting.
Introduction
Standard machine learning models often suffer from catastrophic forgetting: the abrupt loss of previously learned information when training on new tasks. While Continual Learning (CL) research has traditionally focused on fully supervised settings, real-world scenarios often provide a wealth of unlabeled data but very few labels. This necessitates a Continual Semi-Supervised Learning (CSSL) approach.
We introduce MCSSL (Meta-Consolidation for Continual Semi-Supervised Learning), a framework designed to learn sequential tasks from limited labeled data by leveraging a generative approach. By learning the underlying data distribution rather than just decision boundaries, the model becomes more robust to label scarcity.
The MCSSL Framework
MCSSL utilizes a two-tier architecture to manage knowledge across tasks:
- Base Model (Semi-ACGAN): Instead of a standard classifier, we use a modified Auxiliary Classifier Generative Adversarial Network. The Discriminator (D) is trained to distinguish between real and fake data while simultaneously predicting class labels using both labeled and unlabeled real samples.
- Hypernetwork: A Variational Auto-Encoder (VAE)-based hypernetwork acts as a "meta-model," generating the weights for the Semi-ACGAN base model. To manage the computational complexity of generating full network weights, we employ a "chunking" trick to process weights in smaller segments.
- Meta-Consolidation: To prevent forgetting within the hypernetwork, we store task-specific priors. During training on new tasks, we sample "pseudo-models" from previous tasks to ensure the hypernetwork retains its prior knowledge.
Experimental Results
To evaluate CSSL, we introduced the Semi-Split CIFAR-10 benchmark. This dataset splits CIFAR-10 into 10 sequential tasks, each containing a small amount of labeled data (as few as 50 examples) and a larger pool of unlabeled data (1,000 examples).
Our results demonstrate that MCSSL significantly outperforms established baselines like Elastic Weight Consolidation (EWC) and MERLIN, particularly in data-scarce environments. As shown in the table below, when labeled data is reduced to only 50 samples per task, MCSSL maintains a high accuracy of 63.00%, while other methods see a sharp decline.
Notably, MCSSL occasionally exhibits "negative forgetting" (indicated by negative values in the forgetting column), where learning subsequent tasks actually improves performance on earlier ones. This suggests effective knowledge consolidation in the meta-space.
Conclusion
MCSSL provides a robust framework for learning from sequential, semi-supervised data streams. By shifting the learning process to a meta-distribution of weights via a hypernetwork, the model achieves state-of-the-art performance on the Semi-Split CIFAR-10 benchmark. Future work will focus on scaling this architecture to larger datasets and further optimizing the memory footprint of task-specific priors.
Summary updated