Symmetrization for Embedding Directed Graphs

Jiankai Sun, Srinivasan Parthasarathy

Introduction

Graph embedding—representing nodes as dense vectors—is a fundamental task in machine learning. However, most state-of-the-art embedding techniques are designed for undirected graphs. Directed graphs, such as citation networks or social media follow-graphs, pose a unique challenge: the directionality encodes critical hierarchical and flow information that is often lost during standard preprocessing. Traditional symmetrization methods, like Bibliometric or Degree-discounted symmetrization, typically focus only on immediate neighbors (first-order structure). This paper introduces a two-stage framework that leverages higher-order reachability and hierarchy to transform directed graphs into undirected representations suitable for standard embedding algorithms.

Methodology: Beyond First-Order Symmetrization

The proposed approach transforms a directed graph $G$ into an undirected graph $G_U$ through a novel symmetrization process before applying standard embedding algorithms.

Higher-Order Reachability

Instead of relying solely on direct edges, the authors utilize the Transitive Closure (TC) of the graph. TC identifies all pairs of nodes $(u, v)$ where a path exists from $u$ to $v$. By defining similarity based on shared ancestors (in-reach) and successors (out-reach) within the TC, the model can cluster nodes that are functionally similar even if they are not directly connected.

Figure 1: Illustrating how nodes f and g, despite lacking direct connections, can be identified as similar through shared reachability patterns in the network.

To manage computational costs on large graphs, the authors implement a Local Transitive Closure using Breadth-First Search (BFS) limited to a depth $l$. This approach generalizes existing methods; for instance, setting $l=1$ effectively reverts the model to standard Bibliometric symmetrization.

Integrating Hierarchy

Connectivity alone is insufficient for accurate embedding. The authors argue that nodes at vastly different hierarchical levels should be treated differently. They incorporate "hierarchy scores" to refine similarity: nodes are considered more similar if they occupy the same functional "rank" within the network. This acts as a regularizer, ensuring that nodes are embedded near others that occupy similar roles.

Figure 3: A visualization of hierarchy scores r(x) assigned to nodes, ensuring that embeddings reflect both connectivity and relative position in the network flow.

Application: Expert Finding in CQA

The framework was evaluated in the context of Community Question Answering (CQA) platforms. In these networks, the goal is to identify "experts" capable of providing high-quality answers. By symmetrizing the directed interaction graph, the authors were able to densify the network and overcome the common problem of data sparseness. This enriched graph allowed a deep neural network regressor to more accurately predict user voting scores, outperforming methods that rely on simpler graph representations.

Conclusion

By bridging the gap between directed graph structure and undirected embedding algorithms, this two-stage framework provides a robust way to preserve hierarchy and reachability. The integration of local transitive closure and hierarchy scores offers a flexible, scalable approach for complex network analysis, particularly in sparse environments like CQA services.

Summary updated

BibTeX
@inproceedings{sun2019symmetrization,
  author = {Jiankai Sun and Srinivasan Parthasarathy},
  title = {{Symmetrization for Embedding Directed Graphs}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.330110043},
}
Figure