[Paper Review] Continual Learning via Sequential Function-Space Variational Inference
This paper proposes sequential function-space variational inference (s-fsvi), a continual learning method that performs Bayesian inference over predictive functions rather than network parameters, enabling flexible, adaptive learning with improved generalization. s-fsvi achieves state-of-the-art accuracy on benchmark continual learning tasks like Split MNIST, Multi-Head CIFAR, and Omniglot, while requiring minimal or randomly selected coresets and outperforming methods like EWC, VCL, and FROMP.
Sequential Bayesian inference over predictive functions is a natural framework for continual learning from streams of data. However, applying it to neural networks has proved challenging in practice. Addressing the drawbacks of existing techniques, we propose an optimization objective derived by formulating continual learning as sequential function-space variational inference. In contrast to existing methods that regularize neural network parameters directly, this objective allows parameters to vary widely during training, enabling better adaptation to new tasks. Compared to objectives that directly regularize neural network predictions, the proposed objective allows for more flexible variational distributions and more effective regularization. We demonstrate that, across a range of task sequences, neural networks trained via sequential function-space variational inference achieve better predictive accuracy than networks trained with related methods while depending less on maintaining a set of representative points from previous tasks.
Motivation & Objective
- To address the limitations of parameter-space regularization in continual learning, where small parameter changes can cause large predictive shifts.
- To overcome the inflexibility of existing function-space methods that rely on approximations (e.g., Laplace) or are restricted to linear models.
- To develop a scalable, flexible variational inference framework that operates directly in function space for deep neural networks.
- To reduce dependency on carefully curated coresets from previous tasks while maintaining strong performance.
- To enable effective forward and backward transfer in continual learning without sacrificing predictive accuracy.
Proposed method
- Formulates continual learning as sequential function-space variational inference, where the posterior over predictive functions is updated incrementally across tasks.
- Uses a variational family over functions that allows direct optimization of both mean and variance parameters, improving flexibility and regularization.
- Introduces a function-space regularization term that encourages the current posterior to match the prior over functions at a set of context points from previous tasks.
- Decouples parameter updates from function-space constraints, allowing parameters to adapt freely while preserving functional knowledge.
- Employs a variational objective that minimizes the KL divergence between the current function posterior and the prior over functions at context points, while fitting new data.
- Applies the method to deep Bayesian neural networks using stochastic optimization, enabling scalability to complex, high-dimensional tasks.
Experimental results
Research questions
- RQ1Can function-space variational inference outperform parameter-space regularization in continual learning by directly modeling predictive function uncertainty?
- RQ2Does direct optimization of variational variance parameters in function space lead to better generalization and reduced forgetting?
- RQ3How sensitive is the method to coreset selection and size compared to existing function-space baselines?
- RQ4To what extent can s-fsvi achieve strong forward and backward transfer without relying on large or carefully selected coresets?
- RQ5Can s-fsvi generalize across diverse continual learning benchmarks, including multi-head and sequential task settings?
Key findings
- s-fsvi achieves 77.6% test accuracy on Multi-Head Split CIFAR, outperforming EWC (71.6%), VCL (67.4%), and FROMP (76.2%) with lower variance.
- On Split MNIST, s-fsvi achieves performance comparable to joint training and significantly better than VCL and EWC, even with minimal coreset sizes.
- s-fsvi demonstrates strong forward transfer (FT = 7.3) and backward transfer (BT = -2.5), outperforming all baselines in FT and matching EWC and FROMP in BT.
- With only one data point per class as a coreset, s-fsvi outperforms VCL and FROMP, which use 40 points per task, on the single-head Split MNIST benchmark.
- s-fsvi maintains high performance even with randomly selected or noisy coresets, showing minimal sensitivity to coreset quality.
- The method consistently outperforms VCL and EWC in function-space inference, suggesting that function-space regularization is more effective than parameter-space regularization for knowledge transfer.
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.