×

Training encoder model and/or using trained encoder model to determine responsive action(s) for natural language input

  • US 10,783,456 B2
  • Filed: 12/14/2018
  • Issued: 09/22/2020
  • Est. Priority Date: 12/15/2017
  • Status: Active Grant
First Claim
Patent Images

1. A method implemented by one or more processors, comprising:

  • identifying a plurality of positive training instances that each include an input and a response, wherein for each of the positive training instances;

    the input is based on content of a corresponding electronic communication, andthe response is based on a corresponding responsive electronic communication that is responsive to the corresponding electronic communication;

    training an encoder model based on the positive training instances, wherein training the encoder model based on a given instance of the positive training instances comprises;

    generating an input encoding based on processing the input using the encoder model;

    generating a response encoding based on processing the response using the encoder model;

    generating a final response encoding based on processing the response encoding using a reasoning model;

    determining a value based on comparison of the input encoding and the final response encoding; and

    updating both the reasoning model and the encoder model based on comparison of the value to a given value indicated by the given instance; and

    after training the encoder model;

    using the trained encoder model, independent of the reasoning model, to determine a similarity value of two textual segments, wherein the similarity value indicates semantic similarity of the two textual segments, and wherein using the trained encoder model to determine the similarity value of the two textual segments comprises;

    receiving a query directed to an automated assistant;

    generating a query encoding based on processing the query using the trained encoder model;

    comparing the query encoding to a plurality of pre-determined query encodings each stored in association with one or more corresponding actions;

    determining, based on the comparing, a given predetermined query encoding to which the query encoding is most similar; and

    in response to the query and based on the given predetermined query encoding being most similar to the query encoding, causing the automated assistant to perform the one or more corresponding actions that are stored in association with the given predetermined query encoding.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×