[Paper Review] Task-agnostic Continual Learning with Hybrid Probabilistic Models
HCL proposes a hybrid generative-discriminative continual learning framework using normalizing flows to model task and class distributions, enabling exact likelihood estimation and invertibility for continual learning. It leverages generative replay and functional regularization to prevent catastrophic forgetting and uses anomaly detection on model statistics for task boundary identification, achieving strong performance on split-MNIST, split-CIFAR, and SVHN-MNIST benchmarks.
Learning new tasks continuously without forgetting on a constantly changing data distribution is essential for real-world problems but extremely challenging for modern deep learning. In this work we propose HCL, a Hybrid generative-discriminative approach to Continual Learning for classification. We model the distribution of each task and each class with a normalizing flow. The flow is used to learn the data distribution, perform classification, identify task changes, and avoid forgetting, all leveraging the invertibility and exact likelihood which are uniquely enabled by the normalizing flow model. We use the generative capabilities of the flow to avoid catastrophic forgetting through generative replay and a novel functional regularization technique. For task identification, we use state-of-the-art anomaly detection techniques based on measuring the typicality of the model's statistics. We demonstrate the strong performance of HCL on a range of continual learning benchmarks such as split-MNIST, split-CIFAR, and SVHN-MNIST.
Motivation & Objective
- To address catastrophic forgetting in continual learning under non-stationary data distributions.
- To enable accurate task boundary detection in continual learning scenarios.
- To develop a unified framework that combines generative modeling and discriminative classification within a single normalizing flow architecture.
- To leverage invertibility and exact likelihood for stable, continual learning without task-specific fine-tuning.
- To improve generalization and retention across sequential tasks using functional regularization and generative replay.
Proposed method
- Model each task and class using a normalizing flow to capture complex data distributions with exact likelihood estimation.
- Use the invertibility of normalizing flows to generate synthetic data for generative replay, mitigating catastrophic forgetting.
- Apply functional regularization that penalizes deviations in model behavior across tasks, preserving learned representations.
- Detect task boundaries by measuring the typicality of model statistics using state-of-the-art anomaly detection techniques.
- Perform classification by computing class-conditional likelihoods from the learned flows, enabling end-to-end discriminative inference.
- Train the model end-to-end using likelihood maximization, integrating both generative and discriminative objectives.
Experimental results
Research questions
- RQ1Can normalizing flows effectively model sequential task distributions while maintaining exact likelihood and invertibility for continual learning?
- RQ2How well can generative replay based on normalizing flows prevent catastrophic forgetting in continual learning?
- RQ3Can anomaly detection on model statistics reliably identify task boundaries in continual learning?
- RQ4Does functional regularization improve model stability and performance across sequential tasks?
- RQ5How does HCL compare to existing continual learning methods on standard benchmarks like split-MNIST and split-CIFAR?
Key findings
- HCL achieves state-of-the-art performance on split-MNIST, split-CIFAR, and SVHN-MNIST benchmarks, demonstrating strong generalization and retention.
- The use of normalizing flows enables exact likelihood computation, which supports both discriminative classification and generative replay.
- Generative replay based on normalizing flows effectively reduces catastrophic forgetting across sequential tasks.
- Functional regularization significantly improves model stability and performance by preserving learned representations.
- Anomaly detection based on typicality of model statistics successfully identifies task boundaries with high accuracy.
- The hybrid generative-discriminative framework enables unified learning, inference, and continual adaptation within a single differentiable architecture.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.