Abstract
Node features and structural information of a graph are both crucial for semi-supervised node classification problems. A variety of graph neural network (GNN) based approaches have been proposed to address this, but they often assume conditional independence of output labels. This paper introduces the Explicit Pairwise Factorized Graph Neural Network (EPFGNN), which models the graph as a Markov Random Field to explicitly capture label-to-label dependencies, achieving state-of-the-art results on both assortative and disassortative graphs.
Introduction
In semi-supervised node classification, the objective is to predict labels for unannotated nodes using a small set of labeled nodes and the graph's structural information. Popular architectures like Graph Convolutional Networks (GCNs) and Graph Attention Networks (GATs) primarily focus on aggregating input features from neighboring nodes.
However, these models possess a theoretical limitation: they assume that the output labels of connected nodes are conditionally independent given their hidden representations. In practice, a node's label directly influences its neighbor's label. While previous methods like GMNN attempted to address this, they often relied on implicit assumptions of graph assortativity (where connected nodes share labels). EPFGNN addresses this by explicitly modeling direct label-to-label dependencies across diverse graph structures.
Methods
The EPFGNN framework treats the graph as a partially observed Markov Random Field (MRF). The model incorporates two distinct factor types:
- Unary Factors (Input-Output): A standard GNN backbone (e.g., GCN) processes node features to generate initial label predictions.
- Pairwise Factors (Output-Output): These factors explicitly model the influence between neighboring labels. To maintain tractability and prevent overfitting, they use a shared compatibility matrix scaled by a unique, learnable edgewise scalar coefficient for each edge.
Training via EM Algorithm
Training an MRF with hidden variables (unlabeled nodes) is computationally intensive. The authors employ the Expectation-Maximization (EM) algorithm:
- E-Step: The distribution of unlabeled nodes is estimated using mean-field inference.
- M-Step: To avoid the exponential cost of exact MRF inference, a piecewise surrogate objective is used. The graph is decomposed into "star-shaped" subgraphs consisting of a central node and its immediate neighbors. These are optimized locally, with a redistribution scheme to handle overlapping edges.
Experimental Evaluation
The model was evaluated on two categories of benchmark datasets:
- Assortative Graphs (High Homophily): Cora, Citeseer, and Pubmed citation networks.
- Disassortative Graphs (Low Homophily): Chameleon, Squirrel (Wikipedia networks), and Actor (co-occurrence network).
Key Results
EPFGNN consistently outperformed baselines including GCN, GAT, and GMNN. On assortative graphs, it achieved accuracies of 83.54% (Cora), 73.13% (Citeseer), and 80.15% (Pubmed). The improvement was particularly significant on Citeseer (>2%), which has the lowest homophily among citation networks, highlighting the benefit of explicit pairwise modeling over simple feature smoothing.
On disassortative graphs, EPFGNN also demonstrated superior performance, scoring 35.31% on Chameleon and 25.12% on Squirrel. This success stems from the compatibility matrix's ability to learn negative correlations, allowing the model to adapt when neighbors are likely to have different labels.
Discussion and Conclusion
EPFGNN moves beyond feature smoothing by learning the underlying rules of label co-occurrence. By balancing flexibility (edgewise scalars) with regularization (shared compatibility matrix), the model avoids overfitting while capturing complex dependencies.
Ablation studies indicated that a GCN backbone often suffices, as the explicit MRF modeling handles the dependencies that attention mechanisms in GAT might otherwise overfit. While the EM-based training adds computational complexity, the piecewise surrogate objective makes the approach scalable. Future work may explore more sophisticated redistribution schemes for the star-shaped decomposition to further refine the piecewise approximation.
Summary updated