Abstract
Graph homophily refers to the phenomenon that connected nodes tend to share similar characteristics. Understanding this concept and its related metrics is crucial for designing effective Graph Neural Networks (GNNs). The most widely used homophily metrics, such as edge or node homophily, quantify such "similarity" as label consistency across the graph topology. These metrics are believed to be able to reflect the performance of GNNs, especially on node-level tasks. However, many recent studies have empirically demonstrated that the performance of GNNs does not always align with homophily metrics, and how homophily influences GNNs still remains unclear and controversial. Then, a crucial question arises: What is missing in our current understanding of homophily? To figure out the missing part, in this paper, we disentangle the graph homophily into 3 aspects: label, structural, and feature homophily, providing a more comprehensive understanding of GNN performance. To investigate their synergy, we propose a Contextual Stochastic Block Model with 3 types of Homophily (CSBM-3H), where the topology and feature generation are controlled by the 3 metrics. Based on the theoretical analysis of CSBM-3H, we derive a new composite metric, named Tri-Hom, that considers all 3 aspects and overcomes the limitations of conventional homophily metrics. The theoretical conclusions and the effectiveness of Tri-Hom have been verified through synthetic experiments on CSBM-3H. In addition, we conduct experiments on 31 real-world benchmark datasets and calculate the correlations between homophily metrics and model performance. Tri-Hom has significantly higher correlation values than 17 existing metrics that only focus on a single homophily aspect, demonstrating its superiority and the importance of homophily synergy.
Introduction
In the study of Graph Neural Networks (GNNs), the "homophily assumption"—the idea that connected nodes tend to share the same labels—has long served as a foundational principle. While GNNs typically excel on homophilic graphs, their performance on heterophilic graphs (where connected nodes have different labels) is often unpredictable. Recent empirical evidence has shown that GNNs can sometimes perform well on heterophilic graphs and poorly on homophilic ones, suggesting that traditional metrics like edge and node homophily are insufficient. This paper addresses the question: "What is missing in our current understanding of homophily?" by disentangling the concept into three distinct dimensions: label, structural, and feature homophily.
Disentangling Graph Homophily
Traditional metrics focus almost exclusively on label consistency, ignoring the rich information present in graph topology and node features. The authors propose a more nuanced view by identifying three pillars of homophily:
- Label Homophily ($h_L$): The standard measure of label consistency across edges.
- Structural Homophily ($h_S$): Measures whether nodes of the same class share similar neighborhood distributions. High structural homophily implies that even if neighbors have different labels, the pattern of those labels is consistent for a given class, allowing GNNs to learn effective representations.
- Feature Homophily ($h_F$): Captures the dependency of node features on the graph topology, distinguishing between intrinsic node features and those influenced by the neighborhood.
To theoretically ground these concepts, the authors introduce the Contextual Stochastic Block Model with 3 types of Homophily (CSBM-3H). This model allows for independent control over label, structural, and feature dependencies. From this framework, they derive Tri-Hom, a composite metric that mathematically integrates all three aspects to quantify "node distinguishability."
As shown in the figure above, the theoretical distinguishability metric $\mathcal{J}_h^g$ captures the complex interplay between $h_L$ and $h_F$ at a fixed level of structural homophily, providing a more accurate predictor of GNN success than label homophily alone.
Experimental Validation and Key Insights
The effectiveness of Tri-Hom was evaluated across 31 real-world benchmark datasets and thousands of synthetic graphs generated via CSBM-3H.
The Power of Synergy
A key finding is that GNN performance is driven by the synergy of these three homophily types. For instance, high structural homophily can compensate for low label homophily. Conversely, GNNs often struggle at "mid-homophily" levels (around $1/C$, where $C$ is the number of classes), where topological noise is maximized and class boundaries are most ambiguous.
The empirical results in the figure above mirror the theoretical predictions, showing how GCN accuracy varies across the three-dimensional homophily space. The alignment between empirical accuracy and the theoretical metric $\mathcal{J}_h^g$ validates the Tri-Hom framework.
Superior Correlation
Tri-Hom significantly outperforms existing metrics in predicting model performance. Across 31 real-world datasets, it achieved an average rank of 1.50 in correlation with accuracy for models like GCN, GAT, and GraphSage. In contrast, traditional edge homophily ranked 6.25, and many feature-based metrics performed even worse, often ranking as low as 19.00.
Conclusion
By disentangling homophily into label, structural, and feature components, this work provides a comprehensive framework for understanding GNN behavior. The proposed Tri-Hom metric offers a robust tool for predicting model performance and diagnosing why GNNs succeed or fail on specific datasets. Future work may extend this framework to handle class-imbalanced graphs and non-linear feature dependencies, further refining our understanding of graph data structures.
Summary updated