Investigating Neighborhood Modeling and Asymmetry Preservation in Digraph Representation Learning

Honglu Zhou, Advith Chegu, Samuel S. Sohn, Mubbasir Kapadia

TL;DR

This paper introduces D-HYPR, a novel Graph Neural Network (GNN) architecture designed for learning representations of directed graphs (digraphs). D-HYPR tackles two key challenges in digraph representation learning: effectively modeling diverse node neighborhoods and preserving the inherent asymmetry of directed relationships, leading to state-of-the-art performance across multiple downstream tasks.

What Problem Does This Paper Address?

Learning meaningful representations for directed graphs (digraphs) is crucial for understanding complex real-world networks like social media, citation networks, and web page structures. However, existing methods often struggle with digraphs for two main reasons:

  1. Neighborhood Modeling: Standard GNNs typically treat graphs as undirected or only consider immediate neighbors, failing to capture the rich, often distinct, semantics of incoming (followers) versus outgoing (following) relationships. This can lead to a loss of crucial structural information.
  2. Asymmetry Preservation: Many common embedding techniques inherently assume symmetry, meaning the relationship between node A and node B is the same as between B and A. This is problematic for digraphs where directionality is key (e.g., a citation from A to B doesn't imply a citation from B to A). Failing to preserve this asymmetry leads to poor performance on tasks like link prediction.

Prior work has attempted to address these issues separately, but often with limitations such as being restricted to acyclic graphs, requiring transductive learning (meaning they can't generalize to new, unseen nodes), or lacking generalizability across different tasks.

Methods

D-HYPR introduces several novel components to address the aforementioned challenges:

  • Hyperbolic Geometry: The core of D-HYPR leverages hyperbolic geometry. This non-Euclidean space is particularly well-suited for representing hierarchical and scale-free structures common in real-world digraphs, offering lower distortion of node neighborhoods compared to Euclidean space.
  • Multi-Ordered and Partitioned Neighborhoods: D-HYPR defines four canonical types of k-order proximity matrices (diffusion in/out, common in/out) to capture a richer set of neighborhood relationships. This allows the model to consider more diverse and multi-scale information about a node's connections.
  • Neighborhood Collaborative Learning: The representations learned from these different neighborhood types are then fused and aggregated in hyperbolic space, enabling a more holistic understanding of a node's role and context within the digraph.
  • Asymmetry-Preserving Regularizers: To explicitly enforce asymmetry, D-HYPR employs self-supervised learning with two regularizers inspired by socio-psychological theories:
  • Fermi-Dirac Decoder: This regularizer encourages appropriate node-pair distances in hyperbolic space, reflecting the "homophily" principle (similar nodes attract).
  • Gravity Regularizer: This regularizer learns a "mass" for each node, modeling the "preferential attachment" principle (nodes with higher connectivity are more likely to form new links), and is derived from Newton's law of gravitation. These regularizers help the model learn directed link formation probabilities.

Datasets

The paper evaluates D-HYPR on 8 real-world homogeneous digraph datasets:

  • Link Prediction (LP) Task: Air, Blog, Survey, Cora, DBLP
  • Node Classification (NC) Task: CiteSeer, Cora-ML, Wiki

These datasets cover various domains and sizes, providing a comprehensive benchmark.

Key Insights and Ideas

  • Hyperbolic Space is Key for Digraphs: The paper strongly suggests that hyperbolic geometry is not just an alternative but a superior choice for learning representations in complex, hierarchical digraphs, leading to less distortion and better neighborhood capture.
  • Diverse Neighborhoods Matter: Simply looking at immediate neighbors or treating a digraph as undirected is insufficient. D-HYPR's success hinges on its ability to model and integrate information from multiple types of partitioned and ordered neighborhoods.
  • Sociopsychology as a Guide for Regularization: Using principles like homophily and preferential attachment, translated into hyperbolic space via Fermi-Dirac and Gravity regularizers, provides a powerful self-supervised signal to enforce the crucial asymmetry in directed links.
  • Generalizability is Achievable: D-HYPR demonstrates strong performance across multiple tasks (node classification, link prediction, link sign prediction) and on digraphs with cycles and non-transitive relations, overcoming a major limitation of prior DRL methods.

Key Results

D-HYPR consistently and statistically significantly outperforms 21 prior techniques across the evaluated datasets and tasks.

  • Link Prediction: Achieved the highest relative gain of 21.43% on AP over the Cora dataset compared to baselines, even with low-dimensional embeddings.
  • Node Classification: Showed remarkable effectiveness in low-dimensionality regimes and remained the best method at higher dimensions.
  • Link Sign Prediction: Demonstrated strong performance, particularly on the Wiki dataset.
  • Embedding Visualization: PCA projections of D-HYPR embeddings showed significantly better class separation compared to other methods, indicating that D-HYPR captures node semantics more effectively.
  • Parameter Sensitivity: D-HYPR's performance was robust to variations in its key hyperparameters (λ and K), suggesting its stability.

Limitations and Future Work

  • Increased Parameters: The paper acknowledges that D-HYPR has a higher number of parameters due to its multi-neighborhood approach.
  • Future Work: The authors suggest exploring automatic and dynamic neighborhood partitioning, parameter-sharing mechanisms to reduce complexity, and conducting theoretical analyses and large-scale applications of D-HYPR.

Summary updated

BibTeX
@inproceedings{zhou2022investigating,
  author = {Honglu Zhou and Advith Chegu and Samuel S. Sohn and Mubbasir Kapadia},
  title = {{Investigating Neighborhood Modeling and Asymmetry Preservation in Digraph Representation Learning}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2022},
  doi = {10.1145/3511808.3557344},
}
Figure