[Paper Review] Which way? Direction-Aware Attributed Graph Embedding
This paper proposes Diagram, a novel direction-aware, text-enhanced graph embedding method that jointly optimizes for edge directionality, node content (via TF-IDF or binary features), and undirected neighborhood structure using a multi-objective loss function. It achieves state-of-the-art performance in asymmetric link prediction and network reconstruction, while matching or exceeding SOTA baselines in node classification across Cora and Citeseer datasets.
Graph embedding algorithms are used to efficiently represent (encode) a graph in a low-dimensional continuous vector space that preserves the most important properties of the graph. One aspect that is often overlooked is whether the graph is directed or not. Most studies ignore the directionality, so as to learn high-quality representations optimized for node classification. On the other hand, studies that capture directionality are usually effective on link prediction but do not perform well on other tasks. This preliminary study presents a novel text-enriched, direction-aware algorithm called DIAGRAM , based on a carefully designed multi-objective model to learn embeddings that preserve the direction of edges, textual features and graph context of nodes. As a result, our algorithm does not have to trade one property for another and jointly learns high-quality representations for multiple network analysis tasks. We empirically show that DIAGRAM significantly outperforms six state-of-the-art baselines, both direction-aware and oblivious ones,on link prediction and network reconstruction experiments using two popular datasets. It also achieves a comparable performance on node classification experiments against these baselines using the same datasets.
Motivation & Objective
- To address the trade-off between preserving directionality and node similarity in graph embeddings.
- To develop a model that simultaneously captures directed edge flow, textual node features, and undirected neighborhood context.
- To improve performance on multiple graph analysis tasks—especially asymmetric link prediction—without sacrificing node classification accuracy.
- To overcome limitations of existing methods that are either direction-agnostic or fail to model non-linear graph structures effectively.
- To design a multi-objective learning framework that balances three key aspects: direction, content, and context in node representations.
Proposed method
- Diagram learns three distinct embeddings per node: $\mathbf{z_u}$ for undirected neighborhood and content similarity, $\mathbf{o_u}$ for outgoing neighbors, and $\mathbf{i_u}$ for incoming neighbors.
- The model uses a multi-objective loss function that jointly optimizes for (1) direction-aware proximity via $\texttt{dot}(\mathbf{o_u}, \mathbf{i_v})$, (2) content similarity using TF-IDF or binary features, and (3) undirected neighborhood structure via $\mathbf{M_u} \mid \mathbf{M^T_u}$.
- Diagram node uses a single shared embedding per node, while Diagram edge introduces separate embeddings for each edge direction to improve modeling of asymmetric relationships.
- The model is trained end-to-end using stochastic gradient descent on a residual graph to enhance generalization and capture long-range dependencies.
- Node representations are used as input features for downstream tasks, with logistic regression employed for node classification in a 10-fold cross-validation setup.
- Feature matrices $\mathbf{D}$ are constructed from node-associated documents using TF-IDF or binary encoding to preserve textual semantics.
Experimental results
Research questions
- RQ1Can a graph embedding model jointly preserve directionality, textual node content, and undirected neighborhood structure without performance trade-offs?
- RQ2How does incorporating direction-aware embeddings affect link prediction and network reconstruction in directed graphs?
- RQ3To what extent can a multi-objective learning approach improve node classification accuracy compared to state-of-the-art baselines?
- RQ4Does Diagram outperform both direction-agnostic and direction-aware baselines across multiple evaluation tasks?
- RQ5How do the two variants, Diagram node and Diagram edge, compare in terms of performance stability and variance?
Key findings
- Diagram significantly outperforms six SOTA baselines in asymmetric link prediction and network reconstruction on Cora and Citeseer datasets.
- Diagram edge achieves the best performance with lower variance than Diagram node, except on the W-L1 feature construction method.
- On node classification, Diagram achieves Micro-F1 scores of 82% and Macro-F1 of 80% on Cora at 50% training data, outperforming most baselines including Node2Vec and DeepWalk.
- Diagram performs comparably to the best-performing baselines (e.g., ANRL, DANE) on Citeseer, with higher F1 scores than VGAE and HOPE.
- Diagram consistently outperforms HOPE, a direction-aware baseline, across all datasets and tasks, demonstrating the advantage of its deep, multi-objective architecture over matrix factorization.
- The model’s superior performance in link prediction is attributed to its ability to model asymmetric transitivity via the $\texttt{dot}(\mathbf{o_u}, \mathbf{i_v})$ proximity measure.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.