CALCULATING GLOBAL IMPORTANCE OF DOCUMENTS BASED ON GLOBAL HITTING TIMES
A calculate importance system calculates the global importance of a web page based on a “mean hitting time.” Hitting time of a target web page is a measure of the minimum number of transitions needed to land on the target web page. Mean hitting time of a target web page is an average number of such transitions for all possible starting web pages. The calculate importance system calculates a global importance score for a web page based on the reciprocal of a mean hitting time. A search engine may rank web pages of a search result based on a combination of relevance of the web pages to the search request and global importance of the web pages based on a global hitting time.
Latest Microsoft Patents:
- System for verifying connectivity in a target computing environment prior to installation of user-specific elements
- Book style foldable tablet with stand
- Time to digital converter (TDC) circuit with self-adaptive time granularity and related methods
- Linker structures with minimal scar for enzymatic synthesis
- Online tuning of a touch device processing algorithm
Many search engine services, such as Google and Yahoo, provide for searching for information that is accessible via the Internet. These search engine services allow users to search for display pages, such as web pages, that may be of interest to users. After a user submits a search request (i.e., a query) that includes search terms, the search engine service identifies web pages that may be related to those search terms. To quickly identify related web pages, the search engine services may maintain a mapping of keywords to web pages. This mapping may be generated by “crawling” the web (i.e., the World Wide Web) to identify the keywords of each web page. To crawl the web, a search engine service may use a list of root web pages to identify all web pages that are accessible through those root web pages. The keywords of any particular web page can be identified using various well-known information retrieval techniques, such as identifying the words of a headline, the words supplied in the metadata of the web page, the words that are highlighted, and so on. The search engine service identifies web pages that may be related to the search request based on how well the keywords of a web page match the words of the query. The search engine service then displays to the user links to the identified web pages in an order that is based on a ranking that may be determined by their relevance to the query, popularity, importance, and/or some other measure.
One well-known technique for page ranking is PageRank, which is based on the principle that web pages will have links to (i.e., “out links”) important web pages. The importance of a web page is based on the number and importance of other web pages that link to that web page (i.e., “in links”). PageRank is based on a random surfer model of visiting web pages of a web graph (vertices representing web pages and links representing hyperlinks) and represents the importance of a web page as the stationary probability of visiting that web page. In the random surfer model, a surfer visiting a current page will visit a next page by randomly selecting a link of the current web page. If the current web page has three out links to target web pages, then the probability of visiting each target web page from the current web page is ⅓. PageRank is thus based on a Markov random walk that only depends on the information (e.g., hyperlink) of the current web page.
A web graph may be represented as G=<V,E>, where V={1, 2, . . . , n} is the set of vertices and E={<i,j>|i,jεV} is the set of edges. The links between web pages can be represented by an adjacency matrix A, where Aij is set to one when there is an out link from a source web page i to a target web page j. The importance score wj for web page j can be represented by the following:
wj=ΣiAijwi (1)
This equation can be solved by iterative calculations based on the following:
ATw=w (2)
where w is the vector of importance scores for the web pages and is the principal eigenvector of AT.
PageRank may also factor in that a surfer may randomly select a web page to visit next that is not linked to by the current web page. Thus, the surfer may next visit a target web page of the current web page with a probability of α and next visit a randomly selected web page with a probability of 1−α. To factor in this random selection of web pages, PageRank generates an initial transition matrix P by normalizing each non-zero row of the adjacency matrix with the sum of its elements. PageRank then sets each element of a zero row in matrix P to 1/n to generate transition probability matrix
where
π(t+1)=(
where π(0)=(1, 1, . . . , 1)nT, t represents the iteration count, and the iterative process continues until π converges on a solution.
Although PageRank can be very useful, in part because it is a query-independent measure of importance, it is especially susceptible to “link spamming.” “Spamming” in general refers to a deliberate action taken to unjustifiably increase the rank, relevance, popularity, importance, and so on of a web page or a web site. In the case of link spamming, a spammer can manipulate links to unjustifiably increase the importance of a web page. For example, a spammer may provide a web page of useful information with hidden links to spam web pages. When many web pages point to the useful information, the importance of the spam web pages is indirectly increased. As another example, many web sites, such as blogs and web directories, allow visitors to post links. Spammers can post links to their spam web pages to directly or indirectly increase the importance of the spam web pages. As another example, a group of spammers may set up a link exchange mechanism in which their web sites point to each other to increase the importance of the web pages of the spammers' web sites.
Web spam presents problems for various techniques that rely on web data. For example, a search engine service that orders search results in part based on relevance, popularity, or importance of web pages may rank spam web pages unjustifiably high because of the spamming. As another example, a web crawler may spend valuable time crawling the links of spam web sites, which increases the overall cost of web crawling and may reduce its effectiveness.
PageRank is especially susceptible to link spamming because it is based on the concept of a “returning time” of a web page. Returning time of a web page is a measure of the number of transitions needed to return to the web page starting from the web page itself. The importance score of a web page is the reciprocal of the returning time. Thus, when a web page has a small returning time, it will have a large importance score. Returning time may represented by the following:
Ti+=min{t≧1:Xt=i} (5)
where Ti+ represents the returning time for web page i and Xt represents a discrete-time Markov chain of the transition probability matrix for time t. The stationary transition probability, and thus importance, can be represented by the following:
πi=1/EiTi+ (6)
where represents the stationary probability for web page i and 47; represents the expected returning time. Since the Markov chain starts from a target page i itself, the behavior of the random walk is largely affected by the local structure around page i. Link spammers can create an arbitrary local structure around a web page to take advantage of this drawback of PageRank. A link spammer can set up a star-structured link farm in which a central web page contains links to many other boosting web pages and those boosting web pages contain links only to the central web page. In such a case, the random walk from the central web page is trapped in this star-like local structure, and the mean returning time can be significantly reduced, and therefore importance is increased. In the random walk model without a possibility of jumping to a random non-linked-to web page (α=1), all possible series of random walk transitions will be between the central web page and one of its boosting web pages. The mean returning time is only 2. Even when the possibility of transitioning to a random web page is factored in (α<1), such a link farm can significantly reduce the mean returning time and increase importance.
SUMMARYA method and system for calculating global importance of documents based on a global hitting time is provided. A calculate importance system calculates the global importance of a web page based on a “mean hitting time.” Hitting time of a target web page is a measure of the minimum number of transitions needed to land on the target web page. Mean hitting time of a target web page is an average number of such transitions for all possible starting web pages. A hitting time that is based on a hitting time with a starting page other than the target web page is considered to be a global hitting time. The calculate importance system calculates a global importance score for a web page based on the reciprocal of a global hitting time. The hitting times of the web pages of link spam are likely to be overwhelmed by the hitting times of the hundreds of millions of other web pages. A search engine may rank web pages of a search result based on a combination of relevance of the web pages to the search request and global importance of the web pages based on a global hitting time.
This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.
A method and system for calculating global importance of documents based on a global hitting time is provided. In some embodiments, a calculate importance system calculates the global importance of a web page based on a “mean hitting time.” Hitting time of a target web page is a measure of the minimum number of transitions needed to land on the target web page. The hitting time depends on the starting web page. For example, the hitting time from a starting web page that has a direct link to the target web page is 1, whereas the hitting time from a starting web page that is indirectly linked to the target web page via a sequence of four other web pages is 5. Mean hitting time of a target web page is an average number of such transitions for all possible starting web pages. Hitting time is different from returning time in that returning time is a special case of hitting time in which the starting web page and the target web page are the same web page. A hitting time that is based on a hitting time with a starting page other than the target web page is considered to be a global hitting time. Mean hitting time is one example of a global hitting time.
In one embodiment, the calculate importance system calculates a global importance score for a web page based on the reciprocal of a mean hitting time. Because the mean hitting time may be an average based on the hitting time of all (or at least very many) web pages, the contribution of link spam, such as a star-structured link farm, to the global importance of a web page is much less than for an importance based on returning time. The hitting times of the web pages of link spam are likely to be overwhelmed by the hitting times of the hundreds of millions of other web pages. A search engine may rank web pages of a search result based on a combination of relevance of the web pages to the search request and global importance of the web pages based on a global hitting time. In this way, the contribution of link spam to importance of a web page can be greatly reduced.
The calculate importance system may represent hitting time as follows:
Ti=min{t≧0:Xt=i} (7)
where Ti represents the hitting time of web page i and Xt represents a discrete-time Markov chain of the transition probability matrix for time t. The calculate importance system represents the global importance of a web page as the reciprocal of the mean hitting time starting from any distribution over the whole web graph as represented by the following:
GRμ(i)=1/EμTi (8)
where μ represents any chosen global distribution, that is, the probability of each web page being the starting web page. The mean hitting time is represented as follows:
EμTi=ΣjμjEjTi (9)
where μj represents the probability that a random surfer chooses web page j as the starting web page and EjTi represents the expected hitting time with starting web page j and target web page i. By taking the mean of the expected hitting time starting from all web pages, the local structure surrounding a target web page, including link spam, is greatly attenuated. Although link spammers could change the local structure of a target web page to decrease EjTi with web pages around the target web page i, those surrounding web pages under the link spammers' control are only an extremely small portion of the overall web graph. The contributions of link spammers' efforts are attenuated by averaging over expected hitting times from starting web pages not under their control. Web pages that gain high importance based on low global hitting times are globally important web pages, such as the main web pages of major search engines, large companies, popular online communities, and so on. These web pages have a central role in the whole web graph and are accessible from most web pages within a few transitions.
In some embodiments, the calculate importance system may use different initial distributions μ depending on the objectives of calculating the importance. The calculate importance system may use any one or combination of the following distributions:
-
- 1) a stationary probability distribution,
- 2) a uniform distribution over all web pages,
- 3) a distribution over labeled non-spam pages or other known desirable web pages, and
- 4) a user-specific distribution (e.g., web pages of a user's favorite web sites).
In some embodiments, the importance calculation system calculates the global importance of web pages using a global hitting time and a stationary probability distribution as the initial distribution, referred to a stationary global importance. The calculate importance system calculates the importance by converting the expectation of a random variable to an expression using the diagonal of t-order transition matrix Pt. The calculate importance system calculates the importance using the fundamental matrix as represented by the following:
Z≡(I−P+eπt)−1 (10)
where I is the identity matrix. (See Aldous, D. and Fill, J., “Reversible Markov Chains,” Monograph, 1994.) The relationship between the mean hitting time given the initial stationary probability distribution and Z is represented by the following:
EπTi=Zii/πi
EjTi=(Zii−Zij/πi (11)
where Zij is represented by the following:
Zij=δij+Σt=1∞(Pijt−πj) (12)
where δij is equal to 1 when i equals j and 0 otherwise. The calculate importance system can approximate Zij using the first m terms of Equation 12. Thus, the approximation of Zij can be represented by the following:
{circumflex over (Z)}ij=δij+Σt=1m(Pijt−πj) (13)
where {circumflex over (Z)}ij represents the approximation of Zij. The value of m may be, for example, 5.
The calculate importance system may also include a calculate global importance component 121, a calculate initial distribution component 122, and a calculate transition diagonals component 123. The calculate global importance component calculates the global importance of each web page. The calculate global importance component invokes the calculate initial distribution component to calculate the initial distribution. The calculate global importance component then calculates global importance of the web page according to Equation 10. The calculate global importance component invokes the calculate transition diagonals component to generate the values for Zij of Equation 11. The calculate global importance component stores the global importance of each web page as an importance score in the importance score store.
The calculate importance system may include a search engine 131 and a rank web pages component 132. The search engine receives search requests and uses the keyword/web page index to identify matching web pages as a search result. The search engine then invokes the rank web pages component to rank the web pages of the search result based on relevance to the search request and the global importance of the web pages as indicated by the importance score store.
The computing device on which the calculate importance system is implemented may include a central processing unit, memory, input devices (e.g., keyboard and pointing devices), output devices (e.g., display devices), and storage devices (e.g., disk drives). The memory and storage devices are computer-readable media that may be encoded with computer-executable instructions that implement the calculate importance system, which means a computer-readable medium that contains the instructions. In addition, the instructions, data structures, and message structures may be stored or transmitted via a data transmission medium, such as a signal on a communication link. Various communication links may be used, such as the Internet, a local area network, a wide area network, a point-to-point dial-up connection, a cell phone network, and so on.
Embodiments of the system may be implemented in and used by various operating environments that include personal computers, server computers, hand-held or laptop devices, multiprocessor systems, microprocessor-based systems, programmable consumer electronics, digital cameras, network PCs, minicomputers, mainframe computers, computing environments that include any of the above systems or devices, and so on.
The calculate importance system may be described in the general context of computer-executable instructions, such as program modules, executed by one or more computers or other devices. Generally, program modules include routines, programs, objects, components, data structures, and so on that perform particular tasks or implement particular abstract data types. Typically, the functionality of the program modules may be combined or distributed as desired in various embodiments. For example, a separate computing system may crawl the web and generate the adjacency matrix and the keyword/web page mapping. Also, the search engine may be hosted on a separate computing system.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims. One skilled in the art will appreciate that a document can include any information content that contains links or otherwise identifies other content. For example, a document may be a web page with links to other web pages, a scholarly article with citations to other scholarly articles, a judicial opinion with citations to other judicial opinions, a patent with citations to other patents, and so on. Accordingly, the invention is not limited except as by the appended claims.
Claims
1.-20. (canceled)
21. A method in a computing device for generating an importance score for documents having links between the documents, the method comprising:
- providing an initial probability distribution for each document;
- providing a transition probabilities indicating the probability of transitioning between documents; and
- for each document, calculating by the computing device a probability of starting from and returning to that document after a number of transitions based on the initial probability distribution and the transition probabilities; and setting the importance score of the document based on the calculated probability.
22. The method of claim 21 wherein the calculating of the probability includes multiplying the transition probabilities by themselves the number of times.
23. The method of claim 21 wherein the calculating of the probability includes using a random sampling technique.
24. The method of claim 21 wherein the documents are web pages and the web pages are ranked at least in part based on the importance scores.
25. The method of claim 24 wherein the web pages are search results of a search request and the web pages are ranked at least in part based on relevance of the web pages to the search request.
26. The method of claim 21 wherein the initial probability distribution is based on a stationary distribution of the transition probabilities.
27. The method of claim 21 wherein the initial probability distribution is uniform.
28. The method of claim 21 wherein the initial probability distribution is zero for documents considered to be spam.
29. The method of claim 21 wherein the initial probability distribution is personalized to a user.
30. The method of claim 21 wherein the transition probabilities represent the probabilities of using the links to transition between documents.
31. The method of claim 21 wherein the transition probabilities represents the probability of using the links to transition between documents.
32. A computer-readable storage device encoded with instructions for controlling a computing device to rank web pages, by a method comprising:
- generating importance scores for web pages that are based on a mean hitting time for the web pages, the mean hitting time for a target web page being based on an average of hitting times of transitioning from starting web pages to the target web page; and
- ranking the web pages based at least in part on the importance scores of the web pages.
33. The computer-readable storage device of claim 32 wherein the mean hitting time is based on an initial probability distribution of the starting web pages that is derived from a stationary probability of transition probabilities of the web pages.
34. The computer-readable storage device of claim 32 wherein the mean hitting time is based on an initial probability distribution of starting pages that is user-specific.
35. The computer-readable storage device of claim 32 wherein web pages that are ranked are search results of a search request.
36. The computer-readable storage device of claim 32 wherein the web pages are further ranked based on relevance of a web page to the search request.
37. A computing system for ranking documents, comprising:
- an importance store having importance scores for documents, the importance score for a document based on a global hitting time, the global hitting time for a target document being based on number of transitions from a starting document to land on the target document;
- a memory storing computer-executable instructions of: a component that identifies documents of a search result for a search request; a component that determines relevance of each identified document to the search request; and a component that ranks the identified documents based at least in part on the importance score of the documents and the relevance of the documents to the search request; and
- a processor that executes the computer-executable instructions stored in the memory.
38. The computing device of claim 37 wherein the global hitting time is based on an initial probability distribution of the starting documents that is derived from a stationary probability of transition probabilities of the documents.
39. The computing device of claim 38 wherein the global hitting time is a mean hitting time.
40. The computing device of claim 38 wherein the documents are web pages and a transition includes following a link from one web page to another web page.
Type: Application
Filed: Mar 8, 2011
Publication Date: Jun 30, 2011
Applicant: Microsoft Corporation (Redmond, WA)
Inventors: Tie-Yan Liu (Beijing), Hang Li (Beijing), Lei Qi (Qingdao), Bin Gao (Beijing)
Application Number: 13/043,392
International Classification: G06F 7/00 (20060101); G06F 17/30 (20060101);