Skip to main content
QUICK REVIEW

[Paper Review] Online and Distributed learning of Gaussian mixture models by Bayesian Moment Matching

Priyank Jaini, Pascal Poupart|arXiv (Cornell University)|Sep 19, 2016
Bayesian Methods and Mixture ModelsComputer Science12 references5 citations
TL;DR

This paper proposes Online Bayesian Moment Matching (oBMM), a novel method for online and distributed learning of Gaussian Mixture Models (GMMs) by projecting the intractable posterior onto a tractable family of distributions through moment matching. The approach outperforms online EM in both accuracy and speed, with oBMM achieving better log-likelihoods on 9 out of 10 datasets and oDMM enabling scalable, distributed inference with minimal accuracy loss.

ABSTRACT

The Gaussian mixture model is a classic technique for clustering and data modeling that is used in numerous applications. With the rise of big data, there is a need for parameter estimation techniques that can handle streaming data and distribute the computation over several processors. While online variants of the Expectation Maximization (EM) algorithm exist, their data efficiency is reduced by a stochastic approximation of the E-step and it is not clear how to distribute the computation over multiple processors. We propose a Bayesian learning technique that lends itself naturally to online and distributed computation. Since the Bayesian posterior is not tractable, we project it onto a family of tractable distributions after each observation by matching a set of sufficient moments. This Bayesian moment matching technique compares favorably to online EM in terms of time and accuracy on a set of data modeling benchmarks.

Motivation & Objective

  • Address the limitations of online EM in streaming and distributed settings, where stochastic E-step approximations reduce data efficiency and sequential updates hinder parallelization.
  • Enable scalable, accurate parameter estimation for GMMs in online and distributed environments by leveraging Bayesian inference with tractable posterior approximation.
  • Develop a method that maintains high accuracy in a single-pass learning setting while supporting efficient distribution across multiple processors.
  • Demonstrate that moment matching-based Bayesian approximation can outperform stochastic online EM in both convergence speed and model likelihood.

Proposed method

  • Use Bayesian inference to update the posterior after each observation via Bayes' theorem, enabling online learning.
  • Approximate the intractable posterior distribution by projecting it onto a tractable family of distributions (product of Dirichlet and Normal-Wishart) using moment matching.
  • Match sufficient moments (e.g., mean, covariance) of the approximate posterior to those of the true posterior to ensure statistical fidelity.
  • Enable distributed computation by partitioning data across machines, computing partial posteriors independently, and combining them via product of posteriors divided by priors.
  • Apply the method to GMMs with M components, where parameters (weights, means, covariances) are updated sequentially using sufficient statistics.
  • Use a conjugate prior structure (Dirichlet for mixing weights, Normal-Wishart for means and covariances) to support analytical updates and moment matching.

Experimental results

Research questions

  • RQ1Can Bayesian moment matching provide a more accurate and efficient alternative to online EM for streaming GMM learning?
  • RQ2How does the performance of online Bayesian moment matching compare to online EM in terms of convergence speed and log-likelihood on test data?
  • RQ3To what extent can the Bayesian moment matching framework be distributed across multiple machines without significant loss in model accuracy?
  • RQ4Can moment matching-based posterior approximation outperform stochastic E-step approximations in online EM despite introducing its own approximation error?
  • RQ5Is it feasible to learn the number of components in a GMM online using the proposed Bayesian moment matching framework?

Key findings

  • Online Bayesian Moment Matching (oBMM) achieved significantly better log-likelihood scores than online EM on 9 out of 10 benchmark datasets, with p-values < 0.05 indicating statistical significance.
  • On the Heterogeneity dataset (3.9M instances), oBMM achieved a log-likelihood of -174.3, outperforming oEM (-176.2) and oDMM (-180.7), demonstrating superior accuracy.
  • The distributed variant, online Distributed Moment Matching (oDMM), reduced running time to 17.5 seconds on the Heterogeneity dataset, compared to 77.3 seconds for oEM and 81.7 seconds for oBMM.
  • oDMM achieved competitive log-likelihoods (e.g., -180.7 on Heterogeneity) that were only slightly worse than oBMM (-174.3), indicating minimal accuracy loss from distribution.
  • oBMM converged in a single pass and outperformed oEM, which requires multiple passes to converge, highlighting oBMM’s advantage in streaming settings.
  • The method demonstrated robustness across diverse datasets, including high-dimensional (Year MSD, 91 attributes) and large-scale (MiniBooNe, 130K instances) data.

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.