Abstract
Network embedding transforms complex graph structures into low-dimensional vector representations suitable for downstream machine learning tasks. While traditional methods focus on single-network analysis, real-world entities often participate in multiple networks simultaneously. We propose Multi-task Network Embedding (MTNE), a framework designed to jointly learn embeddings across multiple networks to capture both shared and complementary node characteristics. Our evaluation on diverse real-world datasets demonstrates that MTNE significantly outperforms state-of-the-art single-task models in link prediction, node classification, and visualization.
Introduction
In many real-world scenarios, a single set of nodes is involved in multiple distinct networks. For example, researchers are connected through co-authorship, citations, and shared research interests. Traditional embedding techniques like DeepWalk or node2vec treat these networks in isolation, potentially missing critical information that could be "borrowed" from related graphs to mitigate issues like data sparsity and noise.
The challenge lies in effectively sharing information across these different network structures while respecting the unique topological properties of each. MTNE addresses this by leveraging multi-task learning principles to co-train embeddings in a unified framework, allowing information to flow between tasks to fill in structural gaps.
Methodology
The MTNE framework introduces two primary models to handle information sharing:
1. MTNE-C (Combination)
This model decomposes a node's representation into two components: a "common" embedding shared across all networks and a "network-specific" embedding. The final representation for a particular network is the sum of these two vectors. This approach assumes that nodes have core properties invariant across contexts, supplemented by context-dependent behaviors.
2. MTNE-R (Regularization)
MTNE-R learns independent embeddings for each network but introduces a regularization term that penalizes divergence from a "consensus" embedding. This consensus vector acts as a central anchor, summarizing the global information across all tasks and filtering out network-specific noise.
Both models utilize an alternating optimization algorithm that iteratively refines the shared and specific components, ensuring convergence and alignment across latent spaces that are otherwise unaligned in independent training.
Experimental Evaluation
We evaluated MTNE on three multi-network datasets: DBLP (computer science authors), Flickr (photo metadata), and SLAP (gene-chemical interactions).
Link Prediction and Classification
MTNE models consistently outperformed baselines. On the DBLP citation network, MTNE-C achieved an AUC of 86.54%, surpassing node2vec (84.66%). In multi-label classification, MTNE-R reached a Micro-F1 score of 86.2%, a significant improvement over the best single-network baseline, TADW (82.0%).
Visualization
Visualization using t-SNE highlights the superior clustering capabilities of MTNE. As shown in the comparison below, MTNE variants (such as MTNE-C and MTNE-R) produce tighter and more distinct clusters of research fields compared to single-task methods like DeepWalk or node2vec, which often result in overlapping or poorly defined clusters.
Conclusion
MTNE provides a robust framework for multi-task network embedding, effectively fusing information from multiple sources to create more complete node representations. By explicitly modeling shared and specific features, the framework improves performance across both global and task-specific applications. Future work will explore extensions for dynamic graphs and automated task weighting to further enhance the model's flexibility.
Summary updated