Introduction
Graph Neural Networks (GNNs) have traditionally been built on the homophily assumption: the principle that connected nodes are likely to share similar features or labels. However, many real-world graphs, such as transaction networks or protein-protein interactions, are heterophilous, meaning edges frequently connect nodes of different classes.
While conventional wisdom suggests that standard message passing—which averages neighbor features—should fail in heterophilous settings by smoothing out distinct class signals, many recent heterophilous GNNs (HTGNNs) continue to use it effectively. This paper investigates this "Heterophily Paradox" and proposes a unified framework and a novel model to address it.
The HTMP Framework
To understand the success of existing models, the authors introduce the Heterophilous Message-Passing (HTMP) framework. This framework unifies 13 diverse HTGNNs into a standardized three-step process:
- Aggregating: Collecting messages using specific neighborhood indicators to guide the process.
- Combining: Integrating messages from different neighborhood types (e.g., structural vs. feature-based similarity).
- Fusing: Merging intermediate representations across multiple layers to preserve multi-scale information.
The Role of the Compatibility Matrix
A key insight of this work is that the performance of message passing depends heavily on the Compatibility Matrix (CM), which represents the probability of edges existing between different node classes. If the CM is highly discriminative—meaning the pattern of connections between classes is distinct and unique—message passing can still provide useful signals even if the neighbors themselves are dissimilar.
The Challenge of Semantic Overlap
The authors argue that the primary bottleneck in heterophilous graphs is not heterophily itself, but semantic neighborhood overlap. In many datasets, nodes from different classes may have nearly identical neighbor distributions due to noise or random connections. This overlap makes it difficult for a model to distinguish between classes based on neighborhood information alone, regardless of the level of heterophily.
CMGNN: Explicitly Leveraging the Matrix
Building on these insights, the authors propose CMGNN (Compatibility Matrix-aware GNN). Unlike previous models that implicitly enhance the CM, CMGNN does so explicitly through two main components:
- Virtual Prototypes: The model constructs "desired neighborhood messages" using class prototypes, providing clean and representative signals that bypass noisy local neighborhoods.
- Discrimination Loss: A targeted constraint is introduced to ensure the learned compatibility matrix remains highly discriminative, facilitating better class separation even in noisy environments.
Experimental Results
The authors evaluated CMGNN against 13 state-of-the-art baselines on a newly standardized benchmark of 10 datasets (5 heterophilous and 5 homophilous). CMGNN achieved the best performance on 6 out of 10 datasets and secured the top average rank (2.1). Notably, the model showed significant robustness on low-degree nodes, where incomplete neighborhood information is compensated for by the estimated compatibility matrix and virtual prototypes.
Conclusion
This research clarifies the "Heterophily Paradox" by highlighting the importance of the Compatibility Matrix. By shifting the focus from simply "fixing" message passing to explicitly enhancing the discriminability of connection patterns, CMGNN sets a new standard for performance across diverse graph structures. The HTMP framework further provides a modular blueprint for future GNN research and design.
Summary updated