Abstract
Network embedding is a powerful tool for mapping graph nodes into low-dimensional vectors. However, traditional methods often require embedding the entire graph, which is computationally prohibitive for massive real-world networks when only a small subset of nodes is of interest. This paper presents PartNRL, a framework that efficiently learns representations for a specific subset of "interested" nodes. By employing local random walks, PartNRL captures high-order structural proximity through "uninteresting" bridge nodes without the need for global graph processing.
Introduction
In large-scale networks, such as social media platforms with billions of users or massive citation databases, researchers often focus on a specific sub-population. Standard embedding algorithms like DeepWalk or Node2vec are designed for global embedding, leading to significant waste in memory and compute when only a fraction of nodes are relevant. Conversely, simply extracting a subgraph of interested nodes often fails because it discards the broader topological context—two nodes might be related primarily through paths involving nodes outside the subset.
PartNRL addresses this by learning embeddings for partial nodes while maintaining the global structural context.
Methodology
The PartNRL framework operates in two distinct phases:
Phase 1: Modeling Similarity via Local Random Walks
Instead of performing global walks, PartNRL initiates $t$-step local random walks starting only from the interested nodes. This approach captures high-order proximity—identifying how nodes are related within a specific neighborhood—without traversing the entire graph. The authors propose two variants: standard Local Random Walk (LRW) and Superposed Random Walk (SRW), which aggregates probabilities across multiple steps to better capture multi-hop relationships.
Phase 2: Learning Graph Representations
The similarity matrix generated in Phase 1 is used to sample "neighbors" for each interested node via an alias table method. The algorithm then optimizes a skip-gram-like objective function using asynchronous stochastic gradient descent (ASGD) and negative sampling, ensuring that nodes with high structural similarity are mapped to nearby points in the embedding space.
Experimental Evaluation
The authors evaluated PartNRL on four datasets: Cora, Citeseer, PPI (Protein-Protein Interaction), and dblp, with interested node ratios ranging from 5% to 30%.
Key Results
- Performance: On the Cora dataset (10% interested nodes), PartNRL achieved a clustering accuracy of 49.01%, nearly doubling the performance of DeepWalk (26.13%) and LINE (26.94%). Similar gains were observed in classification tasks on Citeseer.
- Scalability: While baselines like Node2vec often failed due to memory constraints on large datasets like dblp, PartNRL remained efficient and effective, achieving high F1 scores.
- Structural Proximity: Results indicate that at least 3-step walks are necessary to capture sufficient context, as 1-step direct links do not provide enough information for accurate partial embeddings.
Conclusion
PartNRL demonstrates that it is possible to achieve high-quality embeddings for a subset of nodes without the overhead of global computation. By focusing on local random walks, the method preserves essential topological "bridges" while drastically reducing memory requirements. Future work will explore adapting this framework for dynamic networks where node populations change over time.
Summary updated