Global-local graph neural networks for node-classification

Moshe Eliasof, Eran Treister · DOI

Introduction

Standard Graph Neural Networks (GNNs) primarily rely on "message passing," where a node's representation is updated based on its immediate neighbors. While effective for homophilic graphs (where similar nodes connect), this local focus leads to two significant issues: over-smoothing and poor performance on heterophilic graphs. Over-smoothing occurs when repeated message passing makes node features indistinguishable, while heterophily describes graphs where neighbors are likely to have different labels, making local information misleading.

The GLGNN Framework

To address these limitations, the authors propose GLGNN (Global-Local GNN). This framework integrates global class-level information into the node classification process. Unlike traditional models that use a static linear classifier, GLGNN learns high-dimensional "prototype" vectors for each class label, acting as global anchors for the entire graph.

The GLGNN architecture featuring parallel local and global paths to capture both neighborhood and class-level information.

The architecture consists of two parallel paths:

  1. Local Path: A standard GNN backbone (such as GCN, GAT, or GCNII) extracts features from nodes and their immediate neighborhoods.
  2. Global Path: The model takes all node features, applies a global "MaxPool" to get a graph-wide summary, and then uses class-specific Multi-Layer Perceptrons (MLPs) to learn a Label Feature vector for every possible category.

Final predictions are determined by the similarity (dot product) between a node's local features and these learned global label features. To ensure these anchors are meaningful, a contrastive-style Global-Local Loss ($L_{GL}$) is employed to "pull" nodes toward their correct class anchor while "pushing" them away from incorrect ones.

Experimental Results

GLGNN was evaluated across 12 real-world datasets, including homophilic benchmarks (Cora, Citeseer, Pubmed) and heterophilic graphs (Cornell, Texas, Wisconsin, etc.).

Performance comparison of GLGNN variants against state-of-the-art GNN baselines on standard benchmark datasets.

The results demonstrate consistent improvements across the board:

  • Homophilic Data: GLGNN variants consistently outperformed baselines. For instance, GLGCNII reached 83.7% on Pubmed, surpassing specialized models like pathGCN.
  • Heterophilic Data: The impact was most pronounced here. On the Cornell dataset, GLGCNII achieved 89.19% accuracy, a massive jump from the baseline GCNII's 74.86%.
  • Qualitative Analysis: t-SNE visualizations confirm that GLGNN successfully clusters node features around their respective global label prototypes, creating much cleaner class boundaries than standard GNNs.

Key Insights and Future Work

The core innovation of GLGNN lies in treating labels as learnable high-dimensional vectors. This provides a global signal that mitigates the noise of local connectivity, particularly in heterophilic settings. Furthermore, the global module is computationally efficient, scaling with the number of labels ($k$) rather than the number of nodes ($n$).

While the results are impressive, the authors suggest that future versions could incorporate global structural properties (like centrality) or explore "pseudo-labels" to allow this global-local approach to work for non-classification tasks like regression.

Summary updated

BibTeX
@article{eliasof2024global,
  author = {Moshe Eliasof and Eran Treister},
  title = {{Global-local graph neural networks for node-classification}},
  journal = {Pattern Recognition Letters},
  year = {2024},
  doi = {10.1016/j.patrec.2024.06.013},
}
Figure