PGMax: Factor Graphs for Discrete Probabilistic Graphical Models and Loopy Belief Propagation in JAX

Guangyao Zhou, Antoine Dedieu, Nishanth Kumar, Wolfgang Lehrach, Miguel Lázaro-Gredilla +2 more
2/8/2022
11 citations
cs.LGcs.AIstat.ML

Official code: google-deepmind/PGMax (166 stars, Jupyter Notebook, Apache-2.0, JAX, last commit 2024-10-18). 1 more implementation below.

Abstract

PGMax is an open-source Python package for (a) easily specifying discrete Probabilistic Graphical Models (PGMs) as factor graphs; and (b) automatically running efficient and scalable loopy belief propagation (LBP) in JAX. PGMax supports general factor graphs with tractable factors, and leverages modern accelerators like GPUs for inference.

Show full abstract

Compared with existing alternatives, PGMax obtains higher-quality inference results with up to three orders-of-magnitude inference time speedups. PGMax additionally interacts seamlessly with the rapidly growing JAX ecosystem, opening up new research possibilities. Our source code, examples and documentation are available at https://github.com/deepmind/PGMax.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
google-deepmind/PGMaxOfficial166Jupyter NotebookApache-2.02024-10-18
vicariousinc/PGMaxCommunity66PythonMIT2024-10-07
JAXApache-2.0

Loopy belief propagation for factor graphs on discrete variables in JAX

16612Jupyter Notebook, PythonSep 22, 20222 years agoApache-2.0
bayesian-inferencebelief-propagationjaxpython
vicariousinc/PGMaxCommunity100%
JAXMIT

Loopy belief propagation for factor graphs on discrete variables, in JAX!

668PythonJun 9, 20212 years agoMIT
jaxpython

Similar Papers

Cite this paper

@article{zhou2022pgmax,
  title  = {PGMax: Factor Graphs for Discrete Probabilistic Graphical Models and Loopy Belief Propagation in JAX},
  author = {Guangyao Zhou and Antoine Dedieu and Nishanth Kumar and Wolfgang Lehrach and Miguel Lázaro-Gredilla and Shrinu Kushagra and Dileep George},
  year   = {2022},
  eprint = {2202.04110},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.04110}
}

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/2202.04110.svg)](https://codeofpaper.com/paper/2202.04110)

Discussion