arXiv:2611.06782cs.SINov 2026

Manuscript Offprint

arXiv:2611.06782

Target PageRank: Matching Prescribed PageRank Scores via Budgeted Edge Additions

Parth Gupta, Abhinav Jain, Avishek Mukhopadhyay, Amitabha Bagchi, Sayan Ranu, Abhijnan Chakraborty

ABSTRACT

PageRank is widely used to quantify the importance of nodes in directed networks. In applications such as recommendation systems, it is increasingly important that the PageRank distribution provides a fair representation of node exposure. This motivates the problem of making minimal changes to a graph so that the PageRank values of a given set of target nodes TT match a desired vector tt. In this paper, we study this problem under an edge-addition budget BB, where exactly BB edges may be added to the graph. We show that deciding whether a multiset of exactly BB added edges can make the target nodes attain their desired absolute PageRank scores is NP-complete. After this, we define the ℓ1\ell_1 TARGET PAGERANK problem in which we seek to minimize the ℓ1\ell_1 distance between the target vector and resultant vector. We show that this optimization problem admits no polynomial-time multiplicative constant-factor approximation unless P=NPP = NP. Motivated by these hardness results, we propose two greedy heuristics for approaching the target PageRank vector. We additionally propose a Random Walk Hungarian (RWH) heuristic that addresses the addition of edges between dissimilar nodes by incorporating a penalty for such edges. Finally, we evaluate the proposed heuristics on several real-world and synthetic datasets and compare their performance in terms of PageRank accuracy, computational efficiency, and the relevance of the added edges.

1 INTRODUCTION

PageRank is a widely used measure of node importance in directed networks, originally introduced for ranking Web pages based on the structure of hyperlinks [1, 2]. The PageRank of a node depends not only on the number of incoming links but also on the importance of the nodes from which those links originate. This makes PageRank useful beyond Web search, including applications such as recommendation systems. In many such applications, however, the observed PageRank distribution of a network may not correspond to a desired distribution of importance or exposure. This motivates the problem of engineering the link structure of a network to achieve a prescribed PageRank score vector [3].

Consider a directed network G=(V,E)G = (V, E), a subset of target nodes T⊆VT \subseteq V, and a vector tt of desired absolute PageRank scores on TT. We ask whether there exists a multiset of exactly BB edge additions that makes the resulting PageRank scores on TT equal to tt. We call this the TARGET PAGERANK problem. Unlike the traditional PageRank manipulation setting, our formulation considers a desired score vector over multiple target nodes and allows the desired PageRank values to be specified explicitly.

We first investigate the computational complexity of this problem. We show that TARGET PAGERANK is NP-complete by a reduction from a generalized balanced partition problem. Furthermore, we consider the optimization version, in which the objective is to minimize the ℓ1\ell_1 distance between the resulting and desired PageRank score vectors on TT. We show that this optimization problem admits no polynomial-time multiplicative constant-factor approximation unless P=NPP = NP. This worst-case multiplicative hardness does not rule out additive guarantees or effective heuristics on particular instances.

Motivated by these hardness results, we develop three scalable heuristics. The first, GREEDY 1 (G1), exploits the exposure bias of target nodes and preferentially adds edges from over-exposed nodes to under-exposed nodes, while also considering high- and low-PageRank nodes outside the target set. The second, GREEDY 2 (G2), explicitly estimates the contribution of candidate edges to the reduction in ℓ1\ell_1 error and greedily selects the most useful edges. Finally, RANDOM WALK HUNGARIAN (RWH) exploits the local structure of the network by identifying clusters of over- and under-exposed nodes using random walks and then uses a minimum-cost matching procedure to select edges while accounting for domain-specific similarity.

We evaluate the proposed heuristics on large real-world recommendation-induced networks constructed from Amazon product-review data, as well as synthetic power-law graphs. Our evaluation considers both the reduction in ℓ1\ell_1 distance to the target score vector and the relevance of the newly added edges. Across our experiments, RWH generally achieves a better trade-off between PageRank error and edge similarity, while G1 is the least computationally expensive heuristic and G2 can provide improved PageRank optimization at a higher computational cost.

Our contributions can be summarized as follows:

  • We formulate the TARGET PAGERANK problem, which asks whether exactly BB edge additions can make a specified set of nodes attain a desired absolute PageRank score vector.
  • We prove that TARGET PAGERANK is NP-complete and that, unless P=NPP = NP, its ℓ1\ell_1-optimization variant is constant-factor inapproximable under a multiplicative guarantee.
  • We propose three scalable heuristics—G1, G2, and RWH—for approximately solving the optimization problem.
  • We experimentally evaluate these approaches on large real-world and synthetic networks and study their accuracy, scalability, and the relevance of the edges they introduce.

Parth Gupta ∗2^{*2}, Abhinav Jain ∗2^{*2}, Avishek Mukhopadhyay 3^{3}, Amitabha Bagchi 1^{1}, Sayan Ranu 1^{1} and Abhijnan Chakraborty 3^{3}