English

Workload-Aware Materialization of Junction Trees

Databases 2021-10-08 v1

Abstract

Bayesian networks are popular probabilistic models that capture the conditional dependencies among a set of variables. Inference in Bayesian networks is a fundamental task for answering probabilistic queries over a subset of variables in the data. However, exact inference in Bayesian networks is \NP-hard, which has prompted the development of many practical inference methods. In this paper, we focus on improving the performance of the junction-tree algorithm, a well-known method for exact inference in Bayesian networks. In particular, we seek to leverage information in the workload of probabilistic queries to obtain an optimal workload-aware materialization of junction trees, with the aim to accelerate the processing of inference queries. We devise an optimal pseudo-polynomial algorithm to tackle this problem and discuss approximation schemes. Compared to state-of-the-art approaches for efficient processing of inference queries via junction trees, our methods are the first to exploit the information provided in query workloads. Our experimentation on several real-world Bayesian networks confirms the effectiveness of our techniques in speeding-up query processing.

Keywords

Cite

@article{arxiv.2110.03475,
  title  = {Workload-Aware Materialization of Junction Trees},
  author = {Martino Ciaperoni and Cigdem Aslay and Aristides Gionis and Michael Mathioudakis},
  journal= {arXiv preprint arXiv:2110.03475},
  year   = {2021}
}
R2 v1 2026-06-24T06:42:26.956Z