Liesel: A Python Framework for Graph-Based Bayesian Modeling and Customizable MCMC with Support for Generalized Additive Models

Hannes Riebl, Johannes Brachem, Thomas Kneib, Gianmarco Callegher, Paul F. V. Wiemann
9/22/2022
stat.CO
bayesian

Official code: liesel-devs/liesel (45 stars, Python, MIT, last commit 2026-11-16).

Abstract

Liesel is a Python framework for Bayesian model building and posterior computation with dedicated support for generalized additive regression models that is designed to reduce friction in methodological work. The framework consists of three components.

Show full abstract

The first component, Liesel-Model, represents models as directed acyclic graphs and supports interactive model construction, modification, visualization, prediction, and prior or posterior predictive simulation. The second component, Liesel-Goose, provides a modular MCMC framework based on reusable kernels and supports blocked componentwise sampling as well as user-defined Gibbs and Metropolis--Hastings updates, while leveraging JAX for automatic differentiation, just-in-time compilation, and hardware acceleration. The third component, Liesel-GAM, supplies high-level building blocks for generalized additive regression models and provides functionality for formula-based model specification, summaries, diagnostics, and effect visualization. Together, these parts make Liesel an effective tool for the rapid development, testing, and application of Bayesian models and MCMC algorithms. Liesel's modular architecture allows users to extend the software to models and inference algorithms beyond generalized additive models and MCMC, offering considerable flexibility for a wide spectrum of statistical research.

View on arXivView PDF

Code Implementations(1)

liesel-devs/lieselOfficial100%
MIT

A probabilistic programming framework

453PythonMay 25, 20222 weeks agoMIT
machine-learningprobabilistic-programmingpythonstatistics

Similar Papers

Cite this paper

@article{riebl2022liesel,
  title  = {Liesel: A Python Framework for Graph-Based Bayesian Modeling and Customizable MCMC with Support for Generalized Additive Models},
  author = {Hannes Riebl and Johannes Brachem and Thomas Kneib and Gianmarco Callegher and Paul F. V. Wiemann},
  year   = {2022},
  eprint = {2209.10975},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.10975}
}

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

Discussion