Abstract
In some misspecified settings, the posterior distribution in Bayesian statistics may lead to inconsistent estimates. To fix this issue, it has been suggested to replace the likelihood by a pseudo-likelihood based on a robust divergence. In this paper, we focus on the Maximum Mean Discrepancy (MMD) and propose a new robust Bayesian estimator, MMD-Bayes. We show that this estimator is consistent, even under misspecification, and that it can be efficiently computed using variational inference. We also provide a new algorithm, PSGAVI, to perform this computation and demonstrate its performance on several synthetic datasets.
Introduction
Standard Bayesian inference is the gold standard for quantifying uncertainty, but it possesses a significant vulnerability: sensitivity to model misspecification. At the heart of Bayes' rule lies the likelihood function, which assumes the statistical model perfectly captures the data-generating process. When data contains outliers or follows a distribution with heavier tails than assumed (e.g., Cauchy noise in a Gaussian model), the likelihood-based posterior can become heavily biased or fail to converge.
While previous research has explored "pseudo-likelihoods" or robust divergences like Hellinger distance, these often result in intractable computations or lack strong theoretical guarantees for approximate inference. This paper introduces MMD-Bayes, a framework that leverages kernel methods to provide a robust, theoretically optimal, and computationally scalable Bayesian estimator.
The MMD-Bayes Framework
MMD-Bayes replaces the traditional log-likelihood with a loss function based on the Maximum Mean Discrepancy (MMD). MMD measures the distance between two probability distributions by embedding them into a Reproducing Kernel Hilbert Space (RKHS). Unlike point-by-point likelihood comparisons, MMD compares the "mean" of distributions in a high-dimensional feature space, making it naturally resilient to individual outliers.
The resulting pseudo-posterior is defined as: $$\pi_n^\beta(\theta) \propto \pi(\theta) \exp(-\beta \cdot \text{D}_k^2(P_\theta, \hat{P}_n))$$ where $\text{D}_k$ is the MMD distance and $\beta$ is a "temperature" parameter that controls the influence of the data relative to the prior.
Variational Inference and Scalability
Because the exact MMD posterior is often computationally intractable, the authors utilize Variational Inference (VI) to approximate the complex posterior with a simpler family of distributions (e.g., Gaussians). A key theoretical contribution of the paper is the proof that this variational approximation inherits the same robustness and consistency guarantees as the true MMD posterior.
To implement this efficiently, the authors introduce the Projected Stochastic Gradient Algorithm for Variational Inference (PSGAVI). This algorithm utilizes the reparameterization trick and U-statistics to provide unbiased gradient estimates of the MMD objective, allowing the method to scale to higher-dimensional problems.
Experimental Results
The authors evaluated MMD-Bayes against the standard Maximum Likelihood Estimator (MLE) and the median (MED), a classic robust estimator, in tasks such as Gaussian mean estimation under corruption.
As shown in the experimental results, the MLE is highly sensitive to outliers, with its error (Sqrt of MSE) spiking significantly as the ratio of outliers increases. In contrast, MMD-Bayes remains stable and accurate. Notably, as the outlier ratio exceeds 10%, MMD-Bayes begins to outperform the median estimator, demonstrating superior robustness in highly corrupted settings.
Conclusion
MMD-Bayes bridges the gap between robust statistical theory and practical Bayesian machine learning. By swapping the likelihood for a kernel-based distance, it achieves minimax optimal convergence rates while remaining resilient to outliers. Future work will focus on extending these guarantees to dependent data structures and developing automated methods for kernel selection.
Summary updated