A method includes: generating a refine image having a maximized correct label score of inference from an incorrect image from which an incorrect label is inferred by a neural network; generating a third map by superimposing a first map and a second map, the first map indicating pixels to each of which a change is made in generating the refine image, of a plurality of pixels of the incorrect image, the second map indicating a degree of attention for each local region in the refine image, the each local region being a region that has drawn attention by the neural network; and specifying a set of pixels that cause incorrect inference in the incorrect image by calculating a pixel value of the third map for each set of pixels, wherein the map generating processing adjusts the second map based on appearance frequency of each degree of attention.
ANALYSIS APPARATUS, NON-TRANSITORY COMPUTER-READABLE STORAGE MEDIUM FOR ANALYSIS PROGRAM, AND ANALYSIS METHOD