The invention discloses an answer reasoning method and device,
electronic equipment and a storage medium, and relates to the technical field of
machine learning, and the method comprises the steps: obtaining a reasoning question, detecting the
language type of the reasoning question, and if the reasoning question is detected to be a
first language type, judging whether the reasoning question is a second
language type; inputting the reasoning problem into a
first language version input by a corresponding
first language type cue word template generation model; converting the first
language type of the reasoning problem into a second language type expression through a preset
language model, and inputting the reasoning problem expressed by the second language type into a second language version input by a corresponding second language type cue word template generation model; and based on a probability sampling
algorithm, inputting the first language version and the second language version into a preset
language model for multiple times, generating N candidate answers, and determining one candidate answer from the N candidate answers as a reasoning answer of the reasoning question. According to the method, the problems of
ambiguity and semantic drift during model reasoning can be reduced, and the accuracy and robustness of
model prediction are improved.