Abstract
Graph Neural Networks (GNNs) have been predominant for graph learning tasks; however, recent studies showed that a well-known graph algorithm, Label Propagation (LP), combined with a shallow neural network can achieve comparable performance to GNNs in semi-supervised node classification on graphs with high homophily. In this paper, we show that this approach falls short on graphs with low homophily, where nodes often connect to the nodes of the opposite classes. To overcome this, we carefully design a combination of a base predictor with LP algorithm that enjoys a closed-form solution as well as convergence guarantees. Our algorithm first learns the class compatibility matrix and then aggregates label predictions using LP algorithm weighted by class compatibilities. On a wide variety of benchmarks, we show that our approach achieves the leading performance on graphs with various levels of homophily. Meanwhile, it has orders of magnitude fewer parameters and requires less execution time.
Introduction
Most Graph Neural Networks are built on the assumption of homophily: the idea that connected nodes likely share the same label (e.g., "friends of friends are similar"). However, many real-world graphs are heterophilous, meaning connected nodes often belong to different classes—such as in dating networks, fraud detection, or protein-protein interactions.
Standard GNNs and traditional Label Propagation (LP) algorithms often fail on these graphs because they "smooth" features or labels across edges, effectively washing out the distinct signals of different classes. While researchers have proposed complex GNN architectures to address this, these models are often computationally expensive, hard to interpret, and prone to "over-smoothing." This paper introduces Compatible Label Propagation (CLP), a simple yet powerful alternative that achieves high performance on heterophilous graphs by upgrading the classic LP algorithm with a learned compatibility matrix.
Methods
The authors propose a three-step pipeline called Compatible Label Propagation (CLP) that integrates node features and graph structure effectively without the complexity of deep message-passing architectures.
- Base Prediction: Instead of starting with the graph structure, the model trains a simple Multi-Layer Perceptron (MLP) using only node features. This provides a "prior" probability for each node's class without being biased by potentially misleading neighbors in heterophilous settings.
- Compatibility Matrix Estimation: They estimate a global matrix ($H$) that captures the probability of a node of class $i$ connecting to a node of class $j$. For example, in a heterophilous graph, $H$ might show that class A is highly likely to connect to class B rather than another A. They use the Sinkhorn-Knopp function to ensure this matrix is mathematically well-behaved (doubly-stochastic).
- Compatible Label Propagation: Finally, they perform label propagation where the "weight" of an edge between two nodes is determined by the compatibility of their predicted classes. Unlike previous methods that only look at the "sender" node, CLP considers the predicted classes of both the sender and the receiver to refine the final labels.
Key Insights
A core innovation of CLP is the realization that in heterophilous graphs, a neighbor with a different label isn't "noise"—it's a signal. If the compatibility matrix knows that Class A usually connects to Class B, seeing a Class B neighbor actually increases the confidence that the current node is Class A.
Theoretical analysis confirms that this process has a closed-form solution and guaranteed convergence, providing a level of interpretability and mathematical foundation often missing in "black-box" GNNs. Furthermore, because the "learning" happens in a shallow MLP and the graph part is a fixed propagation step, CLP is incredibly lightweight, avoiding the heavy memory overhead of deep message-passing layers.
Key Results
- Top-Tier Accuracy: CLP achieved the best or second-best performance on almost all 19 real-world benchmarks, outperforming specialized heterophily GNNs like H2GCN and GPRGNN.
- Scalability: On the large Ogbn-Proteins dataset, many baseline GNNs ran out of memory (OOM). CLP not only ran successfully but achieved top performance.
- Efficiency: CLP achieves higher accuracy than complex models while using orders of magnitude fewer parameters and requiring significantly less execution time than standard GNN architectures.
Conclusion
Compatible Label Propagation demonstrates that complex GNN architectures are not always necessary for high-performance node classification on diverse graphs. By simply augmenting Label Propagation with a learned compatibility matrix, CLP provides a scalable, efficient, and theoretically sound solution. Future work will explore local compatibility patterns and extending the framework to regression tasks.
Summary updated