Skip to main content
QUICK REVIEW

[Paper Review] Scaling Nonparametric Bayesian Inference via Subsample-Annealing

Fritz Obermeyer, Jonathan Glidden|arXiv (Cornell University)|Feb 22, 2014
Bayesian Methods and Mixture ModelsComputer Science14 references7 citations
TL;DR

This paper introduces subsample annealing, a novel MCMC method that accelerates nonparametric Bayesian inference by iteratively growing a subsample of data while performing Gibbs sampling at increasing subsample sizes, effectively emulating simulated annealing. It achieves exponential speedup in mixing time for certain models and outperforms standard Gibbs sampling in accuracy-per-wall-clock-time on large datasets including US Census and network logs.

ABSTRACT

We describe an adaptation of the simulated annealing algorithm to nonparametric clustering and related probabilistic models. This new algorithm learns nonparametric latent structure over a growing and constantly churning subsample of training data, where the portion of data subsampled can be interpreted as the inverse temperature beta(t) in an annealing schedule. Gibbs sampling at high temperature (i.e., with a very small subsample) can more quickly explore sketches of the final latent state by (a) making longer jumps around latent space (as in block Gibbs) and (b) lowering energy barriers (as in simulated annealing). We prove subsample annealing speeds up mixing time N^2 -> N in a simple clustering model and exp(N) -> N in another class of models, where N is data size. Empirically subsample-annealing outperforms naive Gibbs sampling in accuracy-per-wallclock time, and can scale to larger datasets and deeper hierarchical models. We demonstrate improved inference on million-row subsamples of US Census data and network log data and a 307-row hospital rating dataset, using a Pitman-Yor generalization of the Cross Categorization model.

Motivation & Objective

  • Address the scalability bottleneck in nonparametric Bayesian inference, particularly for discrete models like Dirichlet Process Mixture Models and Cross-Categorization.
  • Overcome slow mixing in standard Gibbs sampling due to high energy barriers between latent states in complex models.
  • Develop a principled, easy-to-implement extension of Gibbs sampling that balances speed and accuracy through data subsampling and annealing.
  • Demonstrate that early, approximate inference on small subsamples enables faster convergence to accurate posterior samples on full data.
  • Provide theoretical and empirical evidence that subsample annealing improves inference efficiency in terms of quality per wall clock time.

Proposed method

  • Adapt simulated annealing principles by treating the subsample size at time t as the inverse temperature β(t), enabling gradual refinement of latent structure.
  • Decouple Gibbs sampling into two operations: removing a datapoint and resampling its assignment, allowing dynamic subsampling and data churning.
  • Progressively grow the subsample size over time, starting from a small, high-temperature (high-β) state to explore latent space broadly.
  • Perform hyperparameter inference periodically during the annealing schedule to avoid poor initialization and improve convergence.
  • Use a linear annealing schedule where the final iterations use all N datapoints, ensuring convergence to the true posterior in the limit.
  • Leverage connections to Langevin dynamics and regularization to show that subsample annealing simultaneously anneals energy, step size, and prior weights.

Experimental results

Research questions

  • RQ1Can subsample annealing significantly reduce mixing time in nonparametric Bayesian models compared to standard Gibbs sampling?
  • RQ2Does early, approximate inference on small data subsamples lead to faster convergence to accurate posterior samples on full datasets?
  • RQ3In what model classes or data regimes does subsample annealing provide exponential or polynomial speedup in mixing time?
  • RQ4How does subsample annealing compare to naive Gibbs sampling in terms of accuracy per wall clock time on real-world datasets?
  • RQ5What role do energy barriers and hypothesis gaps in the posterior landscape play in determining the effectiveness of subsample annealing?

Key findings

  • Subsample annealing achieves a theoretical speedup from N² to N mixing time in a simple clustering model, and from exp(N) to N in another class of models.
  • Empirically, subsample annealing outperforms naive Gibbs sampling in accuracy-per-wall-clock-time on million-row US Census and network log datasets.
  • The method successfully scales to deeper hierarchical models and a 307-row hospital rating dataset using a Pitman-Yor generalization of the Cross-Categorization model.
  • Speedup is most pronounced when energy barriers δ are large and energy gaps γ between hypotheses are moderate, enabling observable transitions at high temperature.
  • Performance degrades on datasets with rare outliers—such as network intrusion events—suggesting sensitivity to subsample representativeness.
  • Stratified subsampling may mitigate outlier effects, and the method shows promise for structure learning due to higher barriers between latent hypotheses.

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.