Unsupervised Continual Learning in Streaming Environments

Andri Ashfahani, Mahardhika Pratama

TL;DR

This paper introduces ADCN, an unsupervised deep clustering network that autonomously builds and adapts its structure (depth and width) on the fly for streaming data. It tackles the challenge of catastrophic forgetting in continual learning without requiring labeled data for updates, achieving strong performance across various benchmarks.

What Problem Does This Paper Address?

Traditional deep learning models struggle with data streams due to their rigid structures and the need for retraining. This is exacerbated by the high cost of labeling data in streaming environments, where data arrives continuously and often without labels. Furthermore, when learning new tasks or adapting to changing data distributions, these models often suffer from "catastrophic forgetting," where knowledge from previous tasks is lost. The paper aims to address these issues by proposing a method for building and adapting deep clustering networks autonomously in an unsupervised manner, while also mitigating catastrophic forgetting.

Methods

The core of the proposed method is the Autonomous Deep Clustering Network (ADCN). ADCN has two main components:

  • Feature Extractor: This module (e.g., MLP or CNN) extracts natural features from the input data.
  • Self-Evolving Fully Connected Layer (SAE): This is where the magic happens. It's a flexible layer that:
  • Self-Evolves Structure: Both the width (number of hidden nodes) and depth (number of layers) of the SAE are dynamically adjusted based on the bias-variance decomposition of the reconstruction loss. This allows it to adapt its capacity to the complexity of the incoming data.
  • Self-Clustering: A clustering mechanism is applied within the deep embedding space of each SAE layer. This allows for the discovery of cluster-friendly latent representations.
  • Latent-Based Regularization: To combat catastrophic forgetting, a regularization term is added that encourages the network's output to remain stable across tasks, effectively creating a task-invariant network.

The learning process is conducted in a greedy layer-wise fashion and involves simultaneous feature learning and clustering through a joint optimization objective. Crucially, the model learns and adapts without requiring labeled data for updates, except for a small initial set to associate clusters with class labels.

Datasets

The paper evaluates ADCN on a variety of datasets, categorized as:

  • Unstructured Data:
    • MNIST
    • Kuzushiji-MNIST (KMNIST)
    • Fashion-MNIST (FMNIST)
    • CIFAR10
    • These datasets are augmented with rotated images to simulate concept drift.
  • Structured Data:
    • SEA
    • Hyperplane
    • Credit Card Default
    • These datasets are used to test the generalizability of the MLP feature extractor.

For continual learning scenarios, the paper also uses:

  • Rotated MNIST (RMNIST)
  • Permuted MNIST (PMNIST)
  • Split MNIST (SMNIST)
  • Split CIFAR10 (SCIFAR10)

Key Insights and Ideas

  • Autonomous Structure Evolution: The ability of ADCN to dynamically grow or prune its network width and depth based on data characteristics is a significant departure from fixed-architecture models. This allows it to adapt to varying data complexity without manual intervention.
  • Unsupervised Continual Learning: ADCN demonstrates that it's possible to achieve effective continual learning in streaming environments without relying on labeled data for model updates, which is a major bottleneck in real-world applications.
  • Mitigating Catastrophic Forgetting: The combination of self-clustering and latent-based regularization proves effective in retaining knowledge from previous tasks, a critical challenge in continual learning.
  • Transfer Learning Potential: The paper suggests that the knowledge stored in ADCN's clusters can be leveraged to improve performance on new, incoming tasks, hinting at its applicability for unsupervised transfer learning.

Key Results

  • Superior Accuracy: ADCN consistently outperformed baseline methods (including Deep Clustering Network, AE+KMEANS, and SCARGC) in unsupervised learning scenarios, achieving up to a 76% performance improvement in accuracy on some problems.
  • Effective Continual Learning: In unsupervised continual learning, ADCN achieved the highest task and prequential accuracy on RMNIST and SCIFAR10. It also demonstrated a strong positive backward transfer (BWT) of -13 points on average, indicating effective mitigation of catastrophic forgetting, and a positive forward transfer (FWT) of 18 on average, showing knowledge transfer to new tasks.
  • Efficiency: ADCN is computationally efficient, with an average execution time of around 70 seconds for training and testing a data batch on a GPU, making it suitable for real-time streaming applications.

Limitations and Future Work

  • Labeled Data for Association: While ADCN learns unsupervisedly, a small set of labeled data is still required to associate cluster centroids with class labels for classification tasks.
  • PMNIST Challenge: ADCN's performance on the PMNIST problem was not as strong as on other datasets. The authors attribute this to the abrupt-change nature of the problem and the lack of labeled data for updates, suggesting that more severe concept drifts might require further investigation.
  • Future Work: The authors plan to extend ADCN to unsupervised transfer learning and to derive theoretical conditions to guarantee the performance of the generated network. They also suggest exploring the derivation of sufficient conditions to guarantee the performance of the ADCN generated network.

Summary updated

BibTeX
@article{ashfahani2022unsupervised,
  author = {Andri Ashfahani and Mahardhika Pratama},
  title = {{Unsupervised Continual Learning in Streaming Environments}},
  journal = {IEEE Transactions on Neural Networks and Learning Systems},
  year = {2022},
  doi = {10.1109/tnnls.2022.3163362},
}
Figure