Abstract
Low-dimension graph embeddings have proved extremely useful in various downstream tasks in large graphs, e.g., link-related content recommendation and node classification tasks, etc. Most existing embedding approaches take nodes as the basic unit for information aggregation, e.g., node perception fields in GNN or contextual nodes in random walks. The main drawback raised by such node-view is its lack of support for expressing the compound relationships between nodes, which results in the loss of a certain degree of graph information during embedding. To this end, this paper proposes PairE (Pair Embedding), a solution to use "pair", a higher level unit than a "node" as the core for graph embeddings. Accordingly, a multi-self-supervised auto-encoder is designed to fulfill two pretext tasks, to reconstruct the feature distribution for respective pairs and their surrounding context. PairE has three major advantages: 1) Informative, embedding beyond node-view are capable to preserve richer information of the graph; 2) Simple, the solutions provided by PairE are time-saving, storage-efficient, and require fewer hyper-parameters; 3) High adaptability, with the introduced translator operator to map pair embeddings to the node embeddings, PairE can be effectively used in both the link-based and the node-based graph analysis. Experiment results show that PairE consistently outperforms the state of baselines in all four downstream tasks, especially with significant edges in the link-prediction and multi-label node classification tasks.
Introduction: Beyond the Node-Centric Paradigm
In the domain of graph representation learning, the "node" has traditionally been the primary unit of analysis. Methods ranging from Graph Convolutional Networks (GCNs) to random-walk based approaches like DeepWalk typically aim to compress a node’s local neighborhood into a single, low-dimensional vector. However, this node-centric view often fails to capture the complexity of compound relationships.
For instance, in a social network, an individual node may represent a person who has distinct types of relationships—such as "family" or "friend"—with different neighbors. Aggregating these diverse interactions into a single node vector can lead to information loss. PairE addresses this by shifting the focus to node pairs, treating the relationship between two nodes as the fundamental unit of information.
Methodology: The PairE Framework
The PairE framework utilizes a multi-self-supervised auto-encoder to learn embeddings for ordered node pairs $p = (u, v)$ rather than individual nodes.
Input Generation and Architecture
For each pair, the model constructs two distinct feature sets:
- Self-features ($X^{self}$): A direct concatenation of the feature vectors of nodes $u$ and $v$.
- Aggregated features ($X^{agg}$): A concatenation of the mean-aggregated neighborhood information for both nodes.
The architecture employs an encoder with dense layers and skip connections to facilitate gradient flow. The model is trained to minimize the Kullback-Leibler (KL) divergence between the original feature distributions and their reconstructions, effectively learning to capture both the pair's internal characteristics and its structural context.
Translating Pairs to Nodes
To maintain compatibility with node-level tasks (e.g., node classification), PairE introduces a "translator" operator. Empirical results demonstrated that a Sum operation—aggregating all pair embeddings originating from a specific node—is highly effective. This operator preserves vital structural information, such as node degree, which is often lost in mean or max pooling.
Experimental Evaluation
The authors evaluated PairE across five benchmark datasets, including citation networks (Cora, CiteSeer, Pubmed) and biological networks (Proteins, PPI). The Protein-Protein Interaction (PPI) dataset, characterized by multi-label nodes, served as a critical test for PairE's ability to handle complex, multi-role node identities.
Key Results
PairE demonstrated superior performance across multiple downstream tasks:
- Link Prediction: On the Cora dataset, PairE achieved a ROC AUC of 0.9250, significantly outperforming baselines like ProNE (0.8475) and GraphSAGE (0.8286).
- Multi-label Classification: On the PPI dataset, PairE reached a Micro-F1 score of 0.9828, a notable improvement over DGI-GCN (0.9618).
- Efficiency: The model remains computationally efficient and requires fewer hyperparameters than many contemporary GNN-based methods.
Conclusion and Future Directions
By prioritizing relationships over individual nodes, PairE provides a more nuanced and informative approach to graph representation learning. While the "Sum" translator proved effective, future work may explore more sophisticated mapping functions to further optimize the transition from pair-view to node-view. Additionally, investigating the impact of multi-hop neighborhood context could enhance the model's ability to capture deeper structural patterns.
Summary updated