Posterior Mean Matching: Generative Modeling through Online Bayesian Inference

Sebastian Salazar, Michal Kucer, Yixin Wang, Emily Casleton, David Blei
12/17/2024
cs.LGcs.AIstat.ML

No confident code implementation found for this paper.

Abstract

This paper introduces posterior mean matching (PMM), a new method for generative modeling that is grounded in Bayesian inference. PMM uses conjugate pairs of distributions to model complex data of various modalities like images and text, offering a flexible alternative to existing methods like diffusion models. PMM models iteratively refine noisy approximations of the target distribution using updates from online Bayesian inference. PMM is flexible because its mechanics are based on general Bayesian models. We demonstrate this flexibility by developing specialized examples: a generative PMM model of real-valued data using the Normal-Normal model, a generative PMM model of count data using a Gamma-Poisson model, and a generative PMM model of discrete data using a Dirichlet-Categorical model. For the Normal-Normal PMM model, we establish a direct connection to diffusion models by showing that its continuous-time formulation converges to a stochastic differential equation (SDE). Additionally, for the Gamma-Poisson PMM, we derive a novel SDE driven by a Cox process, which is a significant departure from traditional Brownian motion-based generative models. PMMs achieve performance that is competitive with generative models for language modeling and image generation.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{salazar2024posterior,
  title  = {Posterior Mean Matching: Generative Modeling through Online Bayesian Inference},
  author = {Sebastian Salazar and Michal Kucer and Yixin Wang and Emily Casleton and David Blei},
  year   = {2024},
  eprint = {2412.13286},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.13286v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.13286.svg)](https://codeofpaper.com/paper/2412.13286)

Discussion