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

Exploring Edge Disentanglement for Node Classification

Tianxiang Zhao, Xiang Zhang, Suhang Wang · DOI

Abstract

Edges in real-world graphs are typically formed by a variety of factors and carry diverse relation semantics. For example, connections in a social network could indicate friendship, being colleagues, or living in the same neighborhood. However, these latent factors are usually concealed behind mere edge existence due to the data collection and graph formation processes. Despite rapid developments in graph learning over these years, most models take a holistic approach and treat all edges as equal. One major difficulty in disentangling edges is the lack of explicit supervisions. In this work, with close examination of edge patterns, we propose three heuristics and design three corresponding pretext tasks to guide the automatic edge disentanglement. Concretely, these self-supervision tasks are enforced on a designed edge disentanglement module to be trained jointly with the downstream node classification task to encourage automatic edge disentanglement. Channels of the disentanglement module are expected to capture distinguishable relations and neighborhood interactions, and outputs from them are aggregated as node representations. The proposed DisGNN is easy to be incorporated with various neural architectures, and we conduct experiments on 6 real-world datasets. Empirical results show that it can achieve significant performance gains.

Introduction

Most Graph Neural Networks (GNNs) treat all connections between nodes as equal, ignoring the underlying diversity of real-world relationships. In a standard social network, an edge might represent friendship, professional collaboration, or shared interests. Standard GNNs typically adopt a "holistic" approach, aggregating information across all edges using uniform mathematical weights. This "one-size-fits-all" strategy fails to capture rich, latent semantics, often leading to noisy node representations.

The primary challenge in addressing this is the absence of "ground truth" labels for edge types. While we recognize that relationships are heterogeneous, we lack explicit data to categorize them. DisGNN (Disentangled GNN) addresses this by introducing a multi-channel architecture that automatically "disentangles" these latent edge types using three novel self-supervised pretext tasks, improving downstream node classification without requiring manual edge labels.

Methodology

DisGNN replaces standard GNN layers with a multi-channel disentanglement module where each channel specializes in a specific relationship type. To guide this unsupervised process, the authors introduce three Self-Supervised Learning (SSL) pretext tasks:

  1. Edge Recovery: To ensure structural integrity, the union of all disentangled edge types must be able to reconstruct the original input graph.
  2. Label Conformity: This task leverages the heuristic that edges connecting nodes of the same class (homo-edges) likely carry different semantics than those connecting nodes of different classes (hetero-edges). The model is encouraged to partition these types into separate channels.
  3. Channel Difference: A discriminator is employed to ensure that node representations produced by different channels are statistically distinguishable, preventing redundancy across the multi-channel architecture.
The DisGNN architecture overview, illustrating the disentanglement module and the three integrated SSL pretext tasks.

The model is trained end-to-end, optimizing for node classification while simultaneously satisfying these self-supervised constraints.

Experimental Results

DisGNN was evaluated across six diverse datasets, including citation networks (Cora), social networks (BlogCatalog), and Wikipedia subgraphs (Squirrel, Chameleon). The model consistently outperformed standard GNN baselines like GCN and GraphSage, as well as specialized disentanglement models like FactorGCN.

Key performance highlights include:

  • Accuracy Gains: DisGNN achieved a 1.71% improvement on BlogCatalog and a 1.41% boost on IMDB over the best baselines.
  • Robustness to Heterophily: On the Chameleon dataset, which is characterized by high heterophily, DisGNN improved accuracy by 1.72% compared to an ablation version without SSL tasks.

Qualitative analysis confirms that the channels successfully specialize. As shown in Figure 6, the correlation matrix for DisGNN reveals a distinct block structure, indicating that channels have specialized into groups (likely corresponding to the homo- and hetero-edge heuristics) compared to the more uniform correlation seen in the base model.

Correlation matrices of channel representations for DisGNN_Base and DisGNN. The block structure in (b) demonstrates successful specialization and disentanglement.

Discussion and Conclusion

The core innovation of DisGNN lies in using heuristics like "Label Conformity" to provide training signals for latent edge semantics. Unlike multi-head attention mechanisms which often converge to redundant patterns, DisGNN’s SSL tasks provide the necessary pressure for true channel specialization. While the current implementation uses a fixed 50/50 split for channel roles and introduces some computational overhead, it demonstrates a powerful, architecture-agnostic approach to enhancing GNN performance through edge disentanglement. Future work will focus on dynamic channel allocation and scaling the model for larger graph structures.

Summary updated

BibTeX
@inproceedings{zhao2022exploring,
  author = {Tianxiang Zhao and Xiang Zhang and Suhang Wang},
  title = {{Exploring Edge Disentanglement for Node Classification}},
  booktitle = {The Web Conference},
  year = {2022},
  doi = {10.1145/3485447.3511929},
}
Figure