A method for determining a class to which an input image belongs in an inference process, includes: storing a frequent feature for each class in a frequent feature database; inputting an image as the input image; extracting which class the input image belongs to; extracting a plurality of features that appear in the inference process; extracting one of the features that satisfies a predetermined condition as a representative feature; reading out the frequent feature corresponding to an extracted class from the frequent feature database; extracting one or a plurality of ground features based on the frequent feature and the representative feature; storing a concept data representing each feature in an annotation database; reading out the concept data corresponding to the one or the plurality of ground features from the annotation database; generating explanation information; and outputting the ground feature and the explanatory information together with the extracted class.
INFERENCE DEVICE, INFERENCE METHOD, AND NON-TRANSITORY TANGIBLE COMPUTER-READABLE MEDIUM