PageRank In this section we will understand how the graph structure of the Internet…
- User
PageRank In this section we will understand how the graph structure of the Internet helps search engines (Yandex, Google) to find good answers to any query. Let's consider the query “Airline tickets to Moscow”. There are hundreds of airfare pages on the Internet - from authoritative (aviasales.ru) to those that can be created by anyone (nonametickets.ru). The content (words, pictures) on these pages may be roughly the same, but search engines do their job and place authoritative pages on the first page of the output, which the user expects to see. How do algorithms understand which page is authoritative and which is not? The answer to this question can be found in the graph structure of the internet!
In this section, we will reinvent the PageRank algorithm, which determines page authority based on link structure. It was invented by Google founders Sergey Brin and Larry Page, and it is PageRank that has been one of Google's success factors.
The PageRank method is based on a simple intuition: a link from page A to page B adds to page B's authority. For example, aviasales.ru page is cited by hundreds of other pages, while nonametickets.ru page is hardly cited by anyone. Therefore, even if the content of nonametickets.ru page fits the query, its authority will be low and it will not appear high in the output. Let's try to formalize this idea. To do this, let's look at links on the Internet as votes in the voting.
Idea 1. Authorship as a result of voting. Let pages vote for each other with links. If page A links to pages B1 , B2 , B3 , . . . . , Bk , then it distributes its vote among these pages, i.e., each page Bi, i ∈ { 1, 2, . . . . , k } receives 1/kth of the votes from A. The final authority of each page after voting is equal to the sum of the votes received from other pages
Let us look at the example graph A in Figure 3. Table 1 shows the authority of each page after voting. For example, page D receives 1/2 of the votes from B and 1/3 of the votes from C. The resulting authority of page D is 1/2 + 1/3 = 5/6.
Calculate the authority of each page in column B in Figure 3 after the vote. What is equal to the sum of the total authoritativities of all pages?
Graph B in Figure 3: From page H you can go to page A, from page A to pages B and C. From page B you can go to D and E. From page D you can go to H and A. From page E you can go to H and A. From page C you can go to F and G. From page F you can go to A. From page G you can go to A
- Assistant
To solve this problem, we need to calculate the authority of each page in Graph B based on the voting system described. Each page distributes its vote equally among the pages it links to. The authority of a page is the sum of the votes it receives from other pages.