Skip to main content
QUICK REVIEW

[Paper Review] Partitioned Variational Inference: A unified framework encompassing federated and continual learning

Thang D. Bui, Cuong V. Nguyen|arXiv (Cornell University)|Nov 27, 2018
Gaussian Processes and Bayesian InferenceComputer Science8 references20 citations
TL;DR

This paper introduces Partitioned Variational Inference (PVI), a unified framework that integrates global and local variational inference across diverse algorithmic choices, enabling efficient and scalable solutions for federated and continual learning. It demonstrates communication-efficient Bayesian neural network training and continual learning with Gaussian processes, outperforming state-of-the-art methods while maintaining implementation simplicity.

ABSTRACT

Variational inference (VI) has become the method of choice for fitting many modern probabilistic models. However, practitioners are faced with a fragmented literature that offers a bewildering array of algorithmic options. First, the variational family. Second, the granularity of the updates e.g. whether the updates are local to each data point and employ message passing or global. Third, the method of optimization (bespoke or blackbox, closed-form or stochastic updates, etc.). This paper presents a new framework, termed Partitioned Variational Inference (PVI), that explicitly acknowledges these algorithmic dimensions of VI, unifies disparate literature, and provides guidance on usage. Crucially, the proposed PVI framework allows us to identify new ways of performing VI that are ideally suited to challenging learning scenarios including federated learning (where distributed computing is leveraged to process non-centralized data) and continual learning (where new data and tasks arrive over time and must be accommodated quickly). We showcase these new capabilities by developing communication-efficient federated training of Bayesian neural networks and continual learning for Gaussian process models with private pseudo-points. The new methods significantly outperform the state-of-the-art, whilst being almost as straightforward to implement as standard VI.

Motivation & Objective

  • To unify disparate variational inference approaches under a single framework, resolving fragmentation in the literature.
  • To address the challenges of federated and continual learning by enabling efficient, distributed, and incremental inference.
  • To provide a systematic way to select and combine algorithmic choices in VI, including update granularity and optimization methods.
  • To identify novel VI algorithms tailored for data-scarce, distributed, and streaming learning environments.
  • To demonstrate practical superiority of PVI-based methods in real-world benchmarks like MNIST and Gaussian process models.

Proposed method

  • PVI partitions the variational objective into local and global components, allowing flexible trade-offs between computational efficiency and inference accuracy.
  • It generalizes existing methods by embedding global VI, local VI, and variational message passing within a single optimization framework.
  • The framework supports damped fixed-point updates and natural gradient optimization, linking them to variationally-limited power EP.
  • PVI enables mini-batch approximations and hyperparameter learning, enhancing scalability for large-scale and streaming data.
  • It introduces communication-efficient training protocols for federated Bayesian neural networks by decoupling local updates from global aggregation.
  • For continual learning, PVI uses private pseudo-points in Gaussian processes to enable incremental adaptation without catastrophic forgetting.

Experimental results

Research questions

  • RQ1How can global and local variational inference be formally unified under a single framework?
  • RQ2What are the algorithmic trade-offs between update granularity and optimization method in variational inference?
  • RQ3Can PVI enable efficient, communication-light training of Bayesian neural networks in federated settings?
  • RQ4Can PVI support continual learning with Gaussian processes while preserving prior knowledge?
  • RQ5How does PVI-based optimization compare to state-of-the-art methods in terms of accuracy and convergence speed?

Key findings

  • PVI subsumes and generalizes existing methods, including global VI, local VI, and power EP, establishing theoretical connections across fragmented literature.
  • The framework enables communication-efficient federated Bayesian neural network training, significantly outperforming prior approaches in convergence and test accuracy.
  • For Gaussian process models, PVI with private pseudo-points achieves state-of-the-art performance in continual learning, avoiding catastrophic forgetting.
  • Stochastic Natural Gradient (SNGD) and Adam-based training under PVI show comparable performance, with SNGD offering stable convergence using fixed step sizes.
  • The best learning rates for both Adam and SNGD yield similar train and test performance, indicating robustness to hyperparameter tuning under PVI.
  • Empirical results on MNIST with Bayesian neural networks confirm that PVI-based methods achieve low negative log-likelihood and classification error, with convergence observed within 800–1000 epochs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.