Abstract
Standard Graph Neural Networks (GNNs) typically rely on the homophily assumption, where connected nodes share similar features and labels. However, many real-world graphs exhibit heterophily, where "opposites attract," causing traditional aggregation methods to fail. This paper introduces EVAGNN (Ego-node Vicinity Adaptive GNN), a novel architecture that leverages a self-attention mechanism to analyze the unique feature distribution of a node's multi-hop neighborhood—its "vicinity." By dynamically adjusting information aggregation based on local structural context, EVAGNN achieves significant performance gains on heterophily-heavy datasets, outperforming state-of-the-art models by up to 14.68% on specific benchmarks.
Introduction
Most classic GNNs, such as GCN and GAT, are built on the principle of homophily: the idea that connected nodes are likely to be similar. In citation networks, for instance, an AI paper likely cites other papers about AI. In such scenarios, simple neighborhood averaging is effective. However, many real-world graphs are heterophilous, meaning connected nodes often have different labels (e.g., dating apps or molecular structures). In these cases, uniform averaging "washes out" critical signals. EVAGNN addresses this by adapting to the specific "neighborhood personality" of each node.
Methods
The core innovation of EVAGNN is the Vicinity Feature extraction and adaptive weighting:
- Multi-hop Feature Extraction: For each ego-node, the model calculates aggregated features for neighbors at varying distances (1-hop, 2-hop, up to $k$-hops).
- Vicinity Context: These multi-hop features are concatenated to describe the distribution of characteristics around the node.
- Adaptive Weighting via Self-Attention: Using a Transformer-style mechanism, EVAGNN treats vicinity features as Queries, Keys, and Values to calculate dynamic convolution weights. This allows the model to prioritize neighbor signals based on local context.
- Separate Ego-Encoding: To prevent a node's identity from being smothered by dissimilar neighbors, EVAGNN processes ego-node features through a separate MLP before combination.
Results and Key Insights
The researchers evaluated EVAGNN on nine benchmarks, including heterophily datasets (Texas, Wisconsin, Cornell, Chameleon, Squirrel, Film) and homophily datasets (Citeseer, Pubmed, Cora).
EVAGNN demonstrated superior performance on heterophily-heavy tasks, particularly on the Squirrel and Chameleon datasets, where it outperformed all baselines. In synthetic tests using the "syn-products" dataset, the model maintained high accuracy even as the homophily ratio approached zero, demonstrating robustness where traditional GNNs collapsed.
A key insight from the study is that in heterophily graphs, nodes with the same label do not necessarily share the same types of neighbors. By analyzing the distribution of features across multiple hops, the model distinguishes between nodes that appear identical under simple aggregation. Furthermore, the ablation study highlighted that the separate MLP for the ego-node is essential; in heterophily, the node itself is often the most reliable source of information.
Limitations and Future Work
While EVAGNN is a powerhouse for heterophily, it performs comparably to, but does not significantly beat, traditional methods on homophily-heavy graphs like Cora. Future work aims to improve performance across both extremes and explore deeper aggregation strategies for more distant neighbors. Additionally, the authors noted that performance on datasets like "Film" was limited by label imbalance, suggesting a need for more robust handling of skewed class distributions.
Summary updated