Collaborative Bi-Aggregation for Directed Graph Embedding

Linsong Liu, Kejia Chen, Zheng LiuarXiv 2022 · DOI

TL;DR

This paper introduces COBA, a novel method for embedding directed graphs that addresses the challenge of learning representations for nodes with few or no incoming/outgoing edges. COBA achieves this by employing a "collaborative bi-directional aggregation" strategy that leverages both forward and reverse neighbor information and explicitly models the correlation between a node's source and target embeddings.

What Problem Does This Paper Address?

Directed graphs are everywhere, from social networks to citation networks, and they capture asymmetric relationships. Understanding these relationships is crucial for tasks like link prediction and node classification. Traditional graph embedding methods often struggle with directed graphs because they either ignore edge directionality or treat source and target nodes separately. A significant challenge arises with "low-degree" nodes (those with very few incoming or outgoing edges), which are common in sparse real-world graphs. Learning meaningful representations for these nodes is difficult, leading to performance degradation in downstream tasks. Existing methods have tried to tackle this, but they often fail to fully capture the nuances of directed relationships or the inherent connection between a node's outgoing and incoming connections.

Methods

COBA introduces a "collaborative bi-directional aggregation" strategy built upon spatial-based graph convolution. Here's a breakdown of its key components:

  • Bi-Directional Aggregation: This is the core idea. For a central node, COBA learns its source embedding by aggregating information from its source neighbors (nodes pointing to it) and its target embedding by aggregating from its target neighbors (nodes it points to). This respects the directionality of edges.
  • Reverse Aggregation: To handle nodes with zero in- or out-degree, COBA introduces a "reverse aggregation" step. If a node lacks source neighbors, its source embedding can be informed by its target neighbors, and vice-versa. This ensures that even isolated nodes can learn from their local context.
  • Collaborative Aggregation: Recognizing that a node's source and target embeddings are not entirely independent (they both represent the same underlying node), COBA adds a "collaborative aggregation" step. This step explicitly models the correlation between a node's source and target embeddings, allowing them to mutually inform each other's learning.

These aggregation strategies are integrated into a spatial-based graph convolution framework, which is well-suited for directed graphs due to its ability to handle asymmetric relationships.

Datasets

The authors evaluated COBA on six real-world datasets:

  • Jung: A software dataset representing dependencies between Java classes.
  • Wikivote: A social network based on user voting relationships.
  • Google: A web graph where nodes are websites and edges represent hyperlinks.
  • Cora: A citation network where nodes are academic papers and edges represent citations.
  • Amazon-Photo: A co-purchase graph where nodes are products and edges indicate co-purchase relationships.
  • Pubmed: Another citation network.

These datasets vary in scale and sparsity, providing a comprehensive testbed for the proposed method.

Key Insights and Ideas

  • The "Zero-Degree" Node Problem is Real and Solvable: The paper highlights that nodes with very few connections are a significant bottleneck in directed graph embedding. COBA's reverse aggregation strategy directly addresses this, showing that even limited connectivity can be leveraged.
  • Source and Target Embeddings Aren't Independent: The "aha moment" here is realizing that a node's outgoing and incoming relationships are intrinsically linked. By explicitly modeling this correlation through collaborative aggregation, COBA can learn richer, more context-aware representations.
  • Spatial-Based GCNs are a Natural Fit for Directed Graphs: The paper demonstrates that spatial-based graph convolutions, which aggregate information from neighbors directly, are more amenable to directed graphs than spectral methods that rely on symmetric matrices.

Key Results

COBA demonstrated strong performance across multiple tasks and datasets:

  • Link Prediction: COBA achieved the best AUC scores on most datasets, particularly in scenarios requiring the prediction of edge direction. For instance, on the Jung dataset, COBA achieved AUC scores of 98.75% (0% reverse edges), 98.99% (50% reverse edges), and 99.45% (100% reverse edges), outperforming other state-of-the-art methods.
  • Node Classification: COBA showed competitive results, achieving the best performance on Amazon-Photo and Cora. While it didn't outperform NERD on the sparser Pubmed dataset, its performance was more stable across different datasets, indicating robustness.
  • Graph Reconstruction: COBA exhibited the most powerful graph reconstruction ability, verifying its capacity to preserve neighborhood relationships.
  • Ablation Studies: The results showed that both bi-directional and collaborative aggregation contribute significantly to COBA's performance, with collaborative aggregation being particularly beneficial for capturing local correlations.

Limitations and Future Work

  • Parameter Sensitivity: While COBA performs well, the paper notes that 32-dimensional embeddings were insufficient, and 256-dimensional embeddings led to slight over-fitting. The optimal embedding dimension was found to be 128. The number of negative samples (n=2) and one aggregation layer were found to be sufficient.
  • Over-smoothing in Deeper Networks: The study found that increasing the number of aggregation layers beyond one led to significant performance degradation, suggesting a susceptibility to the over-smoothing issue common in deep GNNs.
  • Future Work: The paper implicitly suggests exploring deeper architectures or alternative regularization techniques to mitigate over-smoothing. Further investigation into the specific benefits of collaborative aggregation on different graph structures could also be a fruitful direction.

Summary updated

BibTeX
@misc{liu2022collaborative,
  author = {Linsong Liu and Kejia Chen and Zheng Liu},
  title = {{Collaborative Bi-Aggregation for Directed Graph Embedding}},
  year = {2022},
  eprint = {2211.02232},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.02232},
}
Figure