How do Probabilistic Graphical Models and Graph Neural Networks Look at Network Data?

arXiv:2506.11869 · stat.ML, cond-mat.dis-nn, cond-mat.stat-mech, cs.LG, physics.soc-ph · Submitted 2025-06-13 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.

Tom: I'm Tom, and with me are Jane, Lu, senior AI researcher at Tsinghua, Meng, lead engineer at a mysterious AI startup and Lalam, the in-house Large Language Model.

Jane: Today's paper: "How do Probabilistic Graphical Models and Graph Neural Networks Look at Network Data?".

Tom: Graphs are powerful data structures for representing relational data,

Jane: First, who's behind it and why it matters.

Title and authors: Tom: We're starting with the title of this research: "How do Probabilistic Graphical Models and Graph Neural Networks Look at Network Data?". It sounds very direct, which is perfect for what they’re trying to do—to compare these two powerful tools head-to-head on networked datasets.

Jane: That title sets up the core question perfectly: how do these fundamentally different approaches actually capture the information present in a network? It frames the whole study around a comparison of their capabilities.

Lu: The authors, Michela Lapenna and Caterina De Bacco, are coming from Physics and Astronomy, which suggests a very rigorous approach to modeling complex systems; they’re bringing that scientific depth to this AI comparison.

Meng: So if I'm hearing this right, the paper isn't just showing us one model is better for everything but rather mapping out exactly where each framework excels or struggles depending on the input data we feed it.

Lalam: That focus on where they succeed or fail based on input data is actually really helpful because it gives us concrete rules for choosing a method in different real-world scenarios.

The paper's summary: Tom: So, what’s the main takeaway from the paper? Basically, they are solving a link prediction task and testing both PGMs and GNNs on synthetic and real networks to see how they handle input features, noise, and structural differences.

Jane: That’s right; they conduct three main experiments focusing on those areas. The key finding is that PGMs perform better when the input features are low-dimensional or noisy, while PGMs also show greater stability when the graph becomes more structurally different, or heterophilous.

Lu: That robustness to increasing heterophily in PGMs is quite interesting because it suggests their probabilistic framework handles structural variations more naturally than the explicit message-passing mechanisms of GNNs.

Meng: I see how that matters for practical implementation; if we’re dealing with real-world sensor data where features are messy, leaning on a PGM approach might actually be safer for getting a reliable link prediction result initially.

Lalam: It shows that relying solely on node attributes isn't always the best strategy, and understanding the graph structure itself can give us more reliable results when those attributes are weak or sparse.

The paper's improvements: Tom: Beyond just the summary, what specific suggestions does this paper offer for improving these models? They point out a few things about how to use them better in practice.

Jane: The authors highlight that PGMs don't require node attributes by default, which means they can work with just the edge list, and GNNs always need those input features explicitly for their message-passing steps.

Lu: That distinction is crucial because it tells us we have to be careful about what information we provide; there isn't a universal recipe for PGMs to incorporate attributes effectively without extra modeling extensions.

Meng: That means if we want to use GNNs, we need to be very deliberate about designing the input features, because they seem more sensitive to feature quality than PGMs are.

Lalam: This reinforces the idea that you can't just dump all your data into a model and expect it to work perfectly; you have to tailor the input strategy based on whether you’re using a PGM or a GNN.

Conclusion: Tom: So, to wrap up this discussion on "How do Probabilistic Graphical Models and Graph Neural Networks Look at Network Data?", the main conclusion is that PGMs outperform GNNs when input features are low-dimensional or noisy, and they show greater robustness to increasing graph heterophily.

Jane: Exactly. While GNNs offer flexibility in processing various feature types without needing manual architectural tweaks, the authors suggest that linear models can actually perform better in link prediction tasks under certain conditions, meaning GNNs might need to be designed to automatically figure out which features are useful.

Lu: The implication here is that we should think about hybrid approaches where we leverage the inherent structure modeling of PGMs alongside the feature processing power of GNNs, instead of choosing one exclusively.

Meng: From an engineering perspective, this means our next design cycle should prioritize building mechanisms into GNNs that intelligently decide which features to keep or discard rather than assuming they are all equally important.

Lalam: I think this whole exploration into the "How do Probabilistic Graphical Models and Graph Neural Networks Look at Network Data?" really helps us build a more nuanced understanding of data representation, which will make our future AI systems much more context-aware.

Michela Lapenna, Caterina De Bacco

Department of Physics and Astronomy, University of Bologna · Max Planck Institute for Intelligent Systems · Faculty of Electrical Engineering, Mathematics and Computer Science, Delft University of Technology

stat.ML, cond-mat.dis-nn, cond-mat.stat-mech, cs.LG, physics.soc-ph

Submitted: 2025-06-13

Updated: 2025-08-22

Journal ref: Journal of Physics: Complexity, Volume 7, Number 1, 2026

DOI: 10.1088/2632-072X/ae3ec5

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 79/100

The gist: Graphs are powerful data structures for representing relational data, and this paper compares Probabilistic Graphical Models (PGMs) and Graph Neural Networks (GNNs) to determine how they capture

Key concepts

Probabilistic Graphical Models (PGMs)
PGMs are data structures that represent relational data by focusing on the graph's edge list rather than needing node attributes. They learn community membership vectors directly, offering inherent interpretability and performing well even when input features are sparse or noisy.
Graph Neural Networks (GNNs)
GNNs require an explicit input matrix of node features to train the model. Their message-passing algorithm explicitly needs these node features, making them highly dependent on the quality and dimensionality of the provided input data for optimal performance.
Graph Heterophily
Heterophily describes a network structure where nodes with similar attributes tend to connect to each other, while dissimilar nodes connect less frequently. The study found that PGMs handle increasing levels of this structural difference in the graph better than GNNs.
Interpretability
PGMs are inherently interpretable because they output community membership vectors that directly show network structure. GNN embeddings, conversely, are not directly interpretable and require extra processing to understand what they represent.

Terminology

Summary

Graphs are powerful data structures for representing relational data, and this paper compares Probabilistic Graphical Models (PGMs) and Graph Neural Networks (GNNs) to determine how they capture information in networked datasets. The core finding is that PGMs outperform GNNs when input features are low-dimensional or noisy, while PGMs demonstrate greater robustness to increasing graph heterophily.

Comparison of Frameworks and Input Features

The fundamental difference between the two frameworks lies in their handling of input features: PGMs do not necessarily require node attributes, as they can rely solely on the graph’s edge list, allowing them to function even when node attributes are sparse. In contrast, GNNs explicitly require an input matrix X to train the model, and their message-passing algorithm explicitly requires in input node features. The authors evaluate how performance is affected by tuning feature informativeness, dimensionality, and availability. They find that GNNs are outperformed by PGMs when input features are low-dimensional or noisy, mimicking many real scenarios where node attributes might be scalar or noisy. Furthermore, the study shows that there are no clear advantages in utilizing an extra input feature X for link prediction, suggesting one must be careful in using all the information available.

Robustness to Graph Structure and Noise

The investigation explores model robustness under changing network properties. First, they examine robustness to noise by systematically randomizing features of randomly selected nodes in real datasets. They find that PGMs are more robust when increasing the percentage of nodes whose features are randomized, highlighting the stronger reliance of GNNs on input feature information. Second, they assess performance when increasing graph heterophily, defined as a structural measure where heterophilic have larger off-diagonal elements of the affinity matrix. The results indicate that PGMs generally outperform GNNs when increasing the heterophily of the graph (both synthetic and real), when given the full input feature. However, they note that for GNNs, performance can be improved by a better choice of input features rather than architectural changes alone.

Model Variants and Architectures

The paper analyzes specific model variants within each family. For PGMs, they consider three variants of the Stochastic Block Model (SBM): MULTITENSOR and MTCOV, which use tensor factorization; BNP, a Bayesian model using Markov chain Monte Carlo sampling. Among these, MTCOV is the only model that can also take node attributes in input. For GNNs, four distinct architectures are employed: Graph Attention Networks (GAT), Graph Autoencoders (GAE) and Graph Variational Autoencoders (VGAE), and H2GCN, which is specifically designed to handle heterophily.

Interpretability and Complexity

The two frameworks differ significantly in interpretability. PGMs are inherently interpretable because they learn community membership vectors on each node, which are quantities directly interpretable as they provide clear insights into the community structure of the network. GNNs, conversely, learn embeddings that are not directly interpretable, requiring ad-hoc processing a posteriori to allow for interpretability. The authors compare these by visualizing memberships and embeddings using t-SNE. They find that both MULTITENSOR and GAT are able to place more mixed nodes closer to the border of their main community, similar to ground truth, but PGMs offer a direct estimation of the mixed-membership as their natural output. Regarding computational complexity, PGMs are generally linear in system size (the number of nodes or edges), while GNNs have complexities that depend on factors like the number of layers L and embedding dimensions F'.

Conclusion

In summary, PGMs outperform GNNs when input features are low-dimensional or noisy, and they exhibit greater robustness to increasing graph heterophily. While GNNs offer flexibility in processing heterogeneous features without requiring ad-hoc design choices, the authors suggest that linear models can outperform GNNs in link prediction tasks, implying that GNNs should ideally be designed to learn automatically whether to discard irrelevant features or to select what features to use.

The gist

PGMs outperform GNNs when input features are either low-dimensional or noisy, a common scenario in real-world networks where node attributes may be minimal or unreliable. The core finding is that PGMs demonstrate greater robustness to increasing graph heterophily compared to GNNs.

Figure 1: Structure-based vs. attribute-based features.

The performance of GNNs is generally comparable in the two cases, except for Peptides, where AUC is much higher in the structure-based case. Feeding the high-dimensional adjacency matrix row improves performance, which is generally comparable to that of PGMs.

**Figure 2: High vs. low dimensional features.

Improvements for AI systems

As a fastidious researcher, I have analyzed this comparative study between Probabilistic Graphical Models (PGMs) and Graph Neural Networks (GNNs). The core findings suggest distinct advantages for each framework depending on the network characteristics.

Here are the specific improvements that can be made to AI systems by synthesizing these findings:


  1. // Feature-Aware Model Selection for Low-Information/Noisy Data

  2. // Robustness Enhancement via Feature Engineering

  3. // Heterophily-Adaptive Network Architectures

  4. // Interpretable Structure Discovery (Hybrid Modeling)

  5. The improved system should implement a dynamic model selection layer based on input feature quality and dimensionality:

5.1 The system will first assess the nature of available node features (attribute-based vs. structure-based). If features are low-dimensional or noisy, the system should default to a PGM framework (e.g., MTCOV) for link prediction tasks, as PGMs outperform GNNs in these scenarios (as seen in Figure 1 and Text Section 6).

5.2 When using GNNs on real-world data where features are available, the system must employ structure-based features (the adjacency matrix row) rather than relying on attribute-based features, as this yields comparable or superior performance across most datasets (as seen in Figure 7 and Text Section 6).

  1. The system will integrate mechanisms to explicitly handle network structural properties during training:

3.1 For heterophilic networks, the system should utilize GNN architectures specifically designed for it, such as H2GCN, which incorporates separate embeddings for self and neighbor nodes (as noted in Section 4.2).

3.2 When performance degradation due to heterophily is observed even with specialized architectures (like H2GCN), the system must dynamically adjust weight initialization variance to mitigate oversmoothing effects (as suggested in Section 8).

  1. The system will incorporate a hybrid interpretability module:

4.1 For PGM-based tasks, the model's latent community membership vectors should be extracted directly as interpretable parameters, allowing for clear insights into cluster structure.

4.2 For GNN-based tasks, the system must employ post-hoc interpretability techniques (like t-SNE visualization of embeddings) to attempt to extract meaningful mixed-membership information from the learned node representations, bridging the gap between GNN black-box outputs and PGM interpretability.

The resulting AI system will be a more resilient and context-aware graph learning engine capable of:

  1. Accurately predicting missing links in low-feature/noisy environments by leveraging the structured knowledge encoded in PGMs.

  2. Maximizing the utility of available features by intelligently prioritizing structural information over potentially misleading attribute data when training GNNs.

  3. Maintaining high predictive accuracy on complex, real-world networks characterized by varying degrees of heterophily, even when structural modifications are insufficient to prevent oversmoothing.

  4. Providing dual interpretability outputs: direct probabilistic community structure for PGMs and visualization-based embedding analysis for GNNs, enabling researchers to understand both the latent structure (PGM) and the learned representations (GNN).

Abstract

Graphs are a powerful data structure for representing relational data and are widely used to describe complex real-world systems. Probabilistic Graphical Models (PGMs) and Graph Neural Networks (GNNs) can both leverage graph-structured data, but their inherent functioning is different. The question is how do they compare in capturing the information contained in networked datasets? We address this objective by solving a link prediction task and we conduct three main experiments, on both synthetic and real networks: one focuses on how PGMs and GNNs handle input features, while the other two investigate their robustness to noisy features and increasing heterophily of the graph. PGMs do not necessarily require features on nodes, while GNNs cannot exploit the network edges alone, and the choice of input features matters. We find that GNNs are outperformed by PGMs when input features are low-dimensional or noisy, mimicking many real scenarios where node attributes might be scalar or noisy. Then, we find that PGMs are more robust than GNNs when the heterophily of the graph is increased. Finally, to assess performance beyond prediction tasks, we also compare the two frameworks in terms of their computational complexity and interpretability.

Sources

Related papers