The present invention is directed to the field of query processing.
Many World Wide Web sites permit users to perform searches to identify a small number of interesting items among a much larger domain of items. As an example, several web index sites permit users to search for particular web sites among most of the known web sites. Similarly, many online merchants, such as booksellers, permit users to search for particular products among all of the products that can be purchased from a merchant. Also, some web sites allow users to list products or services, or more generally any exchangeable entity, to be auctioned. An auction web site allows potential bidders to search for auctions of interest and then place a bid on the exchangeable entity being auctioned. In many cases, users perform searches in order to ultimately find a single item within an entire domain of items.
In order to perform a search, a user submits a query or selection specification containing one or more query terms. The query also explicitly or implicitly identifies a domain of items to search. For example, a user may submit a query to an online bookseller containing teems that the user believes are words in the title of a book. A query server program processes the query to identify within the domain items matching the terms of the query. The items identified by the query server program are collectively known as a query result. In the example, the query result is a list of books whose titles contain some or all of the query terms. The query result is typically displayed to the user as a list of items. This list may be ordered in various ways. For example, the list may be ordered alphabetically or numerically based on a property of each item, such as the title, author, or release date of each book. As another example, the list may be ordered based on the extent to which each identified item matches the terms of the query.
When the domain for a query contains a large number of items, it is common for query results to contain tens or hundreds of items. Where the user is performing the search in order to find a single item, application of conventional approaches to ordering the query result often fail to place the sought item or items near the top of the query result, so that the user must read through many other items in the query result before reaching the sought item. In view of this disadvantage of conventional approaches to ordering query results, a new, more effective technique for automatically ordering query results in accordance with collective and individual user behavior would have significant utility.
Further, it is fairly common for users to specify queries that are not satisfied by any items. This may happen, for example, where a user submits a detailed query that is very narrow, or where a user mistypes or misremembers a term in the query. In such cases, conventional techniques, which present only items that satisfy the query, present no items to the user. When no items are presented to a user in response to issuing a query, the user can become frustrated with the search engine, and may even discontinue its use. Accordingly, a technique for displaying items relating to at least some of the terms in a query even when no items completely match the query would have significant utility.
In order to satisfy this need, some search engines adopt a strategy of effectively automatically revising the query until a non-empty result set is produced. For example, a search engine may progressively delete conjunctive, i.e., ANDed, terms from a multiple term query until the result set produced for that query contains items. This strategy has the disadvantage that important information for choosing the correct items can be lost when query terms are arbitrarily deleted. As a result, the first non-empty result set can be quite large, and may contain a large percentage of items that are irrelevant to the original query as a whole. For this reason, a more effective technique for displaying items relating to at least some of the terms in a query even when no items completely match the query would have significant utility.
The present invention provides a software facility (“the facility”) for identifying the items most relevant to a current query based on items selected in connection with similar queries. The facility preferably generates ranking values for items indicating their level of relevance to the current query, which specifies one or more query terms. The facility generates a ranking value for an item by combining rating scores, produced by a rating function, that each correspond to the level of relevance of the item to queries containing one of the ranking values. The rating function preferably retrieves a rating score for the combination of an item and a term from a rating table generated by the facility. The scores in the rating table preferably reflect, for a particular item and term, how often users have selected the item when the item has been identified in query results produced for queries containing particular term.
In different embodiments, the facility uses the rating scores to either generate a ranking value for each item in a query result, or generate ranking values for a smaller number of items in order to select a few items having the top ranking values. To generate a ranking value for a particular item in a query result, the facility combines the rating scores corresponding to that item and the terms of the query. In embodiments in which the goal is to generate ranking values for each item in the query result, the facility preferably loops through the items in the query results and, for each item, combines all of the rating scores corresponding to that item and any of the terms in the query. On the other hand, in embodiments in which the goal is to select a few items in the query result having the largest ranking values, the facility preferably loops through the terms in the query, and, for each item, identifies the top few rating scores for that term and any item. The facility then combines the scores identified for each item to generate ranking values for a relatively small number of items, which may include items not identified in the query result. Indeed, these embodiments of the invention are able to generate ranking values for and display items even in cases in which the query result is empty, i.e., when no items completely satisfy the query.
Once the facility has generated ranking values for at least some items, the facility preferably orders the items of the query result in decreasing order of ranking value. The facility may also use the ranking values to subset the items in the query result to a smaller number of items. By ordering and/or subsetting the items in the query result in this way in accordance with collective and individual user behavior rather than in accordance with attributes of the items, the facility substantially increases the likelihood that the user will quickly find within the query result the particular item or items that he or she seeks. For example, while a query result for a query containing the query terms “human” and “dynamic” may contain a book about human dynamics and a book about the effects on human beings of particle dynamics, selections by users from early query results produced for queries containing the term “human” show that these users select the human dynamics book much more frequently than they select the particle dynamics book. The facility therefore ranks the human dynamics book higher than the particle dynamics book, allowing users that are more interested in the human dynamics book to select it more easily. This benefit of the facility is especially useful in conjunction with the large, heterogeneous query results that are typically generated for single-term queries, which are commonly submitted by users.
Various embodiments of the invention base rating scores on different kinds of selection actions performed by the users on items identified in query results. These include whether the user displayed additional information about an item, how much time the user spent viewing the additional information about the item, how many hyperlinks the user followed within the additional information about the item, whether the user added the item to his or her shopping basket, and whether the user ultimately purchased the item. Embodiments of the invention also consider selection actions not relating to query results, such as typing an item's item identifier rather than choosing the item from a query result. Additional embodiments of the invention incorporate into the ranking process information about the user submitting the query by maintaining and applying separate rating scores for users in different demographic groups, such as those of the same sex, age, income, or geographic category. Certain embodiments also incorporate behavioral information about specific users. Further, rating scores may be produced by a rating function that combines different types of information reflecting collective and individual user preferences. Some embodiments of the invention utilize specialized strategies for incorporating into the rating scores information about queries submitted in different time frames.
The present invention provides a software facility (“the facility”) for identifying the items most relevant to a current query based on items selected in connection with similar queries. The facility preferably generates ranking values for items indicating their level of relevance to the current query, which specifies one or more query terms. The facility generates a ranking value for an item by combining rating scores, produced by a rating function, that each correspond to the level of relevance of the item to queries containing one of the ranking values. The rating function preferably retrieves a rating score for the combination of an item and a term from a rating table generated by the facility. The scores in the rating table preferably reflect, for a particular item and term, how often users have selected the item when the item has been identified in query results produced for queries containing the term.
In different embodiments, the facility uses the rating scores to either generate a ranking value for each item in a query result, or generate ranking values for a smaller number of items in order to select a few items having the top ranking values. To generate a ranking value for a particular item in a query result, the facility combines the rating scores corresponding to that item and the terms of the query. In embodiments in which the goal is to generate ranking values for each item in the query result, the facility preferably loops through the items in the query results and, for each item, combines all of the rating scores corresponding to that item and any of the terms in the query. On the other hand, in embodiments in which the goal is to select a few items in the query result having the largest ranking values, the facility preferably loops through the terms in the query, and, for each item, identifies the top few rating scores for that term and any item. The facility then combines the scores identified for each item to generate ranking values for a relatively small number of items, which may include items not identified in the query result. Indeed, these embodiments of the invention are able to generate ranking values for and display items even in cases in which the query result is empty, i.e., when no items completely satisfy the query.
Once the facility has generated ranking values for at least some items, the facility preferably orders the items of the query result in decreasing order of ranking value. The facility may also use the ranking values to subset the items in the query result to a smaller number of items. By ordering and/or subsetting the items in the query result in this way in accordance with collective and individual user behavior rather than in accordance with attributes of the items, the facility substantially increases the likelihood that the user will quickly find within the query result the particular item or items that he or she seeks. For example, while a query result for a query containing the query terms “human” and “dynamic” may contain a book about human dynamics and a book about the effects on human beings of particle dynamics, selections by users from early query results produced for queries containing the term “human” show that these users select the human dynamics book much more frequently than they select the particle dynamics book. The facility therefore ranks the human dynamics book higher than the particle dynamics book, allowing users, most of whom are more interested in the human dynamics book, to select it more easily. This benefit of the facility is especially useful in conjunction with the large, heterogeneous query results that are typically generated for single-term queries, which are commonly submitted by users.
Various embodiments of the invention base rating scores on different kinds of selection actions performed by the users on items identified in query results. These include whether the user displayed additional information about an item, how much time the user spent viewing the additional information about the item, how many hyperlinks the user followed within the additional information about the item, whether the user added the item to his or her shopping basket, and whether the user ultimately purchased the item. In one embodiment, the facility allows users to search auctions of interest by specifying a query. The query results may be presented as auction titles along with links to web pages that describe the auctions in detail. The facility may base the rating score of relevant auctions on various selection actions such as the number of times users selected the auction and the number of times that users placed a bid at that auction. Embodiments of the invention also consider selection actions not relating to query results, such as typing an item's item identifier rather than choosing the item from a query result. Also, the facility may adjust the rating score for an item based on the item's position on a page. For example, the facility may increase the rating score for items that are listed near the end of a query result. The scrolling through a list to select an item may tend to indicate that the item is relevant. Additional embodiments of the invention incorporate into the ranking process information about the user submitting the query by maintaining and applying separate rating scores for users in different demographic groups, such as those of the same sex, age, income, or geographic category. Certain embodiments also incorporate behavioral information about specific users. Further, rating scores may be produced by a rating function that combines different types of information reflecting collective and individual user preferences. Some embodiments of the invention utilize specialized strategies for incorporating into the rating scores information about queries submitted in different time frames.
The domain of items that can be searched may be organized into classifications or categories, which may be hierarchical or nonhierarchical in nature. A hierarchical organization can be represented by a tree data structure or a tree-like data structure in which a classification can have two parent classifications, and a nonhierarchical organization can be represented by a general graph data structure. For example, auctions may be organized based on the products being auctioned. The highest categories of auctions may include “antiques,” “books,” “clothing,” “coins” and so on. The “coins” category may be further sub-categorized into “international coins” and “U.S. coins.” The “U.S. coins” category may have the sub-categories of “cents,” “nickels,” and so on. In one embodiment, the facility allows a query for a domain to be limited to a certain category within that domain. For example, a user may specify a category of “U.S. coins” and then specify a query to be performed on items in that category.
The facility preferably generates a new rating table periodically, and, when a query result is received, uses the last-generated rating table to rank the items in the query result.
In additional embodiments, the facility uses various other data structures to store the rating scores, such as sparse arrays.
In augmenting the item rating table 300, the facility identifies the selection of the item having item identifier “1883823064” from a query result produced by a query specifying the query terms “human” and “dynamics”.
Rather than generating a new rating table from scratch using the steps shown in
The process used by the facility to identify user selections is dependent upon both the kind of selection action used by the facility and the manner in which the data relating to such selection actions is stored. One preferred embodiment uses as its selection action requests to display more information about items identified in query results. In this embodiment, the facility extracts this information from logs generated by a web server that generates query results for a user using a web client, and allows the user to select an item with the web client in order display additional information about it. A web server generally maintains a log detailing of all the HTTP requests that it has received from web clients and responded to. Such a log is generally made up of entries, each containing information about a different HTTP request. Such logs are generally organized chronologically. Log Entry 1 below is a sample log entry showing an HTTP request submitted by a web client on behalf of the user that submits a query.
1. Friday, 13 Feb. 98 16:59:27
2. User Identifier=82707238671
3. HTTP_REFERER=http://www.amazon.com/book_query_page
4. PATH_INFO=/book_query
5. author=“Seagal”
6. title=“Human Dynamics”
It can be seen by the occurrence of the keyword “book_query” in the “PATH_INFO” line 4 of Log Entry 1 that this log entry corresponds to a user's submission of a query. It further can be seen in term lines 5 and 6 that the query includes the terms “Seagal”, “Human”, and “Dynamics”. In line 2, the entry further contains a user identifier corresponding to the identity of the user and, in some embodiments, also to this particular interaction with the web server.
In response to receiving the HTTP request documented in Log Entry 1, the query server generates a query result for the query and returns it to the web client submitting the query. Later the user selects an item identified in the query result, and the web client submits another HTTP request to display detailed information about the selected item. Log Entry 2, which occurs at a point after Log Entry 1 in the log, describes this second HTTP request.
1. Friday, 13 Feb. 98 17:02:39
2. User Identifier=82707238671
3. HTTP_REFERER=http://www.amazon.com/book_query
4. PATH_INFO=/ISBN=1883823064
By comparing the user identifier in line 2 of Log Entry 2 to the user identifier in line 2 of Log Entry 1, it can be seen that these log entries correspond to the same user and time frame. In the “PATH_INFO” line 4 of Log Entry 2, it can be seen that the user has selected an item having item identifier (“ISBN”) “1883823064”. It can further be seen from the occurrence of the keyword “book_query” on the “HTTP_REFERER” line 3 that the selection of this item was from a query result.
Where information about user selections is stored in web server logs such as those discussed above, the facility preferably identifies user selections by traversing these logs. Such traversal can occur either in a batch processing mode after a log for a specific period of time has been completely generated, or in a real-time processing mode so that log entries are processed as soon as they are generated.
When other selection actions are used by the facility, extracting information about the selection from the web server log can be somewhat more involved. For example, where the facility uses purchase of the item as the selection action, instead of identifying a log entry describing a request by the user for more information about an item, like Log Entry 1, the facility instead identifies a log entry describing a request to purchase items in a “shopping basket.” The facility then traverses backwards in the log, using the entries describing requests to add items to and remove items from the shopping basket to determine which items were in the shopping basket at the time of the request to purchase. The facility then continues traversing backward in the log to identify the log entry describing the query, like Log Entry 2, and to extract the search terms.
Rather than relying solely on a web server log where item purchase is the selection action that is used by the facility, the facility alternatively uses a database separate from the web server log to determine which items are purchased in each purchase transaction. This information from the database is then matched up with the log entry containing the query terms for the query from which item is selected for purchase. This hybrid approach, using the web server logs and a separate database, may be used for any of the different kinds of selection actions. Additionally, where a database separate from the web server log contains all the information necessary to augment the rating table, the facility may use the database exclusively, and avoid traversing the web server log.
The facility uses rating tables that it has generated to generate ranking values for items in new query results.
While the present invention has been shown and described with reference to preferred embodiments, it will be understood by those skilled in the art that various changes or modifications in form and detail may be made without departing from the scope of the invention. For example, the facility may be used to rank query results of all types. The facility may use various formulae to determine in the case of each item selection, the amount by which to augment rating scores with respect to the selection. Further, the facility may employ various formulae to combine rating scores into a ranking value for an item. The facility may also use a variety of different kinds of selection actions to augment the rating table, and may augment the rating table for more than one kind of selection action at a time. Additionally, the facility, may augment the rating table to reflect selections by users other than human users, such as software agents or other types of artificial users.
This application is a continuation of U.S. patent application Ser. No. 11/118,118, filed Apr. 29, 2005, which is a continuation of U.S. patent application Ser. No. 09/344,802, filed Jun. 25, 1999, now U.S. Pat. No. 7,050,992, issued May 23, 2006, which is a continuation-in-part of U.S. patent application Ser. No. 09/041,081, filed Mar. 10, 1998, now U.S. Pat. No. 6,185,558, issued Feb. 6, 2001, which is a continuation-in-part of U.S. patent application Ser. No. 09/033,824 filed Mar. 3, 1998. These applications are hereby incorporated by reference.
Number | Name | Date | Kind |
---|---|---|---|
4996642 | Hey | Feb 1991 | A |
5446891 | Kaplan et al. | Aug 1995 | A |
5640553 | Schultz | Jun 1997 | A |
5748954 | Mauldin | May 1998 | A |
5754237 | Jung | May 1998 | A |
5754938 | Herz et al. | May 1998 | A |
5826261 | Spencer | Oct 1998 | A |
5875443 | Nielsen | Feb 1999 | A |
5877485 | Swartz | Mar 1999 | A |
5920859 | Li | Jul 1999 | A |
6006222 | Culliss | Dec 1999 | A |
6006225 | Bowman et al. | Dec 1999 | A |
6014665 | Culliss | Jan 2000 | A |
6026377 | Burke | Feb 2000 | A |
6085176 | Woolston | Jul 2000 | A |
6185558 | Bowman et al. | Feb 2001 | B1 |
6202058 | Rose et al. | Mar 2001 | B1 |
6421653 | Raymond | Jul 2002 | B1 |
6421675 | Ryan et al. | Jul 2002 | B1 |
6460036 | Herz et al. | Oct 2002 | B1 |
6493702 | Adar et al. | Dec 2002 | B1 |
6631372 | Graham | Oct 2003 | B1 |
6954755 | Reisman | Oct 2005 | B2 |
7050992 | Bowman et al. | May 2006 | B1 |
7062488 | Reisman | Jun 2006 | B1 |
7124129 | Bowman | Oct 2006 | B2 |
7305390 | Bowman et al. | Dec 2007 | B2 |
20010042064 | Davis et al. | Nov 2001 | A1 |
20020123988 | Dean et al. | Sep 2002 | A1 |
20060106757 | Sakai et al. | May 2006 | A1 |
20060195325 | Tateson et al. | Aug 2006 | A1 |
20070100796 | Wang | May 2007 | A1 |
Number | Date | Country |
---|---|---|
0 751 471 | Jan 1997 | EP |
WO 9529451 | Nov 1995 | WO |
WO 9906924 | Feb 1999 | WO |
WO 0219167 | Mar 2002 | WO |
WO 0219167 | Mar 2002 | WO |
Number | Date | Country | |
---|---|---|---|
Parent | 11118118 | Apr 2005 | US |
Child | 12619578 | US | |
Parent | 09344802 | Jun 1999 | US |
Child | 11118118 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 09041081 | Mar 1998 | US |
Child | 09344802 | US | |
Parent | 09033824 | Mar 1998 | US |
Child | 09041081 | US |