[Paper Review] Continual Learning Using Bayesian Neural Networks
This paper proposes Continual Bayesian Learning Networks (CBLN), a Bayesian neural network approach that uses mixture Gaussian posterior distributions to mitigate catastrophic forgetting in continual learning. By dynamically selecting task-specific weight solutions via epistemic uncertainty during inference, CBLN avoids re-accessing past data and achieves state-of-the-art performance on MNIST and UCR time-series benchmarks, outperforming IMM by 25–47% and SI by 80% on split MNIST.
Continual learning models allow to learn and adapt to new changes and tasks over time. However, in continual and sequential learning scenarios in which the models are trained using different data with various distributions, neural networks tend to forget the previously learned knowledge. This phenomenon is often referred to as catastrophic forgetting. The catastrophic forgetting is an inevitable problem in continual learning models for dynamic environments. To address this issue, we propose a method, called Continual Bayesian Learning Networks (CBLN), which enables the networks to allocate additional resources to adapt to new tasks without forgetting the previously learned tasks. Using a Bayesian Neural Network, CBLN maintains a mixture of Gaussian posterior distributions that are associated with different tasks. The proposed method tries to optimise the number of resources that are needed to learn each task and avoids an exponential increase in the number of resources that are involved in learning multiple tasks. The proposed method does not need to access the past training data and can choose suitable weights to classify the data points during the test time automatically based on an uncertainty criterion. We have evaluated our method on the MNIST and UCR time-series datasets. The evaluation results show that our method can address the catastrophic forgetting problem at a promising rate compared to the state-of-the-art models.
Motivation & Objective
- To address catastrophic forgetting in continual learning, where models forget previously learned tasks when trained on new data.
- To develop a method that maintains knowledge from prior tasks without requiring access to past training data.
- To enable efficient, incremental learning of multiple tasks using a scalable parameter allocation strategy.
- To improve model generalization and stability by leveraging uncertainty-aware weight selection at test time.
- To reduce computational overhead by avoiding expensive Fisher information or gradient-based importance measures.
Proposed method
- CBLN employs Bayesian neural networks where network weights are modeled as a mixture of Gaussian distributions, each corresponding to a learned task.
- The model maintains separate Gaussian components for different tasks and merges them into a single mixture distribution during continual learning.
- During inference, the model selects the most appropriate weight component for a given input based on epistemic uncertainty, using variance, entropy, or MUMMI as uncertainty metrics.
- The method dynamically allocates resources by adjusting the number of mixture components, avoiding exponential parameter growth.
- It uses variational inference to approximate the posterior distribution over weights, enabling uncertainty estimation without retraining on past data.
- The merging process is guided by uncertainty measures, allowing the model to adaptively choose solutions based on input distribution.
Experimental results
Research questions
- RQ1Can a Bayesian neural network with mixture Gaussian weights effectively prevent catastrophic forgetting in continual learning without access to past data?
- RQ2How does uncertainty-based selection of weight components improve generalization across sequentially learned tasks?
- RQ3What is the impact of increasing the number of tasks on the model's ability to distinguish and select correct solutions?
- RQ4How does CBLN compare to state-of-the-art methods like IMM and SI in terms of accuracy and scalability?
- RQ5Can CBLN maintain performance in low-data regimes, such as when tasks have few classes?
Key findings
- On the split MNIST benchmark, CBLN outperforms Incremental Moment Matching (IMM) by 25% and Synaptic Intelligence (SI) by 80%.
- In the permuted MNIST experiment, CBLN achieves the same accuracy as SI and surpasses IMM by 16%.
- For UCR time-series datasets, CBLN improves upon IMM by 40% and SI by 47%.
- The model maintains high selection accuracy (up to 1.0) in variance and MUMMI-based uncertainty measures when the number of tasks is low, but performance drops in high-task, low-class scenarios due to rare class overconfidence.
- The method shows robustness in uncertainty-based task selection, with variance and MUMMI outperforming entropy in distinguishing tasks under increasing task complexity.
- CBLN does not require computationally expensive Fisher information or gradient-based importance estimation, reducing training overhead.
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.