Skip to content

TRee Approximate Message Passing algorithm - Examples

Notifications You must be signed in to change notification settings

benjaminaubin/tramp_examples

Repository files navigation

TRAMP: Compositional Inference with TRee Approximate Message Passing

Antoine Baker, Benjamin Aubin, Florent Krzakala, Lenka Zdeborová

Abstract:

We introduce tramp, standing for TRee Approximate Message Passing, a python package for compositional inference in Python that runs Expectation Propagation on high-dimensional tree-structured models. The package provides an unifying framework to study several approximate message passing algorithms previously derived for a variety of machine learning tasks such as generalized linear models, inference in multi-layer networks, matrix factorization, and reconstruction using non-separable penalties. For some models, the performance of the algorithm can be theoretically predicted by the state evolution, and the measurements entropy estimated by the free entropy formalism. The implementation is modular by design: each module, which implements a factor, can be composed at will with other modules to solve complex inference tasks. The user only needs to declare the factor graph of the model: the inference algorithm, state evolution and entropy estimation are fully automated. The source code is publicly available at https://github.com/sphinxteam/tramp.

This repo contains the few different examples presented in the above paper available on ArXiv:

Notebooks (Python 3.6)

Scripts (Python 3.6)

About

TRee Approximate Message Passing algorithm - Examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published