NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Breaking the Entanglement of Homophily and Heterophily in Semi-supervised Node Classification

Henan Sun, Xunkai Li, Zhengyu Wu, Daohan Su, Rong-Hua Li, Guoren Wang

Graph Neural Networks (GNNs) have traditionally relied on the homophily assumption—the principle that connected nodes share similar attributes or labels. However, real-world graphs, such as predator-prey networks or financial transactions, often exhibit heterophily, where connections link dissimilar nodes. Furthermore, these graphs are frequently directed (digraphs), adding a layer of complexity. This paper introduces a novel framework comprising AMUD (Adaptively Modeling Undirected or Directed) and ADPA (Adaptive Directed Pattern Aggregation) to address the "entanglement" of homophily and heterophily in directed graph learning.

The Challenge of Directed Heterophily

Standard GNN approaches often simplify directed graphs by treating all edges as undirected. While this reduces computational complexity, it causes an irreversible loss of structural information. Conversely, strictly adhering to directed edges can sometimes introduce noise, especially when the directed nature of an edge obscures underlying homophilous patterns. The core problem is determining when directed information is beneficial and how to effectively aggregate it.

Methods: The AMUD-ADPA Framework

The proposed solution is a two-stage pipeline that first evaluates the graph's topological signal and then applies a specialized architecture for directed learning.

The AMUD framework directs graph data into either an undirected or directed GNN paradigm based on topological signals.

1. AMUD: Statistical Guidance for Graph Engineering

AMUD acts as a "pre-flight" check for graph data. It utilizes the coefficient of determination ($R^2$) to quantify the correlation between a graph's topology and its node features or labels. By calculating a guidance score $S$, the framework determines whether the directed structure provides a clear signal for heterophily.

AMUD uses statistical correlations between graph topology and node features to calculate a guidance score for modeling decisions.

As shown in Figure 6, AMUD examines various adjacency matrix products (e.g., $A_d A_d^T$, $A_d^T A_d$) to capture different connectivity patterns. If the signal is strong, the graph remains directed (Paradigm II); otherwise, it is transformed into an undirected representation to simplify learning (Paradigm I).

2. ADPA: Adaptive Directed Pattern Aggregation

For graphs that retain their directed structure, the authors developed ADPA. This model moves beyond simple "in" and "out" neighbor aggregation by using Directed Patterns (DPs)—2-hop connectivity patterns that capture more nuanced structural relationships.

ADPA features:

  • Decoupled Propagation: Feature propagation is separated from neural network training, enhancing efficiency.
  • Hierarchical Attention: A dual-level attention mechanism allows the model to adaptively weight different directed patterns and determine the optimal "hop" distance for each node.

Experimental Evaluation

The framework was tested on 16 benchmark datasets, spanning both homophilous (e.g., CoraML, CiteSeer) and heterophilous (e.g., Texas, Chameleon) domains.

Key results include:

  • Performance Gains: AMUD’s guidance led to a 4.57% improvement over arbitrary modeling choices.
  • State-of-the-Art Results: ADPA outperformed leading baselines by an average of 4.16% on directed modeling tasks.
  • Robustness: The model maintained high accuracy even under conditions of data sparsity or missing edges.

Conclusion

The AMUD-ADPA framework effectively "disentangles" homophily and heterophily by using statistical guidance to inform graph engineering. By recognizing that directedness is a "double-edged sword"—essential for heterophily but potentially distracting for homophily—the authors provide a robust path forward for more accurate and efficient graph representation learning.

Summary updated

BibTeX
@inproceedings{sun2023breaking,
  author = {Henan Sun and Xunkai Li and Zhengyu Wu and Daohan Su and Rong-Hua Li and Guoren Wang},
  title = {{Breaking the Entanglement of Homophily and Heterophily in Semi-supervised Node Classification}},
  booktitle = {ICDE},
  year = {2023},
}
Figure