GLINKX: A Scalable Unified Framework For Homophilous and Heterophilous Graphs

Marios Papachristou, Rishab Goel, Frank Portman, Matthew Miller, Rong Jin · DOI

Introduction

Graph machine learning often requires specialized architectures depending on the nature of the data. Most graphs fall into two categories: homophilous (where similar nodes connect, like citation networks) and heterophilous (where dissimilar nodes connect, like fraud networks). While Graph Neural Networks (GNNs) excel at the former, they often struggle with the latter and face significant scalability hurdles on massive, billion-node graphs.

GLINKX (Graph-LINK-X) introduces a highly scalable framework that bridges this gap. By decoupling graph structure from the training loop and utilizing a novel "monophilous" label propagation technique, GLINKX achieves state-of-the-art performance across diverse graph types without the computational burden of traditional message-passing.

The Homophily-Heterophily Dilemma

In homophilous settings, deep message-passing models like GCNs leverage neighbor similarity effectively. However, these models suffer from "neighbor explosion" during training on large-scale data. Conversely, heterophilous graphs often favor "shallow" models that prioritize a node's individual features and its specific coordinates within the graph topology.

Node homophily distribution and visual examples of homophilous vs. heterophilous connectivity patterns.

Real-world graphs are rarely purely one or the other; they often contain mixed regions. Existing models typically specialize in one flavor, failing when applied to the other. Furthermore, high-performance spectral methods are often too computationally expensive for industrial-scale applications.

The GLINKX Framework

GLINKX is designed as a "shallow" model, treating graph data like tabular data during the training phase to avoid expensive graph traversals. The framework operates in three distinct stages:

The three-stage GLINKX pipeline: (a) generating positional embeddings, (b) training the monophilous label propagation, and (c) final prediction.
  1. Scalable Positional Embeddings (PEs): To capture global graph structure, GLINKX uses Knowledge Graph Embeddings (KGEs)—specifically the DistMult algorithm. This allows for the rapid pre-computation of a node's "location" in the graph, even for massive networks, serving as a scalable alternative to slow spectral methods.
  2. Monophilous Label Propagation (MLaP): This stage introduces the concept of monophily—the observation that even in heterophilous graphs, a node's 2nd-hop neighbors often share its class. GLINKX trains a small Multi-Layer Perceptron (MLP) to predict the label distribution of a node's neighbors and propagates these "soft labels" back across edges to denoise the signal.
  3. Final Prediction: A final model integrates the node's raw features ($X$), its positional embedding ($P$), and the propagated neighbor information to produce the final classification.

Key Insights

The Power of Monophily

Encoding the 2nd-hop neighborhood provides a universal signal. In homophilous graphs, 2nd-hop neighbors are likely the same class. In heterophilous graphs, they often return to the original class (e.g., a fraudster links to a victim, who is linked to by another fraudster).

Parametric Estimation

A core theoretical contribution of GLINKX is the proof that using a neural network to predict neighbor distributions (Stage 2) yields a lower error bound than simple neighborhood averaging. This parametric approach effectively filters out noise in the graph structure.

Efficiency and Scalability

By moving message passing to a preprocessing step, GLINKX avoids the "neighbor explosion" problem common in GNNs. Training is performed using simple, fast i.i.d. minibatches. Its inference complexity is primarily determined by the number of classes rather than feature dimensionality, making it ideal for large-scale production environments.

Results and Performance

GLINKX demonstrates remarkable versatility, performing at the top of leaderboards for both homophilous datasets (like PubMed and ogbn-arxiv) and heterophilous datasets (like squirrel and yelp-chi). Unlike models such as FSGNN, which see performance drops on heterophilous tasks, GLINKX remains robust across all benchmarks.

Future Directions

While GLINKX currently focuses on transductive settings and homogeneous graphs, future work could extend the framework to dynamic, evolving graphs and heterogeneous networks with multiple entity types. Additionally, replacing simple averaging with more expressive aggregation techniques, such as attention mechanisms, may further enhance its predictive power.

Summary updated

BibTeX
@inproceedings{papachristou2023glinkx,
  author = {Marios Papachristou and Rishab Goel and Frank Portman and Matthew Miller and Rong Jin},
  title = {{GLINKX: A Scalable Unified Framework For Homophilous and Heterophilous Graphs}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=ZaQrYalGFIh},
}
Figure