A human behavior recognition method

By introducing multi-scale spatio-temporal convolutional network and indirect node correlation knowledge into the 2s-AGCN network, the problem of insufficient time domain feature extraction and unused correlation information is solved, and the accuracy of human behavior recognition is significantly improved.

CN113869105BActive Publication Date: 2024-09-10NORTH CHINA ELECTRIC POWER UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110906825.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-09
Publication Date
2024-09-10
Estimated Expiration
2041-08-09

AI Technical Summary

Technical Problem

In the existing technology, the time domain network structure of the 2s-AGCN network model is single, which makes it difficult to capture complex node time domain characteristics, and fails to fully utilize the correlation knowledge between indirect nodes in the human body, affecting the behavior recognition accuracy.

Method used

A multi-scale spatio-temporal convolution network human behavior recognition model (MT-AGCN) is proposed. By constructing a spatio-temporal skeleton diagram and embedding a multi-scale time domain convolution network module, the network's adaptability to scale is enhanced, and the association of indirect nodes is utilized. Knowledge extraction of spatiotemporal features.

Benefits of technology

The accuracy of human behavior recognition is improved, especially in scenarios where the difference between processing classes is small and the behavior data is similar, the recognition accuracy is significantly improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113869105B
    Figure CN113869105B
Patent Text Reader

Abstract

In view of the fact that the time domain network structure of the 2s-AGCN network model is single and the one-dimensional convolutional layer is used to model the time dynamics, it is difficult to capture the complex node time domain features. This application proposes a human behavior recognition method, specifically a human behavior recognition model of a multi-scale spatiotemporal convolutional network, that is, a multi-scale time domain network module is designed and embedded on the basis of the baseline model 2s-AGCN, and the MT-AGCN model is constructed. On the one hand, the multi-scale time domain network module increases the width of the network and enhances the adaptability of the network to the scale. On the other hand, the receptive fields of different branches in the network are different, and the scales of extracting time domain information are different. As the training progresses, the MT-AGCN network model continuously learns the node time domain features. The behavioral information expressed by the time domain information of different scales can make the network pay more attention to the salient areas when extracting features.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image recognition, and in particular to a method for human behavior recognition. Background Art

[0002] With the rapid development of my country's social economy, the application of cameras is becoming more and more common, and more and more video data is being obtained. As a result, the problem of high labor costs required to observe and analyze video data is faced. The task of human behavior recognition is to correctly classify human action sequences. With the development of depth cameras and the emergence of human posture estimation algorithms, the difficulty of collecting human skeleton data has been reduced. Compared with video image data, human skeleton data is not easily affected by lighting changes and has a certain robustness to occlusion and complex backgrounds.

[0003] Many solutions have been proposed by domestic and foreign academic circles for 3D human skeleton data. Among them, the model 2s-AGCN uses single-scale convolution to extract time domain information. The time domain network structure of the network model is single, and the one-dimensional convolution layer is used to model the time dynamics, which makes it difficult to capture complex node time domain features. Summary of the invention

[0004] In view of the fact that the time domain network structure of the 2s-AGCN network model is single and the time dynamics are modeled using a one-dimensional convolutional layer, it is difficult to capture the complex node time domain features. This application proposes a human behavior recognition method, which is a human behavior recognition algorithm embedded with a multiscale time domain convolutional network (MTCN) module. On the one hand, the multiscale time domain network module increases the width of the network and enhances the adaptability of the network to the scale. On the other hand, the receptive fields of different branches in the network are different, and the scales of extracting time domain information are different. As the training proceeds, the MT-AGCN network model continuously learns the node time domain features. The behavioral information expressed by the time domain information of different scales can make the network pay more attention to the significant areas when extracting features. This method solves the problem that the model 2s-AGCN is difficult to capture complex node time domain features.

[0005] The present application provides the following technical solutions:

[0006] A human behavior recognition method, comprising:

[0007] Construct a spatiotemporal skeleton graph based on the natural connectivity of human node structure and time;

[0008] The multi-scale temporal convolutional network module is embedded into the 2s-AGCN network model to obtain the initial multi-scale spatiotemporal convolutional network human behavior recognition model;

[0009] The training data set is combined with the constructed spatiotemporal skeleton graph to train the initial multi-scale spatiotemporal convolutional network human behavior recognition model to obtain the final multi-scale spatiotemporal convolutional network human behavior recognition model;

[0010] The test data set is combined with the constructed spatiotemporal skeleton graph and input into the final multi-scale spatiotemporal convolutional network human behavior recognition model to obtain the recognition result.

[0011] Among them, the multi-scale time domain convolutional network module performs multi-scale feature extraction on time domain information, uses dilated convolution to extract content information of different scales, and keeps the resolution of the output feature map unchanged. The dilation rate α of the dilated convolution in the network is [1,2,...,d]. Finally, the features of different scales are cascaded and fused. When α=1, the receptive field of the convolution kernel is 3*1=3, and the parameter amount is 3; when α=2, the receptive field of the convolution kernel is 5*1=5, which is equivalent to a 5*1 convolution kernel with a parameter amount of 3.

[0012] Among them, the spatiotemporal feature extraction network in the human behavior recognition model of the multi-scale spatiotemporal convolutional network is mainly composed of 9 spatiotemporal convolutional network modules (B1-B9). The three numbers of each spatiotemporal convolutional network module represent the number of input channels, the number of output channels and the step size respectively.

[0013] Among them, the spatiotemporal convolutional network module includes Convs, MTCN, BN layer, ReLU layer, Dropout layer and a residual connection; Convs represents the spatial graph convolutional network, MTCN represents the multi-scale temporal convolutional network, BN layer (batchnormalization layer) represents the normalization of data, ReLU layer can activate only some neurons to make the network sparse and reduce the mutual dependence between parameters; Dropout layer can prevent overfitting, where the drop rate is set to 0.5, and a residual connection is added to each module to solve the gradient disappearance problem.

[0014] Among them, according to the natural connectivity of human node structure and time, a spatiotemporal skeleton graph is constructed, which specifically includes:

[0015] Based on the natural connectivity of human node structure and time, as well as the association knowledge of indirect nodes in the human body, a spatiotemporal skeleton graph is constructed.

[0016] Compared with the prior art, the above technical solution has the following advantages:

[0017] This application proposes a human behavior recognition model of a multi-scale spatiotemporal convolutional network (i.e., MT-AGCN model), that is, a multi-scale time domain network module is designed and embedded on the basis of the baseline model 2s-AGCN, and the MT-AGCN model is constructed. The multi-scale time domain network module increases the width of the network and enhances the adaptability of the network to the scale. On the other hand, the receptive fields of different branches in the network are different, and the scales of extracting time domain information are different. As the training progresses, the MT-AGCN network model continuously learns the time domain features of the nodes, and the behavioral information expressed by the time domain information of different scales can make the network pay more attention to the significant areas when extracting features. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0019] Figure 1 This is a framework diagram of a human behavior recognition model;

[0020] Figure 2 This is an example of indirect node connection;

[0021] Figure 3 This is an example of a space-time skeleton diagram;

[0022] Figure 4 Schematic diagram of the multi-scale time-domain convolutional network structure;

[0023] Figure 5 are convolution kernels with different dilation rates;

[0024] Figure 6 It is the feature extraction network;

[0025] Figure 7 Schematic diagram of the internal structure of the spatiotemporal convolutional network module;

[0026] Figure 8 Comparison of classification accuracy between model 2s-AGCN and model MT-GCN on Bone stream. DETAILED DESCRIPTION

[0027] In the prior art, the model 2s-AGCN is used as the baseline model. On the one hand, this model proposes an adaptive graph convolutional network that can adaptively learn the topological structure of the graph and better adapt to the behavior recognition task in an end-to-end manner. On the other hand, it uses a two-stream framework to explicitly express the second-order information of the skeleton data, and finally combines the second-order information with the first-order information, which significantly improves the recognition performance.

[0028] The inventors found that the 2s-AGCN network model has shortcomings: the human skeleton graph used in the model is predefined and represents the natural physical structure of the human body. Although the topological structure of the graph can be adaptively learned through the network, it is difficult to learn the non-physical structure between indirect nodes, resulting in the problem that the behavior association information cannot be fully utilized. Another issue worthy of attention is that the temporal network structure of the baseline model is single, and the one-dimensional convolutional layer is used to model the temporal dynamics, which makes it difficult to capture complex node temporal characteristics.

[0029] In response to the problem that the 2s-AGCN network model cannot make full use of the behavior association information, this application takes into account the large amount of association knowledge contained in the indirect nodes of the human body. Generally speaking, the association knowledge of indirect nodes has a lot of information and identification potential in behavior recognition. For example, when walking, the hand joints and leg joints of the human body are closely related, but the node features between them will be weakened during the convolution process. This application obtains richer dependencies between joints by constructing a skeleton graph connecting indirect nodes. In other words, this application takes into account that there is a large amount of relevant knowledge information contained between the indirect nodes of the human body. This relevant knowledge information is an important basis for identifying different behaviors. This application introduces the knowledge relevance of indirect nodes into the graph structure by establishing connections between indirect nodes, and then inputs it into the spatial convolutional network to extract the spatial information of the nodes.

[0030] In view of the fact that the time domain network structure of the 2s-AGCN network model is single and the time dynamics are modeled using a one-dimensional convolutional layer, it is difficult to capture the complex node time domain features. This application proposes a human behavior recognition method, specifically a human behavior recognition model of a multi-scale spatiotemporal convolutional network (i.e., MT-AGCN model), that is, a multi-scale time domain network module is designed and embedded on the basis of the baseline model 2s-AGCN, and the MT-AGCN model is constructed. On the one hand, the multi-scale time domain network module increases the width of the network and enhances the adaptability of the network to the scale. On the other hand, the receptive fields of different branches in the network are different, and the scales of extracting time domain information are different. As the training progresses, the MT-AGCN network model continuously learns the node time domain features. The behavioral information expressed by the time domain information of different scales can make the network pay more attention to the significant areas when extracting features.

[0031] Figure 1 This is the human behavior recognition model framework diagram, see Figure 1 The present application provides a method for human behavior recognition, the method comprising:

[0032] Construct a spatiotemporal skeleton graph based on the natural connectivity of human node structure and time;

[0033] The multi-scale temporal convolutional network module is embedded into the 2s-AGCN network model to obtain the initial multi-scale spatiotemporal convolutional network human behavior recognition model;

[0034] The training data set is combined with the constructed spatiotemporal skeleton graph to train the initial multi-scale spatiotemporal convolutional network human behavior recognition model to obtain the final multi-scale spatiotemporal convolutional network human behavior recognition model;

[0035] The test data set is combined with the constructed spatiotemporal skeleton graph and input into the final multi-scale spatiotemporal convolutional network human behavior recognition model to obtain the recognition result.

[0036] Among them, the training data set and the test data set are both data sets of human 3D skeleton data.

[0037] Among them, according to the natural connectivity of human node structure and time, a spatiotemporal skeleton graph is constructed, which specifically includes:

[0038] The inventor found that the existing human behavior recognition algorithm directly constructs a skeleton graph based on the natural connection of the human body, but the indirect node association knowledge is not directly utilized. Existing human behavior research believes that when the human behavior is different, the association knowledge of the indirect nodes of the human body is also different, and this regularity is not fully utilized. This application establishes a connection edge between the human hand node and the leg node and the human center node. Figure 2 The figure shows the schematic diagram of establishing connecting edges between indirect nodes in the two behaviors of picking up things and sitting down. This connecting edge contains the associated knowledge of the indirect nodes.

[0039] Based on the above findings, the behavior data based on the human 3D skeleton can be obtained from motion capture equipment or human posture estimation algorithms. Human behavior data is a frame sequence, each frame has a set of joint coordinates. Based on the human joint sequence in the form of two-dimensional or three-dimensional coordinates, a spatiotemporal skeleton graph G(V,E) is constructed with joints as graph nodes and the natural connectivity of human node structure and time as graph edges. The spatiotemporal skeleton graph is as follows: Figure 3 shown.

[0040] The spatiotemporal graph of the skeleton sequence is constructed in two steps. In the first step, a spatial skeleton graph is constructed within each frame according to the natural skeleton connection relationship of the human body. The establishment of this connection relies on the natural structure; a spatial skeleton graph of indirect node association (blue dotted line) is constructed according to the coordination of human behavior, and the two spatial skeleton graphs are combined. In the second step, the edges between frames represent the temporal relationship between the corresponding nodes of the human body. In the figure, the node matrix set V = {v ti |t=1,2,...,T,i=1,2,...,N}, including all nodes in the skeleton sequence, the number of frames is T, the number of joints is N, v tiDenote the $i$-th joint in the $t$-th frame. The set of edges $E$ consists of two subsets. The first subset is the connection of nodes within each frame $E_s=\{v ti v tj |(i,j)\in H\}$, where $H$ represents the set of human skeleton joint points; the second subset represents the connection between different frames $E F =\{v ti v (t+1)i \}$.

[0041] The topological structure of the single-frame node spatial graph of the baseline model is represented by the identity matrix $I$ and the adjacent matrix $A$. This method establishes connection edges between the human center node and the human limb nodes to represent the association knowledge of indirect nodes. The topological structure of the indirect node connection is represented by the adjacency matrix $J$, where $v ct represents the set human center node, $m$ represents the set of limb nodes $v pt $, assuming the input feature of the $n$-th layer is $f n $, and the output feature is $f n+1 $. The graph convolution calculation expression is as follows:

[0042] J = \{(v ct ,v pt )|v pt \in m\} (1)

[0043] A'^2 = A^2 + J (2)

[0044] A + I = \sum k A k (3)

[0045]

[0046] where, $W k $ represents the weight vector of the $1\times1$ convolution operation; $k max $ represents the number of subsets 3, and the adjacency matrix is split into 3 matrices (i.e., $A k $, $k = 0, 1, 2$); $ is the normalized adjacency matrix, and $A^0 = I$ and $A^1 + A'^2 = A$; $M k $ is an $N\times N$ attention graph, representing the strength of node connection; $\cdot$ represents the dot product.

[0047] Among them, the multi-scale time-domain convolution network module is embedded into the 2s-AGCN network model to obtain the initial multi-scale spatio-temporal convolution network human behavior recognition model (MT-AGCN model), specifically including:

[0048] In order to solve the problem that the single-scale time domain convolutional network of the baseline model is limited in its ability to extract time domain features by the receptive field of the convolutional layer, and is difficult to effectively extract long-term node information in human behavior data, this application uses a multiscale time domain convolutional network (MTCN) to extract multi-scale features from time domain information. The multiscale time domain network structure is as follows: Figure 4 As shown in the figure. On the one hand, this module increases the width of the network and enhances the adaptability of the network to scale. On the other hand, the receptive fields of different branches in the network are different, and the scales of extracting time domain information are different. As the training progresses, the network continuously learns the time domain features of the nodes. The behavioral information expressed by the time domain information of different scales can make the network pay more attention to the salient areas when extracting features.

[0049] The temporal convolutional network in the baseline model performs convolution operations strictly in chronological order, that is, the convolution operation at time t only occurs on the data at adjacent times. Let the convolution kernel size K be 3, f' K The convolution kernel is 3*1, and the input sequence is X=(x1,x2,...,x T ), x T The time domain convolution at can be expressed as

[0050] F(x T )=f K x T-K (5)

[0051] In order to enable the time domain network to learn more time domain features, the model needs to be able to use more frames of behavioral data, which can be achieved by expanding the receptive field of the time domain convolutional network, that is, increasing the size of the convolution kernel or increasing the size of the convolution kernel by the amplification coefficient. The method proposed in this application expands the convolution receptive field by increasing the amplification rate, thereby achieving multi-scale. After the dilated convolution is introduced in this application, the time domain convolution can be expressed as:

[0052]

[0053] Among them, α is the dilation rate of the dilated convolution.

[0054] The multi-scale temporal convolutional network uses dilated convolution to extract content information of different scales and keep the resolution of the output feature map unchanged. The dilation rate α of the dilated convolution in the network is [1,2,...,d]. Finally, the features of different scales are cascaded and fused. When α=1, the receptive field of the convolution kernel is 3*1=3, and the number of parameters is 3. When α=2, the receptive field of the convolution kernel is 5*1=5, which is equivalent to a 5*1 convolution kernel, but the number of parameters is still 3, such as Figure 5 As shown:

[0055] In order to learn time domain features, the stability of the network becomes particularly important. Inspired by the ResNet network, an identity mapping is added to increase the stability of the network. After adding the identity mapping to the multi-scale time domain network, the output expression is:

[0056] F(x T )=F α (x T )+x T (7)

[0057] This application embeds MTCN into the baseline model spatiotemporal graph convolutional network and constructs a human behavior recognition algorithm based on multi-scale temporal convolutional network (MT-AGCN model). The spatiotemporal feature extraction network of the MT-AGCN model in this application is mainly composed of 9 spatiotemporal convolutional network modules (B1-B9), such as Figure 6 As shown, they are B1(3, 64, 1), B2(64, 64, 1), B3(64, 64, 1), B4(64, 128, 1), B5(128, 128, 1), B6(128, 128, 1), B7(128, 256, 1), B8(256, 256, 1) and B9(256, 256, 1). The three numbers of each spatiotemporal convolutional network module represent the number of input channels, the number of output channels and the step size. The final output is sent to a Softmax classifier to obtain the classification result. The internal structure of each spatiotemporal convolutional network module is shown in Figure 7 As shown in the figure, Convs represents the spatial graph convolutional network, MTCN represents the multi-scale temporal convolutional network, BN layer (batch normalization layer) represents the normalization of data, ReLU layer can only activate some neurons to make the network sparse and reduce the mutual dependence between parameters; Dropout layer can prevent overfitting, where the drop rate is set to 0.5. In addition, a residual connection is added to each module to solve the gradient disappearance problem.

[0058] Among them, the graph convolution is followed by a BN layer. The formula of the batch function used in the BN layer is as follows:

[0059]

[0060]

[0061]

[0062]

[0063] In formulas (8)-(11), μ B , y i They represent the batch data mean, data variance, normalization, scale change and offset respectively; m represents the number of samples in a single batch; ε is a small variable to prevent the denominator from being zero; β and γ represent the learnable variables of the BN layer.

[0064] In the recognition model described in this application, the activation function used in the graph convolution is the Rectified Linear Units (ReLU) function, and the calculation formula of the ReLU function is:

[0065]

[0066] In the recognition model described in this application, the last fully connected layer uses the Softmax function as the activation function to calculate the probability of sample classification. The specific calculation formula is:

[0067] g i = {g i |i=1,2,3,…,C} (13)

[0068]

[0069] In formula (13-14), C is the total number of categories; g i represents the probability of the i-th category obtained after the fully connected layer. The category with the highest probability is the recognized action category; C i is the i-th action category.

[0070] like Figure 1 As shown, the MT-AGCN model of this application inherits the idea of ​​the dual-stream framework of the baseline model, models the first-order information (Joint stream) and the second-order information (Bone stream) simultaneously, and finally adds the softmax scores of the two streams to obtain the final prediction score.

[0071] The model is trained according to the principle of neural network back propagation, and the data set is divided into a training set and a test set. The initial learning rate of the model in this application is 0.05, the batch size during training is 32, and the parameter epoch value is determined according to the convergence of the loss value of the model training. When the loss value of the model training based on the public data set NTU-RGBD60 reaches a convergence state, the epoch is 70.

[0072] After the model is trained, the correctness of the model's action recognition is tested using samples from the test set. The MT-AGCN model of this application expands the receptive field area through different branches and extracts time domain feature information of different scales. Compared with the basic model, the test accuracy of the MT-AGCN model of this application on the public data set is greatly improved, as shown in Table 1.

[0073] It can be seen that this application designs and embeds a multi-scale time domain network module based on the baseline model 2s-AGCN, constructs the MT-AGCN model, and finally trains and tests the model. From the results, it is found that this application can effectively improve the recognition accuracy. Table 1 shows the test accuracy of the public dataset NTU-RGBD60.

[0074] This application uses the 3D skeleton action recognition public dataset NTU-RGB+D60, which contains 3D skeleton sequences collected by Microsoft Kinect. There are two test protocols, namely cross-performer (X-Sub) and cross-view (X-View) protocols, with a total of 56,880 samples and 60 action categories. As can be seen from Table 1, the accuracy of this application based on the X-Sub test protocol on the public dataset can be improved by 1.1%; the accuracy based on the X-View test protocol can be improved by 0.5%, which proves the effectiveness of this application.

[0075] The following is a detailed introduction to the experimental design and result analysis using the MT-AGCN model constructed in this application.

[0076] About the dataset:

[0077] NTU-RGB+D60: NTU-RGB+D60 is a public 3D human skeleton behavior dataset. The dataset contains 60 behavior categories and a total of 56,880 video samples, which are completed by 40 volunteers aged between 10 and 35 years old. Each type of behavior is captured by 3 cameras. The 3 cameras are shot at the same height but different horizontal angles, namely -45°, 0°, and 45°. The dataset uses the Kinect depth sensor to detect the 3D skeleton point sequence of each frame of the human body. Each person in the skeleton sequence has 25 skeleton points, and the total number of people in all videos does not exceed 2. Two benchmarks are provided in the literature to divide the dataset: X-Sub and X-View. Among them, X-Sub divides the dataset into a training set (40,320 videos) and a validation set (16,560 videos) according to the different participants in the video; X-View uses 37,920 videos captured by cameras 1 and 3 as the training set, and 18,960 videos captured by camera 2 as the validation set. This application will follow the above two division methods to evaluate the method proposed in this application, among which 302 samples are erroneous samples and do not participate in the training and testing of the model.

[0078] NTU-RGB+D120: Like NTU-RGB+D60, this dataset is a public dataset for 3D behavior recognition, and provides two benchmarks to divide the dataset: X-Sub and X-Set. X-Sub divides the dataset into a training set (63,026 videos) and a validation set (50,919 videos) according to the different participants in the shot videos; X-Set divides the dataset according to the video number, with even-numbered videos as training sets (54,468 videos) and odd-numbered videos as test sets (59,477 videos). This application will follow the above two division methods to evaluate the method proposed in this application, of which 503 samples are erroneous samples and do not participate in the training and testing of the model.

[0079] All experiments in this application use Pytorch as the deep learning framework. The number of samples selected for a single training is 32, the weight decay rate is set to 0.0005, the total number of iterations is set to 70, the initial learning rate is set to 0.05, the batch size is 32, and it is divided by 10 at the 30th and 40th iterations respectively. After completing the training of the two single-stream networks using the above method, the output features of the two networks are extracted respectively, and after feature fusion, they are sent to Softmax to obtain the final recognition result.

[0080] About ablation experiment:

[0081] In order to verify the effectiveness of the method proposed in this application, we designed a comparative experiment and compared its performance with the baseline model 2s-AGCN and other common algorithms.

[0082] 1. Experimental Analysis of Association Knowledge Based on Indirect Nodes

[0083] In order to explore the effectiveness of the method of introducing related knowledge of indirect nodes (IRK), the accuracy was compared with the 2s-AGCN model and the ST-GCN model on the NTU-RGB+D60 public dataset. The experimental results are shown in Table 1.

[0084] Table 1 Experimental results based on indirect node association knowledge

[0085]

[0086] It can be concluded from Table 1 that the performance of adding indirect node association knowledge is different for different models. Compared with the 2s-AGCN model, the improved 2s-AGCN model has an accuracy improvement of 0.7% and 0.3% under the X-Sub and X-View partitioning methods respectively; compared with the ST-GCN model, the improved ST-GCN model has an accuracy improvement of 2.0% and 1.3% under the X-Sub and X-View partitioning methods respectively. This experiment shows that introducing indirect node association knowledge in graph convolutional networks can effectively improve the accuracy of behavior recognition.

[0087] When the indirect node connections are different, the model recognition effect is also different. The public data set used in this application divides the human skeleton nodes into 25 nodes, numbered from 0 to 24. Through experiments, the indirect node connections of (12, 2), (8, 2), (18, 2), (14, 2), (22, 2), (20, 2), and (25, 12) have better effects.

[0088] 2. Experimental analysis based on multi-scale time-domain convolutional networks

[0089] This group of experiments is used to verify the effect of multi-scale temporal convolutional networks in behavior recognition tasks. The multi-scale temporal convolutional network is integrated into the graph convolutional neural network framework to obtain a multi-scale spatiotemporal convolutional network and implement end-to-end training. On the NTU-RGB+D60 dataset, the 2s-AGCN model with a multi-scale temporal convolutional network has an accuracy improvement of 1.1% and 0.4% under the X-Sub and X-View partitioning methods, respectively. The experimental results are shown in Table 2. This experiment shows that after adding a multi-scale temporal convolutional network, the recognition performance is significantly improved.

[0090] Table 2 Experimental results based on multi-scale time domain convolutional network

[0091]

[0092] Experimental results and analysis

[0093] In order to explore the effectiveness of the associated knowledge embedded in the indirect nodes and the multi-scale temporal convolutional network, corresponding tests were performed on the public datasets NTU-RGB+D60 and NTU-RGB+D120, and the experimental results are shown in Tables 3 and 4.

[0094] Table 3 Comparative experimental results on the NTU-RGB+D60 dataset

[0095]

[0096] Table 4 Comparative experimental results on the NTU-RGB+D120 dataset

[0097]

[0098] In Table 3, the baseline model 2s-AGCN has an accuracy of 88.5% and 95.1% under the X-Sub and X-View partitioning methods respectively; this application combines the association knowledge of indirect nodes with the multi-scale time domain convolutional network, and the accuracy under the X-Sub and X-View partitioning methods is 90.0% and 95.4% respectively, the accuracy of the Joint stream in a single stream under the X-Sub and X-View partitioning methods is 87.6% and 93.9% respectively, and the accuracy of the Bone stream in a single stream under the X-Sub and X-View partitioning methods is 88.5% and 94.0% respectively.

[0099] In Table 4, the accuracy of 2s-AGCN under the two partitioning methods is 82.9% and 84.9% respectively; this application combines the association knowledge of indirect nodes with the multi-scale time domain convolutional network, and the accuracy under the X-Sub and X-Set partitioning methods is 85.6% and 87.1% respectively. In terms of recognition accuracy, the performance of this application method is more significant than that of other models. The accuracy of the Joint stream in a single stream under the X-Sub and X-View partitioning methods is 81.7% and 83.5% respectively, and the accuracy of the Bone stream in a single stream under the X-Sub and X-View partitioning methods is 83.8% and 85.1% respectively.

[0100] On the NTU-RGB+D60 dataset, the accuracy of the proposed method under the X-Sub and X-View partitioning methods is improved by 1.5% and 0.3% respectively compared with the baseline model 2s-AGCN; the recognition accuracy of the proposed method is improved by 8.5% (7.1%) and 0.8% (0.4%) on X-Sub (X-View) compared with the representative methods ST-GCN (Yan et al., 2018) and AGC-LSTM (Si et al., 2019). On the NTU-RGB+D120 dataset, the accuracy of the proposed method under the X-Sub and X-View partitioning methods is improved by 2.7% and 2.2% respectively compared with the 2s-AGCN model; at the same time, the comparison results of different methods on the dataset are given, which are better than other algorithms.

[0101] Through the above comparative analysis, we can see that compared with the existing advanced methods, the method of this application is superior in the time domain extraction of human behavior, can extract time domain information at multiple scales, and effectively analyze the difference characteristics of behavior skeleton nodes in the time domain by using a time domain convolutional network, so as to more effectively analyze and extract human behavior expression information. Therefore, the method of this application can better realize human behavior recognition in the skeleton.

[0102] Under the X-Sub partitioning method of the NTU-RGB+D60 dataset, we compared the accuracy of the baseline model 2s-AGCN and the model of this application MT-GCN on each category of the Bone stream, as shown in Figure 8 As shown in the figure, the horizontal axis is the accuracy and the vertical axis is the behavior category number. For the specific behavior names, please refer to the official website of the public dataset NTU-RGB+D.

[0103] from Figure 8 It can be clearly seen that compared with the baseline, MT-GCN outperforms the baseline in most cases, and even improves the accuracy by more than 5% on categories 11, 12, 29, and 44. The accuracy of the MT-GCN model of this application is 1.5% higher than that of the 2s-AGCN model under the X-Sub partitioning method of the NTU-RGB+D60 dataset, among which the accuracy of category 11 (reading) in the Bone stream is improved by 6.0%, the accuracy of category 12 (writing) is improved by 8.0%, the accuracy of category 29 (making phone calls) is improved by 8.0%, and the accuracy of category 44 (headache) is improved by 5.0%.

[0104] It can be seen that the method of this application has a good characterization ability for some special motion states in human behavior, and can effectively solve the problem of recognition errors caused by small differences between classes and similar behavior data, such as reading and writing, making a phone call and having a headache, etc. In addition, this application uses a multi-scale time domain convolutional network to extract features of different scales from time domain information, and cascades and fuses time domain features of different scales, ensuring that the model retains more useful information in the time domain feature extraction link.

[0105] in conclusion

[0106] In order to accurately identify human behavior categories, this application proposes a human behavior recognition algorithm based on a multi-scale spatiotemporal graph convolutional network. The main research object is 3D skeleton data based on human behavior. The main contributions are:

[0107] 1) In order to mine more useful node association information, a skeleton graph structure with indirect node connections is introduced.

[0108] 2) In order to solve the problem of insufficient extraction of time domain information due to single-scale convolution in the recognition process, a multi-scale time domain convolutional network is adopted to extract time domain features at multiple scales to improve recognition accuracy.

[0109] 3) The recognition effect of the multi-scale spatiotemporal graph convolutional network human behavior recognition model of this application is better than most models.

[0110] The multi-scale spatiotemporal graph convolutional network human behavior recognition adopted in this application can effectively solve the recognition problem of small inter-class differences in behavior and effectively improve the accuracy of human behavior recognition. However, there are still some problems with the human behavior recognition algorithm, such as redundant node interference in the recognition process, which affects the recognition effect. In future work, we plan to apply the attention mechanism to the model, and use the attention mechanism to focus on important node association information in the behavior; we will also combine 3D skeleton sequences with objects for research, so as to apply behavior recognition technology to complex scenarios, so that it can be better applied to society and serve the society.

[0111] The various parts in this manual are described in a progressive manner, and each part focuses on the differences from other parts. The same or similar parts between the various parts can be referenced to each other.

[0112] The above description of the disclosed embodiments enables professionals and technicians in the field to implement or use the present application. Various modifications to these embodiments will be apparent to professionals and technicians in the field, and the general principles defined in this application can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown in the application, but will conform to the widest range consistent with the principles and novel features disclosed in the application.

Claims

1. A human behavior recognition method, characterized in that: include: Construct a spatiotemporal skeleton graph based on the natural connectivity of human node structure and time; The multi-scale temporal convolutional network module is embedded into the 2s-AGCN network model to obtain the initial multi-scale spatiotemporal convolutional network human behavior recognition model; The training data set is combined with the constructed spatiotemporal skeleton graph to train the initial multi-scale spatiotemporal convolutional network human behavior recognition model to obtain the final multi-scale spatiotemporal convolutional network human behavior recognition model; The test data set is combined with the constructed spatiotemporal skeleton graph and input into the final multi-scale spatiotemporal convolutional network human behavior recognition model to obtain the recognition result; The multi-scale time-domain convolutional network module performs multi-scale feature extraction on the time-domain information, uses dilated convolution to extract content information of different scales, and keeps the resolution of the output feature map unchanged. The dilation rate α of the dilated convolution in the network is [1, 2, ..., d]. Finally, the features of different scales are cascaded and fused. When α = 1, the receptive field of the convolution kernel is 3*1 = 3, and the parameter amount is 3; when α = 2, the receptive field of the convolution kernel is 5*1 = 5, which is equivalent to a 5*1 convolution kernel with a parameter amount of 3. Among them, the spatiotemporal feature extraction network in the human behavior recognition model of the multi-scale spatiotemporal convolutional network is composed of 9 spatiotemporal convolutional network modules (B1-B9), and the three numbers of each spatiotemporal convolutional network module represent the number of input channels, the number of output channels and the step size respectively; Among them, the spatiotemporal convolutional network module includes Convs, MTCN, BN layer, ReLU layer, Dropout layer and a residual connection; among them, Convs represents the spatial graph convolutional network, MTCN represents the multi-scale temporal convolutional network, BN layer batchnormalization layer represents the normalization of data, ReLU layer can only activate some neurons to make the network sparse and reduce the mutual dependence between parameters; Dropout layer can prevent overfitting, where the drop rate is set to 0.5, and a residual connection is added to each module to solve the gradient disappearance problem.

2. A human behavior recognition method according to claim 1, characterized in that: According to the natural connectivity of human node structure and time, a spatiotemporal skeleton graph is constructed, including: Based on the natural connectivity of human node structure and time, as well as the association knowledge of indirect nodes in the human body, a spatiotemporal skeleton graph is constructed.