Highly compact human body long-time motion prediction method based on full MLP architecture

Through the dynamic spatiotemporal feature perception module and multi-time joint prediction module of the full MLP architecture, the problem of large computing resources for human motion prediction and insufficient long-term prediction accuracy in the prior art is solved, and efficient and accurate human motion prediction is achieved. In various application scenarios.

CN119251867AActive Publication Date: 2025-01-03ZHEJIANG UNIV OF TECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411276030.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-12
Publication Date
2025-01-03
Estimated Expiration
2044-09-12

AI Technical Summary

Technical Problem

The existing human motion prediction technology has insufficient in capturing the strong spatial and temporal correlation of human motion. Due to the large computing resource consumption and the skeleton relationship diagram of specific design, the model is difficult to run on resource-constrained devices, and the accuracy of long-term predictions and lack of reliability, especially in rapidly changing environments.

Method used

Using a highly compact human body long-term motion prediction method based on the full MLP architecture, the dynamic spatiotemporal feature perception module and multi-time joint prediction module can reduce the computational complexity, improve the prediction accuracy and reliability, and is suitable for resource-constrained devices. Achieve high-precision predictions over a long period of time.

Benefits of technology

It realizes a lightweight design, reduces computing resource consumption, improves prediction accuracy and reliability, and is suitable for application scenarios with fast response and high prediction accuracy, such as autonomous driving, human-computer interaction and public safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119251867A_ABST
    Figure CN119251867A_ABST
Patent Text Reader

Abstract

The invention discloses a highly compact human body long-time motion prediction method based on a full MLP architecture, and the method comprises the steps: obtaining original time sequence human body skeleton data, carrying out the preprocessing, converting the original time sequence human body skeleton data from a time domain to a frequency domain, and then mapping the original time sequence human body skeleton data to a high-dimensional space, so as to form a high-dimensional space feature; establishing a full MLP architecture model, wherein the full MLP architecture model comprises N dynamic spatio-temporal feature sensing modules which are connected in sequence; inputting the high-dimensional spatial features into a full MLP architecture model to obtain first extraction features; the first extraction feature is recovered from a high-dimensional space to a three-dimensional space through layer normalization and a first linear layer in sequence; converting the recovered first extraction feature from a frequency domain to a time domain to form a second extraction feature; and inputting the second extraction feature into a multi-period joint prediction module to obtain a final prediction result. And the parameter quantity of the model is greatly reduced through lightweight design, so that the calculation complexity and resource consumption are reduced, the prediction accuracy and reliability are improved, and the universality is good.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of computer vision and machine learning, and in particular relates to a highly compact human long-term motion prediction method based on a full MLP architecture. Background Art

[0002] Human motion prediction technology has broad application prospects in the field of artificial intelligence, including but not limited to autonomous driving, human-computer interaction, motion monitoring, and public safety. Accurate human motion prediction can significantly improve the performance and user experience of these applications.

[0003] Existing technologies usually use the following technical solutions for human motion prediction, including: 1) Methods that mainly rely on hidden Markov models and linear dynamic systems. These methods have shown certain potential in capturing simple reciprocating motions such as walking. However, they face the challenge of insufficient accuracy when processing complex movements; 2) Recurrent Neural Networks (RNNs): RNN-based methods are valued for their advantages in processing sequence data. These methods embed human posture into a latent space through an encoding-recursive decoding framework to predict future motion. Nevertheless, RNNs have limitations in spatial perception, resulting in significant cumulative errors; 3) Graph Convolutional Networks (GCNs): Utilizing the trajectory, time and space information of human posture, high-precision prediction is achieved by constructing a spatiotemporal architecture. However, GCN-based methods usually rely on manually designed skeleton relationship graphs, which not only increases the complexity of the network, but also limits the versatility and portability of the model; 4) Lightweight networks: There are often some problems in prediction accuracy and prediction range, especially in application scenarios that require fast response and high prediction accuracy.

[0004] Therefore, the existing technology has at least the following limitations: it is insufficient in capturing the strong spatial and temporal correlation of human motion, it is difficult to run on resource-constrained mobile devices due to the large amount of computing resources required, the specifically designed skeleton relationship graph limits the versatility and adaptability of the model, and the accuracy and reliability of long-term prediction remains a challenge, especially in rapidly changing environments. Summary of the invention

[0005] The purpose of the present invention is to address the above-mentioned problems and propose a highly compact long-term human motion prediction method based on a full MLP architecture, which achieves a lightweight design and greatly reduces the number of model parameters, thereby reducing computational complexity and resource consumption, improving the accuracy and reliability of the prediction and having good versatility.

[0006] To achieve the above object, the technical solution adopted by the present invention is:

[0007] The present invention proposes a highly compact human long-term motion prediction method based on a full MLP architecture, comprising the following steps:

[0008] S1. Obtaining original time series human skeleton data and preprocessing it. The preprocessing is to transform the original time series human skeleton data from the time domain to the frequency domain and then map it to a high-dimensional space to form a high-dimensional space feature;

[0009] S2. Establish a full MLP architecture model. The full MLP architecture model includes N sequentially connected dynamic spatiotemporal feature perception modules. The dynamic spatiotemporal feature perception module performs the following operations:

[0010] S21, using a spatial multilayer perceptron and a temporal multilayer perceptron to extract input features respectively, and correspondingly obtaining spatial features and temporal features, the spatial multilayer perceptron is a multilayer perceptron acting on the spatial dimension, and the temporal multilayer perceptron is a multilayer perceptron acting on the temporal dimension;

[0011] S22, adding the spatial features and the temporal features to the input features respectively, to obtain spatial fusion features and temporal fusion features respectively;

[0012] S23, using a dynamic aggregation mechanism to aggregate spatial fusion features and temporal fusion features into spatiotemporal features;

[0013] S24, using a channel multilayer perceptron to enhance the spatiotemporal features to obtain channel enhancement features, where the channel multilayer perceptron is a multilayer perceptron acting on the channel dimension;

[0014] S25, adding the channel enhancement feature to the spatiotemporal feature to obtain an output feature;

[0015] S3, input the high-dimensional spatial features into the full MLP architecture model to obtain the first extracted features, which are the output features of the last dynamic spatiotemporal feature perception module;

[0016] S4, restoring the first extracted features from the high-dimensional space to the three-dimensional space through layer normalization and the first linear layer in sequence;

[0017] S5, transforming the restored first extracted features from the frequency domain to the time domain to form second extracted features;

[0018] S6. Input the second extracted features into a multi-period joint prediction module to obtain a final prediction result. The multi-period joint prediction module includes a plurality of parallel second linear layers with different time periods, and performs the following operations:

[0019] After adding the second linear layers of different time periods to the last frame of human skeleton data in the original time series human skeleton data, they are sequentially spliced ​​in the time direction to form the final prediction result.

[0020] Preferably, the high-dimensional space feature is expressed by the following formula:

[0021]

[0022] In the formula, Represents the original time series human skeleton data, T o Represents the number of frames in the original temporal human skeleton data, Represents the three-dimensional coordinate data of each node of the human skeleton in the mth frame, m∈[-T o ,-1], K represents the number of nodes of each frame of human skeleton data, DCT represents discrete cosine transform, W 0 represents the weight of the third linear layer, b 0 represents the bias of the third linear layer, Y 0 Represents high-dimensional space features.

[0023] Preferably, there are eight dynamic spatiotemporal feature perception modules.

[0024] Preferably, the multilayer perceptron includes layer normalization, GELU activation function, fourth linear layer and fifth linear layer connected in sequence, which are expressed by the following formula:

[0025] MLP(Y in )=W 2 (GELU(W 1 LN(Y in )+b 1 ))+b 2 ,

[0026] Where MLP(·) represents a multi-layer perceptron, Y in Represents the input features of the multilayer perceptron, W 1 represents the weight of the fourth linear layer, b 1 represents the bias of the fourth linear layer, W 2 represents the weight of the fifth linear layer, b 2 represents the bias of the fifth linear layer, LN represents layer normalization, and GELU represents the GELU activation function.

[0027] Preferably, the dynamic aggregation mechanism is represented by the following formula:

[0028]

[0029] In the formula, represents the spatial fusion feature of the i-th dynamic spatiotemporal feature perception module, represents the temporal fusion feature of the i-th dynamic spatiotemporal feature perception module, i = 1~N, Concat represents the concatenation of the channel dimension, represents the weight of the sixth linear layer in the i-th dynamic spatiotemporal feature perception module, represents the bias of the sixth linear layer in the i-th dynamic spatiotemporal feature perception module, σ represents the sigmoid activation function, represents the spatiotemporal feature dynamic coefficient learned by the i-th dynamic spatiotemporal feature perception module, represents the spatial dynamic coefficient learned by the i-th dynamic spatiotemporal feature perception module, represents the temporal dynamic coefficient learned by the i-th dynamic spatiotemporal feature perception module, Represents the output features of the dynamic aggregation mechanism in the i-th dynamic spatiotemporal feature perception module.

[0030] Preferably, the second extracted feature is expressed by the following formula:

[0031] Y p =DCT -1 (W p (LN(Y N ))+b p ),

[0032] Where Y N represents the output feature of the Nth dynamic spatiotemporal feature perception module, i.e., the first extracted feature, LN represents layer normalization, and W p represents the weight of the seventh linear layer, b p Represents the bias of the seventh linear layer, DCT -1 represents the inverse discrete cosine transform, Y p represents the second extracted feature.

[0033] Preferably, the multi-time period joint prediction module includes four parallel second linear layers corresponding to four different time periods: short time, long time, super long time, and extremely long time.

[0034] Preferably, the final prediction result is expressed by the following formula:

[0035]

[0036] In the formula, Represents the final prediction result, that is, the human skeleton data of the prediction sequence, Represents the three-dimensional coordinate data of each node of the human skeleton in the nth frame, n∈[0,T p -1], T p Indicates the number of predicted frames, X st represents the prediction sequence of the second linear layer in the short time period corresponding to the 0th frame to the n1-1th frame, X lt represents the prediction sequence of the second linear layer in the long time period corresponding to the 0th frame to the n2-1th frame, X eltrepresents the prediction sequence of the second linear layer in the ultra-long time period corresponding to the 0th frame to the n3-1th frame, X eelt The second linear layer corresponds to the 0th frame to the Tth frame. p -1 frame prediction sequence, represents the weight of the second linear layer in the short time period, represents the bias of the second linear layer in the short time period, represents the weight of the second linear layer in the long term, represents the bias of the second linear layer in the long term, represents the weight of the second linear layer in the ultra-long time period, represents the bias of the second linear layer for a very long time period, represents the weight of the second linear layer at very long time intervals, represents the bias of the second linear layer at very long time intervals, T o represents the number of frames in the original time series human skeleton data, K represents the number of nodes in each frame of human skeleton data, and Y p represents the second extracted feature, R st (x -1 ) represents the short-term residual sequence, R lt (x -1 ) represents the long-term residual sequence, R elt (x -1 ) represents the residual sequence of the ultra-long time period, R eelt (x -1 ) represents the extremely long time period residual sequence, which is the last frame of human skeleton data in the original time series human skeleton data with the same length of time period. T represents the splicing of the time dimension, represents the prediction sequence from frame 0 to frame n1-1 in a short time period, represents the predicted sequence from the n1th frame to the n2-1th frame in the long time period, represents the predicted sequence from the n2th frame to the n3-1th frame in the ultra-long time period, Indicates the extremely long time period from frame n3 to frame T p -1 frame prediction sequence, n1 represents the first frame of a long time period, n2 represents the first frame of a super long time period, and n3 represents the first frame of an extremely long time period. The range of n1, n2, and n3 is (0, T p -1).

[0037] Compared with the prior art, the present invention has the following beneficial effects:

[0038] The present application is a highly compact human long-term motion prediction method based on the full MLP architecture. Based on the full MLP architecture model, the human body's continuous motion in the future period of time is predicted by analyzing the original sequence human skeleton data. It can not only achieve high-precision and high-efficiency prediction in a lightweight way, but also achieve a longer prediction range while maintaining simplicity and understandability. It is suitable for application scenarios that require rapid response and extended prediction range, such as autonomous driving, human-computer interaction, motion monitoring and public safety. Specifically: First, the dynamic spatiotemporal feature perception module (STDP) improves the computational efficiency and maintains interpretability, in which different but parallel spatial multi-layer perceptrons (SMLP) and temporal multi-layer perceptrons (TMLP) simultaneously capture the spatial correlation between the human skeleton posture joints and the temporal dynamics of each joint. Then the dynamic aggregation mechanism (DA) is combined with the channel multi-layer perceptron (CMLP) to dynamically integrate and refine the spatial and temporal features, thereby improving the prediction accuracy. Secondly, the multi-period joint prediction module (MTUP) can accurately predict the preset time period (such as 0-4000ms), avoiding repeated short-term prediction iterations, and realizing accurate prediction of complex human motion, which has broad application prospects. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is a flow chart of a highly compact human long-term motion prediction method based on a full MLP architecture of the present invention;

[0040] Figure 2 It is a schematic diagram of the overall network architecture of the present invention. DETAILED DESCRIPTION

[0041] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0042] It should be noted that when a component is referred to as being "connected" to another component, it may be directly connected to the other component or there may be an intermediate component. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art in the technical field of this application. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.

[0043] In view of the limitations of the prior art, the present invention aims to provide an excellent human motion prediction network architecture, which can not only achieve high-precision prediction of complex human motion in a lightweight manner, but also achieve a longer prediction range while maintaining simplicity and comprehensibility, and can adapt to different application scenarios, especially application scenarios such as autonomous driving, human-computer interaction, motion monitoring, and public safety that have extremely high requirements for real-time and accuracy.

[0044] like Figure 1-2 As shown, a highly compact human long-term motion prediction method based on a full MLP architecture includes the following steps:

[0045] S1. Obtain original time series human skeleton data and perform preprocessing. The preprocessing is to transform the original time series human skeleton data from the time domain to the frequency domain and then map it to a high-dimensional space to form a high-dimensional space feature.

[0046] In one embodiment, the high-dimensional space feature is expressed by the following formula:

[0047]

[0048] In the formula, Represents the original time series human skeleton data, T o Represents the number of frames in the original temporal human skeleton data, Represents the three-dimensional coordinate data of each node of the human skeleton in the mth frame, m∈[-T o ,-1], K represents the number of nodes of each frame of human skeleton data, DCT represents discrete cosine transform, W 0 represents the weight of the third linear layer, b 0 represents the bias of the third linear layer, Y 0 Represents high-dimensional space features.

[0049] Specifically, Figure 2 As shown, for the input original temporal human skeleton data Use discrete cosine transform (DCT) and a linear layer to convert it into a high-dimensional spatial feature.

[0050] S2. Establish a full MLP architecture model. The full MLP architecture model includes N sequentially connected dynamic spatiotemporal feature perception modules. The dynamic spatiotemporal feature perception module performs the following operations:

[0051] S21, using a spatial multilayer perceptron and a temporal multilayer perceptron to extract input features respectively, and correspondingly obtaining spatial features and temporal features, the spatial multilayer perceptron is a multilayer perceptron acting on the spatial dimension, and the temporal multilayer perceptron is a multilayer perceptron acting on the temporal dimension;

[0052] S22, adding the spatial features and the temporal features to the input features respectively, to obtain spatial fusion features and temporal fusion features respectively;

[0053] S23, using a dynamic aggregation mechanism to aggregate spatial fusion features and temporal fusion features into spatiotemporal features;

[0054] S24, using a channel multilayer perceptron to enhance the spatiotemporal features to obtain channel enhancement features, where the channel multilayer perceptron is a multilayer perceptron acting on the channel dimension;

[0055] S25. Add the channel enhancement feature to the spatiotemporal feature to obtain the output feature.

[0056] In one embodiment, there are eight dynamic spatiotemporal feature perception modules.

[0057] In one embodiment, the multilayer perceptron includes layer normalization, GELU activation function, fourth linear layer and fifth linear layer connected in sequence, which are represented by the following formula:

[0058] MLP(Y in )=W 2 (GELU(W 1 LN(Y in )+b 1 ))+b 2 ,

[0059] Where MLP(·) represents a multi-layer perceptron, Y in Represents the input features of the multilayer perceptron, W 1 represents the weight of the fourth linear layer, b 1 represents the bias of the fourth linear layer, W 2 represents the weight of the fifth linear layer, b 2 represents the bias of the fifth linear layer, LN represents layer normalization, and GELU represents the GELU activation function.

[0060] In one embodiment, the dynamic aggregation mechanism is represented by the following formula:

[0061]

[0062] In the formula, represents the spatial fusion feature of the i-th dynamic spatiotemporal feature perception module, represents the temporal fusion feature of the i-th dynamic spatiotemporal feature perception module, i = 1~N, Concat represents the concatenation of the channel dimension, represents the weight of the sixth linear layer in the i-th dynamic spatiotemporal feature perception module, represents the bias of the sixth linear layer in the i-th dynamic spatiotemporal feature perception module, σ represents the sigmoid activation function, represents the spatiotemporal feature dynamic coefficient learned by the i-th dynamic spatiotemporal feature perception module, represents the spatial dynamic coefficient learned by the i-th dynamic spatiotemporal feature perception module, represents the temporal dynamic coefficient learned by the i-th dynamic spatiotemporal feature perception module, Represents the output features of the dynamic aggregation mechanism in the i-th dynamic spatiotemporal feature perception module.

[0063] Specifically, Figure 2 As shown, the full MLP architecture model of this embodiment includes N=8 dynamic spatiotemporal feature perception modules (STDP) connected in sequence. The dynamic spatiotemporal feature perception module extracts the spatial features and temporal features of the human skeleton joints respectively by a spatial multilayer perceptron (SMLP) and a temporal multilayer perceptron (TMLP), adds the spatial features and the temporal features to the input features respectively, and obtains the spatial fusion features and the temporal fusion features accordingly. The dynamic aggregation mechanism (DA) is used to aggregate the spatial fusion features and the temporal fusion features into spatiotemporal features, and further enhances them using a channel multilayer perceptron (CMLP).

[0064] The SMLP, TMLP, and CMLP involved in the dynamic spatiotemporal feature perception module are implemented by the basic MLP acting on the spatial, temporal, and channel dimensions respectively, and the non-current working dimensions need to be hidden in the process. SMLP and TMLP act on the spatial and temporal dimensions of the input features respectively, and obtain spatial features and temporal features respectively. The spatial features and temporal features are added to the input features respectively, and the spatial fusion features and temporal fusion features are obtained respectively, which are expressed by the following formula:

[0065]

[0066] in, represents the spatial multilayer perceptron (SMLP), represents the temporal multilayer perceptron (TMLP), Y i-1 is the output feature of the i-1th dynamic spatiotemporal feature perception module (STDP) and is used as the input feature of the current i-th dynamic spatiotemporal feature perception module (STDP). The input of the first dynamic spatiotemporal feature perception module (STDP) is a high-dimensional spatial feature. represents the spatial fusion feature of the i-th dynamic spatiotemporal feature perception module, Represents the temporal fusion features of the i-th dynamic spatiotemporal feature perception module, i=1~N.

[0067] The dynamic aggregation mechanism (DA) is used to dynamically fuse the spatial fusion features and temporal fusion features of the current dynamic spatiotemporal feature perception module to balance spatial information and temporal information.

[0068] The channel multilayer perceptron (CMLP) acts on the channel dimension of the feature to further aggregate and enhance the learned spatiotemporal features, which can be expressed as follows:

[0069]

[0070] In the formula, represents the channel multi-layer perceptron (CMLP), Y i Represents the output features of the dynamic spatiotemporal feature perception module (STDP).

[0071] In summary, the output features of the dynamic spatiotemporal feature perception module (STDP) can reflect the spatiotemporal correlation of each learned node.

[0072] S3. Input the high-dimensional spatial features into the full MLP architecture model to obtain the first extracted features, which are the output features of the last dynamic spatiotemporal feature perception module.

[0073] S4. The first extracted features are restored from the high-dimensional space to the three-dimensional space through layer normalization and the first linear layer in sequence.

[0074] S5. Transform the restored first extracted features from the frequency domain to the time domain to form second extracted features.

[0075] In one embodiment, the second extracted feature is expressed by the following formula:

[0076] Y p =DCT -1 (W p (LN(Y N ))+b p ),

[0077] Where Y N represents the output feature of the Nth dynamic spatiotemporal feature perception module, i.e., the first extracted feature, LN represents layer normalization, and W p represents the weight of the seventh linear layer, b p Represents the bias of the seventh linear layer, DCT -1 represents the inverse discrete cosine transform, Y p represents the second extracted feature.

[0078] Among them, Figure 2 As shown, the output feature of the full MLP architecture model, that is, the output feature Y of the last dynamic spatiotemporal feature perception module N , use layer normalization and linear layers to restore from high-dimensional space to three-dimensional space, and use inverse discrete cosine transform (IDCT) to transform from frequency domain to time domain.

[0079] S6. Input the second extracted features into a multi-period joint prediction module to obtain a final prediction result. The multi-period joint prediction module includes a plurality of parallel second linear layers with different time periods, and performs the following operations:

[0080] After adding the second linear layers of different time periods to the last frame of human skeleton data in the original time series human skeleton data, they are sequentially spliced ​​in the time direction to form the final prediction result.

[0081] In one embodiment, the multi-period joint prediction module includes four parallel second linear layers, corresponding to four different time periods: short time, long time, super long time, and very long time. If the short time, long time, super long time, and very long time are divided in sequence, the division follows the rule that each frame in each time period is the future frame of the previous time period.

[0082] In one embodiment, the final prediction result is expressed by the following formula:

[0083]

[0084] In the formula, Represents the final prediction result, that is, the human skeleton data of the prediction sequence, Represents the three-dimensional coordinate data of each node of the human skeleton in the nth frame, n∈[0,T p -1], T p Indicates the number of predicted frames, X st represents the prediction sequence of the second linear layer in the short time period corresponding to the 0th frame to the n1-1th frame, X lt represents the prediction sequence of the second linear layer in the long time period corresponding to the 0th frame to the n2-1th frame, X elt represents the prediction sequence of the second linear layer in the ultra-long time period corresponding to the 0th frame to the n3-1th frame, X eelt The second linear layer corresponds to the 0th frame to the Tth frame. p -1 frame prediction sequence, represents the weight of the second linear layer in the short time period, represents the bias of the second linear layer in the short time period, represents the weight of the second linear layer in the long term, represents the bias of the second linear layer in the long term, represents the weight of the second linear layer in the ultra-long time period, represents the bias of the second linear layer for a very long time period, represents the weight of the second linear layer at very long time intervals, represents the bias of the second linear layer at very long time intervals, T o represents the number of frames in the original time series human skeleton data, K represents the number of nodes in each frame of human skeleton data, and Y p represents the second extracted feature, Rst (x -1 ) represents the short-term residual sequence, R lt (x -1 ) represents the long-term residual sequence, R elt (x -1 ) represents the residual sequence of the ultra-long time period, R eelt (x -1 ) represents the extremely long time period residual sequence, which is the last frame of human skeleton data in the original time series human skeleton data with the same length of time period. T represents the splicing of the time dimension, represents the prediction sequence from frame 0 to frame n1-1 in a short time period, represents the predicted sequence from the n1th frame to the n2-1th frame in the long time period, represents the predicted sequence from the n2th frame to the n3-1th frame in the ultra-long time period, Indicates the extremely long time period from frame n3 to frame T p -1 frame prediction sequence, n1 represents the first frame of a long time period, n2 represents the first frame of a super long time period, and n3 represents the first frame of an extremely long time period. The range of n1, n2, and n3 is (0, T p -1).

[0085] Specifically, the second extracted feature Y p The input is the multi-time period joint prediction module (MTUP), and the residuals are added through four linear layers representing different time periods of short, long, ultra-long, and extremely long time, and then concatenated in the time direction (i.e. Figure 2 The time series splicing in is used to form the final prediction result.

[0086] In this embodiment, the predicted frame number T p is 100, corresponding to the predicted duration of 0-4s, which can be expressed by the following formula:

[0087]

[0088] in, are four learnable parameters representing the linear layer of different time periods: short, long, super long, and extremely long. st (x -1 ), R lt (x -1 ), R elt (x -1 ), R eelt (x -1 ) respectively represent the residuals corresponding to different time periods of short time, long time, super long time and extremely long time. Finally, the predicted sequence human skeleton data is obtained Here, the short time period corresponds to frames 0 to 9, the long time period corresponds to frames 10 to 24, the super long time period corresponds to frames 25 to 49, and the extremely long time period corresponds to frames 50 to 99. It is easy to understand that the number of specific linear layers and the division of different time periods can also be adjusted according to actual needs.

[0089] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0090] The above-described embodiments only express the more specific and detailed embodiments described in this application, but they cannot be understood as limiting the scope of the patent application. It should be pointed out that for ordinary technicians in this field, several modifications and improvements can be made without departing from the concept of this application, which all belong to the protection scope of this application. Therefore, the protection scope of the patent application shall be based on the attached claims.

Claims

1. A highly compact human long-term motion prediction method based on a full MLP architecture, characterized by: The highly compact human long-term motion prediction method based on the full MLP architecture comprises the following steps: S1, obtaining original time series human skeleton data and performing preprocessing, wherein the preprocessing is to transform the original time series human skeleton data from the time domain to the frequency domain and then map it to a high-dimensional space to form a high-dimensional space feature; S2. Establish a full MLP architecture model, wherein the full MLP architecture model includes N sequentially connected dynamic spatiotemporal feature perception modules, and the dynamic spatiotemporal feature perception modules perform the following operations: S21, using a spatial multilayer perceptron and a temporal multilayer perceptron to extract input features respectively, and correspondingly obtaining spatial features and temporal features, wherein the spatial multilayer perceptron is a multilayer perceptron acting on the spatial dimension, and the temporal multilayer perceptron is a multilayer perceptron acting on the temporal dimension; S22, adding the spatial features and the temporal features to the input features respectively, to obtain spatial fusion features and temporal fusion features respectively; S23, using a dynamic aggregation mechanism to aggregate spatial fusion features and temporal fusion features into spatiotemporal features; S24, using a channel multilayer perceptron to enhance the spatiotemporal features to obtain channel enhancement features, wherein the channel multilayer perceptron is a multilayer perceptron acting on the channel dimension; S25, adding the channel enhancement feature to the spatiotemporal feature to obtain an output feature; S3, inputting the high-dimensional spatial features into the full MLP architecture model to obtain a first extracted feature, where the first extracted feature is the output feature of the last dynamic spatiotemporal feature perception module; S4, restoring the first extracted features from the high-dimensional space to the three-dimensional space through layer normalization and the first linear layer in sequence; S5, transforming the restored first extracted features from the frequency domain to the time domain to form second extracted features; S6. Input the second extracted features into a multi-period joint prediction module to obtain a final prediction result. The multi-period joint prediction module includes a plurality of parallel second linear layers with different time periods, and performs the following operations: After adding the second linear layers of different time periods to the last frame of human skeleton data in the original time series human skeleton data, they are sequentially spliced ​​in the time direction to form the final prediction result.

2. The highly compact human long-term motion prediction method based on the full MLP architecture as claimed in claim 1, characterized in that: The high-dimensional space feature is expressed by the following formula: In the formula, Represents the original time series human skeleton data, T o Represents the number of frames in the original temporal human skeleton data, Represents the three-dimensional coordinate data of each node of the human skeleton in the mth frame, m∈[-T o ,-1], K represents the number of nodes of each frame of human skeleton data, DCT represents discrete cosine transform, W 0 represents the weight of the third linear layer, b 0 represents the bias of the third linear layer, Y 0 Represents high-dimensional space features.

3. The highly compact human long-term motion prediction method based on full MLP architecture as claimed in claim 1, characterized in that: There are eight dynamic spatiotemporal feature perception modules.

4. The highly compact human long-term motion prediction method based on full MLP architecture as claimed in claim 1, characterized in that: The multilayer perceptron includes layer normalization, GELU activation function, fourth linear layer and fifth linear layer connected in sequence, which are expressed by the following formula: MLP(Y in )=W 2 (GELU(W 1 LN(Y in )+b 1 ))+b 2 , Where MLP(·) represents a multi-layer perceptron, Y in Represents the input features of the multi-layer perceptron, W 1 represents the weight of the fourth linear layer, b 1 represents the bias of the fourth linear layer, W 2 represents the weight of the fifth linear layer, b 2 represents the bias of the fifth linear layer, LN represents layer normalization, and GELU represents the GELU activation function.

5. The highly compact human long-term motion prediction method based on full MLP architecture as claimed in claim 1, characterized in that: The dynamic aggregation mechanism is expressed by the following formula: In the formula, represents the spatial fusion feature of the i-th dynamic spatiotemporal feature perception module, represents the temporal fusion feature of the i-th dynamic spatiotemporal feature perception module, i = 1~N, Concat represents the concatenation of the channel dimension, represents the weight of the sixth linear layer in the i-th dynamic spatiotemporal feature perception module, represents the bias of the sixth linear layer in the i-th dynamic spatiotemporal feature perception module, σ represents the sigmoid activation function, represents the spatiotemporal feature dynamic coefficient learned by the i-th dynamic spatiotemporal feature perception module, represents the spatial dynamic coefficient learned by the i-th dynamic spatiotemporal feature perception module, represents the temporal dynamic coefficient learned by the i-th dynamic spatiotemporal feature perception module, Represents the output features of the dynamic aggregation mechanism in the i-th dynamic spatiotemporal feature perception module.

6. The highly compact human long-term motion prediction method based on full MLP architecture as claimed in claim 1, characterized in that: The second extracted feature is expressed by the following formula: Y p =DCT -1 (W p (LN(Y N ))+b p ), Where Y N represents the output feature of the Nth dynamic spatiotemporal feature perception module, i.e., the first extracted feature, LN represents layer normalization, and W p represents the weight of the seventh linear layer, b p Represents the bias of the seventh linear layer, DCT -1 represents the inverse discrete cosine transform, Y p represents the second extracted feature.

7. The highly compact human long-term motion prediction method based on full MLP architecture as claimed in claim 1, characterized in that: The multi-time period joint prediction module includes four parallel second linear layers corresponding to four different time periods: short time, long time, super long time and extremely long time.

8. The highly compact human long-term motion prediction method based on full MLP architecture as claimed in claim 7, characterized in that: The final prediction result is expressed by the following formula: In the formula, Represents the final prediction result, that is, the human skeleton data of the prediction sequence, Represents the three-dimensional coordinate data of each node of the human skeleton in the nth frame, n∈[0,T p -1], T p Indicates the number of predicted frames, X st represents the prediction sequence of the second linear layer in the short time period corresponding to the 0th frame to the n1-1th frame, X lt represents the prediction sequence of the second linear layer in the long time period corresponding to the 0th frame to the n2-1th frame, X elt represents the prediction sequence of the second linear layer in the ultra-long time period corresponding to the 0th frame to the n3-1th frame, X eelt The second linear layer corresponds to the 0th frame to the Tth frame. p -1 frame prediction sequence, represents the weight of the second linear layer in the short time period, represents the bias of the second linear layer in the short time period, represents the weight of the second linear layer in the long term, represents the bias of the second linear layer in the long term, represents the weight of the second linear layer in the ultra-long time period, represents the bias of the second linear layer for a very long time period, represents the weight of the second linear layer at very long time intervals, represents the bias of the second linear layer at very long time intervals, T o represents the number of frames in the original time series human skeleton data, K represents the number of nodes in each frame of human skeleton data, and Y p represents the second extracted feature, R st (x -1 ) represents the short-term residual sequence, R lt (x -1 ) represents the long-term residual sequence, R ely (x -1 ) represents the residual sequence of the ultra-long time period, R eelt (x -1 ) represents a very long time period residual sequence, which is the last frame of human skeleton data in the original time series human skeleton data with the same length of time period. T represents the splicing of the time dimension, represents the prediction sequence from frame 0 to frame n1-1 in a short time period, represents the predicted sequence from the n1th frame to the n2-1th frame in the long time period, represents the predicted sequence from the n2th frame to the n3-1th frame in the ultra-long time period, Indicates the extremely long time period from frame n3 to frame T p -1 frame prediction sequence, n1 represents the first frame of a long time period, n2 represents the first frame of a super long time period, and n3 represents the first frame of an extremely long time period. The range of n1, n2, and n3 is (0, T p -1).

Citation Information

Patent Citations

  • Human motion prediction method based on time sequence grading and recombination mechanism

    CN115170613A

  • Skeleton self-supervision method and model based on partial spatio-temporal data

    CN115965995A

  • Feature fusion 3D human body posture estimation method based on GCN and Transform

    CN118212689A

  • Semi-Supervised Action-Actor Detection from Tracking Data in Sport

    US20210374419A1