×

Translating search queries on online social networks

  • US 10,678,786 B2
  • Filed: 10/09/2017
  • Issued: 06/09/2020
  • Est. Priority Date: 10/09/2017
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising, by a computing device:

  • receiving, from a client system associated with a user of an online social network, a search query comprising one or more n-grams;

    generating, using a word embedding model, one or more term embeddings representing the one or more n-grams of the search query, respectively, wherein each term embedding is a point in a d-dimensional embedding space;

    encoding, by a translator neural network, the one or more term embeddings to generate a query embedding representing the search query, wherein the query embedding is a point in an n-dimensional embedding space;

    decoding, by the translator neural network, the query embedding to generate one or more output term embeddings representing one or more query tokens, wherein the translator neural network comprises a number of memory units equal to a sum of a number of input term embeddings and a number of output term embeddings, wherein the first k memory units of the translator neural network belong to an encoding module and the last l memory units of the translator neural network belong to a decoding module, wherein k is the number of the input term embeddings and l is the number of the output term embeddings;

    constructing a query command from the one or more output term embeddings generated by the translator neural network, wherein the query command comprises the one or more query tokens represented by the one or more output term embeddings;

    executing the query command to retrieve one or more search results; and

    sending, to the client system in response to the search query, instructions for generating a search-results interface for presentation to the user, the search-results interface comprising one or more of the retrieved search results.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×