CPC G06N 3/042 (2023.01) [G06F 16/243 (2019.01); G06N 3/044 (2023.01); G06N 3/045 (2023.01); G06N 3/08 (2013.01)] | 20 Claims |
1. A method comprising:
receiving a natural language query that relates to information in a knowledge base;
encoding the natural language query to obtain a first query vector;
performing a first memory hop based on the first query vector to obtain a first readout from the knowledge base;
generating a hop label based on the first readout using a meta network of an artificial neural network (ANN);
obtaining a second query vector from a hidden state of the artificial neural network (ANN), wherein the hidden state of the artificial neural network (ANN) is based on the first query vector and the first readout;
performing a second memory hop to obtain a second readout based on the hop label and the second query vector; and
generating a response to the natural language query based on the second readout.
|