Learning Supervised PageRank with Gradient-Free Optimization Methods

Lev Bogolubsky, Pavel Dvurechensky, Alexander Gasnikov, Gleb Gusev, Yurii Nesterov, Andrey Raigorodskii, Aleksey Tikhonov, Maxim ZhukovskiiarXiv 2014 · DOI

Abstract

In this paper, we consider a problem of learning supervised PageRank models, which can account for some properties not considered by classical approaches such as the classical PageRank algorithm. Due to huge hidden dimension of the optimization problem we use random gradient-free methods to solve it. We prove a convergence theorem and estimate the number of arithmetic operations needed to solve it with a given accuracy. We find the best settings of the gradient-free optimization method in terms of the number of arithmetic operations needed to achieve given accuracy of the objective. In the paper, we apply our algorithm to the web page ranking problem. We consider a parametric graph model of users' behavior and evaluate web pages' relevance to queries by our algorithm. The experiments show that our optimization method outperforms the untuned gradient-free method in the ranking quality.

Introduction

The classical PageRank algorithm is a cornerstone of web search, but it has a major limitation: it relies almost entirely on graph structure (who links to whom). Supervised PageRank (SPR) attempts to improve this by incorporating node and edge features—like user interaction statistics or URL types—into the transition probabilities.

However, training an SPR model is a computational nightmare. To find the optimal parameters, one typically needs to calculate the gradient of the graph's stationary distribution. This involves differentiating through a "billion-by-billion" matrix, which is prohibitively expensive. Furthermore, because we can only ever approximate the stationary distribution (usually via power iteration), we never have access to the exact function value or its true gradient. This paper addresses these challenges by employing random gradient-free (zeroth-order) methods that treat the stationary distribution as a "noisy" black box.

Methodology: The Two-Level Optimization Framework

The authors propose a two-level optimization framework designed to handle the "huge hidden dimensions" of the PageRank problem:

  1. The Lower Level (Inner Loop): Instead of exact calculation, the researchers use a linearly convergent iterative method to find an approximation ($\tilde{\pi}$) of the stationary distribution. This provides a "noisy" estimate of the ranking loss function.
  2. The Upper Level (Outer Loop): They employ a Random Gradient-Free method. Instead of calculating a complex derivative, the algorithm samples a random direction on a unit sphere, evaluates the loss function at a small distance in that direction, and uses the difference to estimate a "biased" gradient.
Algorithm 1: The Gradient-type method used for parameter optimization.

The core theoretical contribution is a convergence theorem that accounts for inaccurate function values. The authors calculated exactly how much accuracy is needed in the inner loop (the PageRank approximation) to ensure the outer loop (the parameter optimization) still converges to a local minimum. By quantifying the relationship between approximation error ($\Delta$) and function error ($\delta$), the authors show that gradient-free methods are surprisingly robust to the "noise" of iterative solvers.

Experimental Setup

The researchers evaluated their approach using real-world data from the commercial search engine Yandex:

  • User Browsing Graph: A query-dependent graph built from toolbar records (Oct 2014 – Jan 2015).
  • Scale: Approximately 1,000 queries, 0.6 million vertices, and 0.8 million edges.
  • Ground Truth: ~3.8K query-document pairs manually judged by professional assessors on a 5-point relevance scale.
  • Features: 26 query-document features were used to weight the nodes and edges.

Key Results

The authors compared their precise gradient-free method (GF2) against an untuned version (GF1) and classical PageRank (PR). The paper provides a rigorous estimate of the total number of arithmetic operations needed, finding the optimal settings for the gradient-free method to minimize total computational cost while hitting a target accuracy.

  • Loss Reduction: GF2 achieved a loss of 0.00107, significantly lower than the baseline PageRank (0.0118) and the untuned GF1 (0.001305).
  • Ranking Quality: Both gradient-free methods showed a >20% gain in NDCG@3 and NDCG@5 (standard metrics for ranking quality) compared to classical PageRank.
  • Statistical Significance: Paired t-tests confirmed that the improvements were not due to chance ($p < 0.005$).

Conclusion

This work demonstrates that gradient-free methods are a practical and scalable alternative for training Supervised PageRank models. While the objective function is generally non-convex—meaning the method guarantees convergence to a local minimum rather than a global one—the empirical results show substantial improvements over traditional baselines. Future work may involve incorporating "multi-start" techniques to explore the parameter space more effectively and refining the estimation of the initial Lipschitz constant ($L$) to improve hyperparameter tuning.

Summary updated

BibTeX
@misc{bogolubsky2014learning,
  author = {Lev Bogolubsky and Pavel Dvurechensky and Alexander Gasnikov and Gleb Gusev and Yurii Nesterov and Andrey Raigorodskii and Aleksey Tikhonov and Maxim Zhukovskii},
  title = {{Learning Supervised PageRank with Gradient-Free Optimization Methods}},
  year = {2014},
  eprint = {1411.4282},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1411.4282},
}
Figure