Skip to main content
QUICK REVIEW

[Paper Review] Supervised Random Walks: Predicting and Recommending Links in Social Networks

Lars Bäckström, Jure Leskovec|arXiv (Cornell University)|Nov 17, 2010
Complex Network Analysis TechniquesPhysics and Astronomy30 references122 citations
TL;DR

This paper proposes Supervised Random Walks (SRW), a novel link prediction and recommendation method that integrates node and edge attributes with network structure by learning edge weights to guide random walks toward likely future links. SRW outperforms unsupervised methods and feature-engineered models, achieving up to 12% relative improvement in precision at top 20 on co-authorship networks and 11% on Facebook, without manual feature extraction.

ABSTRACT

Predicting the occurrence of links is a fundamental problem in networks. In the link prediction problem we are given a snapshot of a network and would like to infer which interactions among existing members are likely to occur in the near future or which existing interactions are we missing. Although this problem has been extensively studied, the challenge of how to effectively combine the information from the network structure with rich node and edge attribute data remains largely open. We develop an algorithm based on Supervised Random Walks that naturally combines the information from the network structure with node and edge level attributes. We achieve this by using these attributes to guide a random walk on the graph. We formulate a supervised learning task where the goal is to learn a function that assigns strengths to edges in the network such that a random walker is more likely to visit the nodes to which new links will be created in the future. We develop an efficient training algorithm to directly learn the edge strength estimation function. Our experiments on the Facebook social graph and large collaboration networks show that our approach outperforms state-of-the-art unsupervised approaches as well as approaches that are based on feature extraction.

Motivation & Objective

  • Address the challenge of combining rich node and edge attributes with network structure for accurate link prediction in dynamic social networks.
  • Overcome the limitations of unsupervised methods like Random Walk with Restarts (RWR), which fail to leverage attribute information.
  • Eliminate the need for tedious, manual feature engineering by directly learning how to combine attributes and network structure in a principled way.
  • Develop a scalable, end-to-end learning framework that improves link prediction and recommendation performance over state-of-the-art approaches.

Proposed method

  • Formulate link prediction as a supervised learning task where edge strengths (transition probabilities) are learned to bias a random walk toward future target nodes.
  • Use node and edge attributes to parameterize edge weights, allowing the random walk to be guided by both structural and attribute-based signals.
  • Train the model using a quasi-Newton optimization method to minimize a loss function that encourages the random walk to visit positive (future link) nodes more frequently.
  • Compute PageRank-like scores on the weighted graph to estimate the likelihood of future link formation between node pairs.
  • Integrate path-based features by averaging edge features over all paths between a source and candidate destination node.
  • Use a differentiable framework to compute gradients of PageRank scores with respect to edge weights, enabling efficient parameter learning.

Experimental results

Research questions

  • RQ1How can node and edge attributes be effectively combined with network structure to improve link prediction beyond unsupervised methods?
  • RQ2To what extent can a supervised random walk framework outperform traditional feature-based models that require extensive feature engineering?
  • RQ3Can a unified learning framework be designed that naturally incorporates both structural and attribute-level information without manual feature extraction?
  • RQ4How do different types of node and edge features (e.g., temporal, similarity-based) contribute to prediction performance in real-world networks?
  • RQ5What is the scalability and runtime trade-off of learning multiple edge weight parameters in large-scale networks like Facebook?

Key findings

  • Supervised Random Walks achieved an AUC of 0.7–0.8 and precision at top 20 of 4.2–7.6 on the Facebook and Hep-Ph co-authorship networks, indicating strong predictive performance.
  • On the co-authorship network, SRW achieved a 6% relative improvement in AUC and a 12% relative improvement in precision at top 20 compared to logistic regression and other feature-based models.
  • On the Facebook network, SRW achieved an 11% relative improvement in precision at top 20 over Random Walk with Restarts, despite RWR already performing near-optimally.
  • SRW outperformed unsupervised RWR and all other tested methods, including logistic regression, without requiring manual feature engineering.
  • The method demonstrated that temporal features were most influential on Facebook, while co-authorship frequency and title similarity were most important in co-authorship networks.
  • Training on the Facebook dataset took 96 minutes for 8 edge weights and 13 hours for 48 weights, showing scalability to large networks with moderate training overhead.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.