Download presentation

Presentation is loading. Please wait.

Published byLiam Tinkham Modified over 2 years ago

1
Google Pagerank: how Google orders your webpages Dan Teague NCSSM

2
The Problem Imagine a library containing 40 billion documents but with no centralized organization and no librarians. In addition, anyone may add a document at any time without telling anyone. If one of these documents is vitally important to you, how could you find it?

3
Why This Order?

4
Google Pagerank System Google was developed by Sergey Brin and Larry Page This is the method that Larry Page developed to rank and order the pages. Hence, the Pagerank.

5
Larry Page (new CEO of Google) Co-founder Larry Page once described the “perfect search engine” as something that “understands exactly what you mean and gives you back exactly what you want.”

6
Eagle Ray at Eden Rock

7
How would you order these site? Suppose each of the nodes at right have the links shown in the directed graph. Which node is most important and should appear first?

9
The Basic Idea PageRank is a numeric value that represents how important a page is on the web. Google figures that when one page links to another page, it is effectively casting a vote for the other page. The more votes that are cast for a page, the more important the page must be. Also, the importance of the page that is casting the vote determines how important the vote itself is. http://www.webworkshop.net/pagerank.html

10
Bucket Brigade Matrix

11
Outdegree Matrix H

12
Markov Chain We would like to think of this matrix as a transition matrix (like a Markov chain). If we move around on the graph at random, at which nodes will we spend most of our time? These most important nodes can be found in a Markov chain by considering the powers of H.

13
Or we can look for solutions to HX = X. This means we want the eigenvector X associated with the eigenvalue of 1. This is why the Pagerank is known as the $25,000,000,000 eigenvector.

14
Consider powers of H

16
Where did all the Importance go?

17
Things that go wrong:

18
Dangling Nodes

19
Dangling Node

20
Cycles

21
Dangling Subgraphs

22
Graph not strongly connected

23
Powers of Hs

25
States 4-7 Disappear

26
How Do We Handle These Problems? The Dangling Node The Cycle The Sub-graph Sink

27
The Dangling Node The Dangling Node we handle by requiring a transition to another node at random. Pick a node, move there, and then move forward.

28
We alter our Bucket Brigade matrix by adding in matrix A.

29
Matrix H + A

30
What About the Other Problems? Dangling Nodes are easy to find. Cycles and Sub-graph sinks are more difficult and time consuming. Pagerank handles these problems without actually finding them. The Cycle The Sub-graph Sink

31
Probabilistic Movement Roll a die. If anything but a 6 shows, then follow the web, that is, use our matrix (H + A). However, if you roll a 6, then pick a page at random and go there. This gives us an out when we are trapped either by a cycle or by a sub-graph sink.

32
How Often Should We Look for an Escape? Would it be better to roll a 20-sided die or flip a coin?

33
How do you implement the coin flip? Create a matrix all of whose entries are 1. This is the One matrix. If we multiply this matrix by 1/n, where n is the number of nodes in the graph (in our example 11, in reality 40 billion), then we have an equal chance of traveling from any point to any other point. We pretend that the web is a complete graph.

34
Roll the die We will use the Web-ordered matrix H+A with probability p and the One matrix with probability (1-p). What’s a good value for p?

35
The Basic Google Equation

36
G = p(H + A) + (1-p)One (1/n) We know that (H + A) and One(1/n) are both Markov chains. Is G also? So, powers of G should tell us what we want to know.

37
G = p(H + A) + (1-p)One (1/n) But powers of G is an incredibly inefficient way to go on the “real world” of the web. Instead, the iterative method is employed.

38
Iterating X n+1 = GX n

39
The Pagerank order is 8-7-11-10-9-6-5-1-2-3-4

40
What about p? What role does p play and what value is actually used?

41
p determines the rate of convergence

42
p = 0.95 has not yet converged

43
Google Pagerank Google claims that it uses p = 0.85 (roll of the die is just about right) and about 50 iterations of the matrix G, where G = p(H + A) + (1-p)One (1/n). It recomputes every month.

44
References:

45
Convergence?

Similar presentations

OK

CSE 5243 (AU 14) Graph Basics and a Gentle Introduction to PageRank 1.

CSE 5243 (AU 14) Graph Basics and a Gentle Introduction to PageRank 1.

© 2018 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on regional transport office delhi Ppt on formal education meaning Appt only salon Ppt on general insurance in india Ppt on 9-11 conspiracy theories attacks Ppt on japanese business culture Ppt on schottky diode symbol Ppt on second world war Ppt on beer lambert law path Ppt on high court of india