RWNE: A Scalable Random-Walk-Based Network Embedding Framework with Personalized Higher-Order Proximity Preserved

Jianxin Li, Cheng Ji, Hao Peng, Yu He, Yangqiu Song, Xinmiao Zhang, Fanzhang Peng

TL;DR

RWNE (Random-Walk-based Network Embedding) is a scalable framework that maps complex network structures into low-dimensional vectors by preserving "personalized" higher-order relationships between nodes. By theoretically linking random walk processes to a sound objective function, it achieves state-of-the-art performance on massive graphs while maintaining linear computational efficiency.

What Problem Does This Paper Address?

Network embedding is the art of representing nodes in a graph as vectors so that machine learning models can easily process them. A major challenge is capturing higher-order proximity—the idea that nodes are related not just by direct edges (1st-order), but also by being "near" each other through multi-hop paths.

Existing methods fall into two main camps, both with flaws:

  1. Matrix Factorization methods (like GraRep or HOPE) explicitly calculate higher-order proximity matrices. While theoretically sound, they are computationally expensive and fail to scale to large networks.
  2. Random Walk methods (like DeepWalk or node2vec) are highly scalable but often lack a clear theoretical objective. They typically treat all neighbors within a fixed "window" as equally important, failing to capture the nuanced, decaying influence of more distant neighbors.

RWNE bridges this gap by providing a scalable random-walk framework backed by a rigorous theoretical objective that explicitly preserves personalized higher-order proximity.

Methods

The core of RWNE is a joint objective function designed to preserve two types of structural information:

  • Local Pairwise Similarity: Nodes connected by paths should have similar embeddings.
  • Global Listwise Equivalence: Nodes that share similar "neighborhood profiles" (even if not directly connected) should be mapped close together.

To make this scalable, the authors introduce a "drop-out" random walk simulation. Instead of calculating massive proximity matrices (which involve powers of the adjacency matrix like $A^k$), they show that the same objective can be optimized by sampling nodes via random walks.

Specifically, they utilize Random Walk with Restart (RWR). In this process, at each step, a walker has a probability $\alpha$ (the teleport probability) of jumping back to the starting node. This naturally creates an attenuation effect where the influence of a neighbor decreases as its distance increases—a "personalized" weighting of different-order proximities.

An illustration of the RWNE framework showing how it preserves both local similarity and global equivalence through a shared parameter architecture.

Datasets

The researchers evaluated RWNE on six diverse real-world datasets:

  • Citation/Collaboration Networks: Cora, PubMed, and DBLP.
  • Social/Interest Networks: BlogCatalog, Flickr, and the massive Youtube dataset (containing over 1.1 million nodes and nearly 3 million edges).

Key Insights and Ideas

  • The "Drop-out" Theoretical Bridge: The most significant "aha" moment is the proof that a specific type of random walk (where you stop or "drop out" at certain steps) is mathematically equivalent to optimizing a proximity-preserving objective. This justifies why random walks are so effective for embedding.
  • Principled Decay: Rather than treating a 2-hop neighbor and a 10-hop neighbor the same (as window-based methods often do), RWNE uses the RWR process to weight them according to a principled attenuation function. This allows the model to focus on the most relevant structural information.
  • Efficiency through Simulation: By replacing exact matrix calculations with random walk simulations, RWNE achieves a time complexity that is linear relative to the number of nodes, $O(k \cdot T \cdot |V|)$, making it practical for industrial-scale graphs.

Key Results

RWNE consistently outperformed state-of-the-art baselines, including DeepWalk, node2vec, and even deep learning models like GCN and GAT, across three major tasks:

  • Node Classification: On the Cora dataset, RWNE improved Macro-F1 scores by up to 35% over some baselines.
  • Node Clustering: It showed significant gains in Normalized Mutual Information (NMI), particularly on sparse networks where higher-order information is critical.
  • Link Reconstruction: RWNE proved superior at predicting missing edges by better capturing the underlying network topology.
  • Scalability: RWNE successfully processed the million-node Youtube dataset in reasonable time, whereas several competing methods (like GraRep and GAT) failed due to memory or time constraints.

Limitations and Future Work

The authors acknowledge that their proximity predictor—the component responsible for capturing global equivalence—currently uses a simple single-layer neural network architecture. They suggest that incorporating deeper, more complex neural architectures into this part of the framework could yield even better results. Additionally, while the framework is general, exploring how to automatically learn the optimal teleport probability $\alpha$ for different types of networks remains an open question.

Summary updated

BibTeX
@article{li2021rwne,
  author = {Jianxin Li and Cheng Ji and Hao Peng and Yu He and Yangqiu Song and Xinmiao Zhang and Fanzhang Peng},
  title = {{RWNE: A Scalable Random-Walk-Based Network Embedding Framework with Personalized Higher-Order Proximity Preserved}},
  journal = {J. Artif. Intell. Res.},
  year = {2021},
  doi = {10.1613/jair.1.12567},
}
Figure