NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Deep Bayesian Unsupervised Lifelong Learning

Tingting Zhao, Zifeng Wang, Aria Masoomi, Jennifer G. DyNeural Networks 2021 · DOI

TL;DR

This paper introduces DBULL, a novel Deep Bayesian Unsupervised Lifelong Learning algorithm that tackles the challenge of learning from streaming, unlabeled data while retaining past knowledge. It achieves this through a unique combination of Bayesian inference, a knowledge preservation mechanism using sufficient statistics, and an automatic cluster discovery strategy, outperforming existing methods in both lifelong and batch settings.

What Problem Does This Paper Address?

Traditional machine learning models excel at learning from static datasets but struggle when faced with continuously evolving data streams. This is particularly challenging in Unsupervised Lifelong Learning (ULL), where the model must learn from unlabeled data, and both the data distribution and class labels can change over time. A key issue is catastrophic forgetting, where learning new information leads to a drastic degradation of performance on previously learned tasks. Existing lifelong learning research has largely focused on supervised settings with labeled data. This paper addresses the gap for unsupervised lifelong learning, aiming to develop a model that can adapt to new, unlabeled data, discover new clusters dynamically, and crucially, avoid forgetting what it has already learned.

Methods

The core of the proposed solution is the Deep Bayesian Unsupervised Lifelong Learning (DBULL) algorithm. It's built upon a fully Bayesian inference framework, which is naturally suited for incorporating prior knowledge and updating beliefs sequentially. Key novel components include:

  • Knowledge Preservation via Sufficient Statistics: Instead of storing entire past datasets (which can be memory-intensive), DBULL uses a novel mechanism that preserves knowledge by leveraging sufficient statistics of the latent representation of the raw data. This allows for efficient incremental updates without needing to access old data.
  • Automatic Cluster Discovery and Redundancy Removal (CERR): To dynamically discover new clusters as new data arrives, DBULL employs a strategy inspired by Nonparametric Bayesian techniques. This allows the model to grow its number of clusters without pre-defined limits and also merge redundant clusters, preventing over-clustering.
  • Deep Generative Model: DBULL utilizes a deep generative model to learn low-dimensional latent representations of the data. This latent space is where clustering and representation learning occur, making it more efficient than working with high-dimensional raw data.
  • Variational Inference: An end-to-end variational inference strategy is used to approximate the posterior distribution and optimize the model parameters, enabling efficient learning in a streaming fashion.

Datasets

The proposed DBULL method was evaluated on the following benchmark datasets:

  • MNIST: A widely used dataset of handwritten digits, employed for its common use in evaluating deep generative and lifelong learning models.
  • Reuters10k: A text dataset for evaluating performance on more complex data.
  • STL-10: An image dataset, also used for evaluating performance on more complex data.

The MNIST dataset was further split into five disjoint subsets (DS1-DS5) to simulate a sequential learning scenario, mimicking a lifelong learning setting.

Key Insights and Ideas

  • Bayesian Framework as a Natural Fit for LL: The paper strongly advocates for a Bayesian approach to lifelong learning, highlighting its inherent ability to manage uncertainty and sequentially update beliefs, which is crucial for adapting to new data without forgetting old knowledge.
  • Sufficient Statistics for Efficient Knowledge Preservation: The idea of using sufficient statistics from latent representations as a proxy for past data is a clever way to overcome memory limitations and enable efficient lifelong learning, especially in unsupervised settings where explicit data storage is problematic.
  • Dynamic Cluster Management is Key for ULL: The automatic cluster expansion and redundancy removal (CERR) strategy is vital for unsupervised lifelong learning. It allows the model to adapt to evolving data distributions by creating new clusters when necessary and merging similar ones to maintain a parsimonious representation.
  • End-to-End Integration is Crucial: DBULL's strength lies in its ability to seamlessly integrate representation learning, clustering, and knowledge preservation within a single, end-to-end Bayesian inference framework, rather than treating these as separate, sequential steps.

Key Results

  • Superior Lifelong Learning Performance: DBULL demonstrated better performance in handling catastrophic forgetting compared to the competitor CURL-D, showing less performance degradation on previous tasks across various clustering metrics.
  • Effective Cluster Management: DBULL showed advantages over CURL-D in handling over-clustering issues, detecting a more appropriate number of clusters that aligned better with the ground truth in sequential tasks.
  • Competitive Batch Performance: In a classic batch setting, DBULL achieved competitive results, often outperforming other methods on metrics like NMI, ARI, and VM for MNIST and STL10. It also showed greater stability in evaluation metrics compared to some other methods.
  • No Significant Performance Loss: For most digits, DBULL exhibited no significant performance loss on previous tasks after sequential training, indicating its effectiveness in retaining learned information.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that while DBULL handles over-clustering better than CURL-D, it still faces challenges in differentiating some samples, as seen with digits 2 and 7 in the MNIST experiments.
  • The paper focuses on ULL within a single domain. Extending this to ULL across different problem domains is left for future work.
  • Future Work:
    • Investigating ULL across different problem domains.
  • Further exploring and refining the automatic cluster discovery and redundancy removal mechanisms.
  • Potentially applying the DBULL framework to more complex and diverse real-world datasets.

Summary updated

BibTeX
@inproceedings{zhao2021deep,
  author = {Tingting Zhao and Zifeng Wang and Aria Masoomi and Jennifer G. Dy},
  title = {{Deep Bayesian Unsupervised Lifelong Learning}},
  booktitle = {Neural Networks},
  year = {2021},
  doi = {10.1016/j.neunet.2022.02.001},
}
Figure