Graph Neural Networks Intersect Probabilistic Graphical Models: A Survey

Chenqing HuaarXiv 2022 · DOI

Introduction

Graph-structured data is ubiquitous, appearing in everything from social networks to molecular structures. Two dominant frameworks have emerged to model this data: Graph Neural Networks (GNNs) and Probabilistic Graphical Models (PGMs). GNNs are powerful "black-box" learners that excel at extracting high-dimensional features, while PGMs are "white-box" models known for their mathematical rigor and interpretability in modeling conditional dependencies. This survey explores the burgeoning intersection of these two fields, highlighting how their integration overcomes individual limitations like the independence assumption in GNNs and the inference bottleneck in PGMs.

The Convergence of Two Paradigms

The synergy between GNNs and PGMs: combining black-box representation learning with white-box structured reasoning. Source, p. 1

The synergy between GNNs and PGMs: combining black-box representation learning with white-box structured reasoning.

As shown in Figure 1, GNNs provide gradient-based learning and rich embedding spaces, while PGMs offer prior knowledge integration and explainability. Their intersection yields tools that are strong at modeling data relationships through efficient message-passing algorithms that learn both node and graph representations. By combining these strengths, researchers are creating hybrid models that are more accurate, faster at inference, and easier to explain.

Methodological Directions

The integration of these two paradigms typically follows two primary directions:

1. PGMs Enhancing GNNs

  • Structured Representations: By embedding Conditional Random Fields (CRFs) into GNN architectures, models can capture joint dependencies between labels or hidden representations. This allows GNNs to move beyond simple local smoothing to capture global graph structures.
  • Explainability: Tools like PGM-Explainer leverage PGMs to provide "post-hoc" explanations for GNN predictions. By learning a local Bayesian Network around a prediction, researchers can identify which nodes and features were actually influential.
  • Structure Learning: PGMs can be used to infer the underlying graph structure when the input graph is noisy or incomplete, essentially "cleaning" the graph before the GNN processes it.

2. GNNs Enhancing PGMs

  • Efficient Inference: Traditional PGM inference algorithms, like Loopy Belief Propagation (LBP), are often computationally expensive (NP-hard). GNNs can be trained to approximate these inference tasks much faster, acting as a learned inference engine.
  • DAG Learning: GNN-based autoencoders (e.g., DAG-GNN) have revolutionized the learning of Directed Acyclic Graphs from observed data, a task that was previously a combinatorial nightmare.

The Conceptual Bridge: Message Passing vs. Belief Propagation

The fundamental link between GNN message passing for classification and PGM belief propagation for inference. Source, p. 2

The fundamental link between GNN message passing for classification and PGM belief propagation for inference.

The most profound insight of this survey is the structural similarity between GNNs and PGMs. As illustrated in Figure 3, both paradigms rely on passing information along edges. GNNs pass feature vectors (messages) to update node states for classification, while PGMs pass probability distributions (beliefs) for inference. This shared "message passing" DNA is the bridge that allows components to be swapped or combined to improve performance and speed.

Datasets and Empirical Findings

The field utilizes a diverse range of benchmarks categorized by task:

  • Citation & Social Networks: Cora, Citeseer, Pubmed, and Reddit for node classification.
  • Large-Scale Graphs: OGB (Open Graph Benchmark) datasets like ogbn-papers100M.
  • Molecular & Chemical: ZINC, MUTAG, and NCI1 for graph-level classification and regression.
  • Specialized Tasks: Synthetic datasets for DAG learning and "low-density parity check" (LDPC) codes for testing exact inference.

Key results from the literature indicate that hybrid GNN-CRF models consistently outperform pure GNNs in node classification by capturing label correlations. Furthermore, PGM-based structure learning enhances robustness against noisy graphs, and GNN-based inference engines offer orders-of-magnitude speedups over traditional iterative solvers, especially on graphs with many loops.

Limitations and Future Outlook

Despite significant progress, challenges remain. Scalability is a primary concern, as PGM mathematics (like calculating partition functions) often scales poorly to massive graphs. Additionally, most current models assume homophily (neighbors are similar), leaving "heterophilic" graphs—where neighbors are intentionally different—as an open research area. Future work should focus on creating unified benchmarks that specifically test the intersection of rich feature learning and complex probabilistic reasoning, while continuing to balance the trade-off between interpretability and raw predictive power.

Summary updated

BibTeX
@misc{hua2022graph,
  author = {Chenqing Hua},
  title = {{Graph Neural Networks Intersect Probabilistic Graphical Models: A Survey}},
  year = {2022},
  eprint = {2206.06089},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.06089},
}
Figure