Patent ID: 11914967
Assignee: RAYTHEON COMPANY
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 12:
13. A system comprising:
memory storing data defining parameters of first and second trained ML models trained to determine respective answers to natural language questions based on provided passages; and
processing circuitry coupled to the memory, the processing circuitry configured to:
receive a first question of the questions and a first passage of the passages to be used to answer the first question;
determine, based on embeddings of words in the first question and the first passage, a first number of out of vocabulary (OOV) words in the first question and first passage, where OOV is relative to a general purpose language ML model;
in response to determining that the first number is greater than a first threshold number, execute the first trained ML model to generate a first answer of the answers to the first question, the first ML model trained using transfer learning on the general purpose language ML model and first training data that has more than the first threshold number of OOV words;
receive a second question of the questions and a second passage of the passages to be used to answer the second question;
determine, based on embeddings of words in the second question and the second passage, a second number of out of vocabulary (OOV) words in the second question and second passage; and
in response to determining that the second number is less than the first threshold number, execute a second trained ML model of the models to generate a second answer to the second question, the second ML model trained using transfer learning on the general purpose language ML model and second training data that has less than the first threshold number of OOV words.