Search engines, such as are used in conjunction with the Word Wide Web, are typically expected to search through vast amounts of data, yet return a manageable number of quality, relevant results. When attempting to determine which results are most relevant to a user, search engines generally evaluate prospective results for such factors as the number of occurrences of a search term and how close to the top of the document the search term occurs. In some cases, query-independent scores are assigned to individual documents. For example, a query-independent score may be assigned to a page based on the number of other pages which link to it. Such scores may also be taken into account by the search engine when attempting to return the most relevant results.
In some cases, the relevancy of a particular result may depend on the context of the query. For example, suppose that a user submits a query of “jaguar price.” A query-independent score does not differentiate results based on context and thus the same hits will be returned to the user, irrespective of whether that user is interested in the car, the cat, or the operating system. There thus exists a continuing need to be able to provide relevant results in response to queries.
Various embodiments of the invention are disclosed in the following detailed description and the accompanying drawings.
The invention can be implemented in numerous ways, including as a process, an apparatus, a system, a composition of matter, a computer readable medium such as a computer readable storage medium or a computer network wherein program instructions are sent over optical or electronic communication links. In this specification, these implementations, or any other form that the invention may take, may be referred to as techniques. A component such as a processor or a memory described as being configured to perform a task includes both a general component that is temporarily configured to perform the task at a given time or a specific component that is manufactured to perform the task. In general, the order of the steps of disclosed processes may be altered within the scope of the invention.
A detailed description of one or more embodiments of the invention is provided below along with accompanying figures that illustrate the principles of the invention. The invention is described in connection with such embodiments, but the invention is not limited to any embodiment. The scope of the invention is limited only by the claims and the invention encompasses numerous alternatives, modifications and equivalents. Numerous specific details are set forth in the following description in order to provide a thorough understanding of the invention. These details are provided for the purpose of example and the invention may be practiced according to the claims without some or all of these specific details. For the purpose of clarity, technical material that is known in the technical fields related to the invention has not been described in detail so that the invention is not unnecessarily obscured.
Each document in collection 102 can be thought of as serving two functions: that of a source, and that of a destination. Scoring engine 106 assigns a source score and a destination score to each document in collection 102 based in part on how good of a source and destination, respectively, that document is. As described more fully below, the scores can be recursively defined in terms of each other.
These source and destination scores can be used to rank pages, for example in response to a search query, based on a variety of functions. In some cases, the source and destination scores of each page are combined into a single score using a weighted average. In some cases, the source scores are ignored and only the destination score is used. In some cases, good sources and good destinations are listed separately in the search results.
A page can be defined as a “good” source for a topic (e.g., diabetes) if good destinations are “reachable” from it. Thus, a page is a good source for a topic if it guides a visitor in the direction of good destination pages for that topic. A good source need not (but may) contain authoritative information about a topic.
In the example shown in
The pages included in sets S and D for a topic may be dynamic. For example, as better sources for a topic are located, they may replace or join previously selected seeds in S. Likewise, better destinations—ones with more relevant information or deeper treatment of a topic—may replace or join previously selected seeds in D. As described more fully below, in some embodiments, updating the seed sets occurs automatically, as part of a process for calculating source and destination scores for documents in collection 102.
The dynamic nature of seed sets can be especially important for providing relevant results to queries in topics where authoritative pages are likely to link only to “approved” content, such as positive or flattering information about that topic. Examples include sports teams, music groups, movies, famous personalities (e.g., actors, politicians, movie directors, etc.), companies, and polarized political issues, such as abortion rights. Team websites do not routinely link to fan pages, nor are such pages even reachable from team websites despite the fact that fan pages may contain highly useful and flattering information about a team. The websites of companies such as airlines and hotels do not generally link to (or reach) companies which provide similar services, yet a user interested in travel would generally benefit in a more complete picture of his or her carrier and lodging options. Similarly, an official movie website is unlikely to link to negative reviews of the movie or boycott sites such as moviexsucks.com which can provide potentially valuable information (including rumor and innuendo) about the movie in question.
The documents in collection 102 can be represented as a directed graph. In this example, the graph has N nodes, where N corresponds to the number of documents in collection 102. The directed connections between nodes represent the links between documents. For a particular page, p, Out(p) is the set of outlinks that lead from the page to other pages. These can be represented in the directed graph as forward links of a node p. Similarly, In(p) is the set of inlinks that lead from other pages to page p. These can be represented in the directed graph as backward links of a node p.
For example, in
At 304, for each document in collection 102, a source score and a destination score are initialized. One method of initializing the scores is through use of the following formula:
Where:
s(p) is the source score of a page p
d(p) is the destination score of a page p
p is a document in a collection
S is a set of source seeds
D is a set of destination seeds
N is the total number of documents in the collection
In this example, vectors s and d encode the source and destination scores of a particular page p in collection 102, respectively. As explained above, N is the total number of documents, such as the total number of documents in collection 102. In some cases, N may instead be the number of pages in a subset of collection 102. In this example, each source seed in S is equally weighted and each destination seed in D is equally weighted. In some embodiments, other methods may be used for initialization, such as by setting specific values for particular pages. This may be the case, for example, where particular seed destinations in D are significantly “better” than other seed destinations in D.
At 306, the destination and source scores of the documents in collection 102 are recursively updated. In the example shown, this is accomplished through use of a random surfer model.
In a typical random surfer model (referred to herein as the unbiased model, performed by an unbiased surfer), a surfer starts at a random page on the web and begins surfing. If the surfer is currently at page p, the page q that the surfer visits at the next time step is determined in the unbiased model as follows: with probability β, the surfer picks a link uniformly at random from the set of outlinks of p, and follows it to reach a new page; with probability 1-β, the surfer randomly teleports to a page picked uniformly at random from all of the pages on the World Wide Web. The value β is typically set to 0.85.
For each page p in collection 102, the probability that the unbiased surfer visits p at the current time step converges to a value that depends only on the link structure of the web. This probability is the unbiased stationary probability of page p and is referred to herein as the “unbiased stationary probability” of page p. The vector r that lists, for each page, its unbiased stationary probability is referred to herein as the unbiased stationary probability vector r, and can be given as:
r=βAr+(1-β)u (2)
Where:
r is the unbiased stationary probability vector
β is a probability, typically set to 0.85
A is a matrix that encodes the link structure of a collection
u is a vector corresponding to uniform random teleportation
If there are N pages in collection 102, u has N entries, each equal to 1/N.
Destination Score
Suppose a random surfer preferentially teleports to good sources, rather than teleporting in an unbiased fashion, such as is given above. In this case, the probability that the surfer teleports to a particular page p can be set proportional to the source score of p, s(p). Thus, the surfer teleports to each source with a probability proportional to its source score. A teleport vector for the surfer can be written as
with the factor
normalizing the sum of all the probabilities to 1.
In this example, the link structure of collection 102 is encoded using a matrix A. In general, if page j links to page i, then
and if not, Aij=0. A vector b of stationary probabilities for this “biased” walk can be defined by the following formula:
Where:
b is a biased stationary probability vector
β is a probability, typically set to 0.85
A is a matrix that encodes the link structure of a collection
s is a source score vector
With probability β, the surfer picks a link uniformly at random from the outlinks of p and follows it to reach a new page. With probability 1-β, the surfer teleports to a source s. In this example, every page in collection 102 has at least one outlink. In practice, some pages do not contain outlinks. In that case, such pages can be eliminated using successive sink elimination, and the stationary probability values can be modified as appropriate.
In this example, the destination score of a particular page p (denoted d(p)) is equal to b(p), the page's stationary probability in this biased walk.
Source Score
Destination scores can be used to compute source scores. Suppose a random surfer has a teleport set that consists only of page p. In such a case, the teleport vector vp has 1 corresponding top and 0 corresponding to all other pages. Here, the surfer teleports periodically to page p and continues the random walk from p. This type of walk is referred to hereinafter as a random surfer centered on p and the stationary probability rp for this random surfer can be given as:
rp=βArp+(1-β)vp (4)
Where:
rp is a stationary probability vector centered on p
β is a probability, typically set to 0.85
A is a matrix that encodes the link structure of a collection
vp is a teleport vector centered on p
This equation is actually a set of N equations, one for each page p in collection 102.
The source score of a particular page p can be defined in this example as rp(p), the stationary probability that the random surfer is on a good destination page (as measured by the goodness of its destination score). Conceptually, a source score is important if important destinations have received a significant portion of their destination scores from the source. One way of defining the source score is given below:
Where:
s(p) is the source score of a page p
rp(q) is a stationary probability with respect to p of q
d(q) is the destination score of a page q
Here, set N is the set of all pages in collection 102, and page q is a document in collection 102. The source score of a particular page p is calculated by summing the stationary probability with respect top of each page q multiplied by the destination score of q. To simplify notation in this example, the source score of p can be written as:
s(p)=rpT·d (6)
In some cases, a popular page q, such as www.yahoo.com, will have a high r(q), where r is the unbiased stationary probability vector, defined above in Equation 2. Because www.yahoo.com has such a high unbiased stationary probability overall, there is a high probability that it will also have a high value of rp(q). In general, a page p should not be given credit for leading to a universally popular destination, such as www.yahoo.com. One way to correct for this is to define a relative stationary probability of q with respect top, denoted wp(q), by:
Where:
wp(q) is the relative stationary probability of a page q with respect to a page p
rp(q) is a stationary probability with respect to p of q
r(q) is the unbiased probability of a page q.
The source score of p can then be written as:
Where:
s(p) is the source score of a page p
rp(q) is a stationary probability with respect to p of q
r(q) is the unbiased probability of a page q
d(q) is the destination score of a page q
P is a collection of pages
The above definitions of source and destination score allow the source and destination scores to diffuse away from the original seed set. Without correction, the diffusion can quickly lead to topic drift and topic generalization. Topic drift occurs when the set of sources gets “contaminated” by pages that are not relevant to the topic at hand. A related problem is topic generalization. For example, suppose a ranking for the topic “marathon running” is constructed. Many pages on running and other outdoor activities are likely to link to sites about marathons. Such sites will likely receive high source scores, thereby recursively enlarging the destination sites. The result is that the ranking may be for the broader topic of “running” rather than the desired topic of “marathon running.”
Two parameters, ρ and φ can be chosen that control how much weight to assign new sources and destinations, as opposed to those in the original seed sets. The parameter ρ is known as the destination expansion factor and the parameter φ is known as the source expansion factor. These factors allow some of the probability contained with the seed sets to spread out into documents in collection 102 that were not originally seeds, while retaining a portion of the probability within the seed sets. Thus, the parameters allow for the control of how much a final source or destination score of a page p will depend on the original seed sets.
Here, 0≦ρ≦1 and 0≦φ≦1. Using these parameters, the destination score and source score equations can be written, respectively, as:
Where:
d(p) is the destination score of a page p
s(p) is the source score of a page p
ρ is a value between 0 and 1, inclusive (0≦ρ≦1)
φ is a value between 0 and 1, inclusive (0≦φ≦1)
p is a document in a collection
S is a set of source seeds
D is a set of destination seeds
In this example, ρ and φ are the percentage of the scores remain within their respective, original, sets, and 1-ρ and 1-φ are the percentage of the scores may drift out. There are a few special cases that can occur depending on how the ρ and φ values are selected. If ρ and φ are both set to 1, the source and destination scores will be held constant at their initial values. If ρ and φ are both set to 0, unbiased source and destination scores result. If ρ is set to 1 and φ is set to 0, the destination set will be fixed and only the source scores will vary. If ρ is set to 0 and φ is set to 1, the source scores will be constant and only the destination scores will vary.
The equations presented in conjunction with portion 306 of
A simplified numeric example of an iterative version of the process shown in
For simplicity of illustration, the values given in
In the example shown, nodes 404, 406, and 408 are included in a source seed set 402. Their source seed values are 0.5, 0.3, and 0.2, respectively. Their destination scores are each 0. The other nodes in collection 102 have their source and destination scores initialized to 0.
Once source scores have been computed for each node in collection 102, a new seed set can be constructed. In some embodiments, all nodes with non-zero source scores are used to form the updated set S. In some embodiments, a threshold is applied. In that case, nodes not previously in S may be added to S if their source scores are large enough. In some embodiments, nodes previously in S whose source scores have decreased may be demoted out of set S. Once a new seed set has been constructed, the process can begin again, and additional computations, such as the additional iterations 508 and 510 of
At 506, destination scores are assigned to nodes reachable from the source seeds. One method for calculating destination scores is as follows:
Where:
d(p) is the destination score of a page p
β is a probability, typically set to 0.85
In(p) is the set of inlinks of a page p
Out(q) is the set of outlinks of a page q
N is the total number of documents in the collection
ρ is a value between 0 and 1, inclusive (0≦ρ≦1)
φ is a value between 0 and 1, inclusive (0≦φ≦1)
In other examples other formulas are used to calculate the destination score. Other appropriate pairs of equations that define source and destination scores in terms of each other may be used. For example, in the embodiment depicted in
Where:
s(p) is the source score of a page p
d(p) is the destination score of a page p
r(p) is the unbiased stationary probability of a page p
β is a probability, typically set to 0.85
Out(p) is the set of outlinks of a page p
ρ is a value between 0 and 1, inclusive (0≦ρ≦1)
φ is a value between 0 and 1, inclusive (0≦φ≦1)
In other examples other formulas are used to calculate the source score, as appropriate.
At 510, nodes reachable from nodes having nonzero source scores are assigned destination scores. As used herein, “evaluation” nodes are nodes which have nonzero source scores, used to evaluate the destination score of a particular web node, or nodes which have nonzero destination scores, used to evaluate the source score of a particular web node. In some cases, evaluation nodes may be used for both purposes. In some embodiments, the process iterates through 508 and 510 until convergence. In some cases, such as where collection 102 is large, only a small number of iterations may be needed to achieve useful source and destination scores. In such cases, the process may be terminated before convergence.
The process begins at 602 when an unbiased probability vector r is computed, such as through use of the formula given in Equation 2. At 604, each seed node in the destination set is assigned a seed destination score. The source and destination scores of the pages in collection 102 are optionally initialized, such as through use of the procedure discussed in conjunction with 304 of
At 606, nodes that reach the destination seeds are assigned source scores as applicable. At 608, nodes that are reached by nodes that have nonzero source scores are assigned destination scores as applicable. At 610, nodes that reach destinations having nonzero destination scores are assigned source scores as applicable. In some embodiments, the process iterates through 608 and 610 until convergence. In some cases, such as where collection 102 is large, only a small number of iterations may be needed to achieve useful source and destination scores. In such cases, the process can be terminated before convergence.
Although the foregoing embodiments have been described in some detail for purposes of clarity of understanding, the invention is not limited to the details provided. There are many alternative ways of implementing the invention. The disclosed embodiments are illustrative and not restrictive.
This application claims priority to U.S. Provisional Patent Application No. 60/644,325 entitled DIFR: A SCHEME FOR TOPIC-SENSITIVE RELEVANCE RANKING filed Jan. 14, 2005, which is incorporated herein by reference for all purposes.
Number | Name | Date | Kind |
---|---|---|---|
6285999 | Page | Sep 2001 | B1 |
6460049 | Becker et al. | Oct 2002 | B1 |
6507843 | Dong et al. | Jan 2003 | B1 |
6549896 | Candan et al. | Apr 2003 | B1 |
6601075 | Huang et al. | Jul 2003 | B1 |
6990628 | Palmer et al. | Jan 2006 | B1 |
7043422 | Gao et al. | May 2006 | B2 |
7072846 | Robinson | Jul 2006 | B1 |
7080073 | Jiang et al. | Jul 2006 | B1 |
7260573 | Jeh | Aug 2007 | B1 |
7269587 | Page | Sep 2007 | B1 |
7281005 | Canright et al. | Oct 2007 | B2 |
7318057 | Aridor et al. | Jan 2008 | B2 |
7739209 | Rajaraman | Jun 2010 | B1 |
8396864 | Harinarayan et al. | Mar 2013 | B1 |
8498999 | Bhalotia | Jul 2013 | B1 |
8849830 | Srinivasan et al. | Sep 2014 | B1 |
20020156779 | Elliott et al. | Oct 2002 | A1 |
20020168664 | Murray et al. | Nov 2002 | A1 |
20030212691 | Kuntala et al. | Nov 2003 | A1 |
20040030688 | Aridor et al. | Feb 2004 | A1 |
20040193698 | Lakshminarayana | Sep 2004 | A1 |
20050004889 | Bailey et al. | Jan 2005 | A1 |
20050080795 | Kapur et al. | Apr 2005 | A1 |
20050144162 | Liang | Jun 2005 | A1 |
20050216533 | Berkhin | Sep 2005 | A1 |
20050256832 | Zhang et al. | Nov 2005 | A1 |
20050256860 | Eiron et al. | Nov 2005 | A1 |
20060085788 | Amir et al. | Apr 2006 | A1 |
20060248031 | Kates et al. | Nov 2006 | A1 |
20060294124 | Cho | Dec 2006 | A1 |
20070168135 | Agarwal et al. | Jul 2007 | A1 |
Entry |
---|
Borodin et al., Finding Authorities and Hubs From Link Structures on the World Wide Web, In Proceedings of the Tenth International World Wide Web Conference, Jan. 18, 2002. |
Taher H. Haveliwala, Topic-Sensitive PageRank: A Context-Sensitive Ranking Algorithm for Web Search, In Proceedings of the Eleventh International World Wide Web Conference, 2002. |
Jeh et al., Scaling Personalized Web Search, In Proceedings of the Twelfth International World Wide Web Conference, 2003. |
Jon M. Kleinberg, Authoritative Sources in a Hyperlinked Environment, Journal of the ACM, 1999. |
Lempel et al., The Stochastic Approach for Link-Structure Analysis (SALSA) and the TKC Effect, 2000. |
Ng et al., Stable Algorithms for Link Analysis, In Proceedings the Twenty-Fourth Annual International ACM SIGIR Conference, 2001. |
Page el al., The PageRank Citation Ranking: Bringing Order to the Web, 1998. |
Richardson et al., The Intelligent Sufer: Probabilistic Combination of Link and Content Information in PageRank, 2002. |
Soumen Chakrabarti, Mining the Web: Discovering Knowledge from Hypertext Data, 2002. |
U.S. Appl. No. 11/327,294, filed Jan. 6, 2006, Anand Rajaraman. |
Huang et al., X., “Identification of Clusters in the Web Graph Based on Link Topology”, 2003. |
Eiron et al., N., “Ranking the Web Frontier”, 2004. |
Bergmark et al., D., “Focused Crawls, Tunneling, and Digital Libraries”, 2002. |
Candan et al., K., “Reasoning for Web Document Associates and its Application in Site Map Construction”. 2002. |
Number | Date | Country | |
---|---|---|---|
60644325 | Jan 2005 | US |