# Patent

## Title
Method and system for adapting search results to personal information needs

## Abstract

A method and system for adapting search results of a query to the information needs of the user submitting the query is provided. A search system analyzes click-through triplets indicating that a user submitted a query and that the user selected a document from the results of the query. To overcome the large size and sparseness of the click-through data, the search system when presented with an input triplet comprising a user, a query, and a document determines a probability that the user will find the input document important by smoothing the click-through triplets. The search system then orders documents of the result based on the probability of their importance to the input user.

## Background
CROSS REFERENCE TO RELATED APPLICATION
The present application is a Continuation of U.S. patent application Ser. No. 11/125,839, filed May 10, 2005, and entitled “METHOD AND SYSTEM FOR ADAPTING SEARCH RESULTS TO PERSONAL INFORMATION NEEDS,” which is incorporated herein in its entirety by reference


TECHNICAL FIELD
The described technology relates generally to the importance of documents such as web pages to a user who submitted a query resulting in the documents.
BACKGROUND
Many search engine services, such as Google and Overture, provide for searching for information that is accessible via the Internet. These search engine services allow users to search for display pages, such as web pages, that may be of interest to users. After a user submits a search request (i.e., a query) that includes search terms, the search engine service identifies web pages that may be related to those search terms. To quickly identify related web pages, the search engine services may maintain a mapping of keywords to web pages. This mapping may be generated by “crawling” the web (i.e., the World Wide Web) to identify the keywords of each web page. To crawl the web, a search engine service may use a list of root web pages to identify all web pages that are accessible through those root web pages. The keywords of any particular web page can be identified using various well-known information retrieval techniques, such as identifying the words of a headline, the words supplied in the metadata of the web page, the words that are highlighted, and so on. The search engine service may generate a relevance score to indicate how relevant the information of the web page may be to the search request based on the closeness of each match, web page importance or popularity (e.g., Google's PageRank), and so on. The search engine service then displays to the user links to those web pages in an order that is based on a ranking determined by their relevance.
Two well-known techniques for ranking web pages are PageRank and HITS (“Hyperlinked-Induced Topic Search”). PageRank is based on the principle that web pages will have links to (i.e., “outgoing links”) important web pages. Thus, the importance of a web page is based on the number and importance of other web pages that link to that web page (i.e., “incoming links”). In a simple form, the links between web pages can be represented by matrix A, where Aij represents the number of outgoing links from web page i to web page j. The importance score wj for web page j can be represented by the following equation:

wj=ΣiAijwi 

This equation can be solved by iterative calculations based on the following equation:

ATw=w

where w is the vector of importance scores for the web pages and is the principal eigenvector of AT.

The HITS technique is additionally based on the principle that a web page that has many links to other important web pages may itself be important. Thus, HITS divides “importance” of web pages into two related attributes: “hub” and “authority.” Hub is measured by the “authority” score of the web pages that a web page links to, and “authority” is measured by the “hub” score of the web pages that link to the web page. In contrast to PageRank, which calculates the importance of web pages independently from the query, HITS calculates importance based on the web pages of the result and web pages that are related to the web pages of the result by following incoming and outgoing links. HITS submits a query to a search engine service and uses the web pages of the result as the initial set of web pages. HITS adds to the set those web pages that are the destinations of incoming links and those web pages that are the sources of outgoing links of the web pages of the result. HITS then calculates the authority and hub score of each web page using an iterative algorithm. The authority and hub scores can be represented by the following equations:




  
    a
    ⁡
    
      (
      p
      )
    
  
  =
  
    
      
        ∑
        
          q
          →
          p
        
      
      ⁢
      
        
          h
          ⁡
          
            (
            q
            )
          
        
        ⁢
        
          
        
        ⁢
        and
        ⁢
        
          
        
        ⁢
        
          h
          ⁡
          
            (
            p
            )
          
        
      
    
    =
    
      
        ∑
        
          p
          →
          q
        
      
      ⁢
      
        a
        ⁡
        
          (
          q
          )
        
      
    
  




where a(p) represents the authority score for web page p and h(p) represents the hub score for web page p. HITS uses an adjacency matrix A to represent the links. The adjacency matrix is represented by the following equation:





  
    b
    ij
  
  =
  
    {
    
      
        
          1
        
        
          
            
              if
              ⁢
              
                
              
              ⁢
              page
              ⁢
              
                
              
              ⁢
              i
              ⁢
              
                
              
              ⁢
              has
              ⁢
              
                
              
              ⁢
              a
              ⁢
              
                
              
              ⁢
              link
              ⁢
              
                
              
              ⁢
              to
              ⁢
              
                
              
              ⁢
              page
              ⁢
              
                
              
              ⁢
              j
            
            ,
          
        
      
      
        
          0
        
        
          otherwise
        
      
    
  




The vectors a and h correspond to the authority and hub scores, respectively, of all web pages in the set and can be represented by the following equations:

a=ATh and h=Aa

Thus, a and h are eigenvectors of matrices ATA and AAT. HITS may also be modified to factor in the popularity of a web page as measured by the number of visits. Based on an analysis of click-through data, bij of the adjacency matrix can be increased whenever a user travels from web page i to web page j.
These web page ranking techniques base their rankings primarily on attributes of the web pages themselves. These web page ranking techniques, however, do not take into consideration the attributes of the user submitting the query. For example, an attorney who submits the query “L.A. court time” would get the same results as an athlete who submits the same query. In such a case, the attorney may be interested in web pages related to superior court times in Los Angeles County, whereas the athlete may be interested in web pages related to racquetball court times of the Los Angeles Parks and Recreation Department.
Personalized web search techniques have been developed to adapt search results to the individual user interests. A personalized web search technique attempts to provide a distinct search engine for each user by constructing a personal profile manually or automatically. The technique adapts the search results to the user who submitted the query based on their personal profile. A disadvantage of this technique, however, is that it is difficult to construct accurate personal profiles. Manual collection is difficult because most users are reluctant to provide their personal information manually, and automatic collection is difficult because it requires a large amount of user history data. Moreover, it is not clear whether complex user behavior can be accurately modeled by a personal profile.
It would be desirable to have a technique that would allow search results to be adapted to the user who submitted the query without having to rely on a personal profile of the user.
SUMMARY
A method and system for adapting search results of a query to the information needs of the user submitting the query is provided. A collaborative web search system analyzes click-through data to generate user, query, and document triplets (“click-through triplets”) indicating that the user submitted the query and that the user selected the document from the results of the query. To overcome the large size and sparseness of the click-through data, the collaborative web search system when presented with a user, query, and document of the query result determines a probability that the user will find the document important by smoothing the click-through triplets. When the search system receives the result of a query, the search system calculates the probability for each document based on the click-through triplets and the smoothing techniques. The search system then orders the documents of the result based on the probability of their importance to the user who submitted the query.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram illustrating components of a search system in one embodiment.
FIG. 2 is a flow diagram that illustrates the processing of the analyze log file component of the search system in one embodiment.
FIG. 3 is a flow diagram that illustrates the processing of the generate clusters component of the search system in one embodiment.
FIG. 4 is a flow diagram that illustrates the processing of the calculate probability of documents component of the search system in one embodiment.
FIG. 5 is a flow diagram that illustrates the processing of the smoothing via back-off component of the search system in one embodiment.
FIG. 6 is a flow diagram that illustrates the processing of the smoothing via clustering component of the search system in one embodiment.
FIG. 7 is a flow diagram that illustrates the processing of the smoothing via content similarity component of the search system in one embodiment.



DETAILED DESCRIPTION
A method and system for adapting search results of a query to the information needs of the user submitting the query is provided. In one embodiment, a collaborative web search system analyzes click-through data to generate user, query, and document triplets (“click-through triplets”) indicating that the user submitted the query and that the user selected the document from the results of the query. Most search engine services maintain server-side click-through data of the queries submitted by users, the query results, and the documents of the query results that the users selected. The click-through data, however, is typically both very large in size and very sparse. The click-through data is very large in the sense that a typical click-through log file may have millions of new entries added every day. The click-through data is very sparse in the sense that, of the millions of possible combinations of users, queries, and documents, triplets can only be generated for a relatively small number of these combinations from the click-through data. To overcome the size and sparseness of the click-through data, the collaborative web search system when presented with a user, query, and document combination determines a probability that the user that submitted that query will find that document of the result important by smoothing the click-through triplets. When the search system receives the result of a query, the search system calculates a probability for each document based on the click-through triplets and the smoothing techniques. The search system then orders the documents of the result based on the probability of their importance to the user who submitted the query.
The search system may use various smoothing techniques to account for the size and sparseness of the click-through triplets. In various embodiments, the search system uses various combinations of back-off, clustering, and content similarity smoothing techniques. The back-off smoothing technique ignores the distinctness of users when there is not enough data. In particular, when the click-through data contains a specific user, query, and document triplet of the query, referred to as an “input triplet,” the back-off smoothing technique calculates the probability that the input user would select the input document based on the probability that users would select that document after submitting the input query as indicated by the click-through triplets. Because this probability is an approximation, the back-off smoothing technique adjusts the probability by a back-off estimator that accounts for unseen data.
The clustering smoothing technique identifies clusters of users, queries, and documents from the click-through triplets. In particular, the clustering smoothing technique identifies clusters of users based on queries and documents, clusters of queries based on users and documents, and clusters of documents based on users and queries as indicated by the click-through triplets. The clustering smoothing technique calculates the probability of a document for an input triplet based on the probability that a user in the user cluster of the input user who submits a query of the query cluster of the input query selects a document from the document cluster of the input document, the user cluster, and the query cluster. The search system may combine the back-off smoothing technique and the clustering smoothing technique to generate an overall probability for the input document.
The content similarity smoothing technique uses content features of the documents and queries to identify the cluster (as described above) to which an input query or an input document belongs when the input query or the input document is not in a click-through triplet. In particular, the content similarity smoothing technique represents each cluster with a content feature vector derived from the objects (i.e., queries or documents) within the cluster. The content similarity smoothing technique identifies the query cluster to which the query is most similar or the document cluster to which the input document is most similar. The technique may calculate the similarity based on a content feature vector, such as a term frequency vector, that is derived from the words of the object. Once the clusters are identified for the input user, query, and document, the content similarity smoothing technique calculates the probability in a manner similar to that of the clustering smoothing technique. The search system may combine the back-off smoothing technique and the content similarity smoothing technique to generate an overall probability for the input document.
In one embodiment, the back-off smoothing technique approximates the probability of an input document as the probability of the document being selected by any user who submits the input query. The back-off smoothing technique represents the probability of the input document by the following equation:

P(d|u,q)=αP(d|q)  (1)

where P(d|u,q) is the probability of the input document given the input user and the input query, P(d|g) is the probability of the input document given the input query, and α is a back-off factor. The back-off factor is between 0 and 1 and represents a smoothing of the approximation of the formal definition of P(d|u,q), which is represented by the following equation:





  
    
      
        
          P
          ⁡
          
            (
            
              
                d
                |
                u
              
              ,
              q
            
            )
          
        
        =
        
          
            C
            ⁡
            
              (
              
                d
                ,
                u
                ,
                q
              
              )
            
          
          
            C
            ⁡
            
              (
              
                u
                ,
                q
              
              )
            
          
        
      
    
    
      
        (
        2
        )
      
    
  




where C(d,u,q) is the number of click-through triplets with user u, query q, and document d and C(u,q) is the number of click-through triplets with user u and query q. The approximated probability of Equation 1 can be smoothed by various linear interpolation smoothing techniques such as a back-off factor. The back-off smoothing technique represents the probability by the following equation:




  
    
      
        
          
            P
            B
          
          ⁡
          
            (
            
              
                d
                |
                u
              
              ,
              q
            
            )
          
        
        =
        
          {
          
            
              
                
                  
                    P
                    ^
                  
                  ⁡
                  
                    (
                    
                      
                        d
                        |
                        u
                      
                      ,
                      q
                    
                    )
                  
                
              
            
            
              
                
                  
                    if
                    ⁢
                    
                      
                    
                    ⁢
                    
                      C
                      ⁡
                      
                        (
                        
                          u
                          ,
                          q
                          ,
                          d
                        
                        )
                      
                    
                  
                  >
                  0
                
              
            
            
              
                
                  
                    β
                    ⁡
                    
                      (
                      
                        u
                        ,
                        q
                      
                      )
                    
                  
                  ×
                  
                    p
                    ⁡
                    
                      (
                      
                        d
                        |
                        q
                      
                      )
                    
                  
                
              
            
            
              
                
                  
                    if
                    ⁢
                    
                      
                    
                    ⁢
                    
                      C
                      ⁡
                      
                        (
                        
                          u
                          ,
                          q
                          ,
                          d
                        
                        )
                      
                    
                  
                  =
                  
                    
                      0
                      ⁢
                      
                        
                      
                      ⁢
                      and
                      ⁢
                      
                        
                      
                      ⁢
                      
                        C
                        ⁡
                        
                          (
                          
                            u
                            ,
                            q
                          
                          )
                        
                      
                    
                    >
                    0
                  
                
              
            
          
        
      
    
    
      
        (
        3
        )
      
    
  




where PB is the probability based on the back-off smoothing technique, the discounted probability is represented by the following equation:





  
    
      
        
          
            P
            ^
          
          ⁡
          
            (
            
              
                d
                |
                u
              
              ,
              q
            
            )
          
        
        =
        
          
            discount
            ⁢
            
              
            
            ⁢
            
              C
              ⁡
              
                (
                
                  u
                  ,
                  q
                  ,
                  d
                
                )
              
            
          
          
            C
            ⁡
            
              (
              
                u
                ,
                q
              
              )
            
          
        
      
    
    
      
        (
        4
        )
      
    
  




and β(u,q) is a normalization constant represented by the following equation:





  
    
      
        
          β
          ⁡
          
            (
            
              u
              ,
              q
            
            )
          
        
        =
        
          
            1
            -
            
              
                ∑
                
                  
                    d
                    ⁢
                    
                      :
                    
                    ⁢
                    
                      C
                      ⁡
                      
                        (
                        
                          u
                          ,
                          q
                          ,
                          d
                        
                        )
                      
                    
                  
                  >
                  0
                
              
              ⁢
              
                
                  P
                  ^
                
                ⁡
                
                  (
                  
                    
                      d
                      |
                      u
                    
                    ,
                    q
                  
                  )
                
              
            
          
          
            1
            -
            
              
                ∑
                
                  
                    d
                    ⁢
                    
                      :
                    
                    ⁢
                    
                      C
                      ⁡
                      
                        (
                        
                          u
                          ,
                          q
                          ,
                          d
                        
                        )
                      
                    
                  
                  >
                  0
                
              
              ⁢
              
                
                  P
                  ^
                
                ⁡
                
                  (
                  
                    d
                    |
                    q
                  
                  )
                
              
            
          
        
      
    
    
      
        (
        5
        )
      
    
  




The technique first determines whether the input triplet is represented in the click-through data. If so, it applies a discount function to the number of click-through triplets that match the input triplet divided by the number of click-through triplets with the input user and input query to calculate the probability. Otherwise, the technique applies a normalization constant to the probability of the input document given the input query to calculate the probability. The technique may use various smoothing techniques to generate the discount function such as linear smoothing, absolute smoothing, Good-Turing smoothing, Witten-Bell smoothing, and so on.

In some embodiments, the search system calculates the importance of an input document based on clusters of users, queries, and documents generated from the click-through triplets. The search system clusters the users with similar interests together based on submitting similar sets of queries and selecting similar sets of documents. Objects in the same click-through triplets are related, and the clusters represent that relationship. The search system represents an object of one object type by a feature vector comprising the objects of the other two object types that are in the same click-through triplet. For example, the feature vector for a certain document is the list of users (weighted by frequency) that selected that document and the list of queries (weighted by frequency) that included the document in its result. The search system represents the feature vector of a user by the following equation:

Fu={Qu,Du}  (6)

where Fu is the feature vector of user u, Qu represents the queries submitted by user u, and Dq represents the documents selected by user u. The technique represents the feature vector of a query by the following equation:

Fq={Uq,Dq}  (7)

where Fq is the feature vector of query q, Ug represents the users who submitted query q, and Dq represents the documents selected from the results of query q. The technique represents the feature vector of a document by the following equation:

Fd{Ud,Qd}  (8)

where Fd is the feature vector of document d, Ud represents the users who selected document d, and Qd represents the queries from whose results document d was selected.

The search system may use various techniques to generate the clusters for the users, queries, and documents using these relationship feature vectors. In one embodiment, the search system uses a K-means algorithm. The search system provides to the algorithm a number K that specifies the desired number of clusters. In the first pass, the algorithm takes the first K objects (i.e., users, queries, or documents) as the centroid of a unique cluster. The algorithm then assigns each of the remaining objects to the cluster with the closest centroid to the feature vector of the object. In the subsequent passes, the algorithm recomputes the cluster centroids based the previous pass and then reassigns each object to the cluster with the centroid that is closest to its feature vector. The algorithm may be performed for a fixed number of passes (e.g., three) or until the clustering converges on a solution.
In one embodiment, a clustering smoothing technique calculates importance of an input document based on these clusters using the following equation:

PR(d|u,q)=P(d|Cd)×P(Cd|Cu,Cq)  (9)

where PR(d|u, q) is the probability of document d being selected given user u and query q, Cu is the cluster that contains user u, Cq is the cluster that contains query q, Cd is the cluster that contains document d, P(d|Cd) is the probability that cluster Cd contains document d, and P(Cd|Cu,Cq) is the probability that cluster Cd contains a document selected by a user in cluster Cu who submitted a query in cluster Cq. The technique represents the probability that cluster Cd contains document d by the following equation:





  
    
      
        
          P
          ⁡
          
            (
            
              d
              |
              
                C
                d
              
            
            )
          
        
        =
        
          
            C
            ⁡
            
              (
              d
              )
            
          
          
            C
            ⁡
            
              (
              
                C
                d
              
              )
            
          
        
      
    
    
      
        (
        10
        )
      
    
  




where P(d|Cd) is the probability that cluster Cd contains document d, C(d) is the number of click-through triplets that include document d, and C(Cd) is the number of click-through triplets that have their document in cluster Cd. The technique represents the probability that cluster Cd contains a document selected by a user in cluster Cu who submitted a query in cluster Cq by the following equation:





  
    
      
        
          P
          ⁡
          
            (
            
              
                
                  C
                  d
                
                |
                
                  C
                  u
                
              
              ,
              
                C
                q
              
            
            )
          
        
        =
        
          
            C
            ⁡
            
              (
              
                
                  C
                  u
                
                ,
                
                  C
                  q
                
                ,
                
                  C
                  d
                
              
              )
            
          
          
            C
            ⁡
            
              (
              
                
                  C
                  u
                
                ,
                
                  C
                  q
                
              
              )
            
          
        
      
    
    
      
        (
        11
        )
      
    
  




where P(Cd|Cu,Cq) is the probability that cluster Cd contains a document selected by a user in cluster Cu who submitted a query in cluster Cq, where C(Cu,Cq,Cd) is the number of click-through triplets that have their user in cluster Cu, their query in cluster Cq, and their document in cluster Cd, and C(Cu,Cq) is the number of click-through triplets that have their user in cluster Cu and their query in cluster Cq. The technique may generate the overall probability by combining the probability of the back-off smoothing technique and the clustering smoothing technique as represented by the following equation:

P(d|u,q)=λPB(d|u,q)+(1−λ)PR(d|u,q)  (12)

where P is the overall probability and λ is a weighting factor.

In one embodiment, a content similarity smoothing technique is used to account for queries and documents that are not represented in the click-through triplets. When a new query or a new document is encountered, the clustering smoothing technique cannot be used because the count of click-through triplets for the new query or the new document is zero. In such a case, the search system uses the content similarity smoothing technique to identify the object cluster that is closest to the new object and assigns the new object to that cluster. The technique bases the similarity of an object to a cluster based on the content of the object (i.e., words of the query or the document). The technique represents each object by a content feature vector derived from the words of the object (e.g., term frequency vector). The technique represents each cluster by a content feature vector derived from the objects within the cluster (e.g., the centroid of the content feature vectors of the objects within the cluster). The technique represents the set of query clusters as the following equation:

Cq={Cq1, Cq2, . . . , Cqm}

where Cqi is the ith query cluster. The technique represents the set of document clusters by the following equation:

Cd={Cd1, Cd2, . . . , Cdn}

where Cdi is the ith document cluster. The technique represents the content feature vector for a query cluster as FCdi where F is the centroid of the content feature vectors of query cluster i and for a document cluster as FCdi where F is the centroid of the content feature vectors of the document cluster i. The technique represents query similarity by the following equation:





  
    
      
        
          C
          q
        
        =
        
          
            
              arg
              ⁢
              
                
              
              ⁢
              max
            
            
              C
              q
              i
            
          
          ⁢
          
            
          
          ⁢
          
            cos
            (
            
              
                F
                q
              
              ,
              
                F
                
                  C
                  q
                  i
                
              
            
            )
          
        
      
    
    
      
        (
        13
        )
      
    
  




and represents document similarity by the following equation:





  
    
      
        
          C
          d
        
        =
        
          
            
              arg
              ⁢
              
                
              
              ⁢
              max
            
            
              C
              d
              i
            
          
          ⁢
          
            
          
          ⁢
          
            cos
            (
            
              
                F
                d
              
              ,
              
                F
                
                  C
                  d
                  i
                
              
            
            )
          
        
      
    
    
      
        (
        14
        )
      
    
  




One skilled in the art will appreciate that similarity can alternatively be calculated using various well-known methods. The technique assigns the object to the most similar cluster. The technique then calculates the probability of the document using the following equation:

PC(d|u,q)=P(d|Cd)×P(Cd|Cu,Cq)  (15)

where PC is the probability based on content similarity.

In one embodiment, the search system combines the smoothing techniques as represented by the following equation:




  
    
      
        
          P
          ⁡
          
            (
            
              
                d
                |
                u
              
              ,
              q
            
            )
          
        
        =
        
          {
          
            
              
                
                  
                    λ
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        P
                        B
                      
                      ⁡
                      
                        (
                        
                          
                            d
                            |
                            u
                          
                          ,
                          q
                        
                        )
                      
                    
                  
                  +
                  
                    
                      (
                      
                        1
                        -
                        λ
                      
                      )
                    
                    ⁢
                    
                      
                        P
                        R
                      
                      ⁡
                      
                        (
                        
                          
                            d
                            |
                            u
                          
                          ,
                          q
                        
                        )
                      
                    
                  
                
              
            
            
              
                
                  if
                  ⁢
                  
                    
                  
                  ⁢
                  q
                  ⁢
                  
                    
                  
                  ⁢
                  and
                  ⁢
                  
                    
                  
                  ⁢
                  d
                  ⁢
                  
                    
                  
                  ⁢
                  are
                  ⁢
                  
                    
                  
                  ⁢
                  seen
                  ⁢
                  
                    
                  
                  ⁢
                  data
                
              
            
            
              
                
                  
                    λ
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        P
                        B
                      
                      ⁡
                      
                        (
                        
                          
                            d
                            |
                            u
                          
                          ,
                          q
                        
                        )
                      
                    
                  
                  +
                  
                    
                      (
                      
                        1
                        -
                        λ
                      
                      )
                    
                    ⁢
                    
                      
                        P
                        C
                      
                      ⁡
                      
                        (
                        
                          
                            d
                            |
                            u
                          
                          ,
                          q
                        
                        )
                      
                    
                  
                
              
            
            
              
                
                  if
                  ⁢
                  
                    
                  
                  ⁢
                  q
                  ⁢
                  
                    
                  
                  ⁢
                  or
                  ⁢
                  
                    
                  
                  ⁢
                  d
                  ⁢
                  
                    
                  
                  ⁢
                  is
                  ⁢
                  
                    
                  
                  ⁢
                  unseen
                  ⁢
                  
                    
                  
                  ⁢
                  data
                
              
            
          
        
      
    
    
      
        (
        16
        )
      
    
  




where λ is a weighting factor. The search system may also be combined with other document ranking systems. For example, the back-off smoothing technique may factor in the importance of a document as calculated by the PageRank technique when assigning a probability. That is, the probability as calculated by the back-off smoothing technique can be increased for documents with high importance and decreased for documents with low importance.

FIG. 1 is a block diagram illustrating components of a search system in one embodiment. The search system includes a triplet store 101, a cluster store 102, and a count store 103. An analyze log file component 105 analyzes click-through data in a log file to generate the triplet store, cluster store, and count store. Various well-known techniques may be used by the analyze log file component to identify the triplets from the click-through data of the log file. Alternatively, the search system may be provided with user, query, and document triplets generated by means other than analyzing click-through data. The component invokes a generate clusters component 106 to identify clusters of users, queries, and documents from the click-through triplets. The component stores the cluster information in the cluster store. The component also calculates various counts from the click-through triplets and stores those counts in the count store. A calculate probability of documents component 111 is passed an input user, input query, and input documents resulting from the input query. The calculate probability of documents component invokes a smoothing via back-off component 112, a smoothing via clustering component 113, and a smoothing via content similarity component 114 to calculate the probability that the input user will select each input document. The search system may then present the input documents to the input user ranked in order based on the calculated probabilities.
The computing device on which the search system is implemented may include a central processing unit, memory, input devices (e.g., keyboard and pointing devices), output devices (e.g., display devices), and storage devices (e.g., disk drives). The memory and storage devices are computer-readable media that may contain instructions that implement the search system. In addition, the data structures and message structures may be stored or transmitted via a data transmission medium, such as a signal on a communications link. Various communications links may be used, such as the Internet, a local area network, a wide area network, or a point-to-point dial-up connection.
The search system may be implemented in various operating environments. The operating environment described herein is only one example of a suitable operating environment and is not intended to suggest any limitation as to the scope of use or functionality of the search system. Other well-known computing systems, environments, and configurations that may be suitable for use include personal computers, server computers, hand-held or laptop devices, multiprocessor systems, microprocessor-based systems, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
The search system may be described in the general context of computer-executable instructions, such as program modules, executed by one or more computers or other devices. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform particular tasks or implement particular abstract data types. Typically, the functionality of the program modules may be combined or distributed as desired in various embodiments.
FIG. 2 is a flow diagram that illustrates the processing of the analyze log file component of the search system in one embodiment. In block 201, the component receives the log file of click-through data and identifies the click-through triplets. In block 202, the component counts the number of triplets for each unique combination of user, query, and document and stores those numbers in the count store. In block 203, the component counts the number of triplets for each unique combination of a user query and stores those numbers in the count store. In block 204, the component invokes the generate clusters component to generate the user, query, and document clusters. In block 205, the component counts the number of times each document occurs in a triplet and stores those numbers in the count store. In block 206, the component counts the number of click-through triplets in each document cluster and stores the numbers in the count store. In block 207, the component counts the number of click-through triplets within each pair of user cluster and query cluster and stores the numbers in the count store. In block 208, the component counts the number of click-through triplets within each unique combination of user cluster, query cluster, and document cluster and stores the numbers in the count store. In block 209, the component calculates the average feature vector of each query cluster and each document cluster and stores the averages in the count store. The component then completes.
FIG. 3 is a flow diagram that illustrates the processing of the generate clusters component of the search system in one embodiment. This component identifies user clusters, query clusters, and document clusters using a K-means clustering algorithm. One skilled in the art will appreciate that other clustering algorithms may be used. In block 301, the component generates the relationship feature vectors for the users and then identifies the user clusters. In block 302, the component generates the relationship feature vectors for the queries and then identifies the query clusters. In block 303, the component generates the relationship feature vectors for the documents and then identifies the document clusters. The component stores the identifications of the clusters in the cluster store. The component then returns.
FIG. 4 is a flow diagram that illustrates the processing of the calculate probability of documents component of the search system in one embodiment. The component is passed an input user, an input query, and input documents resulting from the input query. The component loops calculating a probability for each document. In block 401, the component selects the next document. In decision block 402, if all the documents have already been selected, then the component completes, else the component continues at block 403. In block 403, the component invokes the smoothing via back-off component to calculate the back-off probability. In decision block 404, if the input query and the selected document have been seen before (i.e., are in a click-through triplet), then the component continues at block 405, else the component continues at block 406. In block 405, the component invokes the smoothing via clustering component to calculate the clustering probability for the selected document. In block 406, the component invokes the smoothing via content similarity component to calculate the content similarity probability for the selected document. In block 407, the component combines the probabilities to generate an overall probability for the document using Equation 16 and then loops to block 401 to select the next document.
FIG. 5 is a flow diagram that illustrates the processing of the smoothing via back-off component of the search system in one embodiment. The component is passed an input triplet and calculates the back-off probability for the input document. In decision block 501, if the input triplet is a click-through triplet, then the component continues at block 502, else the component continues at block 503. In block 502, the component calculates the probability of the input document using Equation 4 and then returns. In decision block 503, if a click-through triplet contains the input user and the input query, then the component continues at block 504, else the component returns without calculating a probability. In block 504, the component calculates the probability of the input document using Equation 5 and then returns.
FIG. 6 is a flow diagram that illustrates the processing of the smoothing via clustering component of the search system in one embodiment. The component is passed an input triplet in which the input user, input query, and input document are in a click-through triplet. In block 601, the component calculates a probability using Equation 10. In block 602, the component calculates a probability using Equation 11. In block 603, the component combines the calculated probabilities using Equation 9 and then returns.
FIG. 7 is a flow diagram that illustrates the processing of the smoothing via content similarity component of the search system in one embodiment. The component is passed an input within which the input query and/or the input document are not in a click-through triplet. In block 701, the component generates a content feature vector for the input query. In block 702, the component finds a similar query cluster calculating similarity using Equation 13. In block 703, the component generates a content feature vector for the input document. In block 704, the component finds a similar document cluster calculating similarity using Equation 14. In block 705, the component calculates the probability using Equation 15. The component then returns.
One skilled in the art will appreciate that although specific embodiments of the search system have been described herein for purposes of illustration, various modifications may be made without deviating from the spirit and scope of the invention. Accordingly, the invention is not limited except by the appended claims.

## Claims

1. A method in a computer system for calculating importance of a document, the method comprising:
providing user, query, and document triplets indicating that the user submitted the query and that the user selected the document from a result of the query;
receiving an input user, an input query, and an input document as an input triplet, the input query having been submitted by the input user and the input document being a document of a search result for the input query; and
determining a probability that the user will find the input document important by performing a smoothing of the provided triplets to account for triplets not provided and calculating the probability based on the smoothing wherein the determined probability is based at least in part on the provided triplets for users other than the input user and wherein the probability is the probability of the input document given the input user and the input query when the corresponding user, query, and document triplet is provided and is the probability of the input document given the input query otherwise and wherein a back-off factor is applied to the probability.

2. The method of claim 1 wherein the probability is based on the probability that the input document is in a document cluster and the probability of the document cluster given a user cluster and query cluster.

3. The method of claim 1 wherein the probability is based on probabilities of clusters identified based on relationships between users, queries, and documents.

4. The method of claim 1 wherein the probability is based on similarity between an input query and query clusters identified based on relationships between users and documents.

5. The method of claim 1 wherein the probability is based on similarity between an input document and document clusters identified based on relationships between users and queries.

6. The method of claim 1 wherein the smoothing uses a combination of back-off, clustering, and content similarity techniques.

7. A computer-readable storage medium containing instructions for controlling a computer system to calculate relevance of a document to a user, by a method comprising:
providing click-through data generated when users submitted queries to a search engine and selected a document from results provided by the search engine;
identifying user, query, and document triplets from the click-through data, each triplet indicating that the user of the triplet submitted the query of the triplet and the user selected the document of the triplet from results of the query provided by the search engine;
receiving from a user a query;
searching for documents to be provided as results of the received query;
for each document of the results of the received query, determining a probability that the user from whom the query was received will find the document relevant by performing a smoothing of the identified triplets to account for sparseness of the triplets and calculating the probability based on the smoothed triplets, wherein the determined probability is based at least in part on identified triplets identified for users other than the user from whom the query was received and wherein the probability is the probability of the document given the user and the query when the corresponding user, query, and document triplet is identified and is the probability of the document given the query otherwise and wherein a back-off factor is applied to the probability; and
displaying an indication of the documents to the user from whom the query was received in an order based on the determined probabilities of the documents.

8. The computer-readable storage medium of claim 7 including processing the triplets to identify clusters of users, queries, and documents.

9. The computer-readable medium of claim 7 including processing the triplets to calculate various counts.

10. The computer-readable storage medium of claim 7 wherein the probability is based on the probability of the input document given a document cluster and the probability of the document cluster given a user cluster and query cluster.

11. The computer-readable storage medium of claim 7 wherein
the probability is based on similarity between the input
document and document clusters identified based on relationships between users and queries.

12. The computer-readable storage medium of claim 7 wherein the smoothing uses a combination of back-off, clustering, and content similarity techniques.

13. A computer system for calculating relevance of a document, comprising:
a click-through data store providing click-through data generated when users submitted queries to a search engine and selected a document from results provided by the search engine;
a memory containing computer-executable instructions of
a component that identifies user, query, and document triplets from the click-through data, each triplet indicating that the user of the triplet submitted the query of the triplet and the user selected the document of the triplet from results of the query provided by the search engine;
a component that receives an input user, an input query, and input documents as an input triplet; and
a component that determines a probability that the input user will find each input document relevant by performing a smoothing of the identified triplets to account for sparseness of the triplets and calculating the probability based on the smoothed triplets, wherein the determined probability is based at least in part on identified triplets identified for users other than the input user and wherein the probability is the probability of an input document given the input user and the input query when the corresponding user, query, and document triplet is identified and is the probability of the input document given the input query otherwise and wherein a back-off factor is applied to the probability; and

a processor for executing the computer-executable instructions stored in the memory.

14. The computer system of claim 13 including a component to identify clusters of users, queries, and documents based on relationships between users, queries, and documents.

15. The computer system of claim 13 wherein the probability is based on the probability of the input document given a document cluster and the probability of the document cluster given a user cluster and a query cluster.

16. The computer system of claim 13 wherein the probability is based on similarity between an input document and document clusters identified based on relationships between users and queries.