JONNEE: Joint Network Nodes and Edges Embedding

Ilya Makarov, Ksenia Korovina, Dmitrii KiselevIEEE Access 2021 · DOI

Introduction

Graph embedding techniques have become fundamental in modern machine learning, enabling tasks such as link prediction, node classification, and community detection. However, traditional approaches often prioritize node representations, treating edges as secondary derivatives. JONNEE (JOint Network Nodes and Edges Embedding) introduces a novel framework that learns node and edge representations simultaneously. By exploiting the mathematical duality between a graph and its Line graph, JONNEE enforces joint constraints that ensure consistency between incident components, leading to superior performance and faster convergence.

The Node-Centric Limitation

Most existing graph embedding models are "node-centric." They focus on optimizing high-quality vectors for nodes, while edge embeddings are typically generated post-hoc using symmetric operators like the Hadamard product or averaging of endpoint node vectors. This "node-first" approach has two significant drawbacks:

  1. It overlooks unique information or noise specific to the edge level.
  2. It fails to leverage the structural constraints inherent in the relationship between nodes and their incident edges.

JONNEE addresses these issues by treating nodes and edges as equal entities within a unified embedding space.

Methodology: Dual Graph Autoencoders

The core of the JONNEE framework is the utilization of the Line graph (or dual graph). In a Line graph $G^*$, every edge from the original graph $G$ is represented as a node. Two nodes in $G^*$ are connected if their corresponding edges in $G$ share a common vertex.

The JONNEE architecture illustrating the dual learning process between the original graph G and its line graph G*.

The pipeline is divided into two primary stages:

1. Feature Learning (Initialization)

To provide a "warm start," the model employs lightweight sequence-based algorithms—specifically node2vec (based on random walks) or diff2vec (based on diffusion). These algorithms generate initial feature sets for both the original graph and its Line graph, capturing basic structural properties before deep learning begins.

2. Joint Learning with Dual GAEs

JONNEE utilizes two Graph Autoencoders (GAEs) trained in parallel. One GAE focuses on reconstructing the adjacency matrix of the original graph, while the other reconstructs the adjacency matrix of the Line graph.

  • Joint Loss Function: The critical innovation is a coupling term in the loss function. This term forces a node's embedding to align with the average of the embeddings of its incident edges. This synchronization ensures that both autoencoders learn a mutually consistent representation.
  • Regularization: The model incorporates $\beta$-masking to prevent overfitting during reconstruction and Laplacian regularization to maintain spatial proximity between directly connected entities in the vector space.

Experimental Evaluation

The authors benchmarked JONNEE against state-of-the-art models (such as GAT and GraphSAGE) across diverse datasets representing social, co-authorship, and citation networks (e.g., Blog-Catalog, Cora, and a custom HSE dataset).

Key Results

  • Link Prediction: JONNEE achieved state-of-the-art results, particularly on the HSE dataset with an AUC of 0.866, outperforming all established baselines.
  • Node Classification: In unsupervised settings, the learned embeddings proved highly effective for downstream classification, significantly surpassing traditional matrix factorization methods.
  • Convergence and Efficiency: Despite having more parameters due to the dual-graph processing, JONNEE converges in fewer training epochs. The dual constraints act as a powerful inductive bias, guiding the model to optimal solutions more rapidly than GAT or GraphSAGE.

Discussion and Insights

A notable finding in the study was the efficacy of diff2vec for initialization. Diffusion-based methods tend to remain more "local" than random walks, which significantly improved clustering performance and community detection. Furthermore, the use of graph duality serves as a form of self-supervision, allowing the model to extract deeper structural patterns without the need for manual labels.

Conclusion and Future Work

JONNEE represents a shift toward balanced graph representation learning. While the current model is primarily transductive and faces scalability challenges with very dense Line graphs (where $|E|$ can grow significantly), it sets a new standard for joint embedding. Future research will focus on adapting the framework for inductive learning on dynamic graphs and exploring more complex, learnable operators for the joint node-edge constraints.

Summary updated

BibTeX
@article{makarov2021jonnee,
  author = {Ilya Makarov and Ksenia Korovina and Dmitrii Kiselev},
  title = {{JONNEE: Joint Network Nodes and Edges Embedding}},
  journal = {IEEE Access},
  year = {2021},
  doi = {10.1109/access.2021.3122100},
}
Figure