This application provides a method and apparatus for open-set skeleton
action recognition based on
outlier prototype learning. The method includes: constructing a neural
network model; preprocessing
human skeleton data by obtaining initial features through a multi-
branch feature extraction network;
processing the initial features using a classifier and a
hypersphere feature mapper to obtain logical prediction values for action categories and
branch features; training the neural
network model based on a
training set; after the first iteration, optimizing the feature space of in-distribution samples using multi-class loss; synthesizing virtual outliers in the optimized feature space of in-distribution samples; optimizing the energy boundary by combining in-distribution samples and virtual outliers; after the second iteration, selecting the optimal model weights based on the combined performance of open-set recognition and closed-set classification on the validation set; and determining the action type and triggering the corresponding
robot operation based on the energy
score output by the trained neural
network model and the action
classification result.