Patent attributes
A method for applying a trained machine learning model to answer a user query comprises receiving a query text from a user. A previously-trained discriminator is received, the previously-trained discriminator configured to output, for a pair of sentences, a match value indicating a quality of semantic match between the pair of sentences. For each candidate answer text of a plurality of candidate answer texts, the previously-trained discriminator is operated to output a candidate match value for the query text and the candidate answer text based on comparing a first hierarchy of representations of the query text at increasing degrees of semantic compression to a second hierarchy of representations of the candidate answer text at increasing degrees of semantic compression. An answer text is output that is associated with a highest candidate match value among candidate match values.