| CPC G06V 10/755 (2022.01) [G06V 10/7715 (2022.01); G06V 10/82 (2022.01)] | 8 Claims |

|
1. A method for quantifying semantic variance between neural network representations, comprising the following steps:
S1: extracting representations: predicting, on a reference dataset, with two neural networks required for feature extraction, and in the prediction process, retaining an intermediate layer output of the neural networks when predicting each sample;
S2: learning weights: learning a weight of each filter in an intermediate layer corresponding to each semantic concept on the reference dataset using a Net2Vec method;
S3: calculating set IoU: linearly superimposing, using the weights learned in step S2, activation values of the filters in the intermediate layer output retained in step S1 to obtain a total activation value corresponding to each semantic concept, then binarizing the total activation value to obtain a mask of each sample corresponding to each semantic concept, and calculating the set IoU of each representation corresponding to each semantic concept; and
S4: integrating variance: calculating a variance between the set IoU of the representations of the two neural networks for all semantic concepts, and integrating the variance to obtain semantic variance between two neural network representations.
|