Joint Bayesian Inference of Graphical Structure and Parameters with a Single Generative Flow Network

Published: 19 Jun 2023, Last Modified: 28 Jul 20231st SPIGM @ ICML OralEveryoneRevisionsBibTeX
Keywords: bayesian network, bayesian, structure learning, causal discovery, gflownet
TL;DR: We propose to approximate the joint posterior distribution over the graphical structure of a Bayesian Network and the parameters of its conditionals using a GFlowNet.
Abstract: Generative Flow Networks (GFlowNets), a class of generative models over discrete and structured sample spaces, have been previously applied to the problem of inferring the marginal posterior distribution over the directed acyclic graph (DAG) of a Bayesian Network, given observations. Based on recent advances extending this framework to non-discrete sample spaces, we propose in this paper to approximate the joint posterior over not only the structure of a Bayesian Network, but also the parameters of its conditional probability distributions. We use a single GFlowNet whose sampling policy follows a two-phase process: the DAG is first generated sequentially one edge at a time, and then the corresponding parameters are picked once the full structure is known. Since the parameters are included in the posterior distribution, this leaves more flexibility for the local probability models of the Bayesian Network, making our approach applicable even to non-linear models parametrized by neural networks. We show that our method, called JSP-GFN, offers an accurate approximation of the joint posterior, while comparing favorably against existing methods on both simulated and real data.
Submission Number: 83
Loading