Joint Bayesian Inference of Graphical Structure and Parameters with a Single Generative Flow Network
Tristan DeleuMizu Nishikawa-ToomeyJithendaraa SubramanianNikolay MalkinLaurent CharlinYoshua Bengio
Presents JSP-GFN, a single Generative Flow Network that jointly infers both the graph structure and continuous parameters of Bayesian networks through a two-phase sampling process, enabling tractable posterior inference for expressive non-linear models without intractable marginalizations.
Understanding complex causal and statistical dependencies across variables is critical for decision-making in domains like medical diagnostics and computational biology. While Bayesian networks provide a principled representation for these relationships, discovering both network structure and continuous mechanism parameters from limited observational data is exceptionally difficult. Traditional methods typically force restrictive linear assumptions or infer only network structures, failing to account for parameter uncertainty in expressive, non-linear models.
The article introduces and evaluates JSP-GFN (Joint Structure and Parameters Generative Flow Network), a probabilistic machine learning approach that infers the joint posterior distribution over both directed network structures and continuous distribution parameters. The primary objective is to demonstrate that a single generative framework can accurately quantify uncertainty and scale to complex non-linear relationships, discrete data, and interventions.
The approach models structure and parameter discovery as a unified sequential generation process. The network first builds an acyclic graph step by step and then generates the corresponding mechanism parameters conditional on that graph. By establishing generalized balance conditions for the network's learning flow, the system is optimized without intractable calculations. The authors evaluated the method across simulated benchmarks—from 5-variable linear networks to 20-variable non-linear systems with over 2,200 parameters—and real-world biological datasets, including protein signaling and gene regulatory expression data.
The findings show that JSP-GFN achieves state-of-the-art accuracy in recovering posterior distributions. On small benchmark graphs, the method reduced edge feature approximation error by roughly a factor of ten compared to baseline variational and Markov chain Monte Carlo methods (achieving a Pearson correlation of 0.998). On larger simulated models, it delivered superior or competitive predictive accuracy on held-out test data. Additionally, on high-dimensional gene expression benchmarks across 61 variables, JSP-GFN substantially outperformed standard sampling algorithms in predictive likelihood while supporting efficient mini-batch training.
These results establish that organizations can deploy flexible, neural-network-parameterized causal models without sacrificing rigorous uncertainty quantification. Enabling mini-batch training reduces the computational barriers to running Bayesian structure learning on large datasets, significantly lowering deployment and inference overheads while guarding against overconfident, erroneous structural conclusions.
Organizations analyzing complex biological, diagnostic, or transactional dependency structures should consider piloting joint inference approaches like JSP-GFN in place of single-estimate graph discovery algorithms. Further development should focus on testing the methodology in domains with cyclic feedback processes and incorporating multimodal parameter distributions—such as normalizing flows or diffusion models—to capture multiple competing mechanism hypotheses.
The main limitation lies in assuming unimodal parameter distributions and strictly acyclic graphs, which may simplify complex multimodal parameters or biological feedback loops. Nevertheless, the theoretical consistency and empirical validation provide strong confidence that the framework reliably discovers joint structural and parametric uncertainties across varied domains.
- Paper: GFlowNet Foundations, Yoshua Bengio et al. (2023). It establishes the theoretical foundations and balance conditions of Generative Flow Networks, which provide the core sequential generative sampling mechanism used by JSP-GFN.
- Paper: Generative Flow Networks for Discrete Probabilistic Modeling, Dinghuai Zhang et al. (2022). It introduces energy-based GFlowNets for discrete probabilistic modeling and posterior approximation, serving as the immediate precursor for applying GFNs to structured probabilistic objects.
- Paper: DAGs with NO TEARS: Continuous Optimization for Structure Learning, Xun Zheng et al. (2018). It establishes modern benchmarks and formulations for continuous structure learning of directed acyclic graphs against which Bayesian structure learning methods are compared.
- Paper: Learning Bayesian networks: The combination of knowledge and statistical data, David Heckerman et al. (1994). It provides foundational principles and metrics for Bayesian network structure and parameter learning from combined prior knowledge and observational data.
- Paper: A Bayesian method for the induction of probabilistic networks from data, Gregory F. Cooper et al. (1992). It introduces seminal Bayesian scoring techniques and heuristic search methods for inferring belief network structures directly from discrete data.
- Paper: A Tutorial on Learning with Bayesian Networks, David Heckerman (1999). It delivers a comprehensive tutorial on parameter estimation, causal inference, and marginal likelihood scoring in Bayesian networks.
- Paper: Optimal Structure Identification With Greedy Search, David Maxwell Chickering (2002). It provides the theoretical framework for score-based search over Markov equivalence classes of directed acyclic graphs.
- Paper: Variational Inference with Normalizing Flows, Danilo Jimenez Rezende et al. (2015). It presents normalizing flows for expressive approximate posterior inference, establishing continuous generative techniques relevant to non-linear parameter modeling.
- Paper: Local Search GFlowNets, Minsu Kim et al. (2024). It develops local search training techniques for GFlowNets to alleviate mode exploration issues and improve sampling efficiency in large structured state spaces.
- Paper: Better Training of GFlowNets with Local Credit and Incomplete Trajectories, Ling Pan et al. (2023). It improves GFlowNet training and credit assignment using local credit and incomplete trajectories, offering enhancements applicable to complex multi-step generative flows.
- Paper: Nonparametric Identifiability of Causal Representations from Unknown Interventions, Julius von Kügelgen et al. (2023). It investigates nonparametric identifiability of causal structures under interventional distributions, extending the causal modeling principles explored in joint Bayesian inference.
- Paper: Multi-View Causal Representation Learning with Partial Observability, Dingling Yao et al. (2024). It generalizes causal representation learning to multi-view systems with partial observability, expanding upon joint structure and parameter discovery in complex environments.
- Paper: Sequential Neural Score Estimation: Likelihood-Free Inference with Conditional Score Based Diffusion Models, Louis Sharrock et al. (2024). It introduces conditional score-based diffusion methods for likelihood-free posterior parameter inference in complex simulator models.
- Paper: An Introduction to Bayesian and Frequentist Simulation-Based Inference with Machine Learning, Maximilian Dax et al. (2026). It provides an extensive treatment of amortized Bayesian simulation-based inference using deep generative neural networks.
- Paper: Identifying Weight-Variant Latent Causal Models, Yuhang Liu et al. (2026). It formulates latent causal model discovery under varying structural mechanisms and auxiliary variables, building on non-linear parameterization challenges.
