The invention provides a micro-expression recognition method and
system based on balanced adaptive grouping sampling, and relates to the technical field of micro-expression recognition, and the method comprises the steps: obtaining a
data set; the similarity among a plurality of samples of the same student is calculated based on multi-scale
structural similarity measurement, so that the identification difficulty of the samples is judged. According to the method, the
structural similarity between the samples is calculated through multi-scale
structural similarity measurement, so that the recognition difficulty of the samples is judged, grouping sampling is performed according to the recognition difficulty, and a micro-expression recognition model is trained based on a
data set obtained through sampling. And meanwhile, the identification difficulty is adjusted according to a model output result, and sampling is performed again. Thus, re-sampling and model training are periodically performed, and the sampling weight of the sample is continuously updated according to the information fed back during model training, so that continuous reinforcement and feature optimization of the specific sample can be realized during training of the model, and the stability and generalization performance of the model are improved.