[Paper Review] Continual Learning using a Bayesian Nonparametric Dictionary of Weight Factors
This paper proposes IBP-WF, a Bayesian nonparametric continual learning method that uses an Indian Buffet Process prior to dynamically expand neural network capacity based on task complexity. By factorizing weight matrices and reusing sparse, shared factors across tasks, it mitigates catastrophic forgetting while enabling positive knowledge transfer, outperforming baselines on MNIST and CIFAR-10 benchmarks with robust, data-driven model scaling.
Naively trained neural networks tend to experience catastrophic forgetting in sequential task settings, where data from previous tasks are unavailable. A number of methods, using various model expansion strategies, have been proposed recently as possible solutions. However, determining how much to expand the model is left to the practitioner, and often a constant schedule is chosen for simplicity, regardless of how complex the incoming task is. Instead, we propose a principled Bayesian nonparametric approach based on the Indian Buffet Process (IBP) prior, letting the data determine how much to expand the model complexity. We pair this with a factorization of the neural network's weight matrices. Such an approach allows the number of factors of each weight matrix to scale with the complexity of the task, while the IBP prior encourages sparse weight factor selection and factor reuse, promoting positive knowledge transfer between tasks. We demonstrate the effectiveness of our method on a number of continual learning benchmarks and analyze how weight factors are allocated and reused throughout the training.
Motivation & Objective
- To address catastrophic forgetting in continual learning by enabling automatic, data-driven model expansion without manual hyperparameter tuning.
- To promote positive knowledge transfer between tasks through shared, reusable weight factors in a neural network.
- To develop a principled Bayesian framework that scales model complexity based on incoming task complexity, rather than using fixed expansion schedules.
- To enable uncertainty estimation and model ensembling via Bayesian inference in continual learning settings.
Proposed method
- The method factorizes each layer's weight matrix into shared dictionaries of rank-1 factors and task-specific sparse diagonal matrices, enabling efficient parameter sharing.
- An Indian Buffet Process (IBP) prior is applied to the selection of active factors per task, allowing automatic, sparse, and dynamic expansion of model capacity.
- The IBP prior encourages both factor reuse across tasks and the addition of new factors only when needed, based on data-driven complexity.
- The model is trained using stochastic gradient descent with a stick-breaking construction of the IBP, truncated at a maximum number of factors.
- Task identity is inferred via feature statistics in incremental class settings, enabling effective continual learning without task boundary knowledge.
- A two-stage training process is used: first, end-to-end training with IBP inference; second, fine-tuning with a fixed number of factors to stabilize performance.
Experimental results
Research questions
- RQ1Can a Bayesian nonparametric prior like the IBP automatically determine the appropriate model expansion rate in continual learning without manual tuning?
- RQ2How effectively can shared, sparse weight factors enable knowledge transfer and reduce forgetting across sequentially learned tasks?
- RQ3Does the IBP-WF method achieve better continual learning performance compared to existing regularization and expansion-based baselines?
- RQ4How do the number of active factors and factor reuse patterns evolve across tasks, and what role does the IBP prior play in this?
Key findings
- IBP-WF outperforms multiple baselines, including EWC, GEM, and VCL, on both Split MNIST and Permuted MNIST benchmarks in incremental class and task settings.
- The method demonstrates robust performance across a wide range of IBP hyperparameter values, showing low sensitivity to α and κ, indicating strong practical stability.
- Ablation studies confirm that both α and κ significantly influence performance, with optimal ranges found for factor count and preservation threshold.
- Visualization of factor usage confirms sparse activation and consistent reuse of previously learned factors across tasks, validating the mechanism of positive knowledge transfer.
- The model achieves high accuracy on CIFAR-10 with ResNet-20, demonstrating scalability beyond simple MLPs and generalization to deeper architectures.
- The method enables uncertainty estimation and model sampling through Bayesian inference, a feature often overlooked in continual learning.
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.