A gesture classification method for missing data

The gesture action data is filled and classified through a neural network based on category-aware optimal transportation, and the optimal transportation theory is used to reduce the distribution differences of similar data, solving the problems of information loss and classification error in the processing of missing data in gesture action classification in the existing technology. , improving the classification accuracy.

CN114580525BActive Publication Date: 2024-10-15SOUTH CHINA UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210195763.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-25
Publication Date
2024-10-15
Estimated Expiration
2042-02-25

AI Technical Summary

Technical Problem

Existing gesture action classification methods are difficult to effectively handle missing data. Direct deletion of data results in information loss. The filling method is based on unsupervised settings and can easily introduce classification errors.

Method used

A neural network based on category-aware optimal transportation is used to fill in the missing data through the category-aware information of the classifier, and the optimal transportation theory is used to reduce the difference in the distribution of similar gesture action data, and the gesture action category-aware information is explicitly used to fill in .

Benefits of technology

It reduces the deviation from filling to classification, improves the suitability of data after filling, reduces classification errors, avoids information loss, and achieves high-accuracy gesture action classification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114580525B_ABST
    Figure CN114580525B_ABST
Patent Text Reader

Abstract

The present invention discloses a gesture action classification method for missing data, and the process is as follows: obtain a gesture action data set containing missing data, and divide it into an observation value set and a missing value set according to the missing information; use the mean of each column variable in the observation value set to pre-fill the missing value set; based on the pre-filled data, train a gesture action classifier based on a category-aware optimal transport neural network; use the gesture action classifier to reconstruct the observation values ​​in the pre-filled data, and implicitly use the category-aware information of the classifier to fill the missing values; at the same time, use the optimal transport theory to reduce the distribution distance of gesture action data of the same category, and explicitly use the category-aware information to fill the missing values; use the filled data as the input of the perceptron, and finally output the classification result. The present invention applies category perception and optimal transport theory to the field of gesture action classification with missing data, effectively improving the accuracy and efficiency of classification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data mining and machine learning, and in particular to a gesture action classification method for missing data. Background Art

[0002] Gesture classification is an important foundation of human-computer interaction technology and a technology that cannot be ignored in related intelligent devices and industrial fields. However, due to sensor failures, obstacles and operational errors, the gesture data actually collected often contains missing values. At the same time, existing gesture classification methods are often based on the assumption that the data is complete, and it is difficult to reasonably classify gestures with missing data. Therefore, it is of great significance to design a gesture classification method for missing data.

[0003] Existing gesture classification methods for processing missing data can be simply divided into two categories: directly deleting data containing missing values ​​and first filling the missing data and then performing classification. Directly deleting gesture data containing missing values ​​is likely to lead to the loss of observation information, especially when the missing rate is relatively high. In addition, in complex real-world scenarios, each piece of collected data may contain missing values ​​to varying degrees, resulting in a very small number of complete data. Using methods such as zero, mean, and nearest neighbor to first fill in gesture data containing missing values ​​and then perform gesture classification is a common strategy of existing methods. However, the filling and classification processes of gesture data are independent, and the filling process is often based on an unsupervised setting, which inevitably introduces classification errors due to the filled missing values. Summary of the invention

[0004] The purpose of the present invention is to solve the above defects in the prior art and provide a gesture action classification method for missing data. The method designs a neural network based on category-aware optimal transportation, and uses the category-aware information of the classifier to fill in the missing data during the network training process, thereby reducing the deviation from filling to classification. At the same time, in order to make the filled value more suitable for classification, the present invention uses the optimal transportation theory to reduce the difference in the distribution of similar gesture action data, so that the distribution of similar data after filling is more similar.

[0005] The purpose of the present invention can be achieved by adopting the following technical solutions:

[0006] A gesture action classification method for missing data, the gesture action classification method comprising the following steps:

[0007] S1. Obtain a gesture action dataset containing missing data, and divide it into an observation value set and a missing value set according to the missing information;

[0008] S2, use the mean of each column of variables in the observation set to pre-fill each column of variables in the missing value set to obtain a complete pre-filled data set;

[0009] S3. Based on the pre-filled complete data set, training a gesture action classifier based on a category-aware optimal transport neural network, wherein the gesture action classifier includes a filling module based on category-aware optimal transport and a classification module based on a perceptron;

[0010] S4, reconstructing the observed values ​​in the pre-filled data in the filling module based on category-aware optimal transportation, and implicitly filling the missing values ​​using the category-aware information in the classification module based on the perceptron;

[0011] S5. Use the optimal transportation theory to reduce the distribution distance between two groups of data randomly selected from the same category, so that the distribution of the same type of data is similar, and explicitly use the gesture action category perception information to fill in the missing values;

[0012] S6. The complete data after being filled by the filling module based on category-aware optimal transport is used as the input of the classification module based on the perceptron, the category-aware optimal transport neural network is trained, and the test set containing missing data is used as the input of the trained category-aware optimal transport neural network to output the final gesture action classification result.

[0013] Furthermore, the process of step S1 is as follows:

[0014] S11. Obtain a gesture action dataset Z containing missing data, expressed as where Y n represents the nth sample X n The value range of n is [1, N], N is the total number of samples in the dataset Z, and the nth sample X n Represented as (x1, x2, ..., null, ..., x d , ..., x D ), where null represents a missing value, and x d represents the dth variable, the value range of d is [1, D], the gesture action dataset Z collected in real life scenes, sample X n will contain at least one variable with a value of null;

[0015] S12, according to each sample X in the data set Z n The missing information marked as null in the dataset Z is defined as a mask matrix M∈{m nd} N×D , m nd The value is 1 or 0. If mnd Equal to 1 means sample X n The d-th variable x d is a missing value, m nd Equal to 0 represents the observed value, according to the m in the mask matrix M nd The variables of the corresponding samples whose values ​​are all 0 are divided into observation sets, and m nd The variables of the corresponding samples whose values ​​are all 1 are divided into missing value sets. The variables in the same column of the observation set are normalized to reduce the impact of abnormal values ​​and noise values ​​on the overall data distribution.

[0016] Furthermore, the process of step S2 is as follows:

[0017] S21, using the observation set obtained in step S12, calculate the mean of the values ​​of the variables in the same column of all samples in the observation set to obtain an array B with a length of D, where each element in the array B represents the mean of the column where the corresponding variable is located;

[0018] S22. Use array B obtained in step S21 to pre-fill the missing value set obtained in step S12 with the mean, and use the values ​​corresponding to the columns in array B to pre-fill the variables with null values ​​in the corresponding columns of all samples in the missing value set, and combine the pre-filled missing value set and observation value set to obtain a pre-filled complete data set.

[0019] Furthermore, the process of step S3 is as follows:

[0020] Using the pre-filled complete data set obtained in step S22, a gesture action classifier based on a category-aware optimal transport neural network is trained. While the filling module based on category-aware optimal transport is used to perform the optimization of the missing value filling task, the complete data obtained by the above filling module is input into the classification module based on the perception machine for classification training, so as to realize the joint optimization of the filling task and the classification task containing missing value data, implicitly optimize the filling task using the category-aware information of the classification module, and reduce the classification error rate introduced by the filling value; wherein, the filling module based on category-aware optimal transport includes three layers of fully connected neural networks, namely, an input layer, a hidden layer and an output layer, the dimensions of the input layer and the output layer are set to the number of variables of the gesture action data, the dimension of the hidden layer is twice the number of variables of the gesture action data, and the output layer fills the variables at the missing value positions; the classification module based on the perception machine is composed of a three-layer neural network, and its input data is the complete data after the missing value filling is performed by the filling module based on category-aware optimal transport.

[0021] Furthermore, the process of step S4 is as follows:

[0022] S41, constructing a one-to-one mapping relationship between the observation value positions in the input layer and the output layer of the filling module based on category-aware optimal transportation, reconstructing the observation value, and causing the filling value obtained at the missing position of the output layer to obtain the distribution information of the observation value, the mapping relationship The definition is as follows:

[0023]

[0024] in, represents a row vector of all 1s, ⊙ represents the element-wise product between vectors, where the sample represents the data pre-filled with the mean value in step S22, represents the input value of the input layer in the filling module based on category-aware optimal transportation, and X imp represents the output value of the output layer in the filling module based on class-aware optimal transportation, m n represents a row vector in the missing mask matrix M defined in step S12, representing the sample Missing mask information;

[0025] S42, against X imp The variables at the observation positions in the middle are filled with mean-prefilled data The observed variable pair X imp Replace the values ​​corresponding to the observed values ​​in the table to obtain the missing value data X n Complete gesture action data after filling X com It is expressed as follows:

[0026]

[0027] All samples X in the dataset Z n Corresponding X com As the input data of the perceptron-based classification module, it participates in the training of the classification task. During the optimization process of the classification task, the category perception information of the perceptron is implicitly used to optimize the task of filling the missing position variables. By utilizing the category perception information of the perceptron, the value of the variable filled in the missing position is updated in a direction that is beneficial to the classification task.

[0028] Furthermore, the process of step S5 is as follows:

[0029] S51, based on all samples X in the data set Z obtained in step S42 n Corresponding complete gesture action data X com , all complete gesture action data X com The dataset composed of com , first from Z com Two groups of data subsets with the same number of samples T are randomly selected from the same gesture action data and Where k represents the dataset Z com In the k-th type of gesture data, a and b represent different randomly selected data subsets. The optimal transportation theory can measure the distribution difference of two discrete measures α and β. and Conversion to discrete measures based on optimal transport theory and According to the optimal transportation theory, represents the data distribution distance between two data subsets selected from the same type of gesture action data at the physical space level, and The smaller the value, the more likely it is that two data subsets are selected from the same type of gesture action data. and The smaller the data distribution difference between the same type of data, the smaller the difference in data distribution between different types of gesture action data can increase the difference between the distribution of different types of gesture action data;

[0030] S52, due to data set Z com All data in X com The observation values ​​in remain unchanged, and the similar gesture action data subset is reduced and The distribution difference between them can make the distribution of similar gesture action data more similar. The above process is converted into a loss function for filling the same gesture action data. The details are as follows:

[0031]

[0032] Where K represents the dataset Z com The number of categories in, L represents the number of times the random data subset is repeatedly taken within category k, and the above formula uses Represents two data subsets randomly selected from category k and Sinkhorn represents the Sinkhorn algorithm in optimal transport theory, which can obtain discrete measure transformations and The optimal transportation solution between the randomly selected data subsets and The difference in data distribution between them becomes smaller. and The set of observation values ​​in remains unchanged during the optimal transportation optimization process, which makes the values ​​filled in the missing positions closer to the distribution of the observation value set, making the filled samples of the same type more similar.

[0033] Furthermore, the step S6 comprises:

[0034] S61, all data X in S52 after the optimal transportation theory is applied to the same category of data com Input into the perceptron-based classification module for classification. The learning goal of classification is It is expressed as follows:

[0035]

[0036] Where N represents the data set Z com The number of samples in the dataset Z. com The number of categories in , Indicates that the data X with missing values n X after filling com is the binary label of category k, p(Y n |X com ) k Represents the classifier prediction sample X com is the probability of category k;

[0037] S62, X com The variable information of the missing position in the class-aware optimal transport filling module is supported by step S41. and step S52 Constrained training for filling tasks, while X com The missing position variable information of The constraints of classification task training are carried out so that X com The variable information of the missing position in the image can be used for filling and classification tasks at the same time. The overall learning goal of the gesture action classifier based on the category-aware optimal transport neural network is It is expressed as follows:

[0038]

[0039] Through the above learning objectives The classifier based on the category-aware optimal transport neural network can jointly optimize the filling and classification tasks and can utilize the above and The category information is used to fill in the variable data at the missing position, reducing the distribution difference of gesture action data within the same category while increasing the distribution difference of gesture action data between different categories, so that the filled missing values ​​are conducive to the classification of gesture actions.

[0040] Compared with the prior art, the present invention has the following advantages and effects:

[0041] 1. The present invention applies the optimal transport theory to the field of gesture classification with missing data for the first time, making the filled missing values ​​more conducive to classification and being able to directly classify gesture data with missing values;

[0042] 2. The present invention implicitly uses the category perception information of the classifier in the training process to fill in the missing values, and explicitly uses the optimal transportation theory to reduce the distribution difference of similar gesture action data, which can effectively alleviate the classification error introduced by filling;

[0043] 3. The present invention jointly optimizes the missing data filling and classification tasks, and can use the observed value distribution information in the missing data for training, thereby avoiding the information loss problem caused by directly deleting the data containing missing values;

[0044] 4. The present invention directly uses gesture action data with missing values ​​for training, without the need for additional human expertise, and can directly classify gesture actions with missing data;

[0045] 5. The gesture classification algorithm of the present invention was tested on the Motion Capture HandPostures gesture dataset with a data missing rate of 99%, and its gesture classification accuracy reached 97.7%. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0047] Figure 1 is a flow chart of a method for classifying gestures containing missing data disclosed in an embodiment of the present invention;

[0048] Figure 2 It is a structural diagram of a three-layer neural network in a gesture action classification method with missing data disclosed in an embodiment of the present invention;

[0049] Figure 3 This is a schematic diagram of the gesture data collection perception glove used in the Motion Capture Hand Postures dataset, which is used to collect five gesture data: clenching a fist, spreading the hand, pointing with the index finger, pointing with the index and middle fingers, and grasping.

[0050] Figure 4 This is a diagram of five gestures in the Motion Capture Hand Postures dataset;

[0051] Figure 5This is a complete hand gesture data obtained by filling the missing value set with the mean of the observation value set in 600 test samples selected from the Motion Capture Hand Postures dataset, and reducing it from the original 36 dimensions to 2 dimensions for visualization of the distribution of five types of hand gesture data;

[0052] Figure 6 This is a schematic diagram of the distribution of five gesture action categories data obtained by filling in the complete gesture action data using a gesture action classification method for missing data disclosed in an embodiment of the present invention for 600 test samples selected from the Motion Capture Hand Postures data set, and reducing the original 36 dimensions to 2 dimensions for visualization. DETAILED DESCRIPTION

[0053] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0054] Example 1

[0055] This embodiment discloses a method for classifying gestures containing missing data. For a specific flowchart, please refer to the attached Figure 1 As shown, the following steps are included:

[0056] S1. Obtain the Motion Capture Hand Postures hand gesture dataset with missing data, and divide it into an observation value set and a missing value set based on the missing information.

[0057] In this embodiment, the process of step S1 is as follows:

[0058] S11. Obtain the Motion Capture Hand Postures data set with missing data. The missing rate of this data set is 99%. This data set is collected using a sensing glove and includes five gestures: clenching a fist, spreading the hand, pointing with the index finger, pointing with the index and middle fingers, and grabbing. For a specific diagram, see Figure 3 and Figure 4 , where each sample X contains 36 variables;

[0059] S12. According to the missing information marked as null in each sample X in the Motion Capture Hand Postures dataset, it can be defined as a mask matrix M∈{m nd} N×D , m nd The value is 1 or 0. If m nd Equal to 1 means sample X n The d-th variable x d is a missing value, m nd Equal to 0 represents the observed value, according to the m in the mask matrix M nd The variables of the corresponding samples whose values ​​are all 0 are divided into observation sets, and m nd The variables of the corresponding samples whose values ​​are all 1 are divided into missing value sets, and the variables in the same column in the observation set are normalized to reduce the impact of abnormal values ​​and noise values ​​on the overall data distribution. In the Motion Capture Hand Postures dataset, 99% of the samples contain missing values ​​of variables that are null.

[0060] S2, using the mean of each column of variables in the observation value set in step S1 to pre-fill each column of variables in the missing value set, to obtain a complete pre-filled data set;

[0061] In this embodiment, the process of step S2 is as follows:

[0062] S21, using the observation set obtained in step S12, calculate the mean of the values ​​of the variables in the same column of all samples in the observation set to obtain an array B with a length of D, where each element in the array B represents the mean of the column where the corresponding variable is located;

[0063] S22. Use array B obtained in step S21 to pre-fill the missing value set obtained in step S12 with the mean, and use the values ​​corresponding to the columns in array B to pre-fill the variables with null values ​​in the corresponding columns of all samples in the missing value set, and combine the pre-filled missing value set and observation value set to obtain a pre-filled complete data set.

[0064] S3. Based on the pre-filled complete data set, training a gesture action classifier based on a category-aware optimal transport neural network, wherein the gesture action classifier includes a filling module based on category-aware optimal transport and a classification module based on a perceptron;

[0065] In this embodiment, the process of step S3 is as follows:

[0066] S31. Using the pre-filled complete data set obtained in step S22, 60% of the data in the data set is divided into a training set, 20% of the data is divided into a validation set, and the remaining 20% ​​of the data is divided into a test set. The training set is used to train a gesture action classifier based on a category-aware optimal transport neural network. While using the filling module based on category-aware optimal transport to perform the optimization of the missing value filling task, the complete data obtained by the above filling module is input into the classification module based on the perception machine for classification training, so as to achieve the joint optimization of the filling task and the classification task containing missing value data, implicitly optimize the filling task using the category-aware information of the classification module, and reduce the classification error rate introduced by the filling value; wherein the filling module based on category-aware optimal transport includes three layers of fully connected neural networks, namely, an input layer, a hidden layer and an output layer, the dimensions of the input layer and the output layer are set to the number of variables of the gesture action data, the dimension of the hidden layer is twice the number of variables of the gesture action data, and the output layer fills the variables at the missing value position; the classification module based on the perception machine is composed of a three-layer neural network, and its input data is the complete data after the missing value filling is performed by the filling module based on category-aware optimal transport.

[0067] S4, reconstructing the observed values ​​in the pre-filled data in the filling module based on category-aware optimal transportation, and implicitly filling the missing values ​​using the category-aware information in the classification module based on the perceptron;

[0068] In this embodiment, the process of step S4 is as follows:

[0069] S41. A one-to-one mapping relationship is established between the observation value positions in the input layer and the output layer network of the filling module based on category-aware optimal transportation, and the observation values ​​are reconstructed to enable the filling values ​​obtained by the output layer network at the missing positions to obtain more distribution information of the observation values. The mapping relationship The definition is as follows:

[0070] in, represents a row vector of all 1s, ⊙ represents the element-wise product between vectors, where the sample represents the data pre-filled with the mean value in step S22, represents the input value of the input layer in the filling module based on category-aware optimal transportation, and X imp represents the output value of the output layer in the filling module based on class-aware optimal transportation, m n represents a row vector in the missing mask matrix M defined in step S12, representing the sample Missing mask information;

[0071] S42, against X imp The variables at the observation positions in the middle are filled with mean-prefilled data The observed variable pair X imp Replace the values ​​corresponding to the observed values ​​in the table to obtain the missing value data X n Complete gesture action data after filling X com It is expressed as follows:

[0072]

[0073] All samples X in the dataset Z n Corresponding X com As the input data of the perceptron-based classification module, it participates in the training of the classification task. During the optimization process of the classification task, the category perception information of the perceptron is implicitly used to optimize the task of filling the missing position variables. By utilizing the category perception information of the perceptron, the value of the variable filled in the missing position is updated in a direction that is beneficial to the classification task.

[0074] S5. Use the optimal transportation theory to reduce the distribution distance between two groups of data randomly selected from the same category, so that the distribution of the same type of data is similar, and explicitly use the gesture action category perception information to fill in the missing values;

[0075] In this embodiment, the process of step S5 is as follows:

[0076] S51, based on all samples X in the data set Z obtained in step S42 n Corresponding complete gesture action data X com , all complete gesture action data X com The dataset composed of com , first from Z com Two groups of data subsets with the same number of samples T are randomly selected from the same gesture action data and Where k represents the dataset Z com In the k-th type of gesture data, a and b represent different randomly selected data subsets. The optimal transportation theory can measure the distribution difference of two discrete measures α and β. and According to the optimal transport theory, it can be converted into a discrete measure and According to the optimal transportation theory represents the data distribution distance between two data subsets selected from the same type of gesture action data at the physical space level, and The smaller the value, the more likely it is that two data subsets are selected from the same type of gesture action data. and The smaller the difference in data distribution between

[0077] S52, due to data set Zcom All data in X com The observation values ​​in remain unchanged, and the similar gesture action data subset is reduced and The distribution difference between them can make the distribution of similar gesture action data more similar. The above process is converted into a loss function for filling the same gesture action data. The details are as follows:

[0078]

[0079] Where K represents the dataset Z com The number of categories in, L represents the number of times the random data subset is repeatedly taken within category k, and the above formula uses Represents two data subsets randomly selected from category k and Sinkhorn refers to the Sinkhorn algorithm in optimal transport theory. The Sinkhorn algorithm was proposed by Marco Cuturi in his 2013 paper Sinkhorn Distances: Lightspeed Computation of Optimal Transport. The Sinkhorn algorithm is described on page 5 of the above paper and can be used to obtain discrete measure transformations. and The optimal transportation solution between the randomly selected data subsets and The data distribution difference between and The set of observation values ​​in the optimal transport optimization process remains unchanged, which makes the values ​​filled in the missing positions closer to the distribution of the observation value set, so that the filled samples of the same type are more similar. In order to verify the difference between the data distribution after the above-mentioned optimal transport theory constraints and the simple pre-filling with the mean, the present invention uses the contour coefficient to measure the data distribution differences between different gesture action categories. The contour coefficient value range is [-1, 1]. The closer the value is to 1, the tighter the distribution of similar data is, and the farther the data distribution between different categories is. The contour coefficient value of the complete data obtained by pre-filling with the mean is -0.0239, while the contour coefficient value of the complete data obtained by filling based on category-aware optimal transport is 0.0717. Figure 5 and Figure 6 The dot marks 1, 2, 3, 4, and 5 in the figure represent five types of gesture data, namely, making a fist, opening the hand, pointing with the index finger, pointing with the index and middle fingers, and grabbing. Figure 5 This is a visualization of the five gesture data after using the mean to fill in missing values. Figure 6The five gesture action data visualization diagrams after missing value filling using the gesture action classification method proposed in the present invention are compared. Figure 5 and Figure 6 It can be seen that Figure 6 It can effectively distinguish the gesture data with point marks 1 (clenched fist) and 2 (open hand), and the contour coefficient value calculated on the overall distribution of the five gestures is Figure 5 It is smaller, and it can be known that the data filled by the present invention can increase the distribution distance between different categories of gesture action data.

[0080] S6. The complete data after being filled by the filling module based on category-aware optimal transport is used as the input of the classification module based on the perceptron, the category-aware optimal transport neural network is trained, and the test set containing missing data is used as the input of the trained category-aware optimal transport neural network to output the final gesture action classification result.

[0081] In this embodiment, the process of step S6 is as follows:

[0082] S61, all data X in S52 after the optimal transportation theory is applied to the same category of data com Input into the perceptron-based classification module for classification. The learning goal of classification is It is expressed as follows:

[0083] Where N represents the data set Z com The number of samples in the dataset Z. com The number of categories in , Indicates that the data X with missing values n X after filling com is the binary label of category k, p(Y n |X com ) k Represents the classifier prediction sample X com is the probability of category k;

[0084] S62, X com The variable information of the missing position in the class-aware optimal transport filling module is supported by step S41. and step S52 Constrained training for filling tasks, while X com The missing position variable information of The constraints of classification task training are carried out so that X com The variable information of the missing position in the image can be used for filling and classification tasks at the same time. The overall learning goal of the gesture action classifier based on the category-aware optimal transport neural network is It is expressed as follows:

[0085]

[0086] Through the above learning objectives The classifier based on the category-aware optimal transport neural network can jointly optimize the filling and classification tasks and can utilize the above and The category information is used to fill in the variable data at the missing position, reducing the distribution difference of gesture action data within the same category while increasing the distribution difference of gesture action data between different categories, so that the filled missing values ​​are conducive to the classification of gesture actions.

[0087] Finally, the model was tested and analyzed using a 20% test set divided from the Motion Capture Hand Postures gesture action dataset. The classification accuracy rates after traditional zero padding, mean padding, nearest neighbor padding and multiple padding were 20.8%, 82.4%, 82.9% and 92.7% respectively, while the classification accuracy rate of the method proposed in the present invention reached 97.7%. Compared with the traditional method, the present invention effectively improves the accuracy rate of gesture action classification.

[0088] Example 2

[0089] The present invention discloses a gesture classification method for missing data. Compared with the traditional method of first filling the missing values ​​and then using a perceptron-based classification algorithm to classify the filled complete data (zero filling, mean filling, nearest neighbor filling and multiple filling), a classification experiment is conducted on two open source datasets of handwritten digit gestures, Optical Recognition of Handwritten Digits and Pen-Based Recognition of Handwritten Digits, with all samples artificially synthesized random missing rates of 10%, 30%, 50% and 70%, respectively. The specific experimental results are shown in Table 1:

[0090] Table 1. Classification accuracy of the present invention and other traditional missing data classification methods on the handwritten digital action dataset

[0091]

[0092] Table 1 is a comparative reference of the classification accuracy of the present invention and other traditional methods of first filling and then classifying the complete data on the handwritten digital action data set. The missing rate in Table 1 represents the proportion of missing value variables containing null in the samples of the above data set in all sample variables. From the comparison of the experimental results in Table 1, it can be seen that compared with the traditional method of filling the missing values ​​with zero filling, mean filling, nearest neighbor filling and multiple filling methods, and then using the perceptron-based classification algorithm to classify the complete data, the gesture action classification method for missing data disclosed in the present invention can achieve better classification accuracy at different artificial synthetic missing rates of the handwritten digital action data set, verifying the effectiveness and practicality of the present invention.

[0093] In summary, the present embodiment proposes a gesture action classification method for missing data, which utilizes a filling module based on category-aware optimal transportation and a classification module based on a perceptron to classify gesture action data with missing values. The optimal transportation theory explicitly utilizes gesture action category perception information to reduce the data distribution distance within the same category, and implicitly utilizes the category perception information obtained in the classification module based on a perceptron to optimize the missing value filling task, so that the filled missing values ​​are conducive to classification, thereby improving the accuracy of gesture action classification.

[0094] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principles of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention.

Claims

1. A gesture classification method for missing data, characterized in that: The gesture action classification method comprises the following steps: S1. Obtain a gesture action dataset with missing data and divide it into an observation value set and a missing value set based on the missing information. The process is as follows: S11. Obtain a gesture action dataset Z containing missing data, expressed as where Y n represents the nth sample X n The label of the dataset Z is N, the total number of samples contained in the dataset Z, and the nth sample X n Represented as (x1,x2,…,null,…,x d ,…,x D ), where null represents a missing value, and x d represents the dth variable, the value range of d is [1, D], and D is the sample X n The total number of variables included; S12, according to each sample X in the data set Z n The missing information marked as null in the dataset Z is defined as a mask matrix M∈{m nd } N×D , m nd The value is 1 or 0. If m nd Equal to 1 means sample X n The d-th variable x d is a missing value, m nd Equal to 0 represents the observed value, according to the m in the mask matrix M nd The variables of the corresponding samples whose values ​​are all 0 are divided into observation sets, and m nd The variables corresponding to the samples whose values ​​are all 1 are divided into missing value sets; S2. Use the mean of each column of variables in the observed value set to pre-fill each column of variables in the missing value set to obtain a complete pre-filled data set. The process is as follows: S21, using the observation set obtained in step S12, calculate the mean of the values ​​of the variables in the same column of all samples in the observation set to obtain an array B with a length of D, where each element in the array B represents the mean of the column where the corresponding variable is located; S22, using the array B obtained in step S21 to pre-fill the missing value set obtained in step S12 with the mean, and using the values ​​corresponding to the columns in array B to pre-fill the variables whose corresponding column values ​​of all samples in the missing value set are null; S3. Based on the pre-filled complete data set, a gesture action classifier based on a category-aware optimal transport neural network is trained. The gesture action classifier includes a filling module based on category-aware optimal transport and a classification module based on a perceptron. The process is as follows: Using the pre-filled complete data set obtained in step S22, a gesture action classifier based on a category-aware optimal transport neural network is trained. While the filling module based on category-aware optimal transport is used to perform the optimization of the missing value filling task, the complete data obtained by the filling module is input into the classification module based on the perception machine for classification training, so as to achieve joint optimization of the filling task containing missing value data and the classification task; the classification module based on the perception machine is composed of a three-layer neural network, and its input data is the complete data after the missing value filling is performed by the filling module based on category-aware optimal transport; S4, reconstructing the observed values ​​in the pre-filled data in the filling module based on category-aware optimal transport, and implicitly filling the missing values ​​using the category-aware information in the classification module based on the perceptron, the process is as follows: S41, constructing a one-to-one mapping relationship between the observation value positions in the input layer and the output layer of the filling module based on category-aware optimal transportation, reconstructing the observation value, and causing the filling value obtained at the missing position of the output layer to obtain the distribution information of the observation value, the mapping relationship The definition is as follows: in, represents a row vector of all 1s, ⊙ represents the element-wise product between vectors, where the sample represents the data pre-filled with the mean value in step S22, represents the input value of the input layer in the filling module based on category-aware optimal transportation, and X imp represents the output value of the output layer in the filling module based on class-aware optimal transportation, m n represents a row vector in the missing mask matrix M defined in step S12, representing the sample Missing mask information; S42, against X imp The variables at the observation positions in the middle are filled with mean-prefilled data The observed variable pair X imp Replace the values ​​corresponding to the observed values ​​in the table to obtain the missing value data X n Complete gesture action data after filling X com It is expressed as follows: All samples X in the dataset Z n Corresponding X com As the input data of the perceptron-based classification module, it participates in the training of the classification task. In the process of optimizing the classification task, it implicitly uses the category perception information of the perceptron to optimize the task of filling in the missing position variables. S5. Use the optimal transportation theory to reduce the distribution distance between two groups of data randomly selected from the same category, so that the distribution of the same type of data is similar, and explicitly use the gesture action category perception information to fill the missing values. The process is as follows: S51, based on all samples X in the data set Z obtained in step S42 n Corresponding complete gesture action data X com , all complete gesture action data X com The dataset composed of com , first from Z com Two groups of data subsets with the same number of samples T are randomly selected from the same gesture action data and Where k represents the dataset Z com The kth type of gesture data, a and b represent different randomly selected data subsets, and the distribution difference of two discrete measures α and β is measured by the optimal transportation theory. and Conversion to discrete measures based on optimal transport theory and According to the optimal transportation theory, represents the data distribution distance between two data subsets selected from the same type of gesture action data at the physical space level, and The smaller the value, the more likely it is that two data subsets are selected from the same type of gesture action data. and The smaller the difference in data distribution between S52, due to data set Z com All data in X com The observation values ​​in remain unchanged, and the similar gesture action data subset is reduced and The distribution difference between them makes the distribution of similar gesture action data more similar. The above process is converted into a loss function for filling the same gesture action data. The details are as follows: Where K represents the dataset Z com The number of categories in, L represents the number of times the random data subset is repeatedly taken within category k, and the above formula adopts Represents two data subsets randomly selected from category k and Sinkhorn() represents the Sinkhorn algorithm in optimal transportation theory, which obtains discrete measure transformation and The optimal transportation solution between the randomly selected data subsets and The difference in data distribution between them becomes smaller; S6. The complete data filled by the filling module based on category-aware optimal transport is used as the input of the classification module based on the perceptron, and the category-aware optimal transport neural network is trained. The test set containing missing data is used as the input of the trained category-aware optimal transport neural network, and the final gesture action classification result is output. The process is as follows: S61, all data X in S52 after the optimal transportation theory is applied to the same category of data com Input into the perceptron-based classification module for classification. The learning goal of classification is It is expressed as follows: Where N represents the dataset Z com The number of samples in the dataset Z. com The number of categories in , Indicates that the data X with missing values n X after filling com is the binary label of category k, p(Y n |X com ) k Represents the classifier prediction sample X com is the probability of category k; S62, X com The variable information of the missing position in the class-aware optimal transport filling module is supported by step S41. and step S52 Constrained training for filling tasks, while X com The missing position variable information of The constraints of classification task training are carried out so that X com The variable information of the missing position in the image can be used for filling and classification tasks at the same time. The overall learning goal of the gesture action classifier based on the category-aware optimal transport neural network is It is expressed as follows:

2. The method for classifying gestures with missing data according to claim 1, characterized in that: The filling module based on category-aware optimal transportation includes a three-layer fully connected neural network, namely an input layer, a hidden layer and an output layer. The dimensions of the input layer and the output layer are set to the number of variables of the gesture action data, the dimension of the hidden layer is twice the number of variables of the gesture action data, and the output layer fills in the variables at the missing value positions.