Skip to main content
QUICK REVIEW

[Paper Review] Online but Accurate Inference for Latent Variable Models with Local Gibbs Sampling

Dupuy, Christophe, Bach, Francis|arXiv (Cornell University)|Mar 8, 2016
Domain Adaptation and Few-Shot LearningComputer Science34 references30 citations
TL;DR

This paper proposes a novel online inference method for latent variable models using local Gibbs sampling, enabling accurate and scalable parameter estimation in large-scale settings. By adapting Markov Chain Monte Carlo (MCMC) techniques to online learning with per-observation Gibbs updates, the method achieves superior test log-likelihoods compared to variational inference and Bayesian methods, particularly in Latent Dirichlet Allocation (LDA) with higher-dimensional latent spaces.

ABSTRACT

We study parameter inference in large-scale latent variable models. We first propose an unified treatment of online inference for latent variable models from a non-canonical exponential family, and draw explicit links between several previously proposed frequentist or Bayesian methods. We then propose a novel inference method for the frequentist estimation of parameters, that adapts MCMC methods to online inference of latent variable models with the proper use of local Gibbs sampling. Then, for latent Dirich-let allocation,we provide an extensive set of experiments and comparisons with existing work, where our new approach outperforms all previously proposed methods. In particular, using Gibbs sampling for latent variable inference is superior to variational inference in terms of test log-likelihoods. Moreover, Bayesian inference through variational methods perform poorly, sometimes leading to worse fits with latent variables of higher dimensionality.

Motivation & Objective

  • To unify and compare existing online inference methods for latent variable models within a non-canonical exponential family framework.
  • To address the scalability and accuracy gap in online parameter estimation for models with intractable posterior inference, such as LDA.
  • To develop a new frequentist online inference method that leverages local Gibbs sampling for improved convergence and predictive performance.
  • To empirically evaluate the proposed method against state-of-the-art approaches in terms of test log-likelihood and perplexity across diverse datasets.

Proposed method

  • Proposes a unified framework for online inference in non-canonical exponential family models, linking frequentist and Bayesian approaches.
  • Introduces a novel online algorithm using local Gibbs sampling—updating latent variables per incoming data point rather than globally.
  • Applies MCMC sampling to individual observations in an online stream, maintaining sufficient statistics and updating model parameters incrementally.
  • Employs a stochastic approximation scheme to update model parameters using sufficient statistics derived from local Gibbs samples.
  • Uses a non-i.i.d. data stream setting, where each new observation triggers a local Gibbs update before parameter update.
  • Employs both fixed-point and gamma-prior updates for the Dirichlet hyperparameter α, comparing performance across methods.

Experimental results

Research questions

  • RQ1How can MCMC-based inference be adapted to online learning in latent variable models with intractable posteriors?
  • RQ2What are the key differences and connections between existing online inference methods in the context of non-canonical exponential families?
  • RQ3Does local Gibbs sampling in online settings outperform variational inference in terms of predictive performance (e.g., test log-likelihood)?
  • RQ4How does the dimensionality of latent variables affect the performance of variational Bayesian methods versus MCMC-based online inference?
  • RQ5Can online Gibbs sampling achieve better convergence and lower perplexity than state-of-the-art online variational inference in LDA?

Key findings

  • The proposed online Gibbs sampling method achieves significantly better test log-likelihoods than variational inference across all datasets and topic dimensions.
  • For LDA, the method outperforms all previously proposed online inference techniques, including OLDA and SVB, in terms of perplexity.
  • Variational Bayesian inference performs poorly on higher-dimensional latent spaces, sometimes yielding worse fits than lower-dimensional ones.
  • The ELBO (evidence lower bound) converges quickly and does not improve significantly with more internal iterations, indicating early convergence to a suboptimal local maximum.
  • Using a fixed-point update for α yields better performance than a gamma prior in most cases, especially for G-OEM and G-OEM++.
  • The method with κ = 1/2 and gamma updates on α is equivalent to SPLDA, but performance improves when κ = 1/2 is used with any α update strategy.

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.