1. Field of the Invention
Implementations described herein relate generally to information retrieval and, more particularly, to the determination of a desired repository for a search.
2. Description of Related Art
The World Wide Web (“web”) contains a vast amount of information. Locating a desired portion of the information, however, can be challenging. This problem is compounded because the amount of information on the web and the number of new users inexperienced at web searching are growing rapidly.
Search engine systems attempt to return hyperlinks to web pages in which a user is interested. Generally, search engine systems base their determination of the user's interest on search terms (called a search query) entered by the user. The goal of a search engine system is to provide links to high quality, relevant search results (e.g., web pages) to the user based on the search query. Typically, the search engine system accomplishes this by matching the terms in the search query to a corpus of pre-stored web pages. Web pages that contain the user's search terms are “hits” and are returned to the user as links.
Some search engine systems can provide various types of information as the search results. For example, a search engine system might be capable of providing search results relating to web pages, news articles, images, merchant products, usenet pages, yellow page entries, scanned books, and/or other types of information. Typically, a search engine system provides separate interfaces to these different types of information.
When a user provides a search query to a standard search engine system, the user is typically provided with links to web pages. If the user desires another type of information (e.g., images or news articles), the user typically needs to access a separate interface provided by the search engine system.
According to one aspect, a method may include receiving a search query from a user; searching a group of repositories, based on the search query, to identify, for each of the repositories, a set of search results; identifying one of the repositories based on a likelihood that the user desires information from the identified repository; and presenting the set of search results associated with the identified repository.
According to another aspect, a system may include a search engine system that may receive a search query from a user and determine a score for each of a group of repositories, where the score for one of the repositories is based on a likelihood that the user desires information from the one repository. The search engine system may also perform a search on one or more of the repositories, based on the search query, to identify, for each of the one or more repositories, a set of search results, and provide one or more of the sets of search results based on the scores.
According to yet another aspect, a computer-readable medium to store data and computer-executable instructions is provided. The computer-readable medium may include log data associated with a number of searches of repositories based on search queries provided by users. The computer-readable medium may also include instructions for representing the log data as triples of data (u, q, r), where u refers to information regarding a user that provided a search query, q refers to information regarding the search query, and r refers to information regarding a repository from which search results were provided in response to the search query; instructions for determining a label for each of the triples of data (u, q, r), where the label includes information regarding whether the user u desired information from the repository r when the user provided the search query q; and instructions for training a model based on the triples of data (u, q, r) and the associated labels, where the model predicts whether a particular user desires information from a repository when the user provides a particular search query.
According to a further aspect, a system may include a first repository to store a first type of data, a second repository to store a second type of data, and a search engine system. The search engine system may receive a search query from a user, and determine a likelihood that the user desires information from the first or second repository based on information regarding the user, the search query, and the first or second repository.
According to another aspect, a system may include a model generation system and a search engine system. The model generation system may generate a model that determines a score associated with a likelihood that a particular user desires information from a repository when the user provides a particular search query. The search engine system may receive a search query from a user, determine a score for each of a plurality of repositories based on the model, and present search results from one or more of the repositories based on the scores.
According to yet another aspect, a method may include receiving a search query from a user; determining a score for each of a plurality of repositories, the score for one of the repositories being based on a likelihood that the user desires information from the one repository; performing a search on at least one of the repositories, based on the search query and the determined scores, to identify, for each of the at least one of the repositories, a set of search results; and providing one or more of the sets of search results.
According to a further aspect, a system may include a model generation system to generate first and second models, where at least one factor used to generate the second model is different or absent when generating the first model. The system may also include a search engine system to receive a search query from a user, determine a first score for each of a plurality of repositories based on the first model, perform a search on one or more of the repositories based on the search query and the first scores, determine a second score for each of the one or more of the repositories based on the second model, and present search results from at least one of the one or more of the repositories based on the second scores.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate an embodiment of the invention and, together with the description, explain the invention. In the drawings,
The following detailed description of the invention refers to the accompanying drawings. The same reference numbers in different drawings may identify the same or similar elements. Also, the following detailed description does not limit the invention.
In the description to follow, the term “document” is to be broadly interpreted to include any machine-readable and machine-storable work product. A document may include, for example, a web page, information relating to a news event, an image file, information relating to a merchant product, information relating to a usenet page, a yellow page entry, a scanned book, a file, a combination of files, one or more files with embedded links to other files, a blog, a web advertisement, an e-mail, etc. Documents often include textual information and may include embedded information (such as meta information, hyperlinks, etc.) and/or embedded instructions (such as Javascript, etc.). A “link,” as the term is used herein, is to be broadly interpreted to include any reference to/from a document from/to another document or another part of the same document.
As shown in
For example, if a user provides the term “sunset” as a search query to the search engine system, the search engine system may determine that the user is more interested in images of sunsets rather than web pages relating to sunsets. As a result, the search engine system may present the user with search results from the image repository instead of, or in addition to, search results from other repositories.
Similarly, if a user provides the phrase “iraq war” as a search query to the search engine system, the search engine system may determine that the user is more interested in news documents relating to the Iraq war rather than web pages relating to the Iraq war. As a result, the search engine system may present the user with search results from the news repository instead of, or in addition to, search results from other repositories.
Implementations consistent with the principles of the invention may generate a model that predicts which repository, or repositories, a user is interested in when the user provides a search query, and use this model to provide relevant search results to the user.
The user information may include Internet Protocol (IP) addresses, cookie information, languages, and/or geographical information associated with the users, prior queries provided by the users, and/or the time of day and/or day of the week that the users provided the current or prior queries. The query information may include information relating to the query terms that were provided. The repository information may include information relating to the repository interfaces used for the searches, the documents that were displayed and the repositories from which they were obtained, and/or the documents that were selected (e.g., clicked on). In other exemplary implementations, other types of data may alternatively or additionally be maintained by store 220.
Device(s) 210 may include any type of computing device capable of accessing store 220 via any type of connection mechanism. According to one implementation consistent with the principles of the invention, system 200 may include multiple devices 210. According to another implementation, system 200 may include a single device 210.
Processor 320 may include a processor, microprocessor, or processing logic that may interpret and execute instructions. Main memory 330 may include a random access memory (RAM) or another type of dynamic storage device that may store information and instructions for execution by processor 320. ROM 340 may include a ROM device or another type of static storage device that may store static information and instructions for use by processor 320. Storage device 350 may include a magnetic and/or optical recording medium and its corresponding drive.
Input device 360 may include a mechanism that permits an operator to input information to device 210, such as a keyboard, a mouse, a pen, voice recognition and/or biometric mechanisms, etc. Output device 370 may include a mechanism that outputs information to the operator, including a display, a printer, a speaker, etc. Communication interface 380 may include any transceiver-like mechanism that enables device 210 to communicate with other devices and/or systems. For example, communication interface 380 may include mechanisms for communicating with another device 210 or store 220.
As will be described in detail below, device 210, consistent with the principles of the invention, may perform certain model generating-related operations. Device 210 may perform these operations in response to processor 320 executing software instructions contained in a computer-readable medium, such as memory 330. A computer-readable medium may be defined as a physical or logical memory device and/or carrier wave.
The software instructions may be read into memory 330 from another computer-readable medium, such as data storage device 350, or from another device via communication interface 380. The software instructions contained in memory 330 may cause processor 320 to perform processes that will be described later. Alternatively, hardwired circuitry may be used in place of or in combination with software instructions to implement processes consistent with the principles of the invention. Thus, implementations consistent with the principles of the invention are not limited to any specific combination of hardware circuitry and software.
For purposes of the discussion to follow, the set of data in store 220 (
Several features may be extracted for any given (u, q, r). It may be possible for store 220 to include hundreds of thousands of distinct features. In one implementation, some of these features might include one or more of the following: the country in which user u is located, the language of the country in which user u is located, a cookie identifier associated with user u, the language of query q, each term in query q, the time of day user u provided query q, the documents from repository r that were presented to user u, each of the terms in the documents from repository r that were presented to user u, and/or each of the terms in the titles of the documents from repository r that were presented to the user u. Other features might alternatively or additionally be used.
In another implementation, some of the features might include one or more of the following in addition to, or instead of, some of the features identified above: the fraction of queries that were provided to the interface for repository r, the fraction of queries that were provided to the interface for repository r versus the interfaces for other repositories, the fraction of queries that contain a term in query q that were provided to the interface for repository r versus the interfaces for other repositories, the overall click rate for queries provided to the interface for repository r, the click rate for queries provided to the interface for repository r for user u, the click rate for queries provided to the interface of repository r for users in the same country as user u, and/or the click rate for query q provided to the interface of repository r.
In a further implementation, the following two features might also be included: the click rate of query q provided to the interface of repository r for user u, and the fraction of queries q that were provided to the interface of repository r for user u. Instead of determining these features directly, models might be generated to predict these features using conventional techniques and the output of the models may be used as features.
A model may be created based on this data. In one implementation, the model may be used to predict, given a new (u, q, r), whether user u desires information from repository r if user u provided query q. As will be described in more detail below, the output of the model may be used to determine whether to search a repository, whether to include search results from a repository in a search result document, and/or the manner for presenting search results within the search result document.
To facilitate generation of the model, the log data in store 220 may be represented as sets of instances (block 410). For example, information may be identified relating to prior searches by users, such as information regarding the users, the queries the users provided, and the repositories from which the search results were obtained and/or selected. This information may be formed into triples (u, q, r), as described above.
A label for each instance may then be determined (block 420). For example, it may be determined for each triple (u, q, r) whether user u desired information (e.g., selected a document) in repository r when user u provided query q. The labels may be associated with their corresponding instances in store 220. The features relating to each of the instances may also be determined (block 430).
A model may then be generated based on the instances, labels, and features (block 440). For example, a standard machine learning or statistical technique may be used to determine the probability that user u desires information from repository r when user u provides query q:
P(desire|u,q,show_r),
where “show_r” indicates that documents from repository r are provided. Any of several well known techniques may be used to generate the model, such as logic regression, boosted decision trees, random forests, support vector machines, perceptrons, and winnow learners. Instead of generating a probability, the model may output a value that reflects a confidence that user u desires information from repository r when user u provides query q. The output of the model will be generally referred to hereinafter as a “score,” which may include a probability output and/or an output value.
As explained below, the output of the model may be used to determine whether to search a repository, whether to include search results from a repository in a search result document, and/or the manner for presenting search results within the search result document.
Clients 510 may include client entities. An entity may be defined as a device, such as a personal computer, a wireless telephone, a personal digital assistant (PDA), a lap top, or another type of computation or communication device, a thread or process running on one of these devices, and/or an object executable by one of these devices. Servers 520-540 may include server entities that gather, process, search, and/or maintain documents in a manner consistent with the principles of the invention.
In an implementation consistent with the principles of the invention, server 520 may include a search engine system 525 usable by clients 510. Search engine system 525 may be associated with a number of repositories of documents (not shown), such as a web page repository, a news repository, an image repository, a products repository, a usenet repository, a yellow pages repository, a scanned books repository, and/or other types of repositories. These repositories may physically reside in one or more memory devices located within server 520 or external to server 520. Servers 530 and 540 may store or maintain documents that may be associated with one or more of the repositories.
While servers 520-540 are shown as separate entities, it may be possible for one or more of servers 520-540 to perform one or more of the functions of another one or more of servers 520-540. For example, it may be possible that two or more of servers 520-540 are implemented as a single server. It may also be possible for a single one of servers 520-540 to be implemented as two or more separate (and possibly distributed) devices.
Network 550 may include a local area network (LAN), a wide area network (WAN), a telephone network, such as the Public Switched Telephone Network (PSTN), an intranet, the Internet, or a combination of networks. Clients 510 and servers 520-540 may connect to network 550 via wired, wireless, and/or optical connections.
Information concerning the user may be obtained (block 620). For example, the user may be identified using, for example, an IP address, cookie information, languages, and/or geographical information associated with the user. Conventional techniques may be used for gathering the user information.
In one implementation, a search may be performed on each of the repositories based on the search query (block 630). A set of search results may be obtained corresponding to each of the repositories. Any information retrieval technique may be used to identify relevant documents to include in the set of search results.
It may then be determined how the search results will be provided based on the model (block 640). For example, information relating to the user, the search query the user provided, and each of the repositories may be used as inputs to the model. The model may be applied to each repository and the output of the model (“score”) may be used to determine whether to provide search results associated with that repository. It may be determined, for example, that search results from the two repositories with the highest associated score should be provided. Alternatively, it may be determined that search results from a particular one of the repositories should always be provided and search results from another one or more repositories should also be provided if the score associated with the other one or more repositories is greater than the score associated with the particular repository. Alternatively, it may be determined that search results from repositories with associated scores above a certain threshold should be provided, and if none of the scores is above the threshold, then provide search results from the repository with the highest associated score. Yet other rules for determining whether to provide search results associated with a repository may alternatively or additionally be used.
The output of the model may alternatively, or additionally, be used to determine the manner in which the search results from the different repositories are provided. For example, it may be determined that if the score associated with a repository is below some threshold, the search results associated with the repository may be presented toward the bottom of the search result document presented to the user rather than toward the top of the search result document. Alternatively, or additionally, it may be determined that if the score associated with a repository is below some threshold, a link to the search results associated with the repository is presented instead of the search results themselves. Yet other rules for determining the manner for providing search results associated with a repository may alternatively or additionally be used.
The search results may then be arranged within a search result document and presented to the user. Each search result may include, for example, a link to a document from the corresponding repository and possibly a brief description of or excerpt from the document.
In another implementation, the repository, or repositories, to search may be identified based on the model (block 650). For example, information relating to the user, the search query the user provided, and each of the repositories may be used as inputs to the model. The model may be applied to each repository and the output of the model (“score”) may be used to determine which repository to search. It may be determined, for example, that the two repositories with the highest associated score should be searched. Alternatively, it may be determined that a particular one of the repositories should always be searched and another one or more repositories should also be searched if the score associated with the other one or more repositories is greater than the score associated with the particular repository. Alternatively, it may be determined that repositories with associated scores above a certain threshold should be searched, and if none of the scores is above the threshold, then search the repository with the highest associated score. Yet other rules for determining which repository to search may alternatively or additionally be used.
A search may be performed to obtain a set of search results from each of the identified repositories (block 660). Any conventional information retrieval technique may be used to identify relevant documents to include in the set of search results.
The search results may then be provided based on the model (block 670). For example, the output of the model may be used to determine the manner in which the search results from different repositories are provided. For example, it may be determined that if the score associated with a repository is below some threshold, the search results associated with the repository may be presented toward the bottom of the search result document presented to the user rather than toward the top of the search result document. Alternatively, or additionally, it may be determined that if the score associated with a repository is below some threshold, a link to the search results associated with the repository is presented instead of the search results themselves. Other rules for determining the manner for providing search results associated with a repository may alternatively or additionally be used.
The search results may then be arranged within a search result document and presented to the user. Each search result may include, for example, a link to a document from the corresponding repository and possibly a brief description of or excerpt from the document.
In another implementation, two or more models may be used. For example, a first model may be used to determine whether to search a repository; a second model may be used to determine whether to include search results from one of the searched repositories in a search result document; and the second model, or possibly a third model, may be used to determine the manner for presenting search results within the search result document. The first, second, and/or third models may be generated based on one or more factors that differ from each other. For example, in one implementation, the output of the first model may be used as an input to the second model and/or the output of the first and/or second model may be used as an input to the third model.
It may be possible to provide information concerning this search as log data to store 220. For example, the information may be used as training data for training or refining the model.
As shown in
In one implementation, as described above, search engine system 710 may perform a search on each of repositories 720-740 to obtain a set of search results for each of repositories 720-740. Assume that search engine system 710 identifies 10 web page results from web page repository 720, 10 image results from image repository 730, and 10 news document results from news repository 740 as relevant search results for the search query “sunset.”
Search engine system 710 may input information relating to the user, the search query the user provided, and each of repositories 720-740 as inputs to the model. The model may be used to determine the probability of the user desiring information from each of repositories 720-740 when the user provides the search query “sunset.”
Assume, for example, that the following outputs are generated by the model:
P(desire|u,q,show_web page repository)=0.45
P(desire|u,q,show_image repository)=0.91
P(desire|u,q,show_news repository)=0.23,
where “u” refers to user information corresponding to the user that provided the search query, “q” refers to information corresponding to the search query the user provided (i.e., “sunset”), and “show_x repository” (where x corresponds to “web page,” “image,” or “news”) refers to information corresponding to the identified repository. In this case, the probability of the user desiring information from web page repository 720 when the user provides the search query “sunset” is 45%; the probability of the user desiring information from image repository 730 when the user provides the search query “sunset” is 91%; and the probability of the user desiring information from news repository 740 when the user provides the search query “sunset” is 23%.
Search engine system 710 may then use the output of the model with regard to each of repositories 720-740 to determine whether to provide search results associated with that repository. For example, assume that a rule indicates that search engine system 710 is to provide search results only from the repository with the highest score. In this case, search engine system 710 may form a search result document based on the 10 image results identified from image repository 730 (i.e., the repository with the highest score—0.91), as shown in
Alternatively, assume that a rule indicates that search engine system 710 is to always provide search results from web page repository 720 and, if another repository has an associated score higher than the score associated with web page repository 720, provide search results from that repository (or repositories). In this case, search engine system 710 may determine that it is to provide search results from both web page repository 720 and image repository 730 because the score associated with image repository 730 (0.91) is greater than the score associated with web page repository 720 (0.45).
Search engine system 710 may then form a search result document based on the 10 web page results from web page repository 720 and the 10 image results from image repository 730, as shown in
Implementations consistent with the principles of the invention may generate a model that may be used to predict which repository, or repositories, a user is likely interested in when the user provides a search query, and use this model to provide relevant search results to the user.
The foregoing description of preferred embodiments of the invention provides illustration and description, but is not intended to be exhaustive or to limit the invention to the precise form disclosed. Modifications and variations are possible in light of the above teachings or may be acquired from practice of the invention.
For example, while series of acts have been described with regard to
Also, exemplary user interfaces have been described with respect to
The preceding description refers to a user. A “user” is intended to refer to a client, such as a client 510 (
Further, it has been described that the output of the model (“score”) can be used to determine whether to search a repository, whether to include search results from a repository in a search result document, and/or the manner for presenting search results within the search result document. In another implementation, the score may be used as one input, of multiple inputs, to a function that determines whether to search a repository, whether to include search results from a repository in a search result document, and/or the manner for presenting search results within the search result document.
Further, some of the features described above are more computationally expensive to determine than others. For example, features based on the documents in the repositories may require those repositories to be queried and the documents to be fetched. For computational efficiency, an approximate main model may be created based on less computationally expensive (e.g., cheaper) features and this approximate main model may be used to determine which repositories to search. Once the documents from these repositories have been fetched, the full main model may be used to determine from which repositories to provide search results.
Also, it may be possible to use the model according to an “exploration” policy in order to gather information on different repositories. For example, it may be desirable to provide search results relating to a sub-optimal repository (e.g., presenting news documents rather than images). One exploration policy may indicate that documents from a random repository be presented to a small fraction of users. Another exploration policy may indicate that documents from a repository be presented in proportion to the score (e.g., if the score for images is determined to be twice the score for news articles, then images may be presented twice as often as news articles).
It has been described that a model may be generated to identify a repository (or a set of repositories) based on a likelihood that a user desires information from the identified repository. In one implementation, the model may be constructed as a lookup table with a key determined based on one or more features, such as one or more features relating to the query (e.g., the query terms). The output of the lookup table might include a click-through rate (or estimated click-through rate) for each of the repositories. In this case, the likelihood that the user desires information from one of the repositories may be a function of the click-through rate for that repository. For example, it might be determined whether to search a repository, whether to include search results from a repository in a search result document, and/or the manner for presenting search results based on the click-through rates for the repositories.
It will be apparent to one of ordinary skill in the art that aspects of the invention, as described above, may be implemented in many different forms of software, firmware, and hardware in the implementations illustrated in the figures. The actual software code or specialized control hardware used to implement aspects consistent with the principles of the invention is not limiting of the invention. Thus, the operation and behavior of the aspects were described without reference to the specific software code—it being understood that one of ordinary skill in the art would be able to design software and control hardware to implement the aspects based on the description herein.
No element, act, or instruction used in the present application should be construed as critical or essential to the invention unless explicitly described as such. Also, as used herein, the article “a” is intended to include one or more items. Where only one item is intended, the term “one” or similar language is used. Further, the phrase “based on” is intended to mean “based, at least in part, on” unless explicitly stated otherwise.
This application is a continuation of Ser. No. 11/169,285, now U.S. Pat. No. 7,584,177, filed Jun. 29, 2005, the disclosure of which is incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
5839112 | Schreitmueller et al. | Nov 1998 | A |
5960422 | Prasad | Sep 1999 | A |
6401087 | Yanagimoto | Jun 2002 | B2 |
6438539 | Korolev et al. | Aug 2002 | B1 |
6546388 | Edlund et al. | Apr 2003 | B1 |
7181444 | Porter et al. | Feb 2007 | B2 |
7246128 | Jordahl | Jul 2007 | B2 |
7256530 | Takama | Aug 2007 | B2 |
20020019763 | Linden et al. | Feb 2002 | A1 |
20020152190 | Biebesheimer et al. | Oct 2002 | A1 |
20030037048 | Kabra et al. | Feb 2003 | A1 |
20030220913 | Doganata et al. | Nov 2003 | A1 |
20050060310 | Tong et al. | Mar 2005 | A1 |
20050060311 | Tong et al. | Mar 2005 | A1 |
20050076003 | DuBose et al. | Apr 2005 | A1 |
20060106846 | Schulz et al. | May 2006 | A1 |
20060107265 | Schulz et al. | May 2006 | A1 |
20060259480 | Zhang et al. | Nov 2006 | A1 |
Number | Date | Country |
---|---|---|
10-254592 | Sep 1998 | JP |
2002-169823 | Jun 2002 | JP |
2002-358324 | Dec 2002 | JP |
2004-514978 | May 2004 | JP |
10-2000-0063422 | Nov 2000 | KR |
Number | Date | Country | |
---|---|---|---|
20090287664 A1 | Nov 2009 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 11169285 | Jun 2005 | US |
Child | 12510693 | US |