Benchpress: A Scalable and Versatile Workflow for Benchmarking Structure Learning Algorithms

Felix L. Rios, Giusi Moffa, Jack Kuipers
7/8/2021
16 citations
stat.MLcs.LGstat.AP

Official code: felixleopoldo/benchpress (86 stars, Python, GPL-2.0, last commit 2026-11-07).

Abstract

Describing the relationship between the variables in a study domain and modelling the data generating mechanism is a fundamental problem in many empirical sciences. Probabilistic graphical models are one common approach to tackle the problem.

Show full abstract

Learning the graphical structure for such models is computationally challenging and a fervent area of current research with a plethora of algorithms being developed. To facilitate the benchmarking of different methods, we present a novel Snakemake workflow, called Benchpress for producing scalable, reproducible, and platform-independent benchmarks of structure learning algorithms for probabilistic graphical models. Benchpress is interfaced via a simple JSON-file, which makes it accessible for all users, while the code is designed in a fully modular fashion to enable researchers to contribute additional methodologies. Benchpress currently provides an interface to a large number of state-of-the-art algorithms from libraries such as BDgraph, BiDAG, bnlearn, causal-learn, gCastle, GOBNILP, pcalg, r.blip, scikit-learn, TETRAD, and trilearn as well as a variety of methods for data generating models and performance evaluation. Alongside user-defined models and randomly generated datasets, the workflow also includes a number of standard datasets and graphical models from the literature, which may be included in a benchmarking study. We demonstrate the applicability of this workflow for learning Bayesian networks in five typical data scenarios. The source code and documentation is publicly available from http://benchpressdocs.readthedocs.io.

View on arXivView PDF

Code Implementations(1)

GPL-2.0

Scalable open-source software to run, develop, and benchmark causal discovery algorithms

8622Python, RJan 15, 20203 weeks agoGPL-2.0
bayesian-networksbenchmarkingcausal-discoverycausal-modelscausality+5 more

Similar Papers

Cite this paper

@article{rios2021benchpress,
  title  = {Benchpress: A Scalable and Versatile Workflow for Benchmarking Structure Learning Algorithms},
  author = {Felix L. Rios and Giusi Moffa and Jack Kuipers},
  year   = {2021},
  eprint = {2107.03863},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.03863}
}

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

Discussion