Robust and scalable Bayes via a median of subset posterior measures

Stanislav Minsker, Sanvesh Srivastava, Lizhen Lin, David B. DunsonarXiv 2014

Abstract

Modern Bayesian inference faces a significant dual challenge: the computational burden of massive datasets and the sensitivity of posterior distributions to outliers. Standard Markov Chain Monte Carlo (MCMC) methods scale poorly, and traditional "divide-and-conquer" approaches—which average subset posteriors—are easily compromised by a small fraction of corrupted data. This paper introduces the M-Posterior, a novel framework that achieves both scalability and robustness. By aggregating subset posteriors using a geometric median in the space of probability measures, the M-Posterior provides a computationally efficient and outlier-resistant alternative to standard Bayesian methods.

Introduction

As datasets grow in both size and complexity, the limitations of classical Bayesian computation become increasingly apparent. First, the computational cost of evaluating the likelihood across millions of observations makes standard MCMC sampling prohibitively slow. Second, Bayesian models are notoriously non-robust; even a single extreme outlier can significantly shift the posterior distribution, leading to biased parameter estimates and unreliable uncertainty quantification.

While distributed Bayesian methods have been proposed to address scalability by splitting data into subsets, these methods typically rely on some form of averaging to combine results. Much like the arithmetic mean of a set of numbers is sensitive to outliers, the "average" of subset distributions is easily pulled away from the truth if even one subset contains corrupted data. The M-Posterior addresses this by replacing the mean with a geometric median, creating a "best of both worlds" approach for big, messy data.

The M-Posterior Framework

The M-Posterior workflow consists of three primary stages designed to distribute the computational load while maintaining robustness:

  1. Data Partitioning (Split): The full dataset is divided into $m$ non-overlapping subsets.
  2. Parallel Inference (Compute): The posterior distribution for each subset is calculated independently and in parallel. To ensure that the final aggregated distribution correctly reflects the total evidence, the authors employ a Stochastic Approximation: the likelihood of each subset is raised to the power of $m$. This "power posterior" approach prevents the final result from being over-dispersed (too flat) compared to the full-data posterior.
  3. Geometric Median Aggregation (Aggregate): Instead of averaging the subset measures, the framework identifies their geometric median.

Computational Feasibility via Kernel Embedding

Finding a "median of distributions" is non-trivial. To make this step computationally efficient, the authors embed the probability measures into a Reproducing Kernel Hilbert Space (RKHS). This transformation turns a complex statistical aggregation problem into a geometric optimization problem in a high-dimensional Hilbert space. The median measure can then be found efficiently using the Weiszfeld algorithm, a classic iterative optimization tool. The authors also explore the use of the Wasserstein distance as an alternative metric for this aggregation.

Key Insights

The Median as a Robust Filter

The core intuition behind the M-Posterior is that the median is a natural filter. Just as the median of a numerical set ignores extreme values, the M-Posterior effectively ignores subset distributions that have been skewed by outliers. The method remains stable as long as fewer than 50% of the data subsets are severely corrupted (the "breakdown point").

Calibration and Uncertainty

A critical component of the method is the use of the power likelihood ($p(X)^m$). Without this adjustment, the credible intervals produced by taking the median of standard subset posteriors would be far too wide. Powering the likelihood effectively "sharpens" the subset posteriors so that their combined median matches the scale and uncertainty of the theoretical full-data posterior.

Empirical Evaluation

The authors evaluated the M-Posterior across several scenarios, ranging from controlled simulations to high-dimensional real-world data:

  • Simulated Gaussian Data: In tests where outlier magnitude was strictly controlled, standard consensus (averaged) posteriors failed completely as outliers increased, dropping to 0% empirical coverage. In contrast, the M-Posterior maintained high coverage of the true parameter, demonstrating its inherent robustness.
  • General Social Survey (GSS): Using a dataset of ~28,000 respondents with categorical variables, the authors applied a Dirichlet Process (DP) mixture model. The M-Posterior was 8 to 10 times faster than running MCMC on the full dataset and required less than 25% of the memory.
  • MovieLens Data: The method was also applied to matrix completion tasks, illustrating its scalability in high-dimensional settings where traditional MCMC is often impractical.

Conclusion

The M-Posterior offers a robust and scalable alternative to traditional Bayesian inference. By leveraging the geometric median in an RKHS, it provides a principled way to aggregate distributed computations while protecting against data contamination. While future work remains to be done regarding the optimal choice of the subset count ($m$) and extending formal theory for non-parametric models, the M-Posterior represents a significant step forward for Bayesian statistics in the era of Big Data.

Summary updated

BibTeX
@misc{minsker2014robust,
  author = {Stanislav Minsker and Sanvesh Srivastava and Lizhen Lin and David B. Dunson},
  title = {{Robust and scalable Bayes via a median of subset posterior measures}},
  year = {2014},
  eprint = {1403.2660},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1403.2660},
}
Figure