RepositoryJuliaNLNetherlands
ReactiveBayes

ReactiveBayes/ReactiveMP.jl

High-performance reactive message-passing based Bayesian inference engine

119stars
18forks
5issues
0views

Stable Dev Build Status Coverage Zenodo

Overview

ReactiveMP.jl is a Julia package that provides an efficient reactive message passing based Bayesian inference engine on a factor graph. The package is a part of the bigger and user-friendly ecosystem for automatic Bayesian inference called RxInfer. While ReactiveMP.jl exports only the inference engine, RxInfer provides convenient tools for model and inference constraints specification as well as routines for running efficient inference both for static and dynamic datasets.

ReactiveMP.jl is designed for advanced users who need fine-grained control over message passing, custom factor nodes, and custom update rules. It does not create a specific message passing schedule in advance, but rather reacts on changes in the data source (hence reactive in the name of the package).

Installation

Install ReactiveMP through the Julia package manager:

] add ReactiveMP

Optionally, use ] test ReactiveMP to validate the installation by running the test suite.

Documentation

For more information about ReactiveMP.jl please refer to the documentation.

Examples and tutorials

The ReactiveMP.jl package is intended for advanced users with a deep understanding of message passing principles. Accessible tutorials and examples are available in the RxInfer documentation.

Ecosystem

The RxInfer framework consists of four core packages developed by ReactiveBayes:

  • ReactiveMP.jl - the underlying message passing-based inference engine (this package)
  • RxInfer.jl - user-friendly modeling and inference layer
  • GraphPPL.jl - model and constraints specification package
  • ExponentialFamily.jl - package for exponential family distributions
  • Rocket.jl - reactive extensions package for Julia

References

License

MIT License Copyright (c) 2021-2024 BIASlab, 2024-present ReactiveBayes

Similar Projects

Discover other similar projects and AI models.

RepositoryJupyter Notebook
ReactiveBayes/RxInfer.jl

Julia package for automated Bayesian inference on a factor graph with reactive message passing

426
Nov 26, 2026
RepositoryPython
pymc-devs/pymc

Bayesian Modeling and Probabilistic Programming in Python

9.9k
Nov 25, 2026
RepositoryPython
pyro-ppl/pyro

Deep universal probabilistic programming with Python and PyTorch

9.1k
Oct 5, 2026
RepositoryJulia
TuringLang/Turing.jl

Bayesian inference with probabilistic programming.

2.3k
Nov 24, 2026
RepositoryJulia
biaslab/ForneyLab.jl

Julia package for automatically generating Bayesian inference algorithms through message passing on Forney-style factor graphs.

154
May 3, 2023
RepositoryPython
pyro-ppl/numpyro

Probabilistic programming with NumPy powered by JAX for autograd and JIT compilation to GPU/TPU/CPU.

2.8k
Nov 17, 2026
RepositoryPython
janosh/awesome-normalizing-flows

Awesome resources on normalizing flows.

1.6k
Jul 31, 2026
RepositoryPython
altosaar/variational-autoencoder

Variational autoencoder implemented in tensorflow and pytorch (including inverse autoregressive flow)

1.2k
Apr 24, 2024
RepositoryPython
blackjax-devs/blackjax

BlackJAX is a Bayesian Inference library designed for ease of use, speed and modularity.

1.1k
Nov 23, 2026