Patent attributes
There is disclosed a computer implemented method that includes accessing a dataset having (1) a first set of questions including at least one pair of relational questions that correspond respectively with a pair of binary answers and (2) a second set of questions including at least another pair of relational questions that correspond respectively with a binary answer and a scalar answer. A question answering network is used to compute both a relational loss for the at least one pair of relational questions, and a relational loss for the at least another pair of relational questions. Both the relational loss for the at least one pair of relational questions and the relational loss for the at least another pair of relational questions are optimized, and a neural network model is trained with the optimized relational losses.