On local estimations of PageRank: A mean field approach∗ Santo Fortunato Complex Networks Lagrange Laboratory ISI Foundation 10133 Torino, Italy Mari´an Bogu˜ na´ Departament de F´ısica Fonamental Universitat de Barcelona 08028 Barcelona, Spain Alessandro Flammini and Filippo Menczer School of Informatics Indiana University Bloomington, IN 47406, USA

Abstract PageRank is a key element in the success of search engines, allowing to rank the most important hits in the top screen of results. One key aspect that distinguishes PageRank from other prestige measures such as in-degree is its global nature. From the information provider perspective, this makes it difficult or impossible to predict how their pages will be ranked. Consequently a market has emerged for the optimization of search engine results. Here we study the accuracy with which PageRank can be approximated by in-degree, a local measure made freely available by search engines. Theoretical and empirical analyses lead to conclude that given the weak degree correlations in the Web link graph, the approximation can be relatively accurate, giving service and information providers an effective new marketing tool. ∗

Preprint: Final version to appear in Internet Mathematics

1

1

Introduction

PageRank has played a key role in the success of Web search engines, allowing to rank the most important hits in the top page of results. While recent results suggest that other query-independent criteria may be equally or more effective than PageRank [21], the introduction of PageRank as a factor in sorting results [5] has contributed considerably to Google’s lasting dominance in the search engine market [24]. PageRank is not the only possible measure of importance or prestige among Web pages. The simplest possible way to measure the prestige of a page is to count the incoming links (in-links) to the page. The number of in-links (in-degree) is the number of citations that a page receives from the other pages, so there is a correlation between in-degree and quality, especially when the in-degree is large. The in-degree of Web pages is very cheap to compute and maintain, so that a search engine can easily keep in-degree updated with the evolution of the Web. However, in-degree is a local measure. All links to a page are considered equal, regardless of where they come from. Two pages with the same indegree are considered equally important, even if one is cited by much more prestigious sources than the other. To modulate the prestige of a page with that of the pages pointing to it means to move from the examination of an individual node in the link graph to that of the node together with its predecessor neighbors. PageRank represents such a shift from the local measure given by in-degree toward a global measure where each Web page contributes to define the importance of every other page. The use of PageRank in place of in-degree for applications such as ranking by Web search engines relies on two assumptions: (i) PageRank is a quantitatively different and better prestige measure compared to in-degree; and (ii) PageRank cannot be easily guessed or approximated by in-degree. There seems to be plenty of anecdotal and indirect evidence in support of these assumptions — for example the popularity of PageRank — but little quantitative data to validate them. To wit, Amento et al. [1] report a high average correlation between in-degree and PageRank (Spearman ρ = 0.93, Kendall τ = 0.83). Further, they report the same average precision at 10 (60%). Similar findings about high correlation and comparable performance between PageRank and in-degree are also reported for specific tasks of retrieving home pages [26] and corporations [25]. These studies are based on relevance assessments by human subjects for relatively small numbers of queries. In this paper we take a more direct and quantitative approach to explore the above PageRank assumptions, by answering the following 2

questions: What is the correlation between in-degree and PageRank across representative samples of the Web? How accurately can one approximate PageRank from local knowledge of in-degree? From the definition of PageRank, other things being equal, the PageRank of a page grows with the in-degree of the page. Beyond this zero-order approximation, the actual relation between PageRank and in-degree has not been thoroughly investigated in the past. It is known that the distributions of PageRank and in-degree follow an almost identical pattern [18, 9], i.e., a curve ending with a broad tail that follows a power law with exponent γ ' 2.1. While Litvak et al. [16] provide a theoretical interpretation of this observation, the equal distributional behavior of PageRank and indegree may indicate a strong correlation between the two variables. Surprisingly there is no agreement in prior literature about the correlation between PageRank and in-degree. Pandurangan et al. [18] show a weak correlation based on analysis of the brown.edu domain and the TREC WT10g collection. Donato et al. [9] report on a correlation coefficient which is basically zero based on analysis of a much larger sample (2 · 108 pages) taken from the WebBase [14] collaboration. On the other hand, analysis of the University of Notre Dame domain by Nakamura [17] reveals a strong correlation. In Section 2 we estimate PageRank for a generic directed network within a mean field approach [3], which has been applied successfully to describe several other complex networks [19]. We obtain a system of self-consistent relations for the average value of PageRank of all vertices with equal indegree. For a network without degree-degree correlations the average PageRank turns out to be simply proportional to the in-degree, modulo an additive constant. The prediction is validated empirically in Section 3, where we solve the equations numerically for four large samples of the Web graph; in each case the agreement between our theoretical estimate and the empirical data is excellent. We find that the Web graph is basically uncorrelated, so the average PageRank for each degree class can be well approximated by a linear function of the in-degree. As an additional contribution we settle the issue of the correlation between PageRank and in-degree; the linear correlation coefficient is consistently large for all four samples we have examined, in agreement with Nakamura [17]. We also calculate the size of the fluctuations of PageRank about the average value and find that the relative fluctuations decrease as the in-degree increases, indicating that our mean field estimate becomes more accurate for important pages. Our results suggest that we can approximate PageRank from in-degree. By deriving PageRank with our formula we can predict the rank of a page 3

within a hit list by knowing its in-degree and the number of hits in the list. Section 4 reports on an empirical study of this prediction, performed by submitting AltaVista queries to Google. The actual ranks turn out to be scattered about the corresponding predictions. The implication of the fact that PageRank is mostly determined by in-degree is that it is possible to estimate the number of in-links that a new page needs in order to achieve a certain rank among all pages which deal with a specific topic. This provides search marketers — and information providers — with a new powerful tool to guide their campaigns.

2

Theoretical analysis

The PageRank p(i) of a page i is defined through the following expression [5]: p(i) =

X q + (1 − q) p(j)/kout (j) N j:j→i

i = 1, 2, . . . , N

(1)

where N is the total number of pages, j → i indicates a hyperlink from j to i, kout (j) is the out-degree of page j and 1 − q is the so-called damping factor. The set of Equations 1 can be solved iteratively. From Eq. 1 it is clear that the PageRank of a page grows with the PageRank of the pages that point to it. However, the sum over predecessor neighbors implies that PageRank also increases with the in-degree of the page. PageRank can be thought of as the stationary probability of a random walk process with additional random jumps. The steady state can be derived from the concentration of a large number of non-interacting random walkers. The physical description of the process is as follows: when a random walker is in a node of the network, at the next time step with probability q it jumps to a randomly chosen node and with probability 1 − q it moves to one of its successors with uniform probability. In the case of directed networks, there is the possibility that the node has no successors. In this case the walker jumps to a randomly chosen node of the network with probability one. The PageRank of a node i, p(i), is then the probability to find the walker at node i when the process has reached the steady state, a condition that is always guaranteed by the jumping probability q. The probability to find the walker at node i at time step n follows a simple Markovian equation: pn (i) =

X q aji + (1 − q) pn−1 (j) N k (j) j:k (j)6=0 out out

4

+

1−q N

X

pn−1 (j),

(2)

j:kout (j)=0

where aji is the adjacency matrix with entry 1 if there is a direct connection between j and i and zero otherwise. The first term in Eq. 2 is the contribution of walkers that decide to jump to a randomly chosen node, the second term is the random walk contribution, and the third term accounts for walkers that at the previous step were located in dangling points and now jump to random nodes. In the limit n → ∞ this last contribution becomes a constant term affecting all the nodes in the same way, and thus it can be removed from Eq. 2 under the constraint that the final solution is properly normalized. Strictly speaking this would lead to an effective teleportation term, which we omit to keep the notation simple. Alternatively dangling nodes could be taken into account by a proper rescaling of the second term [8]. Hereafter we intend all sums over nodes to exclude dangling ends, considering only nodes with kout > 0. The PageRank of page i is the steady state solution of Eq. 2, p(i) = limn→∞ pn (i). Equation 2 can be used as a numerical algorithm to compute PageRank but, unfortunately, it is not possible to extract analytical solutions from it. In the next subsection we propose a mean field solution of Eq. 2 that, nevertheless, gives a very accurate description of the PageRank structure of the Web. The mean field approach is often used in statistical physics, and is reliable when each element of the system has many interaction partners.1 In such cases the effect of the interactions can be taken into account in an average way, neglecting the variations among the elements.

2.1

Mean field analysis

Instead of analyzing the PageRank of single pages, we aggregate pages in classes according to their degree k ≡ (kin , kout ) and define the average PageRank of nodes of degree class k as pn (k) ≡

X 1 pn (i). N P (k) i∈k

(3)

Note that now “degree class k” means all the nodes with in-degree kin and out-degree kout ; P (k) is the probability that a node is in the degree class k. 1 For example, on hypercubic lattices, the mean field solution for the Ising spin model becomes exact in four dimensions, when each spin has eight neighbors.

5

Taking the average of Eq. 2 for all nodes of the degree class k we obtain X 1 aji q (1 − q) X X pn (i) = + pn−1 (j). N P (k) i∈k N N P (k) i∈k j:k (j)6=0 kout (j)

(4)

out

From Eq. 3 we see that the left-hand side of Eq. 4 is pn (k). In the right-hand side we split the sum over j into two sums, one over all the degree classes k0 and the other over all the nodes within each degree class k0 . We get pn (k) =

q (1 − q) X 1 X X + aji pn−1 (j). 0 N N P (k) k0 kout i∈k j∈k0

(5)

At this point we perform our mean field approximation [3], which consists in substituting the PageRank of the predecessor neighbors of node i by its mean value, that is, XX

aji pn−1 (j) ' pn−1 (k0 )

i∈k j∈k0

XX

aji

i∈k j∈k0

= pn−1 (k0 )Ek0 →k ,

(6)

where Ek0 →k is the total number of links pointing from nodes of degree k0 to nodes of degree k. This matrix can also be rewritten as Ek0 →k kin P (k)N = kin P (k)N Pin (k0 |k),

Ek0 →k = kin P (k)N

(7)

where Pin (k0 |k) is the probability that a predecessor of a node belonging to degree class k belongs to degree class k0 . The conditional probability Pin (k0 |k) incorporates the so-called degree-degree correlation, i.e., the correlation between the degree of a node and that of its neighbors (see [19] pp. 243–245). Using Equations 6 and 7 in Eq. 5 we finally obtain pn (k) =

X Pin (k0 |k) q + (1 − q)kin pn−1 (k0 ), 0 N k out 0 k

(8)

which is a closed set of equations for the average PageRank of pages in the same degree class. When the network has degree-degree correlations, the solution of this equation is non-trivial and the resulting PageRank can have a complex dependence on the degree. However, direct measurements in our four Web samples have revealed that degree-degree correlations are very weak in the Web [22]. In the particular case of networks without 6

degree-degree correlations, the transition probability Pin (k0 |k) becomes independent of k and takes the simpler form Pin (k0 |k) =

0 P (k0 ) kout , hkin i

(9)

where h·i denotes the average value of the quantity in brackets. Using this expression in Eq. 8 and taking the limit n → ∞, we obtain p(k) =

q 1 − q kin + , N N hkin i

(10)

that is, the average PageRank of nodes of degree class k is independent of kout and proportional to kin .

2.2

Fluctuation analysis

The formalism presented in the previous subsection gives a solution for the average PageRank of nodes of the same degree class but it tells us nothing about how PageRank is distributed within one degree class. To fill this gap, we extend our mean field approach to the fluctuations within a degree class. To this end, we first start by taking the square of Eq. 2: q2 2q(1 − q) X aji + pn−1 (j) N2 N kout (j) j X aji + (1 − q)2 p2n−1 (j) 2 kout (j) j X aji aj 0 i p (j)pn−1 (j 0 ). + (1 − q)2 0 ) n−1 k (j)k (j out j6=j 0 out

p2n (i) =

(11)

As in the previous calculation, we take the average over degree classes of the square of PageRank and define p2 n (k) ≡

X 1 p2 (i). N P (k) i∈k n

(12)

Taking this average in Eq. 11 and rearranging terms we get p2 n (k) =

X Pin (k0 |k) q2 2q(1 − q) + k pn−1 (k0 ) in 0 N2 N k out k0

+ (1 − q)2 kin

X Pin (k0 |k) p2 02 kout

k0

7

n−1 (k

0

)

+ (1 − q)2 kin (kin − 1) · X X Pin (k0 , k00 |k) pn−1 (k0 )pn−1 (k00 ), · 0 k 00 k out out k0 k00

(13)

where we have used again the mean field approach. The probability Pin (k0 , k00 |k) is the joint probability that a node of degree k has simultaneously one predecessor of degree k0 and another of degree k00 . Let us make the reasonable independence assumption that this joint distribution factorizes as Pin (k0 , k00 |k) = Pin (k0 |k)Pin (k00 |k). In this case we can write an equation for the standard deviation within a degree class, σn2 (k) = p2 n (k) − p2n (k), as follows: σn2 (k) (1 − q)2

= kin

X Pin (k0 |k) σ2

+ kin

X Pin (k0 |k) p2 "

n−1 (k

02 kout

k0

− kin

n−1 (k

02 kout

k0

X Pin (k0 |k) k0

0 kout

0

0

)

) #2 0

pn−1 (k ) .

(14)

In the case of uncorrelated networks, this equation can be analytically solved in the limit n → ∞: (1 − q)2 σ 2 (k) = 2 N hkin i2

1 hkin i

(qhkin i+(1−q)kin )2 kout E D (1−q)2 in 1 − hkin i kkout

D

E

−1 kin .

(15)

In the case of the Web, the heavy tail of the in-degree distribution and the high average in-degree allows to simplify this expression as (1 − q)4 σ (k) ' 2 N hkin i3 2

*

2 kin kout

+

kin .

(16)

For large in-degrees, the coefficient of variation is σ(k) ' (1 − q) p(k) 

The factor

2 kin kout

"*

2 kin kout

+

1 hkin ikin

#1/2

.

(17)



in this expression can be very large when the network has

a long-tailed degree distribution, which implies that the relative fluctuations are large for small in-degrees. Therefore the true PageRank of pages with 8

Table 1: Number of pages, links, and average degree (hki = hkin i = hkout i) for the four data sets we have analyzed. Data set # pages # links hki

WB 2001 8.1 × 107 7.5 × 108 9.34

.uk 2002 1.9 × 107 2.9 × 108 15.78

WB 2003 4.9 × 107 1.2 × 109 24.05

.it 2004 4.1 × 107 1.1 × 109 27.50

small in-degree may differ significantly from its mean field approximation. However, for large in-degrees the relative fluctuations become less important — due to the factor kin in the denominator — and the average PageRank from Eq. 10 in the previous subsection gives a good approximation. This can be seen by analyzing the coefficient of variation for the nodes with max the maximum degree  kin . Assuming that kout is weakly correlated with kin , the coefficient

2 kin kout

max )3−γ scales with the maximum in-degree as (kin

max )1−γ/2 . Since γ > 2, the relative and the coefficient of variation as (kin fluctuations go to zero. Then, for small in-degrees we expect PageRank to be distributed according to a power law; for intermediate in-degrees, according to a distribution peaked at the average mean field value plus a power law tail; and for large in-degrees, according to a Gaussian distribution centered around the predicted mean field solution. Note that the expression in Eq. 17 relates to the relative fluctuations within a degree class, rather than across the entire graph. Since PageRank is distributed according to a power law with γ close to 2, the overall fluctuations diverge in the limit of infinite graph size.

3

Results

For an empirical validation of the theoretical predictions in the previous section, we analyzed four samples of the Web graph. Two of them were obtained by crawls performed in 2001 and 2003 by the WebBase collaboration [14]. The other two were collected by the WebGraph project [4]: the pages belong to two national domains, .uk (2002) and .it (2004), respectively. In Table 1 we list the number of vertices and edges and the average degree for each data set. We calculated PageRank with the standard iterative procedure; the factor q was set to 0.15, as in the original paper by Brin and Page [5] and many successive studies. The convergence of the algorithm is very quick: in each 9

Table 2: Exponents of the power law part of the PageRank distribution and linear correlation coefficients between PageRank and in-degree. Data set γ ρ

WB 2001 2.2 ± 0.1 0.538

.uk 2002 2.0 ± 0.1 0.554

WB 2003 2.0 ± 0.1 0.483

.it 2004 2.0 ± 0.1 0.733

case less than a hundred iterations were enough to determine the result with a relative accuracy of 10−5 for each vertex. (See [2] for an in-depth survey of PageRank computation.) In Figure 1 we show the cumulative distributions of PageRank, i.e. the function R(p) representing the probability that PageRank exceeds the value p. Using the cumulative distribution allows to reduce the noise due to fluctuations at large PageRank values. In all four cases we obtained a pattern with a broad tail. The initial part of the cumulative distribution can be well fitted by a power law p−β with exponent β between 1.0 and 1.2. The exponents for the actual PageRank distribution are γ = β + 1, so they range from 2.0 to 2.2, in agreement with other studies [18, 9]. The right-most part of each curve, corresponding to the pages with highest PageRank, decreases faster. For the WebBase sample of 2001 the tail of the curve up to the last point can be well fitted by a power law with exponent γ ≈ 2.6; in the other cases we see evidence of an exponential cutoff. We also calculated the linear correlation coefficient between PageRank and in-degree. In Table 2 we list Pearson’s ρ together with the slope of the power law portions of the PageRank distributions. The correlation between PageRank and in-degree is rather strong, in contrast to the findings of [18] and especially [9] but in agreement with [17] and consistently with the high correlation observed between in-degree and Kleinberg’s authority score [10]. Let us now validate the expression derived from our mean field analysis for the average PageRank. We solved Eq. 8 with an analogous iterative procedure as the one we used to calculate PageRank. We now look for the vector p¯(k), defined for all pairs k ≡ (kin , kout ) which occur in the network. Since PageRank is a probability, it must be normalized so that its sum over all vertices of the network is one. So we initialized the vector with the constant p¯0 (k) = 1/N , and plugged it into the right-hand side of Eq. 8 to get the first approximation p¯1 (k). We then used p¯1 (k) as input to get p¯2 (k), and so on. We remark that the expression of the probability Pin (k0 |k) is not a necessary ingredient of the calculation. In fact, the sum on the right-hand 10

side of Eq. 8 is just the average value of p¯n−1 (k0 )/k 0 out among all predecessors of vertices with degree k. The algorithm leads to convergence within a few iterations (we never needed more than 20). In Figure 2 we compare the values of p¯(k) calculated from Eq. 8 with the corresponding empirical values. Here we averaged p¯(k) over out-degree, so it only depends on the in-degree kin . The variation of p¯(k) with kout (for fixed kin ) turns out to be very small. The scatter plots of Figure 2 show that the mean field approximation gives excellent results: the points are very tightly concentrated about each frame bisector, drawn as a guide to the eye. The mean field approximations of PageRank are well correlated with the degree class averages of the actual PageRank. For example, Pearson’s correlation coefficients are ρ = 0.9 and ρ = 0.7 for the WebBase crawls of 2001 and 2003, respectively. Next let us analyze explicitly the relation between PageRank and indegree. To plot the function p¯(kin ) directly is not very helpful because the wide fluctuations of PageRank within each degree class would mystify the pattern for large values of kin . So we average PageRank within bins of indegree, which is the standard procedure to derive trends from scatter plots (see [19], pp. 240–242). As both PageRank and in-degree are power-law distributed, we use logarithmic bins; the multiplicative factor for the bin size is 1.3. The resulting patterns for our four Web samples are presented in Figure 3. The empirical curves are rather smooth, and show that the average PageRank (per degree class) is an increasing function of in-degree. The relation between the two variables is approximately linear for large indegrees. This is exactly what we would expect if the degrees of pages were uncorrelated with those of their neighbors in the Web graph (cf. Section 2.1). In such a case the relation between PageRank and in-degree is given by Eq. 10. Indeed, the comparison of the empirical data with the curves of Eq. 10 in Figure 3 is quite good for all data sets. This provides indirect confirmation that the Web graph is an essentially uncorrelated graph [22]. What is most important, the average PageRank of a page with in-degree kin is well approximated by the simple expression of Eq. 10. The possible applications of this result are examined in the next section. Let us analyze the empirical fluctuations of PageRank about its mean value. We anticipated in Section 2.2 that we expect large fluctuations for small values of kin , due to the large value of the second moment of the in-degree distribution, and that the relative size of the fluctuations should decrease as kin increases (Eq. 17). Figure 4 confirms our prediction. We plotted the coefficient of variation σ(kin )/p(kin ) as a function of kin , once again averaging over out-degree. The trend is clearly decreasing as kin increases. The fluctuations of the data points are due to degree-degree correlations 11

(even if they are small, they are not completely negligible). We also derived mean field estimates for the coefficient of variation. Rather than solving the complete Eq. 14, we used the coefficient of variation for an uncorrelated network, given by the ratio between σ(kin ) from Eq. 15 and p(kin ) from Eq. 10. Nevertheless, the agreement between our approximated estimates and the empirical results in Figure 4 is very good except for high kin , where we have an insufficient number of points in each degree class leading to high fluctuations. Finally, we test our prediction for the distribution of PageRank within a degree class. In Figure 5 we plot the PageRank distributions for four classes, corresponding to in-degree 1, 10, 100 and 1000. The data refer to the WebBase sample of 2003, but we found the same trend for the other three data sets. We see that for low in-degrees (kin = 1, 10) the distribution is a power law. The exponent is essentially the same (2.3 ± 0.1, as for the other samples). However, for higher degrees (kin = 100, 1000), the distribution changes from a power law to a hybrid distribution between a Gaussian and a power law. The Gaussian is signaled by the peak, which in the double logarithmic scale of the plot appears quite flat; the power law is manifest in the long tail of the distribution. The power law tails are all approximately parallel to each other, i.e., the exponent is the same for all curves.

4

Applications to the live Web

Knowing the relationship between PageRank and in-degree has potential applications for the Web graph. It is vital for many service and information providers to have good rankings by major search engines for relevant keywords, given that search engines are the primary way that Internet users find and visit Web sites [27, 20]. This situation has made PageRank, used as a global ranking factor by Google, a valuable good controlled by a major search engine. Consequently a demand has emerged for companies that perform so-called search engine optimization or search engine marketing on behalf of business clients. The goal is to increase the rankings of their pages, thus directing traffic to their sites [23]. Search engine marketers have partial knowledge of how search engines rank pages. They have access to undocumented tools to measure PageRank, such as the Google toolbar. Through experience and empirical tests they can reverse-engineer some important ranking factors. However from inspecting the hundreds of bulletin boards and blogs maintained by search engine marketers it is evident that their work is largely guided by guesswork,

12

trial and error. Nevertheless search engine optimization has grown to be a healthy industry as illustrated by a recent study [15]. Search engine marketing has even assumed ethical and legal ramifications as a sort of arms race has ensued between marketers who want to increase their clients’ rankings and search engines who want to maintain the integrity of their systems. The term spamdexing refers to those means of promoting Web sites that search engines deem unethical and worthy of blocking [12]. In the previous section we have shown that the average PageRank of a page with in-degree kin can be well approximated by the closed formula in Eq. 10. We have also found that PageRank fluctuations about the average become less important for larger kin ; for large enough kin the PageRank of a page with kin in-links only depends on kin , and Eq. 10 should give at least the correct order of magnitude for its PageRank. These results suggest that Web authors may use local in-degree information as a proxy for estimating the global PageRank of their sites. To use Eq. 10 for the Web we need to know the total number N of Web pages indexed by a search engine, say Google, and their average degree hkin i. The size of the Google index was published until recently; we use the last reported number, N ' 8.1 × 109 . The average degree is not known; the best we can do is extract it from samples of the Web graph. Our data sets do not deliver a unique value for hkin i, but they agree on the order of magnitude (see Table 1). Hereafter we use hkin i = 10. Let us now consider whether Eq. 10 can be useful in the live Web. Ideally we should compare the PageRank values of a list of Web pages with the corresponding values derived through our formula. Unfortunately the real PageRank values calculated by a search engine such as Google are not accessible, so we need a different strategy. The simplest choice is to focus on rank rather than PageRank. We know that Google ranks Web pages according to their PageRank values as well as other features which do not depend on Web topology. The latter features are not disclosed; in the following we disregard them and assume for simplicity that the ranking of a Web page exclusively depends on its PageRank value. There is a simple relation between the PageRank p of a Web page and the rank R of that page. The Zipf function R(p) is simply proportional to the cumulative distribution of PageRank. Since the PageRank distribution is approximately a power law with exponent γ ' 2.1 (see Section 3), we find that R(p) ' A p−β ,

(18)

where β = γ − 1 ' 1.1 and A is a proportionality constant. Eq. 18 can be empirically tested. Figure 6 shows the pattern for the WebBase sample 13

of 2003. The ansatz of Eq. 18 (with β = 1.1) reproduces the data for over three orders of magnitude. The rank R referred to above is the global rank of a page of PageRank p, i.e., its position in the list containing all pages of the Web in decreasing order of PageRank. More interesting for information providers and search engine marketers is the rank within hit lists returned for actual queries, where only a limited number of result pages appear. We need a criterion to pass from the global rank R to the rank r within a query’s hit list. A page with global rank R could appear at any position r = 1, 2, . . . , n in a list with n hits. In our framework pages differ only by their PageRank values (or, equivalently, by their in-degrees), as we neglect lexical and other features. Therefore we can assume that each Web page has the same probability to appear in a hit list. This is a strong assumption, but even if it may fail to describe what happens at the level of an individual query, it is a fair approximation when one considers a large number of queries. Under this hypothesis the probability distribution of the possible positions is a Poissonian, and the expected local rank r of a page with global rank R is given by the mean value: r=R

n . N

(19)

Now it is possible to test the applicability of Eq. 10 to the Web. We are able to estimate the rank of a Web page within a hit list if we know the number of in-links kin of the page and the number n of hits in the list. The procedure consists of three simple steps: 1. from kin we calculate the PageRank p of the page according to Eq. 10; 2. from p we determine the global rank R according to Eq. 18; 3. from R and n we derive the local rank r according to Eq. 19. The combination of the three steps leads to the following expression of the local rank r as a function of kin and n: r=

An

( Nq

+

. 1−q 1.1 N hkin i kin ) N

(20)

The natural way to derive the parameter A would be to perform a fit of the empirical relation between global rank and PageRank, as we did in Figure 6. The result should then be extrapolated to the full Web graph. As it turns out, the A value derived in this way strongly depends on the sample of the Web, so that one could do no better than estimating the order of magnitude 14

of A. On the other hand A is a simple multiplicative constant, and its value has no effect on the dependence of the local rank r on the variables kin and n. Therefore we decided to consider it as a free parameter, whose value is to be determined by the comparison with empirical data. For our analysis we used a set of 65, 207 actual queries from a September 2001 AltaVista log. We submitted each query to the Google Search API,2 and picked at random one of the pages of the corresponding hit list. For each selected page, we stored its actual rank remp within the hit list, as well as its number kin of in-links, which was again determined through Google.3 The number n of hits of the list was also stored. Google (like other search engines) never displays more than 1000 results per query, so we always have remp ≤ 1000. From kin and n we estimated the theoretical rank rest by means of Eq. 20, and compared it with its empirical counterpart remp . The comparison can be seen in the scatter plot of Figure 7. Given the large number of queries and the broad range of rank values, we visualize the density of points in logarithmic bins. The region with highest density is a stripe centered on the diagonal line rest = remp by a suitable choice of A (A = 1.5 × 10−4 ). We conclude that the rank derived through Eq. 20 is in most cases close to the empirical one. We stress that this result is not trivial, because (i) Web pages are not ranked exclusively according to PageRank; (ii) we are neglecting PageRank fluctuations; and (iii) all pages do not have the same probability of being relevant with respect to a query. Given such coarse approximations, we are satisfied to find a good correlation at least between the orders of magnitude of the predicted and actual rank. Indeed, Pearson’s correlation coefficient between the log-values of rest and remp is ρ = 0.8 and a linear regression yields p < 10−4 .

5

Discussion

The present study motivates further enquires. The mean field approach provides a simple functional relationship between average PageRank, in-degree, and degree-degree correlations. The price one pays by using such a simple approximation is the neglect of the significant fluctuations of PageRank values around the mean field average within a degree class. For the majority of 2

http://code.google.com/apis/ The in-degree data provided by search engines is only an estimate of the true number. First, a search engine can only know of links from pages that it has crawled and indexed. Second, for performance reasons, the algorithms counting inlinks use various unpublished approximations based on sampling. 3

15

pages, having moderate PageRank, fluctuations are more important; the indegree being equal, they make the difference between being linked by “good” or “bad” pages. A venue we intend to pursue is to understand what makes the difference between two pages with the same in-degree and a very different value of PageRank, and how pages with higher PageRank are differently positioned in the complex architecture of the Web graph. The approach described here lends itself naturally to applications other than Web information retrieval, such as crawling [7], traffic prediction [11], spamdexing mitigation [13], and bibliometrics [6]. For example pages whose actual PageRank is much lower than its mean field approximation may flag link farms and be considered likely spam candidates. In bibliometrics, the quality of papers is commonly assessed via the number of citations they receive; it would be useful to be able to rank papers with the same number of citations through their PageRank values. A characterization of papers leading to high PageRank fluctuations would be useful in this domain as well. A promising way to study fluctuations at a moderate price in increased complexity could be to use the definition of Eq. 1 where the value of PageRank on the right-hand side is substituted by the mean field approximation. Further work is needed in this direction. In this paper we have quantitatively explored two key assumptions around the current search status quo, namely that PageRank is very different from in-degree due to its global nature and that PageRank cannot be easily guessed or approximated without global knowledge of the Web graph. We have shown that due to the weak degree-degree correlations in the Web link graph, PageRank is strongly correlated with in-degree and thus the two measures provide very similar information, especially for the most popular pages. Further, we have introduced a general mean field approximation of PageRank that, in the specific case of the Web, allows to estimate PageRank from only local knowledge of in-degree. We have further quantified the fluctuations of this approximation, gauging the reliability of the estimate. Finally we have validated the approach with a simple procedure that predicts how actual Web pages are ranked by Google in response to actual queries, using only knowledge about in-degree and the number of query results. Our method has immediate application for information providers. For instance, the association between rank and in-degree allows one to deduce how many in-links would be needed for a new page to achieve a given rank among all pages that deal with the same topic. This is an issue of crucial economic impact: all companies that advertise their products and services online wish for their homepages to belong among the top-ranked sites in their 16

business sector. Suppose that someone wants their homepage H to appear among the top n pages about topic T . Our recipe is extremely simple and cheap, requiring the submission of two queries to the search engine: 1. submit a query to Google (or another search engine) about topic T ; 2. find the number kn of in-links for the n-th page in the resulting hit list; 3. H needs at least kn in-links to appear among the first n hits for topic T. Of course there are limits to this approach; we do not claim that the lower bound of the number of in-links can be taken as a safe guide. Indeed we have neglected important factors such as the role of page content in retrieving and ranking results, and the fluctuations of the mean field approximation of PageRank. Besides, the necessity of limiting our empirical analysis to no more than 1000 hits per query enhances the final correlation between in-degree and PageRank and represents a bias that deserves further investigations. Notwithstanding the above caveats, our results indicate that at least the order of magnitude should be a reliable reference point. This may be all that is necessary — knowing the difference between the need for one thousand or one million links can be a crucial asset in planning and budgeting a marketing campaign. Is word of mouth sufficient, or is advertising required? Our approach provides a tool to answer this kind of questions. In making such a tool available to search engine marketers and information providers alike, we hope to create a more level playing field so that not only large and powerful organizations but also small communities with little or no marketing budget can make informed decisions about the management of their Web presence.

6

Acknowledgments

We thank A. Vespignani and M. Serrano, for helpful discussions. We are grateful to Google for extensive use of its Web API, to the WebBase and WebGraph projects for their crawl data, and to AltaVista for use of their query logs. This work is funded in part by the Spanish government’s DGES grant FIS2004-05923-CO2-02 and Generalitat de Catalunya grant SGR00889 to MB, by NSF Career award 0348940 to FM, and by the Indiana University School of Informatics. A preliminary version of this paper appeared in the 17

Proceedings of the Fourth Workshop on Algorithms and Models for the Web-Graph (WAW2006).

References [1] B. Amento, L. Terveen, and W. Hill. Does “authority” mean quality? Predicting expert quality ratings of Web documents. In Proc. 23rd ACM SIGIR Conf. on Research and Development in Information Retrieval, pages 296–303, 2000. [2] P. Berkhin. A survey on PageRank computing. Internet Mathematics, 2:73–120, 2005. [3] J. Binney, N. Dowrick, A. Fisher, and M. Newman. The theory of critical phenomena. Oxford University Press, first edition, 1992. [4] P. Boldi and S. Vigna. The WebGraph framework I: Compression techniques. In Proc. 13th intl. conf. on World Wide Web, pages 595–601, 2004. Data sets at http://webgraph.dsi.unimi.it. [5] S. Brin and L. Page. The anatomy of a large-scale hypertextual Web search engine. Computer Networks, 30(1–7):107–117, 1998. [6] P. Chen, H. Xie, S. Maslov, and S. Redner. Finding scientific gems with Google. Journal of Informetrics, 1(1):8–15, January 2007. [7] J. Cho, H. Garcia-Molina, and L. Page. Efficient crawling through URL ordering. Computer Networks, 30(1–7):161–172, 1998. [8] G. M. D. Corso, A. Gulli, and F. Romani. Fast PageRank computation via a sparse linear system. Internet Mathematics, 2(3):251–273, 2005. [9] D. Donato, L. Laura, S. Leonardi, and S. Millozzi. Large scale properties of the Webgraph. European Physical Journal B, 38:239–243, 2004. [10] D. Donato, S. Leonardi, and P. Tsaparas. Stability and similarity of link analysis ranking algorithms. In Proc. of International Colloquium on Automata, Languages and Programming (ICALP 2005), pages 717– 729, 2005. [11] S. Fortunato, A. Flammini, F. Menczer, and A. Vespignani. Topical interests and the mitigation of search engine bias. Proc. Natl. Acad. Sci. USA, 103(34):12684–12689, 2006. 18

[12] M. Gori and I. Witten. The bubble of Web visibility. Communications of the ACM, 48(3):115–117, 2005. [13] Z. Gyongyi, H. Garcia-Molina, and J. Pedersen. Combating Web spam with TrustRank. In Proc. 30th International Conference on Very Large Data Bases (VLDB), pages 576—587, 2004. [14] J. Hirai, S. Raghavan, H. Garcia-Molina, and A. Paepcke. WebBase: A repository of Web pages. In Proc. 9th International World Wide Web Conference, 2000. Data sets at http://wwwdiglib.stanford.edu/˜testbed/doc2/WebBase/. [15] iProspect. White papers, tools and search engine marketing research studies. http://www.iprospect.com/about/searchenginemarketingwhitepapers.htm. [16] N. Litvak, W. Scheinhardt, and Y. Volkovich. Probabilistic relation between in-degree and pagerank. Algorithms and Models for the WebGraph, pages 72–83, 2008. [17] I. Nakamura. Characterization of topological structure on complex networks. Physical Review E, 68:045104, 2003. [18] G. Pandurangan, P. Raghavan, and E. Upfal. Using PageRank to characterize Web structure. In Proc. 8th Annual International Conference on Combinatorics and Computing (COCOON), pages 330–339, Singapore, 2002. Springer-Verlag. [19] R. Pastor-Satorras and A. Vespignani. Evolution and Structure of the Internet. Cambridge University Press, Cambridge, UK, 2004. [20] F. Qiu, Z. Liu, and J. Cho. Analysis of user Web traffic with a focus on search activities. In Proc. International Workshop on the Web and Databases (WebDB), 2005. [21] M. Richardson, A. Prakash, and E. Brill. Beyond pagerank: Machine learning for static ranking. In Proceedings of the 15th international conference on World Wide Web, pages 707–715, New York, NY, USA, 2006. ACM Press. [22] M. A. Serrano, A. Maguitman, M. Boguna, S. Fortunato, and A. Vespignani. Decoding the structure of the WWW: A comparative analysis of Web crawls. ACM Trans. Web, 1(2):10, 2007. 19

[23] D. Sullivan. Intro to search engine optimization. http://searchenginewatch.com/webmasters/ article.php/2167921. [24] D. Sullivan. Nielsen//netratings search engine ratings. http://searchenginewatch.com/reports/article.php/ 2156451, August 2005. [25] T. Upstill, N. Craswell, and D. Hawking. Predicting fame and fortune: PageRank or indegree. In Proc. 8th Australasian Document Computing Symposium (ADCS), 2003. [26] T. Upstill, N. Craswell, and D. Hawking. Query-independent evidence in home page finding. ACM Trans. Information Systems, 21(3):286– 313, July 2003. [27] Websidestory. User navigation behavior to effect link popularity, May 2005. Cited by Search Engine Round Table, http://www.seroundtable.com/archives/001901.html. According to this source, Websidestory Vice President Jay McCarthy announced at the Search Engine Strategies Conference (Toronto 2005) that the number of page referrals from search engines has surpassed those from other pages.

20

0

0

10

Cum. Prob.

10

-3

10

-6

10

-3

10 WebBase 2001 -1.2 R(p) ~ p -8

0

Cum. Prob.

10

10

-6

10

-6

10 -4

-8

10

0

10

-3

10

-6

10

.uk 2002 R(p) ~ 1/p 10

-6

10

-6

10

10

-4

-3

10 WebBase 2003 R(p) ~ 1/p -8

10

-6

10

PageRank

.it 2004 R(p) ~ 1/p

-6

10 -4

-8

10

10

10

PageRank

Figure 1: Cumulative distributions of PageRank.

21

-4

Figure 2: Scatter plots of the empirical average PageRank per degree class versus our mean field (MF) estimate.

22

-2

PageRank

10

WebBase 2001 MF formula

-4

10

-6

10

-6

10

-8

10

0

10 -4

PageRank

.uk 2002 MF formula

-4

10

2

10

4

10

6

10

0

10

-4

WebBase 2003 MF formula

10

-8

10

10

-8

10

4

6

10

10

.it 2004 MF formula

10

-6

2

10

-6

10

-8

10

0

10

2

10

4

10

in-degree

6

10

0

10

2

10

4

10

in-degree

6

10

Figure 3: PageRank versus in-degree; the dashed line is the approximation given by the closed formula of Eq. 10.

23

2

10

1

1

10

0

10

-1

10

σ(kin)/p(kin)

10

-1

10

-2

10

WebBase 2001 MF

-2

10

-3

10

σ(kin)/p(kin)

0

10

0

2

10

.uk 2002 MF

-3

10

-4

10

4

10

10

0

10 2 10

2

4

10

10

0

10

0

10

-1

10

-2

-2

10

10

WebBase 2003 MF

-3

10

-4

10

0

10

2

10

.it 2004 MF

-4

10 4

10

in-degree

6

10

0

10

2

10

in-degree

Figure 4: Coefficient of variation of PageRank versus in-degree.

24

4

10

9

10

Frequency

6

10

3

10

k=1 k=10 k=100 k=1000

0

10

-9

10

-8

10

-7

-6

10

10

PageRank

-5

10

-4

10

Figure 5: Distributions of PageRank for four degree classes in the link graph from the WebBase 2003 crawl.

25

8

10

WebBase, 2003 crawl -1.1 R~p

6

R (rank)

10

4

10

2

10

0

10 -9 10

-8

10

-7

10

-6

-5

10 10 p (PageRank)

-4

10

Figure 6: Dependence of the rank of a page on its PageRank value.

26

-3

10

10

6

2-6

rest (predicted rank)

105 10 10

4

2-10

3

2

-12

2-15

102 10

1

100 100 101 102 103 remp (actual rank) Figure 7: Density map of the scatter plot between predicted rank rest and actual rank remp for 65,207 queries. The fraction of points in each log-size bin is expressed by the color, also on a logarithmic scale. The diagonal guide to the eye is rest = remp .

27

On local estimations of PageRank: A mean field ... - Semantic Scholar

to rank the most important hits in the top screen of results. One ... service and information providers an effective new marketing tool. ...... Internet Mathematics,.

489KB Sizes 1 Downloads 322 Views

Recommend Documents

Mean Field Theory and Astrophysical Black Holes - Semantic Scholar
We review the basics of a newly developed mean field theory of relativistic ... ensemble which can be interpreted as modeling finite precision observations of a ..... but also ensembles of Kerr black holes if one wants to extract from the data ...

Mean Field Theory and Astrophysical Black Holes - Semantic Scholar
S is simply the Levi-Civita connection associated to the metric ¯g and will be .... 8π ¯T1. 1 = −p1 ≈ −. 6a2M2. 5ρ6. ;. 8π ¯T2. 2 = −p2 ≈. 12a2M2. 5ρ6. ;. 8π ¯T3.

Towards local electromechanical probing of ... - Semantic Scholar
Sep 19, 2007 - (Some figures in this article are in colour only in the electronic .... from Electron Microscopy Sciences) at room temperature for ..... These data.

Quantum Field Theory - Semantic Scholar
that goes something like this: “The pion has spin zero, and so the lepton and the antineutrino must emerge with opposite spin, and therefore the same helicity. An antineutrino is always right-handed, and so the lepton must be as well. But only the

field experimental evaluation of secondary ... - Semantic Scholar
developed a great variety of potential defenses against fouling ... surface energy (Targett, 1988; Davis et al., 1989;. Wahl, 1989; Davis ... possibly provide an alternative to the commercial .... the concentrations of the metabolites in the source.

Sampling Based on Local Bandwidth Dennis Wei - Semantic Scholar
in partial fulfillment of the requirements for the degree of. Master of Engineering in Electrical Engineering and Computer Science at the. MASSACHUSETTS ... Over the past year and a half, they have fostered a research environment that is at .... 1-2

Pedestrian Detection with a Large-Field-Of-View ... - Semantic Scholar
miss rate on the Caltech Pedestrian Detection Benchmark. ... deep learning methods have become the top performing ..... not to, in the interest of speed.

On Local Transformations in Plane Geometric ... - Semantic Scholar
‡School of Computer Science, Carleton U., Ottawa, Canada. §Fac. .... valid provided that after moving the vertex to a new grid point, no edge crossings ..... at least n−3 edge moves since all vertices of the path have degree at most 2 and.

Sampling Based on Local Bandwidth Dennis Wei - Semantic Scholar
is available, it is often possible to design sampling strategies that exploit the additional ...... uniform samples taken at the Nyquist rate associated with the PSD.

On Local Transformations in Plane Geometric ... - Semantic Scholar
the local transformation with respect to a given class of graphs are studied [3–6,. 9–12 .... Figure 4: Illustration of the canonical triangulation and the initial grid.

Field-Effect Tunneling Transistor Based on Vertical ... - Semantic Scholar
Feb 2, 2012 - Page 1. www.sciencemag.org/cgi/content/full/science.1218461/DC1. Supporting Online Material for. Field-Effect Tunneling Transistor ...

Aeroengine Prognostics via Local Linear ... - Semantic Scholar
The application of the scheme to gas-turbine engine prognostics is ... measurements in many problems makes application of ... linear trend thus detected in data is used for linear prediction ... that motivated their development: minimizing false.

On Knowledge - Semantic Scholar
Rhizomatic Education: Community as Curriculum by Dave Cormier. The truths .... Couros's graduate-level course in educational technology offered at the University of Regina provides an .... Techknowledge: Literate practice and digital worlds.

On Knowledge - Semantic Scholar
Rhizomatic Education: Community as Curriculum .... articles (Nichol 2007). ... Couros's graduate-level course in educational technology offered at the University ...

Multi-View Local Learning - Semantic Scholar
Recently, another type of methods, which is based on data graphs have aroused considerable interests in the machine learning and data mining community. .... problem, where a real valued fi, 1 ≤ i ≤ l + u, is assigned to each data point xi. For an

Bandwidth and Local Memory Reduction of Video ... - Semantic Scholar
Aug 6, 2009 - MB, the associated search range data is first loaded to the on- chip local SRAM, where 8-bit data is stored for each pixel. The IME processing unit, which is designed with bit-truncation technique, only accesses 5 bits for each pixel to

Local search characteristics of incomplete SAT ... - Semantic Scholar
Department of Computer Science. University of ... Of course, local search is incomplete and can- ... to keep a tabu list (Mazure, Saпs, & Grйgoire 1997) or break.

On Decomposability of Multilinear Sets - Semantic Scholar
May 28, 2016 - Examples include quadratic programs, polynomial programs, and multiplicative ... †Graduate Program in Operations Research and Industrial ...

Breaking Out of Local Optima with Count ... - Semantic Scholar
Many statistical learning problems in NLP call for local model search methods. ... one good way to construct such steps in a parame- ter space is by forgetting .... 2We use the short-hand DBM to refer to DBM-3, which is equivalent to DBM-2 if D ...

Breaking Out of Local Optima with Count ... - Semantic Scholar
Our complete sys- tem achieves 48.6% accuracy (directed depen- dency macro-average over all 19 languages in the 2006/7 CoNLL data) — more than 5%.

on the difficulty of computations - Semantic Scholar
any calculation that a modern electronic digital computer or a human computer can ... programs and data are represented in the machine's circuits in binary form. Thus, we .... ory concerning the efficient transmission of information. An informa-.

Dependence of electronic polarization on ... - Semantic Scholar
Dec 4, 2009 - rable with ours, as they also included Tb f electrons, with. UTb=6 eV on ... plane wave plus local-orbital method.22 In the b-c spiral case, as we ...

On the Design Method of a Haptic Interface ... - Semantic Scholar
The Z-width which is the dynamic range of achievable impedance was introduced[2] and it represents the range of impedance when the passivity is guaranteed.

A literature review on the impact of inventory ... - Semantic Scholar
be adapted by intelligent software agents making distributed decisions meanwhile,. [2] highlights the impact RFID ... ultimately profits of the firm. They support the communication and coordination of the economic activities between separate units of