Download presentation
Presentation is loading. Please wait.
Published byAlexia O’Neal’ Modified over 9 years ago
1
Understanding Google’s PageRank™ 1
2
Review: The Search Engine 2
3
Goals and assumptions The results from the query module are still excessively large sets, despite the boolean operations and content index operations. We still don’t know which pages should be ranked highest. Assume the pages with the most in-bound links are the best; a link is a vote. 3
4
An Elegant Formula S + (1- ) E) Google’s (Brin & Page) PageRank™ equation. US Patent #6285999, filed 1998, granted 2001 This formula resolves the world’s largest matrix calculation. 4
5
S + (1- ) E) Derived from a formula B&P worked out in graduate school (itself derived from traditional bibliometrics research literature). r(P i ) = Essential characteristic: high-ranking pages associate with high-ranking pages r (P j ) |P j | _____ P j B Pi 5
6
S + (1- ) E) r(P i ) = Must be applied to a set of linked pages, or a graph. To do this we analyze the graph to see it’s out-links and back-links. Therefore... r (P j ) |P j | _____ P j B Pi r(P i ) : the rank of a given page P j B pi : the ranks of the set of back- linking pages r (P j ): the rank of a given page |P j |: the number of out-links on a page 6
7
S + (1- ) E) A site diagram like this: 1 2 3 5 46 7
8
S + (1- ) E) becomes a directed graph like this: 1 1 2 2 3 3 6 6 4 4 5 5 8
9
But there’s a problem Nothing’s ranked! r (P j ) |P j | _____ P j B Pi r(P i ) : the rank of a given page P j B pi : the ranks of the set of back- linking pages r (P j ): the rank of a given page |P j |: the number of out-links on a page r(P i ) = 1 1 2 2 3 3 6 6 4 4 5 5 9
10
The solution... sort of Start by assuming all the ranks are equal. In this example each page is just 1 of 6, so the initial rank is expressed as 1/6 Then, you keep feeding the number through the formula until you get a ranking. This results in a rank, but you have to calculate these ranks one page at a time. That’s slow. 1 1 2 2 3 3 6 6 4 4 5 5 10
11
Directed graph iterative node values r 0 r 1 r 2 Rank(i2) P 1 1/61/181/365 P 2 1/65/361/184 P 3 1/61/121/365 P 4 1/61/417/721 P 5 1/65/3611/723 P 6 1/61/614/722 1 1 2 2 3 3 6 6 4 4 5 5 11
12
CMS matrix This can’t go on forever In the interest of speed and efficiency, we need to know if the ranks converge—that is, we need to know if there are clear rankings, or can we keep doing this indefinitely and never have a decisive ranking? To determine this, the formula must be transformed using binary adjacency transformation, and Markov chain theory. 1 1 2 2 3 3 6 6 4 4 5 5 12
13
Convert the iterative calculation to a matrix calculation using binary adjacency transformation for a 1Xn matrix P 1 P 2 P 3 P 4 P 5 P 6 P 1 0 ½ ½ 0 0 0 P 2 0 0 0 0 0 0 P 3 1/3 1/3 0 0 1/3 0 P 4 0 0 0 0 ½ ½ P 5 0 0 0 ½ 0 ½ P 6 0 0 0 1 0 0 [ ] 13
14
Now, you can treat a row as a vector, or set of values P 1 P 2 P 3 P 4 P 5 P 6 P 1 0 ½ ½ 0 0 0 P 2 0 0 0 0 0 0 P 3 1/3 1/3 0 0 1/3 0 P 4 0 0 0 0 ½ ½ P 5 0 0 0 ½ 0 ½ P 6 0 0 0 1 0 0 [ ] 14
15
This is a sparse matrix. That’s good. We store only the non-zero elements and represent the entire matrix as H P 1 P 2 P 3 P 4 P 5 P 6 P 1 0 ½ ½ 0 0 0 P 2 0 0 0 0 0 0 P 3 1/3 1/3 0 0 1/3 0 P 4 0 0 0 0 ½ ½ P 5 0 0 0 ½ 0 ½ P 6 0 0 0 1 0 0 [ ] 15
16
S + (1- ) E) So now this: Has become this: ) through the transformation and reduction of the form (power method transform, eigenvector computation, stochasticity adjustment). We only need a couple more adjustments. r (P j ) |P j | _____ P j B Pi r(P i ) = 16
17
S + (1- ) E) Sometimes, people teleport to a page. They just enter the URL and go. And just as easily, they can teleport out. To account for this, B&P added two adjustments: S accounts for people who reach a dead end and jump to another page within a site. is a weighted probability that someone will leave. S is a matrix of probable page destinations. 17
18
S + (1- ) E) What about people who jump out to a completely new destination? To account for this, B&P added the final adjustments: 1- is the inverted weighted probability that someone will leave and go to a completely new site. E is a random teleportation matrix of probable page destinations. 18
19
Summary S + (1- ) E) A page’s rank is equal to the summed and transformed ranks of the referring pages, tempered by the ability (a weighted probability) to teleport within a site, plus the inverted probability to teleport out of a site, multiplied by the probability matrix of teleporting to a popular site. 19
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.