Directed Homophily-Aware Graph Neural Network
Aihu Zhang, Jiaxing Xu, Mengcheng Lan, Shili Xiang, Yiping Ke
TL;DR
DHGNN tackles the challenges of heterophily and directionality in graphs by employing two independently trained encoders for forward and backward directions, a resettable homophily-aware gating mechanism, and a structure-aware noise-tolerant fusion that adaptively integrates directional embeddings. The model introduces auxiliary losses to maintain balance and disentanglement between branches, enabling robust learning across varying hop-level homophily. Empirical results on five datasets show DHGNN achieving state-of-the-art performance for node classification and link prediction, with interpretable gating behavior that reveals directional homophily gaps and non-monotonic layer-wise dynamics. The work advances directed-graph learning by effectively harnessing long-range and direction-specific signals, with potential for broader domain applicability and scalable deployment.
Abstract
Graph Neural Networks (GNNs) have achieved significant success in various learning tasks on graph-structured data. Nevertheless, most GNNs struggle to generalize to heterophilic neighborhoods. Additionally, many GNNs ignore the directional nature of real-world graphs, resulting in suboptimal performance on directed graphs with asymmetric structures. In this work, we propose Directed Homophily-aware Graph Neural Network (DHGNN), a novel framework that addresses these limitations by incorporating homophily-aware and direction-sensitive components. DHGNN employs a resettable gating mechanism to adaptively modulate message contributions based on homophily levels and informativeness, and a structure-aware noise-tolerant fusion module to effectively integrate node representations from the original and reverse directions. Extensive experiments on both homophilic and heterophilic directed graph datasets demonstrate that DHGNN outperforms state-of-the-art methods in node classification and link prediction. In particular, DHGNN improves over the best baseline by up to 15.07\% in link prediction. Our analysis further shows that the gating mechanism captures directional homophily gaps and fluctuating homophily across layers, providing deeper insights into message-passing behavior on complex graph structures.
