Simplifying Node Classification on Heterophilous Graphs with Compatible Label Propagation

Zhiqiang Zhong, Sergey Ivanov, Jun Pang · DOI

TL;DR

This paper introduces Compatible Label Propagation (CLP), a novel method for node classification on graphs where nodes tend to connect to dissimilar classes (heterophily). CLP combines a simple neural network's predictions with a modified Label Propagation algorithm that learns class compatibility, achieving state-of-the-art performance with significantly fewer parameters and faster execution times than existing Graph Neural Networks (GNNs).

What Problem Does This Paper Address?

Node classification, a fundamental task in graph machine learning, aims to predict the class label of nodes in a graph. Traditional methods often assume homophily, meaning nodes with similar labels tend to be connected. However, many real-world graphs exhibit heterophily, where nodes are more likely to connect to nodes of different classes (e.g., social networks, citation networks). While Graph Neural Networks (GNNs) have excelled in homophilous settings, they often struggle with heterophilous graphs. Even recent GNNs designed for heterophily can be complex, parameter-heavy, and slow. Simpler methods like Label Propagation (LP) combined with shallow neural networks perform well on homophilous graphs but falter on heterophilous ones. This paper addresses the challenge of effectively performing node classification on heterophilous graphs while maintaining simplicity and efficiency.

Methods

The core of this work is the Compatible Label Propagation (CLP) algorithm. It's a three-step process:

  1. Base Predictor: A simple, graph-agnostic model (like a Multi-Layer Perceptron or MLP) is trained solely on node features to generate initial class probability predictions for all nodes. This leverages the signal from node attributes, which is crucial for heterophilous graphs.
  2. Compatibility Matrix Estimation: A compatibility matrix (H) is learned. This matrix quantifies the likelihood of nodes from one class connecting to nodes of another class. It's estimated using the base predictions and the graph structure. This is a key innovation, as it explicitly models the class relationships in heterophilous graphs.
  3. Compatible Label Propagation: The initial predictions are then smoothed and refined using a modified Label Propagation algorithm. Crucially, the propagation weights are not uniform but are guided by the learned compatibility matrix and the prior predictions. This allows the algorithm to adapt to the heterophilous nature of the graph, unlike standard LP.

CLP offers a closed-form solution and theoretical guarantees for convergence, making it both theoretically sound and practically efficient.

Datasets

The authors evaluated CLP on a diverse set of datasets:

  • Real-world datasets: 19 datasets were used, covering various domains like web-page, citation, co-author, flight transport, and biomedical networks. These include well-known benchmarks like Texas, Wisconsin, Actor, Squirrel, Chameleon, USA-Airports, Wiki, Cornell, Europe-Airports, deezer-europe, Twitch-EN, Twitch-RU, Ogbn-Proteins, WikiCS, DBLP, CS, and ACM.
  • Synthetic datasets: These were generated to control homophily levels and graph sparsity, allowing for systematic evaluation. They included datasets with and without contextual node features.

Key Insights and Ideas

  • Heterophily is a major challenge for GNNs: The paper empirically demonstrates that even advanced GNNs designed for heterophily can underperform simple MLPs on nodes within highly heterophilous subgraphs.
  • Node features are critical for heterophily: MLPs, which solely rely on node features, show surprising resilience and even superiority in certain heterophilous scenarios, highlighting the importance of attribute information.
  • Explicitly modeling class compatibility is key: CLP's innovation lies in learning a compatibility matrix that captures inter-class connection probabilities. This allows the propagation process to intelligently weigh connections, rather than assuming homophily.
  • LP can be adapted for heterophily: By combining a strong base predictor with a compatibility-aware LP, the authors show that a classic, efficient algorithm can be made competitive on complex heterophilous graphs.
  • Simplicity and efficiency matter: CLP achieves state-of-the-art results with significantly fewer parameters and faster training times compared to many GNNs, making it more practical for real-world applications.

Key Results

  • State-of-the-art performance: CLP achieved leading performance on a wide variety of heterophilous and homophilous benchmarks, often outperforming or matching existing GNNs.
  • Efficiency gains: CLP required orders of magnitude fewer parameters and significantly less execution time compared to competitive GNN models like H2GCN. For instance, on Brazil-Airports and Wisconsin, CLP achieved better accuracy with substantially fewer parameters and faster training.
  • Robustness: CLP demonstrated stable performance across different homophily levels and splitting strategies (sparse, medium, dense).
  • MLP's surprising strength: The paper confirms that MLPs can be competitive on highly heterophilous subgraphs, a finding that motivated CLP's design.

Limitations and Future Work

  • Compatibility matrix estimation: The paper notes that the quality of the compatibility matrix estimation is influenced by the label rate. Higher label rates lead to better performance and more accurate matrix estimation.
  • Future work: The authors suggest investigating improved compatibility matrix estimation techniques that leverage prior predictions and graph structure more effectively. They also plan to generalize CLP to heterophilous regression problems on graphs.

Summary updated

BibTeX
@article{zhong2022simplifying,
  author = {Zhiqiang Zhong and Sergey Ivanov and Jun Pang},
  title = {{Simplifying Node Classification on Heterophilous Graphs with Compatible Label Propagation}},
  journal = {Accepted by TMLR},
  year = {2022},
  url = {https://openreview.net/forum?id=JBuCfkmKYu},
}
Figure