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

Sequential Function-Space Variational Inference via Gaussian Mixture Approximation

Ercan Engin Kuruoglu, PhD Cantab, Prof, Ieee Fellow, Menghao Waiyan William Zhu, Pengcheng Hao, Ercan Engin KuruogluarXiv 2025 · DOI

Abstract

Catastrophic forgetting remains a primary obstacle in continual learning (CL), where neural networks tend to overwrite knowledge of previous tasks when learning new ones. This paper introduces Gaussian Mixture Sequential Function-Space Variational Inference (GM-SFSVI), a novel approach that addresses this by approximating the neural network's output posterior with a mixture of Gaussians. By operating in function space and capturing the multi-modal nature of network outputs, GM-SFSVI effectively mitigates forgetting in both class-incremental and domain-incremental scenarios.

Introduction

The fundamental challenge in CL is "catastrophic forgetting." Standard Sequential Variational Inference (SVI) often fails to prevent this because it typically relies on a single Gaussian distribution to approximate the posterior. Given the highly non-linear nature of neural networks, their true posteriors are often multi-modal. A single Gaussian can only capture one mode, leading to significant information loss. Furthermore, most CL methods operate in the high-dimensional parameter space, which is difficult to regularize effectively.

Methodology

GM-SFSVI combines three core components to overcome these limitations:

  1. Function-Space Inference: Instead of regularizing millions of weights, the method constrains the network's output at a small set of "inducing points." This is achieved by linearizing the network using a first-order Taylor expansion (Jacobian matrices).
  2. Gaussian Mixture Models (GMMs): The method uses a mixture of $k$ Gaussians (typically $k=3$) to represent the output distribution. This flexibility allows the model to capture multiple modes of the posterior, preventing the collapse of previous task knowledge.
  3. Likelihood-Focused Inference: The authors utilize a "coreset" (a small buffer of old data) to approximate previous likelihoods, keeping the original prior. This "likelihood-focused" approach generally outperforms "prior-focused" methods that update the prior with the previous posterior.

The technical foundation involves deriving the Variational Free Energy (VFE) for a mixture of Gaussian processes in function space, including a closed-form upper bound for the Kullback-Leibler (KL) divergence between two Gaussian mixtures.

Key Insights and Visualizations

A critical observation is that multi-modality is essential for preserving complex decision boundaries. As shown in the visualizations below, single-Gaussian methods often collapse or forget boundaries from earlier tasks, whereas Gaussian mixture methods maintain them across sequential learning steps.

Visual comparison of decision boundaries across five tasks for various CL methods on the CI Split 2D Iris dataset.

The extra flexibility of the GMM prevents the model from being forced into a single, potentially incorrect mode, which is the "aha moment" for why this approach succeeds where others fail.

Experimental Results

The authors evaluated GM-SFSVI across diverse benchmarks, including MNIST, CIFAR-10, and medical imaging datasets (HAM-10000). The Likelihood-focused Gaussian Mixture SFSVI (L-GM-SFSVI) emerged as the most robust performer.

Final average accuracy results for various methods across different datasets and architectures without pre-training.

Notably, on the challenging DI Split HAM-6 task without a pre-trained extractor, L-GM-SFSVI achieved a final average accuracy of 78.75%, significantly outperforming single-Gaussian counterparts and standard Experience Replay (ER). The method showed particular strength in Domain-Incremental (DI) settings, where input distributions shift while classes remain constant.

Conclusion and Future Work

GM-SFSVI demonstrates that function-space inference combined with multi-modal posterior approximations provides a powerful defense against catastrophic forgetting. While the computational cost of calculating Jacobians remains a challenge for scaling to very large architectures, the method's superior accuracy and consistency across benchmarks mark a significant step forward. Future work may explore more sophisticated inducing point selection strategies and automated hyperparameter tuning for the mixture components.

Summary updated

BibTeX
@misc{fellow2025sequential,
  author = {Ercan Engin Kuruoglu, PhD Cantab, Prof, IEEE Fellow and Menghao Waiyan William Zhu and Pengcheng Hao and Ercan Engin Kuruoglu},
  title = {{Sequential Function-Space Variational Inference via Gaussian Mixture Approximation}},
  year = {2025},
  eprint = {2503.07114},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.07114},
}
Figure