Unsupervised Continual Learning via Self-adaptive Deep Clustering Approach

Mahardhika Pratama, Andri Ashfahani, Edwin Lughofer

Abstract

KIERA (Knowledge Retention in Self-Adaptive Deep Continual Learner) is a novel framework designed for unsupervised, task-agnostic continual learning. By integrating a self-adaptive stacked autoencoder with a focal-point experience replay strategy, KIERA evolves its neural architecture dynamically to accommodate shifting data distributions and emerging classes without requiring task labels or predefined boundaries. This approach effectively mitigates catastrophic forgetting while maintaining high performance across diverse benchmarks.

Introduction

Standard machine learning models typically suffer from catastrophic forgetting, where training on new tasks leads to an abrupt loss of performance on previously learned ones. While Continual Learning (CL) research aims to address this, most existing solutions rely on "task oracles" (knowing when a task changes) or extensive ground-truth labels. KIERA addresses the more challenging scenario of unsupervised, task-agnostic continual learning, where a model must learn from a continuous stream of unlabeled data with shifting distributions and emerging concepts.

Methodology

KIERA is built upon a Stacked Autoencoder (SAE) architecture with three core innovations:

1. Multi-Level Deep Clustering

Unlike traditional deep clustering that operates solely on the bottleneck layer, KIERA performs clustering at every hidden layer. Local outputs from each layer are aggregated to form the final prediction, ensuring robust feature representation throughout the network.

2. Structural Plasticity and Self-Evolution

The network architecture is not static. It employs a "Network Significance" method based on bias-variance decomposition to adapt its capacity:

  • Growth: If the model exhibits high bias (underfitting), it adds hidden nodes.
  • Pruning: If it shows high variance (overfitting), it removes redundant nodes.
  • Layer Addition: Using a drift detection algorithm based on Hoeffding’s bounds, KIERA adds entirely new layers when a significant distribution shift is detected.

3. Focal-Point Experience Replay

To prevent forgetting, KIERA maintains an episodic memory of "focal points"—specific samples that triggered the creation of new clusters. By replaying these critical samples alongside new data, the model retains knowledge of previously learned concepts more efficiently than random sampling strategies.

Figure 1: Average number of samples in collected vs. replayed memories over time, illustrating the focal-point replay strategy.

Experimental Evaluation

KIERA was evaluated against state-of-the-art methods, including STAM and DCN (combined with regularization techniques like LwF and SI), across four benchmarks: Rotated MNIST (RMNIST), Permuted MNIST (PMNIST), Split MNIST (SMNIST), and Split CIFAR10 (SCIFAR10).

Key Performance Metrics

  • Superior Accuracy: On the RMNIST task, KIERA achieved a Prequential Accuracy of 79.91%, significantly outperforming STAM (74.71%).
  • Forward Transfer (FWT): KIERA demonstrated high FWT, indicating that knowledge from earlier tasks effectively facilitated the learning of subsequent tasks.
  • Structural Efficiency: Despite its evolving nature, KIERA maintains a compact structure. On RMNIST, it averaged approximately 101 hidden nodes and a single hidden layer, demonstrating that it does not simply grow indefinitely to solve the problem.
Figure 4: Comparative performance of KIERA against baseline methods across multiple datasets and metrics.

Conclusion and Future Work

KIERA demonstrates that structural plasticity and focal-point memory management are powerful tools for unsupervised continual learning. By treating clustering as a proxy for supervision, the model organizes data into meaningful groups without external labels. While the current framework requires a small initial labeled batch for evaluation mapping and involves some computational overhead for drift detection, future work aims to extend KIERA to handle multiple simultaneous data streams, mimicking the multi-sensory processing of biological systems.

Summary updated

BibTeX
@inproceedings{pratama2021unsupervised,
  author = {Mahardhika Pratama and Andri Ashfahani and Edwin Lughofer},
  title = {{Unsupervised Continual Learning via Self-adaptive Deep Clustering Approach}},
  booktitle = {CSSL},
  year = {2021},
  doi = {10.1007/978-3-031-17587-9\_4},
}
Figure