Abstract
Network embedding is a powerful tool for graph analysis, yet most existing methods struggle with "out-of-sample" nodes—new nodes that join a network after the initial embedding model has been trained. Traditional approaches either require computationally expensive retraining or rely on simple heuristics that fail to capture complex network structures. We present DepthLGP (Deeply Transformed High-order Laplacian Gaussian Process), a novel framework that efficiently generates high-quality embeddings for new nodes. By integrating a high-order Laplacian Gaussian Process (hLGP) with deep neural networks, DepthLGP preserves intricate network properties and ensures statistical homogeneity with existing embeddings. Our evaluation across multiple real-world datasets demonstrates that DepthLGP achieves near-optimal accuracy in a fraction of the time required by traditional algorithms.
Introduction
Network embedding transforms nodes into low-dimensional vectors, facilitating tasks such as node classification and link prediction. However, real-world networks are inherently dynamic. New users join social networks, and new papers are added to citation indices continuously. Handling these "out-of-sample" nodes presents a significant challenge. Rerunning embedding algorithms like node2vec or DeepWalk from scratch is computationally prohibitive ($O(N^2)$), while simple heuristics like neighbor averaging often fail to capture high-order proximity.
An effective out-of-sample solution must satisfy three criteria: preserving complex network properties, ensuring homogeneity between new and old embeddings, and maintaining high inference speed. DepthLGP addresses these challenges by combining probabilistic modeling with deep learning.
Methodology
DepthLGP employs a two-stage approach to infer embeddings for out-of-sample nodes.
High-order Laplacian Gaussian Process (hLGP)
The first stage uses a Gaussian Process (GP) prior designed to encode both first-order (direct links) and second-order (shared neighbors) proximity. This non-parametric model provides a probabilistic framework to estimate a new node's latent state based on its connections to known "in-sample" nodes. Theoretical analysis shows that modeling second-order proximity is essential; relying solely on direct links fundamentally limits the model's expressive power.
Deep Nonlinear Transformation
While the GP provides a smooth probabilistic estimate, the original embedding space (e.g., created by node2vec) may be highly complex. DepthLGP passes the GP's latent state through a Deep Neural Network (DNN) to learn a nonlinear mapping. This ensures "homogeneity," meaning the inferred embeddings are statistically consistent with the original in-sample distribution.
The model is trained using Empirical Risk Minimization (ERM) on sampled subgraphs, allowing it to generalize without global optimization. Inference involves an analytical GP solution followed by a fast DNN forward pass.
Experimental Evaluation
The framework was evaluated on three real-world networks:
- DBLP: A co-authorship network with research area labels.
- PPI (Protein-Protein Interaction): A biological network with functional labels.
- BlogCatalog: A social network with interest category labels.
Dynamic growth was simulated by holding out a portion of nodes during training to serve as out-of-sample arrivals.
Key Results
DepthLGP consistently outperformed baselines such as Local Averaging and Manifold Regularization in multi-label classification and link prediction tasks. Notably, its performance often approached the "Upper Bound"—the accuracy achieved by rerunning the full embedding algorithm on the updated graph.
Efficiency and Scalability
A primary advantage of DepthLGP is its speed. As shown in the performance-vs-time analysis, DepthLGP reaches peak accuracy in seconds, whereas iterative methods like node2vec require significantly more time to converge for new nodes.
Integration: node2vec++
The authors also introduced "node2vec++," an integrated version of node2vec using DepthLGP. This hybrid approach showed improved performance for both in-sample and out-of-sample nodes, demonstrating the framework's versatility.
Conclusion and Future Work
DepthLGP provides a robust and efficient solution for the out-of-sample problem in dynamic networks. While it requires new nodes to have at least some connections to the existing network (avoiding the "cold start" problem), it offers a significant leap in handling network evolution. Future research may extend this framework to signed or heterogeneous networks and explore its application to out-of-vocabulary challenges in Natural Language Processing.
Summary updated