Search engines have enabled users to quickly access information over the Internet. Specifically, a user can issue a query to a search engine and peruse ranked results returned by the search engine. For example, a user can provide a search engine with the query “Spider” and be provided with web pages relating to various arachnids, web pages relating to automobiles, web pages relating to films, web pages related to web crawlers, and other web pages. Search engines may also be used to return images to an issuer of a query, academic papers, videos, and other information.
As search engine technology has developed, search engines have been able to provide query suggestions to users. Query suggestions are alternate queries displayed to users of a search engine in the context of their original query. In a particular example, a user can provide a query to a search engine and the search engine returns ranked search results in response to the query. The search engine can also provide query suggestions that are in some way related to the originally provided query. The query suggestions are typically shown as hyperlinks that are selectable by the user. The user may select a search using a suggested query if they believe it will help them to navigate to their desired page or satisfy their informational need better than the original query. If the user selects a suggested query, the search engine performs a search using the suggested query and provides ranked search results that correspond to the suggested query.
There are several mechanisms used to provide query suggestions to users. One mechanism is to search for narrow query suggestions, which are queries that include the query issued by the user. For instance, if a user issues a query “spider”, query suggestions provided to the user may be “poisonous spider”, “identifying spiders”, “Spider car”, “spider solitaire”, “spider web”, and/or other queries that include the term “spider.” Conventionally, however, query suggestions are determined heuristically, and thus may not accurately reflect the needs of the user.
The following is a brief summary of subject matter that is described in greater detail herein. This summary is not intended to be limiting as to the scope of the claims.
Various technologies relating to training and using a model of user behavior with respect to query suggestions are described herein. In general, users' past interactions with queries and query suggestions can be used to model user behavior with respect to query suggestions, and thus provide users with query suggestions. More specifically, features of queries and corresponding query suggestions can be analyzed and used to train a model of user behavior with respect to query suggestions. Such features used to train the model of user behavior may include a type of transformation of a query string—e.g., whether terms have been added, deleted, or substituted, which words were added, deleted, or substituted for, how frequently added words are used in queries, and the like. Other features that can be used to train the model include features derived from query logs, such as frequency of submission of certain query suggestions, popularity of a query suggestion relative to an originally issued query, frequency that a query suggestion follows a query in a sequence entered by users, etc. Still other features that can be used to train the model include features derived from sets of results retrieved by a search engine for queries and corresponding query suggestions, such as a number of results retrieved, an amount of overlap between search results, etc.
Queries and suggestions for which data has been collected can be analyzed and features of the query/query suggestions can be used to train the model, which may be a logistic regression model, for example. The trained model may then be used to estimate the quality of query/query suggestion pairs, even ones that are rare or non-existent in training data, because they will share features with queries and query suggestions that exist in training data.
The model of user behavior with respect to query suggestions can be used as follows, for example. A user can provide a query (e.g., to a search engine), and candidate query suggestions can be generated based at least in part upon the query. Features of the query and query suggestions can be analyzed, and based at least in part upon the analysis, the model can be used to individually generate an indication of usefulness for each query suggestion. In an example, the indication of usefulness may be a probability that a user will select the query suggestion. The query suggestions can then be displayed to the user in an order corresponding to their indications of usefulness.
Other aspects of the present application will be appreciated upon reading and understanding the attached figures and description.
Various technologies pertaining to training a model of user behavior with respect to query suggestions and providing query suggestions to users will now be described with reference to the drawings, where like reference numerals represent like elements throughout. In addition, several functional block diagrams of example systems are illustrated and described herein for purposes of explanation; however, it is to be understood that functionality that is described as being carried out by certain system components may be performed by multiple components. Similarly, for instance, a component may be configured to perform functionality that is described as being carried out by multiple components.
With reference to
A receiver component 106 receives a subset of the user history data 104. For instance, the receiver component 106 may provide a request to the data store 102 for a subset of the user history data 104. The receiver component 106 may then receive the subset of the user history data 104 in response to the request.
A training component 108 is in communication with the receiver component 106 and receives the subset of the user history data 104 from the receiver component 106. Again, the training component 108 may provide the receiver component 106 with a request for the subset of the user history data 104 and the training component 108 may receive the subset of the user history data 104 in response to the request. The training component 108 can train a model component 110 with the subset of the user history data 104, wherein the model component 110 acts as model of user behavior with respect to query suggestions. For instance, the training component 108 can train the model component 110 using text of queries, click behavior on search results of queries, content of a page that has been selected upon selection of a query suggestion, frequency of selection of a particular query suggestion, overlap of results with respect to a query and a proffered query suggestion, page rank data, a number of words in common between a query and a corresponding query suggestion, length of a query, relative frequency of a query suggestion with respect to a query, and/or any other suitable data.
Other features that may be used to train the model component 110 include a type of transformation of the query string—for instance, whether terms have been added, deleted, and/or substituted from an original query, which words were added, deleted, and/or substituted, frequency of use of added, deleted, and/or substituted words or phrases, whether named entities have been added or deleted, and/or the like. Further, for instance, features including features derived from query logs can be used to train the model component 110. These features may include, for example, how often a suggested query is submitted, how much more or less popular is a query suggestion relative to an original query, frequency that a query suggestion follows a certain query in a sequence entered by a user, and/or the like. Still further, features including features derived from a set of search results retrieved by a search engine for a particular query and/or query suggestion can be used when training the model component 110. Such features can include a number of search results retrieved with respect to a query and suggested query, an amount of overlap of search results, etc. Once trained, the model component 110 can estimate quality of query/query suggestion pairs, even ones that are rare or non-existent in the user history data 104, as such query/query suggestion pair will share some features with queries and query suggestions that exist in the user history data 104.
The model component 110, for example, may be or include a logistic regression model, a multi-class logistic regression model, an artificial neural network, or any other suitable model. For example, the model component 110 when trained can be used to ascertain which particular characteristics of a query and/or query suggestion are desirable to users in general, a collection of users, or a single user. In other words, the model component 110 can be used to determine what characteristics of a query and/or query suggestion make users likely to interact with a query suggestion. Still further the model component 110 component may be used to determine likely user behavior given certain data and a particular context.
The model component 110 may be trained with respect to users in general, with respect to a certain group of users, or with respect to a single user. For instance, the user history data 104 that is used to train the model component 110 may include data that is representative of how users in general interact with queries, query suggestions, and/or corresponding search results. In another example, the user history data 104 used to train the model component 110 may be collected from a particular group of users, wherein the group of users can be selected based upon demographic information, known interests, and/or the like. In yet another example, the user history data 104 used to train the model may be collected from a single user, such that the model component 110 can model behavior of the single user with respect to queries and/or query suggestions.
Now turning to
The query suggestion generator component 204 can use any suitable manner for generating query suggestions. For instance, the query suggestion generator component 204 can generate query suggestions that include the received query. Pursuant to an example, the received query may be “spider”, and the query suggestion generator component 204 can generate “poisonous spider” as a suggested query. For instance, the query suggestion generator component 204 can review number of page views for certain pages, page rank information, and construct queries based at least in part upon such information.
In another example, the query suggestion generator component 204 can review query logs and locate common query refinements that exist in the query logs, and generate query suggestions based at least in part upon common refinements. In yet another example, the query suggestion generator component 204 can follow links of search results with respect to the query and determine a query that would be effective to return web pages linked to certain search results. The query suggestion generator component 204 may then output the determined query as a query suggestion.
In still yet another example, the query suggestion generator component 204 can generate query suggestions as characters are received by the query receiver component 202. For instance, the query receiver component 202 may receive a letter “s”, and the query suggestion generator component 204 can generate multiple query suggestions based upon such letter. The query receiver component may then receive the letter “p”, and the query suggestion generator component 204 can generate query suggestions based upon the characters “sp.” For instance, the query suggestion generator component 204 can generate query suggestions “sprint”, “sports”, “spyware”, and “spiders.” The query receiver component 202 may then receive the letter “i” from the user, and the query suggestion generator component 204 can generate multiple queries based upon the characters “spi” (e.g., spiders, Spiderman, Spriegel, amongst other queries).
The model component 110 can receive one or more query suggestions generated by the query suggestion generator component 204 and can output an indication of usefulness 206 of the query suggestion(s) with respect to the query and/or the issuer of the query. More specifically, the model component 110 can calculate feature values of the generated query suggestions (e.g., length of queries, amount of overlap of search results, and other values of features described above) and use such values to generate the indication of usefulness 206 of the query suggestion. In an example, the indication of usefulness 206 may be a probability that the issuer of the query will select the query suggestion. In another example, the indication of usefulness 206 may be a probability that a user will interact with search results that correspond to the query suggestion. In still another example, the indication of usefulness 206 may accord to some metric of user satisfaction (e.g., a metric determined by way of one or more user satisfaction surveys). In yet another example, the indication of usefulness 206 may be a probability that the issuer of the query will locate desired information.
A display component 208 can receive the indication of usefulness 206 of a query suggestion and display a query suggestion based at least in part upon the indication of usefulness 206. In a particular example, the query suggestion generator component 204 can generate multiple query suggestions. The model component 110 can receive the query suggestions and generate an indication of usefulness for each query suggestion. The display component 208 can receive the query suggestions and corresponding indications of usefulness and display query suggestions based at least in part upon their corresponding indications of usefulness. For example, the display component 208 can display a threshold number of query suggestions that correspond to highest indications of usefulness to a user in an order that corresponds to the indications of usefulness to the user. The display component 208 may display the query suggestions as selectable links, for instance.
With reference now to
The system 300 further includes an interface component 302 that can receive user input with respect to one or more query suggestions displayed to a user by the display component 208. For instance, the interface component 302 can receive user input that indicates that the user wishes to select a particular query suggestion, a certain search result, a new query, or other suitable information. A data collector component 304 collects data pertaining to the user input received by the interface component 302. For instance, the data collector component 304 can collect queries provided by users, query suggestions provided with respect to the collected queries, search results selected by users, and other information.
The training component 108 can receive data collected by the data collector component 304 and further train the model component 110 based at least in part upon such data. Accordingly, as additional data is collected, the model component 110 can become more apt in modeling user behavior with respect to query suggestions. Moreover, the model component 108 can use machine learning to infer how the model component 110 should be parameterized with respect to certain query suggestion features and/or users or groups of users. Pursuant to an example, the model component 110 can learn patterns in the user history data 104 and data collected by the data collector component 304 and assign weights to parameters of the model component 110, such that certain features of query suggestions are emphasized over other features.
Now turning to
As noted above, the grouping component 402 can use any suitable manner of grouping query suggestions output by the query suggestion generator component 204. For instance, if a user can be provided with five query suggestions at once, the grouping component 402 can create groups that include five query suggestions. In another example, if the query suggestion generator component 204 provides the grouping component 402 with a relatively small number of query suggestions, the grouping component 402 may use a greedy algorithm and output every possible grouping of query suggestions. If grouping in such a manner would be inefficient or impractical, the grouping component 402 can group query suggestions, for instance, based at least in part upon overlap in search results that correspond to query suggestions. For example, it may be desirable to create groups of query suggestions that correspond to diverse search results.
Different groups of query suggestions may then be provided to the model component 110, and the model component 110 can output the indication of usefulness 206 with respect to each group of query suggestions. For example, the model component 110 can assign a first indication of usefulness to a first group of query suggestions, a second indication of usefulness to a second group of query suggestions, etc. As with individual query suggestions, the model component 110 can use various mechanisms when outputting the indication of usefulness 206. For instance, the indication of usefulness 206 may be a probability that a user will select a query suggestion in the group, whether the user will interact with search results corresponding to query suggestions in the group, etc.
Still further, the model component 110 and the grouping component 402 can act in conjunction when determining how to group query suggestions. For instance, individual query suggestions may be provided to the model component 110, and the model component 110 can output an indication of usefulness for each query suggestion. A first query suggestion that corresponds to a highest indication of usefulness may be provided to the grouping component 402. The model component 110 may then individually analyze the query suggestions again, and determine an indication of usefulness for each of the query suggestions given that the first query suggestion has already been selected. A second query suggestion that corresponds to a highest indication of usefulness given the aforementioned constraint may then be provided to the grouping component 402. Once a threshold number of query suggestions are grouped, the display component 208 can display the group of query suggestions to the user that issued the query.
Turning now to
The display component 208 can display query suggestions in accordance with indications of usefulness provided thereto by the model component 110 and/or query suggestions received from the reinforcement learning component 502. The interface component 302 receives user input, such as in the form of a different query, selections of a query suggestion, and/or the like. The data collector component 304 collects data pertaining to the user input received by the interface component 302. The training component 108 uses the data collected by the data collector component 304 to further refine/train the model component 110.
Referring now to
The model component 110, with parameters weighted based at least in part upon a profile determined by the profiler component 602, receives query suggestions from the query suggestion generator component 204. The model component 110 can output the indication of usefulness for a query suggestion, such that each query suggestion received by the model component 110 is assigned a corresponding indication of usefulness. The display component 208 can display query suggestions based at least in part upon indications of usefulness corresponding thereto. An advertisement selector component 604 can also receive query suggestions that are to be displayed to the user and can select one or more advertisements to display based at least in part upon the query suggestions that are to be displayed. For example, if an initial query is “spider”, and a suggested query that is to be provided to the user is “spider car”, the advertisement selector component 604 may display an advertisement for a particular type of automobile.
With reference now to
Moreover, the acts described herein may be computer-executable instructions that can be implemented by one or more processors and/or stored on a computer-readable medium or media. The computer-executable instructions may include a routine, a sub-routine, programs, a thread of execution, and/or the like. Still further, results of acts of the methodologies may be stored in a computer-readable medium, displayed on a display device, and/or the like. In addition, methodologies may be used herein in connection with a portable computing device to facilitate ease of data entry with respect to the portable computing device.
Referring specifically to
Turning now to
Referring now to
Turning now to
With reference now to
At 1110, a query is received from the user. At 1112, multiple query suggestions are generated based at least in part upon the received query. At 1114, the learned model of user behavior with respect to query suggestions is used to output indications of usefulness of the query suggestions based at least in part upon the query received at 1110 and the query suggestions generated at 1112. At 1116, query suggestions are displayed to the user based at least in part upon the output indications of usefulness. For instance, a threshold number of query suggestions that correspond to the highest indications of usefulness can be displayed to the user. The methodology 1100 ends at 1118.
Now referring to
The computing device 1200 additionally includes a data store 1208 that is accessible by the processor 1202 by way of the system bus 1206. The data store 1208 may include executable instructions, user history data, profile information, search results, labeled data, etc. The computing device 1200 also includes an input interface 1210 that allows external devices to communicate with the computing device 1200. For instance, the input interface 1210 may be used to receive queries from a user by way of a network, selections of search results from a user, selections of query suggestions from a user, etc. The computing device 1200 also includes an output interface 1212 that interfaces the computing device 1200 with one or more external devices. For example, the computing device 1200 may display query suggestions by way of the output interface 1212.
Additionally, while illustrated as a single system, it is to be understood that the computing device 1200 may be a distributed system. Thus, for instance, several devices may be in communication by way of a network connection and may collectively perform tasks described as being performed by the computing device 1200.
As used herein, the terms “component” and “system” are intended to encompass hardware, software, or a combination of hardware and software. Thus, for example, a system or component may be a process, a process executing on a processor, or a processor. Additionally, a component or system may be localized on a single device or distributed across several devices.
It is noted that several examples have been provided for purposes of explanation. These examples are not to be construed as limiting the hereto-appended claims. Additionally, it may be recognized that the examples provided herein may be permutated while still falling under the scope of the claims.
Number | Name | Date | Kind |
---|---|---|---|
6006225 | Bowman et al. | Dec 1999 | A |
7136845 | Chandrasekar et al. | Nov 2006 | B2 |
7231375 | Ratnaparkhi et al. | Jun 2007 | B2 |
20030018659 | Fuks et al. | Jan 2003 | A1 |
20040215606 | Cossock | Oct 2004 | A1 |
20050033711 | Horvitz et al. | Feb 2005 | A1 |
20050234879 | Zeng et al. | Oct 2005 | A1 |
20060085391 | Turski et al. | Apr 2006 | A1 |
20060167896 | Kapur et al. | Jul 2006 | A1 |
20060190436 | Richardson et al. | Aug 2006 | A1 |
20060190447 | Harmon et al. | Aug 2006 | A1 |
20060248078 | Gross et al. | Nov 2006 | A1 |
20070078828 | Parikh et al. | Apr 2007 | A1 |
20070208738 | Morgan | Sep 2007 | A1 |
Number | Date | Country | |
---|---|---|---|
20090187515 A1 | Jul 2009 | US |