Probability Passing for Graph Neural Networks: Graph Structure and Representations Joint Learning

Ziyan Wang, YaXuan He, Bin Liu · DOI

Abstract

Graph Neural Networks (GNNs) have achieved notable success in the analysis of non-Euclidean data across a wide range of domains. However, their applicability is constrained by the dependence on the observed graph structure. To solve this problem, Latent Graph Inference (LGI) is proposed to infer a task-specific latent structure by computing similarity or edge probability of node features and then apply a GNN to produce predictions. Even so, existing approaches neglect the noise from node features, which affects generated graph structure and performance. In this work, we introduce a novel method called Probability Passing to refine the generated graph structure by aggregating edge probabilities of neighboring nodes based on observed graph. Furthermore, we continue to utilize the LGI framework, inputting the refined graph structure and node features into GNNs to obtain predictions. We name the proposed scheme as Probability Passing-based Graph Neural Network (PPGNN). Moreover, the anchor-based technique is employed to reduce complexity and improve efficiency. Experimental results demonstrate the effectiveness of the proposed method.

Introduction

Graph Neural Networks (GNNs) are powerful tools for modeling relational data, but they are notoriously sensitive to the quality of the input graph. In real-world scenarios, observed graphs are often noisy, containing irrelevant edges, or incomplete, missing critical connections. While Latent Graph Inference (LGI) techniques attempt to learn a better, task-specific graph by analyzing node feature similarities, they often fail when the features themselves are noisy. This paper addresses this vulnerability by introducing Probability Passing (PP), a mechanism that uses the existing (albeit noisy) graph structure to refine the learned latent structure.

Methodology

The Probability Passing-based Graph Neural Network (PPGNN) framework integrates graph structure learning and representation learning into a single joint process. The core innovation lies in a two-step refinement of the graph topology:

Probability Learning and Passing

Initially, the model calculates edge probabilities between nodes based on feature similarity using a Gaussian kernel. However, to mitigate noise in these features, the model employs Probability Passing. Much like message passing in standard GNNs, this step updates a node's edge probability distribution by aggregating the distributions of its neighbors in the observed graph. The intuition is that nodes connected in the physical world should share similar connectivity patterns.

Probability Passing Mechanism: Aggregating edge probability distributions from neighbors to refine the latent structure.

The PPGNN Framework and Efficiency

To ensure the model scales to large datasets, the authors utilize an anchor-based technique. Instead of computing an $O(N^2)$ dense adjacency matrix, the model learns probabilities relative to a small set of "anchor" nodes, reducing complexity to $O(Ns)$. The refined probabilities are then sparsified using the Gumbel-Top-k trick to create a clean graph for the final GNN layers.

The PPGNN Architecture: A block diagram showing the flow from input data through graph structure learning to the final GNN output.

Experimental Evaluation

The PPGNN model was tested on standard benchmarks including Cora, CiteSeer, PubMed, and the Amazon Photo dataset.

  • Superior Accuracy: PPGNN consistently outperformed state-of-the-art LGI baselines. On the Cora dataset, PPGNN-anchor achieved an accuracy of 88.60%, significantly higher than the standard GCN (78.74%) and advanced models like dDGM-E (84.60%).
  • Robustness to Noise: The framework proved highly resilient to structural corruption. In tests where up to 75% of edges were randomly added or removed, PPGNN maintained significantly higher performance than traditional GNNs.
  • Homophily Reinforcement: Results confirmed that the refined probabilities effectively capture homophily, where nodes with similar labels are assigned higher connection probabilities.

Conclusion

PPGNN introduces a novel way to leverage observed graph structures as a "denoiser" for latent graph inference. By passing edge probabilities across known connections, the model successfully mitigates the impact of noisy node features. While the method currently relies on having an initial observed graph, it sets a new standard for robust joint learning of graph structures and representations. Future research will explore extending this refinement process to scenarios where the initial graph structure is entirely unknown.

Summary updated

BibTeX
@misc{wang2024probability,
  author = {Ziyan Wang and YaXuan He and Bin Liu},
  title = {{Probability Passing for Graph Neural Networks: Graph Structure and Representations Joint Learning}},
  year = {2024},
  eprint = {2407.10688},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.10688},
}
Figure