Sign language skeleton point sequence generation method based on multi-level attention diffusion model

Through the combination of multi-level attention diffusion model and HierarchicalAttentive UNet, GLSP and global perceptron are used to extract sign language latent space representation, which solves the problems of low sign language action accuracy and unclear semantic information in the existing technology, and realizes richer sign language. Generation of bone point position information and semantic information.

CN118628616APending Publication Date: 2024-09-10XIDIAN UNIV
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410750413.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Existing sign language skeleton point sequence generation methods pay too much attention to timing information when processing sign language sequences, and ignore the position and action local information of gestures, resulting in low sign language action accuracy and unclear semantic information.

Method used

A sign language skeleton point sequence generation method based on a multi-level attention diffusion model is adopted. The sign language latent space representation predicted by GLSP is used as a condition to guide HAUnet-Diffusion to generate sign language videos. The spatial perception information of the features is enhanced through HierarchicalAttentive UNet, combined with the regional feature extractor and Global perceptron to alleviate the problem of information loss and insufficient semantic information.

Benefits of technology

It improves the accuracy of sign language movements and the richness of semantic information, reduces information loss, and enhances the semantic accuracy of sign language video generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628616A
    Figure CN118628616A
Patent Text Reader

Abstract

The invention discloses a sign language skeleton point sequence generation method based on a multi-level attention diffusion model, and the method comprises the steps: obtaining key points of an upper body and a hand part of a person in a sign language picture and corresponding Gloss data, and mapping the obtained high-dimensional sign language key point data into a low-dimensional space, the original sign language sequence frame data is converted into a more compact and more representative hidden space representation Latent. Meanwhile, Gloss data is processed into a vector form from a text sequence, a deep learning model Gloss-Based Latent Space Predictor (GLSP) is input, and a hidden space representation Latent of a sign language key point is obtained through prediction. And inputting the generated hidden space representation Latent into a forward diffusion model, destroying original data by adopting a training mode of a regional frozen network and a mode of gradually adding Gaussian noise, and then recovering original input data from noise data by learning a reverse diffusion process in a reverse diffusion stage, so as to obtain the original input data. Predicting original sign language skeleton point distribution by using the generative model; and the generated sign language skeleton point sequence has the advantages of high coherence and accurate semantics.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a human-computer interaction method, in particular to a sign language skeleton point sequence generation method based on a multi-level attention diffusion model. Background Art

[0002] Sign language is a visual gesture language that transmits information through gestures and body movements. It is a way for hearing-impaired people to communicate with the outside world. Real-time sign language communication has become an important topic in the current field of computer vision and natural language processing. Accurate sign language video generation can significantly improve the quality of communication between hearing-impaired and deaf people, and help people with disabilities better integrate into today's society. The goal of sign language skeleton point sequence video generation is to translate spoken sentences into personalized sign language skeleton point sequence videos that humans can understand.

[0003] At present, the generation of sign language skeleton point sequence video is mainly divided into two types: animation synthesis-based and deep learning-based. The generation of sign language video based on animation synthesis method has the advantages of convenient operation and high efficiency, but it relies on the construction of a large-scale sign language animation database, and the animation video lacks realistic details of action execution. The comprehensibility of the synthesized animation is still affected by the artificially designed appearance and action. Therefore, more and more research has begun to explore more flexible and natural sign language generation solutions.

[0004] The study of sign language generation is the process of converting sign language vocabulary into gesture movements, which is more challenging than the field of sign language recognition. Currently, the most popular and widely used research is based on Transformer. Zelinka et al. [Zelinka J, Kanis J. Neural sign language synthesis: Words are our glosses [C] / / Proceedings of the IEEE / CVF Winter Conference on Applications of Computer Vision. 2020: 3395-3403] constructed a relatively simple Transformer architecture between text sequences and sign language sequences to generate a sign language sequence for each text sequence; Saunders et al. [Saunders B, Camgoz NC, Bowden R. Progressive transformers for end-to-end sign language production [C] / / European Conference on Computer Vision. Springer, Cham, 2020: 687-705] [Saunders B, Camgoz NC, Bowden R. Signing at Scale: Learning to Co-Articulate Signs for Large-Scale Photo-Realistic Sign Language Production [C] / / Proceedings of the IEEE / CVF Conference on Computer Vision and Pattern Recognition.2022:5141-5151] designed a sign language generation network that can output dynamic length, and used Transformer to learn the mapping relationship between text and sign language.

[0005] With the continuous development of diffusion models, they have achieved certain results in the field of sign language generation. For example, Xie et al. [Xie P, Zhang Q, Taiying P, et al. G2P-DDM: Generating Sign Pose Sequence from Gloss Sequence with Discrete Diffusion Model [C] / / Proceedings of the AAAI Conference on Artificial Intelligence. 2024, 38 (6): 6234-6242] first used variational autoencoders (VAE) to model the latent space prior knowledge of sign language sequences, and then used diffusion models to simulate the mapping relationship between text sequences and latent space features. This method effectively alleviates the difficulties in constructing the mapping network, thereby generating higher quality and more natural sign language pose sequences. On the other hand, Fang et al. [Sen Fang, Chunyu Sui, Xuedong Zhang, and YapengTian.2023.SignDiff:Learn-ing Diffusion Models for American Sign LanguageProduction.arXiv preprint arXiv:2308.16082(2023)] used the Transformer model to predict sign language sequences, and then used the diffusion model to learn the features of real human images, thereby achieving style transfer of sign language sequences.

[0006] However, the above methods pay too much attention to the temporal information in the sign language sequence when processing the sign language sequence, and ignore the local information such as the position and movement of the gesture, resulting in problems such as low accuracy of sign language movements and unclear semantic information. Summary of the invention

[0007] In order to overcome the problems existing in the above-mentioned prior art, the purpose of the present invention is to provide a sign language skeleton point sequence generation method based on a multi-level attention diffusion model, which uses the sign language latent space representation predicted by GLSP as a condition to guide HAUnet-Diffusion to generate sign language videos, thereby alleviating the problems of low accuracy of sign language movements and fuzzy semantic information in the generated results; using HierarchicalAttentive UNet (HAUnet) to enhance the spatial perception information of features, obtain richer sign language skeleton point position information, and reduce problems such as information loss; GLSP is composed of a regional feature extractor RFE and a global perceptron GP, ​​which alleviates the problem of insufficient understanding of Gloss global semantic information in previous sign language video generation, and thus obtains a sign language latent space representation with richer semantic information; the present invention solves the problems of low accuracy of sign language movements and unclear semantic information in the videos generated by the existing generation methods.

[0008] In order to achieve the above object, the technical solution adopted by the present invention is as follows:

[0009] A method for generating a sign language skeleton point sequence based on a multi-level attention diffusion model specifically comprises the following steps:

[0010] Step 1, obtain a set of sign language images and corresponding Gloss text data for reference;

[0011] Step 2, extracting a two-dimensional skeleton sequence of the target sign language posture in the sign language image for reference in step 1, and intercepting the joint points of the upper body and the joint points of the left and right hands;

[0012] At the same time, the hand key points extracted from the two-dimensional image are mapped to the three-dimensional space to generate reasonable three-dimensional coordinates at the missing key point positions. By observing the distribution of three-dimensional data and cleaning the bone information at abnormal and incorrect joints, a three-dimensional sign language key point sequence is obtained to generate a sign language video.

[0013] S=(S 1 ,S 2 ,...,S N )∈R N*K (1)

[0014] Among them, S, N, and K represent the sign language sequence, sequence length, and the number of sign language skeleton points, respectively.

[0015] Step 3: Map the three-dimensional sign language key point data obtained in step 2 to a low-dimensional space, extract key information, and convert the original sign language sequence frame data into a Latent space representation;

[0016] Step 4: Convert the discrete Gloss text data in step 1 into a dense low-dimensional vector representation:

[0017] Step 4: Convert the discrete Gloss text data in step 1 into a dense low-dimensional vector representation:

[0018] A Gloss-Based Latent Space Predictor (GLSP) model is used to predict the latent space representation of sign language key points to obtain more comprehensive Gloss feature information. In the Gloss-based latent space predictor GLSP, a Gloss Semantic Enhancer (GSE) is used to enhance the understanding and processing of Gloss semantic information. In GSE, there are Regional Feature Extractor (RFE) and Global Perceptron (GP). First, the local features of the text are extracted by Regional Feature Extractor (RFE) to capture semantic information at different levels. Then, the Global Perceptron (GP) is used to capture the long-distance dependencies of the text, strengthen the focus on important words, and obtain a more accurate latent space representation of sign language. The latent space representation obtained in step 3 is used to calculate the loss through the built-in loss function of the deep learning algorithm for optimization.

[0019] Step 5: Perform reverse denoising on the text data converted in step 4, that is, input the latent space representation Latent generated in step 4 into a diffusion model to learn to reverse the diffusion process, and then restore the sign language skeleton point sequence from the noise data, thereby completing the generation of the sign language skeleton point sequence.

[0020] In step 3, the three-dimensional sign language key point data is mapped to a low-dimensional space, and a multi-layer perceptron (MLP) is used as a sign language sequence frame encoder to convert the original sign language sequence frame data into a latent space representation Latent.

[0021] The Latent space representation contains the spatiotemporal structure information in the sign language sequence frames, and uses it as conditional information to guide the subsequent HAUnet-Diffusion model to generate sign language sequences.

[0022] The discretized Gloss text data T in step 1 G Converted to a dense low-dimensional vector representation T v , specifically expressed as follows:

[0023] T v =Embedding vocab (T G )(2)

[0024] First, we use the regional feature extractor RFE to extract the Gloss text data T G The low-dimensional vector representation T v The sliding window is used to extract the local features in each window, and by stacking the network, higher-level local semantic features T are gradually extracted. r ; In order to capture all the information in Gloss, the global perceptron GP is used to capture local semantic features T by stacking multiple layers of spatial attention based on local semantic information. r The long-distance dependencies in are used to extract global semantic features of text at different levels; therefore, GSE is expressed as follows:

[0025] GSE(T v )=GP(RFE(T v ))(3)

[0026] Through the Gloss-based latent space predictor GLSP, we can further obtain subtle and local semantic information in the data, obtain the sign language latent space representation, and improve the accuracy and semantic accuracy of sign language video generation; therefore, the prediction process of the Gloss-based latent space predictor GLSP can be expressed as follows:

[0027] Latent T =GLSP(T G )

[0028] =Linear(GSE(T v ))

[0029] =Linear(GSE(Embedding vocab ((T G ))(4)

[0030] In step 5, the generated latent space representation Latent is input into the diffusion model, and the training method of the regional frozen network is adopted to destroy the original data by gradually adding Gaussian noise.

[0031] After the generated latent space representation Latent is input into the diffusion model, Gaussian noise is gradually added to the sign language key point data to destroy it until the original sign language sequence frame data information cannot be seen in the noise map; for a frame of data x of the original sign language skeleton point 0 , in x 0 Add Gaussian noise to get the sign language representation x with Gaussian noise 1 , then in x 1 Continue to add Gaussian noise to get x 2 ; And so on, repeat the operation of adding Gaussian noise to the input data until the single frame data of sign language becomes xT , since Gaussian noise of time step T is added in this process, the current noise x T It is approximately subject to Gaussian distribution N, where q represents the distribution function and Ι is a constant variable;

[0032]

[0033] As shown in formulas (5) and (6), in the forward diffusion process, as the step length t increases, x t will be closer and closer to pure Gaussian noise. When T approaches positive infinity, x T will become a completely Gaussian noise, where is a hyperparameter of the variance of the Gaussian distribution;

[0034] Let α t =1-β t and Get x t The formula, and x t Satisfied at any time

[0035]

[0036] In the reverse denoising described in step 5, the original input data is restored from the noise data by learning to reverse the diffusion process, and the original sign language skeleton point distribution and video image are predicted;

[0037] In the reverse denoising operation, the noised data q(x t-1 x t ), from which the original sign language skeleton point distribution is restored and the inverse distribution p is predicted θ , and then get the restored sign language skeleton point sequence:

[0038]

[0039] p θ (x t-1 |x t )=N(x t-1 :μ θ (xt,t),∑θ(xt,t))(10).

[0040] The diffusion model described in step 5 includes a HAUnet-Diffusion network and a DimensionReductionModule (data dimension reduction module: DimRed);

[0041] The HAUnet-Diffusion network is used to assist the generation network in generation and train the HAUnet-Diffusion network; the added noise information sign language data is predicted by HierarchicalAttentive UNet (HAUnet); a spatial enhanced attention (SAA) is used to learn the attention weights on the spatial position dimension of each downsampled feature map in HAUnet. SAA enhances the representation of the position information of the sign language skeleton points by concentrating the area with the largest amount of information in the feature map to enhance its spatial perception information and alleviate the scarcity of effective information caused by the data dimension and the low-rank data of sign language. SAA is expressed as follows:

[0042]

[0043] F SAA =SAA(Concat(x T ,latent))(12)

[0044] Among them, Q i ,K i ,V i They are the query, key, and value matrices used for SSA computation operations; F SAA Represents the spatial enhancement feature map after the spatial information is enhanced by SAA; after obtaining the spatial perception information, Hierarchical Feature Integration (HFI) is used to aggregate the feature data information after connecting each layer of SAA to ensure that more abundant and accurate sign language key point position information is obtained in the upsampling operation of HAUnet;

[0045] Specifically, in HAUnet, data information is compressed through a constant downsampling operation, and after surface sampling, the data represents the whole body skeleton points. Provides information about the overall position of the body; after deep sampling, the data represents the precise bone points of the hand Provides detailed hand position information; additionally uses HFI hierarchical aggregation connection and To avoid data loss, the specific expression is (13):

[0046]

[0047] The data dimension reduction module DimRed is used to alleviate the dimensionality explosion problem caused by data aggregation. It uses sliding windows to filter and pool data to reduce data dimensions and provide input for upsampling operations. DimRed is expressed by formula (14):

[0048]

[0049] The trained HAUnet-Diffusion network is divided into two parts: sign language encoding and Diffusion noise by freezing the network in different regions. The sign language skeleton point sequence is generated by training by freezing the two parts separately. The sign language encoding part is frozen, and the Diffusion noise part is opened to be coordinated with the GLSP module.

[0050] Compared with the prior art, the beneficial effects of the present invention are:

[0051] The present invention uses the latent space representation of sign language predicted by GLSP as a condition to guide HAUnet-Diffusion to generate sign language videos, alleviating the problems of low accuracy of sign language movements and fuzzy semantic information in the generated results; and uses HierarchicalAttentive UNet (HAUnet) to enhance the spatial perception information of features to obtain richer position information of sign language skeleton points. Compared with the Unet structure of conventional DDPM, HAUnet learns the movement information of sign language skeleton points more effectively, reducing problems such as information loss; GLSP is composed of a regional feature extractor and a global perceptron module, alleviating the problem of insufficient understanding of Gloss global semantic information in previous sign language video generation, and thus obtaining a latent space representation of sign language with richer semantic information.

[0052] When designing Sign HADiff, it is considered that the common DDPM using Unet as the backbone network may cause information loss. When upsampling, if the feature information is insufficient, it is difficult to restore the accurate sign language skeleton points. Therefore, the present invention designs a spatial enhancement attention module to enhance the spatial perception information of each level of downsampling feature map; at the same time, the spatial enhancement feature map of the body joint position information obtained at the surface layer and the hand detail position information obtained at the deep layer are aggregated and connected to ensure that the position information of the sign language skeleton points is more accurate during the upsampling process.

[0053] The present invention designs a Gloss Semantic Enhancer (GSE) module, which combines a regional feature extractor (RFE) and a global perceptron (GP) to enhance the network's ability to understand and obtain a latent space with richer semantic information, thereby improving the accuracy and semantic accuracy of sign language video generation.

[0054] In summary, the present invention uses the sign language latent space representation predicted by GLSP as a condition to guide HAUnet-Diffusion to generate sign language videos, which alleviates the problems of low accuracy of sign language movements and vague semantic information in the generated results; uses Hierarchical Attentive UNet (HAUnet) to enhance the spatial perception information of features, obtains richer sign language skeleton point position information, and reduces problems such as information loss; GLSP is composed of a regional feature extractor RFE and a global perceptron GP, ​​which alleviates the problem of insufficient understanding of Gloss global semantic information in previous sign language video generation, and then obtains a sign language latent space representation with richer semantic information; the present invention solves the problems of low accuracy of sign language movements and unclear semantic information in the videos generated by the existing generation methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1 It is a flowchart of a two-stage sign language skeleton point sequence generation method.

[0056] Figure 2 It is a structural schematic diagram of the HAUnet model of the present invention.

[0057] Figure 3 It is a schematic diagram of the GLSP model structure in the present invention.

[0058] Figure 4 This is a comparison chart of the effects of generating images by the present invention and the existing method.

[0059] Figure 5 It is a schematic diagram of visualization results of the HAUnet-Diffusion ablation experiment according to an embodiment of the present invention.

[0060] Figure 6 It is a visualization diagram of the latent space representation of the present invention, wherein A represents a scatter plot of the latent space representation predicted by Gloss text, and B represents a scatter plot of the latent space representation obtained by sign language key point data.

[0061] Figure 7 It is a visualization flow chart of the joint training of the present invention.

[0062] Figure 8 It is a schematic diagram of the HAUnet-Diffusion module structure of the present invention. DETAILED DESCRIPTION

[0063] The method for generating a sign language skeleton point sequence of the present invention comprises the following three steps:

[0064] A method for generating a sign language skeleton point sequence based on a multi-level attention diffusion model specifically comprises the following steps:

[0065] Step 1: Get a set of sign language images and corresponding Gloss data for reference;

[0066] Step 2: Perform data preprocessing and use OpenPose to extract the target sign language posture and two-dimensional bone sequence in the target sign language video. In order to remove redundant information and reduce the amount of calculation, 8 joints of the upper body and 21 joints of the left and right hands are intercepted, a total of 50 joints are used for model training:

[0067] Extracting a two-dimensional skeleton sequence of the target sign language posture in the sign language image for reference in step 1, and intercepting the joint points of the upper body and the joint points of the left and right hands;

[0068] At the same time, the hand key points extracted from the two-dimensional image are mapped to the three-dimensional space to generate reasonable three-dimensional coordinates at the missing key point positions. By observing the distribution of three-dimensional data and cleaning the bone information at abnormal and incorrect joints, a three-dimensional sign language key point sequence is obtained to generate a sign language video.

[0069] S=(S 1 ,S 2 ,...,S N )∈R N*K (1)

[0070] Among them, S, N, and K represent the sign language sequence, sequence length, and the number of sign language skeleton points, respectively.

[0071] Step 3: Using a multi-layer perceptron (MLP) as a sign language sequence frame encoder, the three-dimensional sign language key point data obtained in step 2 is mapped to a low-dimensional space, key information is extracted, and the original sign language sequence frame data is converted into a latent space representation;

[0072] Step 4: Convert the discrete Gloss text data in step 1 into a dense low-dimensional vector representation:

[0073] A Gloss-Based Latent Space Predictor (GLSP) model is used to predict the latent space representation of sign language key points to obtain more comprehensive Gloss feature information; in the Gloss-based latent space predictor GLSP, a Gloss Semantic Enhancer (GSE) is used to enhance the understanding and processing of Gloss semantic information; in GSE, it includes Regional Feature Extractor (RFE) and Global Perceptron (GP); first, the local features of the text are extracted by Regional Feature Extractor (RFE) to capture semantic information at different levels; then the Global Perceptron (GP) is used to capture the long-distance dependencies of the text, strengthen the focus on important words, and obtain a more accurate latent space representation of sign language, and the latent space representation obtained in step 3 is used to calculate the loss through the built-in loss function of the deep learning algorithm for optimization;

[0074] Step 5: Perform reverse denoising on the text data converted in step 4, that is, input the latent space representation Latent generated in step 4 into a diffusion model to learn to reverse the diffusion process, and then restore the sign language skeleton point sequence from the noise data, thereby completing the generation of the sign language skeleton point sequence. Step 3: Map the acquired high-dimensional sign language key point data to a low-dimensional space, extract key information, and convert the original sign language sequence frame data into a more compact and more representative Latent space representation;

[0075] In the reverse denoising, the original input data is restored from the noise data by learning to reverse the diffusion process, and the original sign language skeleton point distribution and video image are predicted:

[0076] In the reverse denoising operation, the noised data q(x t-1 x t ), from which the original sign language skeleton point distribution is restored and the inverse distribution p is predicted θ , and then get the restored sign language skeleton point sequence:

[0077]

[0078] p θ (x t-1 |x t )=N(x t-1 :μ θ(xt,t),∑θ(xt,t))(10).

[0079] The generated latent space represents the Latent input diffusion model, adopts the training method of freezing the network in different regions, divides the trained HAUnet-Diffusion network into two parts: sign language encoding and Diffusion noise, and trains and generates sign language skeleton point sequences by freezing these two parts respectively; freezes the sign language encoding part, and opens the Diffusion noise part to collaborate with the GLSP module.

[0080] The diffusion model includes a HAUnet-Diffusion network and a Dimension Reduction Module (DimRed).

[0081] The HAUnet-Diffusion network is used to assist the generation network in generation and train the HAUnet-Diffusion network; the added noise information sign language data is predicted by HierarchicalAttentive UNet (HAUnet); a spatial enhanced attention (SAA) is used to learn the attention weights on the spatial position dimension of each downsampled feature map in HAUnet. SAA enhances the representation of the position information of the sign language skeleton points by concentrating the area with the largest amount of information in the feature map to enhance its spatial perception information and alleviate the scarcity of effective information caused by the data dimension and the low-rank data of sign language. SAA is expressed as follows:

[0082]

[0083] F SAA =SAA(Concat(x T ,latent))(12)

[0084] Among them, Q i ,K i ,V i They are the query, key, and value matrices used for SSA computation operations; F SAA Represents the spatial enhancement feature map after the spatial information is enhanced by SAA; after obtaining the spatial perception information, Hierarchical Feature Integration (HFI) is used to aggregate the feature data information after connecting each layer of SAA to ensure that more abundant and accurate sign language key point position information is obtained in the upsampling operation of HAUnet;

[0085] Specifically, in HAUnet, data information is compressed through a constant downsampling operation, and after surface sampling, the data represents the whole body skeleton points. Provides information about the overall position of the body; after deep sampling, the data represents the precise bone points of the hand Provides detailed hand position information; additionally uses HFI hierarchical aggregation connection and To avoid data loss, the specific expression is (13):

[0086]

[0087] The data dimension reduction module DimRed is used to alleviate the dimensionality explosion problem caused by data aggregation. It uses sliding windows to filter and pool data to reduce data dimensions and provide input for upsampling operations. DimRed is expressed by formula (14):

[0088]

[0089] In order to evaluate the advantages and positive effects of the above method provided by the present invention, the present invention uses the following evaluation indicators:

[0090] BLEU and ROUGE are used as evaluation indicators. BLEU is an evaluation indicator widely used in machine translation tasks. Its main function is to judge the similarity and difference between the translation result and the reference translation by calculating the n-gram overlap between them. The closer the BLEU score is to 1, the more similar the machine translation result is to the reference translation, and the higher the quality.

[0091] ROUGE is an evaluation metric used to evaluate automatic summarization and machine translation. It mainly evaluates the translation results based on the co-occurrence information of n-grams in the translation. In most evaluation algorithms, the ROUGE-N metric is mainly used. ROUGE-N calculates the recall rate of n-grams between the generated results and the true reference, where n represents the number of consecutive n words or characters used for comparison.

[0092] In order to ensure the feasibility and creativity of our proposed method, we trained and compared the algorithm with the existing methods PTR-AT, PoseVQ-Diffusion, SIGNGAN and ASL-SLP model papers. In Table 1, it can be clearly seen from the BLEU3, BLEU4 and ROUGE indicators that compared with the existing methods, a two-stage sign language skeleton point sequence generation method has significant advantages in semantic accuracy.

[0093] Table 1 Comparison results of advanced algorithms

[0094]

[0095] like Figure 5As shown in the figure, we visualized the results of the previous method and the method of the present invention. From the red box in the figure, we can see that the existing model is insufficient in distinguishing individual fingers and details such as hand position, which makes it unable to effectively convey meaningful information. In contrast, the method of the present invention can generate sign language movements more accurately, thereby more accurately conveying the meaning of sign language, where hand details such as Figure 5 As shown in the red box in the figure, it can be seen that the existing model is insufficient in distinguishing individual fingers and details such as hand positions, which makes it unable to effectively convey meaningful information. In contrast, the method of the present invention can generate sign language movements more accurately.

[0096] In order to verify the effectiveness of the proposed HAUnet-Diffusion, Unet (DDPM) was compared with the HAUnet network of the present invention. In addition, a smaller time step in the Diffusion network may lead to overfitting, while a larger time step may not capture the subtle features in the data. Therefore, the network was also compared with different time steps.

[0097] By using the same Gaussian noise at each time step, the temporal continuity and accuracy of the inference phase are improved. The network was tested using four different time steps, as the choice of time step has a significant impact on the model.

[0098] As shown in Table 2, the various indicators of the HAUnet-Diffusion network were tested. It can be seen from the table that when the network contains our designed HAUnet, the indicators of all steps are higher than those of the simple Unet network; in addition, in the experimental results of the time step, we found that when the time step is 500, the generation result of the network is optimal. In addition, we conducted a visualization test on the results of this part, such as Figure 5 As shown in the figure, since the indicator data of this part of the results are relatively close and are mainly used for reconstruction, the gap between them in the result visualization is small.

[0099] Table 2 HAUnet-Diffusion ablation experiment results

[0100]

[0101]

[0102] In order to demonstrate the effectiveness of the Gloss-based latent space predictor GLSP model, we conducted separate comparative experiments on the regional feature extractor and the global perceptron in the gloss semantic enhancer, as shown in Table 3. The experimental data show that the gloss semantic enhancement method combining the regional feature extractor and the global perceptron proposed in the present invention has obvious advantages in generating results compared with the global or local feature extraction methods performed separately.

[0103] Table 3 Ablation experimental results of the GLSP model based on Gloss latent space predictor

[0104] BLEU3↑ BLEU4↑ ROUGE↑ w / oRegionalFeatureExtractor 3.21 2.41 10.64 w / oGlobalPerceptron 2.79 1.85 8.46 Ours 7.40 5.37 15.98

[0105] In order to ensure the effectiveness of joint training, the pre-trained HAUnet diffusion network is decomposed into two parts, Pose-pre and HAUnet, and they are combined with each other. In Table 4, we use "+" to indicate that the part participates in network training, and "-" to indicate that the network part is frozen. The experimental results show that when both parts are frozen, the network is only constrained by the results of the Gloss-based latent space predictor GLSP model, which leads to a significant decrease in the accuracy of the results. When both parts are involved in training the network, the results are significantly improved. In order to explore which part has the greatest impact on the entire network, we also tested the case where only one part is activated and the other part is involved in training. Finally, based on the generated video results and experimental indicators, we found that the best results can be obtained when freezing PosePre and HAUnet to participate in network training, so we choose this method as the joint training scheme for the network.

[0106] Table 4. Results of joint ablation experiments

[0107]

[0108] In order to explore which part has the greatest impact on the overall network, we also tested the case where only one part was activated while the other part was involved in the training. Finally, based on the generated video results and experimental indicators, we found that the best effect was achieved when PosePre was frozen and HAUnet was involved in the network training, so this method was selected as the joint training scheme for the network.

[0109] To ensure the consistency between the latent space representation predicted by Gloss text and the latent space representation generated directly from the sign language sequence, we use t-SNE to restore the latent space representation to two-dimensional features and draw its scatter plot. Figure 6As shown in FIG. 1 , A represents a scatter plot of latent space representation predicted by Gloss text, and B represents a scatter plot of latent space representation obtained by sign language key point data. It can be seen from parts A and B in the figure that the latent space representation predicted by Gloss text and the latent space representation generated by sign language key point data are very consistent in terms of aggregation. This shows that the method proposed in the present invention has a high accuracy in predicting sign language key point data.

[0110] The above specific embodiments further illustrate the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for generating sign language skeleton point sequences based on a multi-level attention diffusion model, characterized in that: The specific steps include: Step 1, obtain a set of sign language images and corresponding Gloss text data for reference; Step 2, extracting a two-dimensional skeleton sequence of the target sign language posture in the sign language image for reference in step 1, and intercepting the joint points of the upper body and the joint points of the left and right hands; At the same time, the hand key points extracted from the two-dimensional image are mapped to the three-dimensional space to generate reasonable three-dimensional coordinates at the missing key point positions. By observing the distribution of three-dimensional data and cleaning the bone information at abnormal and incorrect joints, a three-dimensional sign language key point sequence is obtained to generate a sign language video. S=(S1,S2,...,S N )∈R N*K (1) Among them, S, N, and K represent the sign language sequence, sequence length, and the number of sign language skeleton points, respectively. Step 3: Map the three-dimensional sign language key point data obtained in step 2 to a low-dimensional space, extract key information, and convert the original sign language sequence frame data into a Latent space representation; Step 4: Convert the discrete Gloss text data in step 1 into a dense low-dimensional vector representation: A Gloss-Based Latent Space Predictor (GLSP) model is used to predict the latent space representation of sign language key points to obtain more comprehensive Gloss feature information. In the Gloss-based latent space predictor GLSP, a Gloss Semantic Enhancer (Gloss semantic enhancer module: GSE) is used to enhance the understanding and processing of Gloss semantic information; in GSE, it includes Regional Feature Extractor (RFE) and Global Perceptron (GP); firstly, the local features of the text are extracted by Regional Feature Extractor (RFE) to capture semantic information at different levels; then, the Global Perceptron (GP) is used to capture the long-distance dependencies of the text, strengthen the focus on important words, and obtain a more accurate latent space representation of sign language, Latent, and the Latent space representation obtained in step 3 is used to calculate the loss through the built-in loss function of the deep learning algorithm for optimization; Step 5: Perform reverse denoising on the text data converted in step 4, that is, input the latent space representation Latent generated in step 4 into a diffusion model to learn to reverse the diffusion process, and then restore the sign language skeleton point sequence from the noise data, thereby completing the generation of the sign language skeleton point sequence.

2. The method for generating a sign language skeleton point sequence according to claim 1, characterized in that: In step 3, the three-dimensional sign language key point data is mapped to a low-dimensional space, and a multi-layer perceptron (MLP) is used as a sign language sequence frame encoder to convert the original sign language sequence frame data into a latent space representation Latent.

3. The method for generating a sign language skeleton point sequence according to claim 2, characterized in that: The Latent space representation contains the spatiotemporal structure information in the sign language sequence frames, and uses it as conditional information to guide the subsequent HAUnet-Diffusion model to generate sign language sequences.

4. The method for generating a sign language skeleton point sequence according to claim 1, characterized in that: In step 4, the discretized Gloss text data T in step 1 is G Converted to a dense low-dimensional vector representation T v , specifically expressed as follows: T v =Embedding vocab (T G ) (2) First, we use the regional feature extractor RFE to extract the Gloss text data T G The low-dimensional vector representation T v The sliding window is used to extract the local features in each window, and by stacking the network, higher-level local semantic features T are gradually extracted. r ; In order to capture all the information in Gloss, the global perceptron GP is used to capture local semantic features T by stacking multiple layers of spatial attention based on local semantic information. r The long-distance dependencies in are used to extract global semantic features of text at different levels; therefore, GSE is expressed as follows: GSE(T v )=GP(RFE(T v )) (3) Through the Gloss-based latent space predictor GLSP, we can further obtain subtle and local semantic information in the data, obtain the sign language latent space representation, and improve the accuracy and semantic accuracy of sign language video generation; therefore, the prediction process of the Gloss-based latent space predictor GLSP can be expressed as follows: Latent T =GLSP(T G ) =Linear(GSE(T v )) =Linear(GSE(Embedding vocab ((T G )) (4) 5. The method for generating a sign language skeleton point sequence according to claim 1, characterized in that: In step 5, the generated latent space representation Latent is input into the diffusion model, and the training method of the regional frozen network is adopted to destroy the original data by gradually adding Gaussian noise.

6. The method for generating a sign language skeleton point sequence according to claim 5, characterized in that: After the generated latent space representation Latent is input into the diffusion model, Gaussian noise is gradually added to the sign language key point data to destroy it until the original sign language sequence frame data information cannot be seen in the noise map; for a frame of data x0 of the original sign language skeleton point, Gaussian noise is added to x0 to obtain a sign language representation x1 with Gaussian noise, and then Gaussian noise is continued to be added to x1 to obtain x2; and so on, the operation of adding Gaussian noise to the input data is repeated until the single frame of sign language data becomes x T , since Gaussian noise of time step T is added in this process, the current noise x T It is approximately subject to Gaussian distribution N, where q represents the distribution function and Ι is a constant variable; As shown in formulas (5) and (6), in the forward diffusion process, as the step length t increases, x t will be closer and closer to pure Gaussian noise. When T approaches positive infinity, x T will become a completely Gaussian noise, where is a hyperparameter of the variance of the Gaussian distribution; Let α t =1-β t and Get x t The formula, and x t Satisfied at any time 7. The method for generating a sign language skeleton point sequence according to claim 1, characterized in that: In the reverse denoising described in step 5, the original input data is restored from the noisy data by learning to reverse the diffusion process, and the generative network is used to predict the original sign language skeleton point distribution and video image: In the reverse denoising operation, the noised data q(x t-1 x t ), from which the original sign language skeleton point distribution is restored and the inverse distribution p is predicted θ , and then get the restored sign language skeleton point sequence: p θ (x t-1 |x t )=N(x t-1 :μ θ (xt,t),∑θ(xt,t)) (10)。 8. The method for generating a sign language skeleton point sequence according to claim 1, characterized in that: The diffusion model described in step 5 includes a HAUnet-Diffusion network and a Dimension Reduction Module (DimRed); The HAUnet-Diffusion network is used to assist the generation network in generation and train the HAUnet-Diffusion network; the added noise information sign language data is predicted by Hierarchical Attentive UNet (HAUnet); a spatial enhanced attention (SAA) is used to learn the attention weights on the spatial position dimension of each downsampled feature map in HAUnet. SAA enhances the representation of the position information of the sign language skeleton points by concentrating the area with the largest amount of information in the feature map to enhance its spatial perception information and alleviate the scarcity of effective information caused by the data dimension and the low-rank data of sign language. SAA is expressed as follows: F SAA =SAA(Concat(x T ,latent)) (12) Among them, Q i ,K i ,V i They are the query, key, and value matrices used for SSA computation operations; F SAA Represents the spatial enhancement feature map after the spatial information is enhanced by SAA; after obtaining the spatial perception information, Hierarchical Feature Integration (HFI) is used to aggregate the feature data information after connecting each layer of SAA to ensure that more abundant and accurate sign language key point position information is obtained in the upsampling operation of HAUnet; Specifically, in HAUnet, data information is compressed through a constant downsampling operation, and after surface sampling, the data represents the whole body skeleton points. Provides information about the overall position of the body; after deep sampling, the data represents the precise bone points of the hand Provides detailed hand position information; additionally uses HFI hierarchical aggregation connection and To avoid data loss, the specific expression is (13): The data dimension reduction module DimRed is used to alleviate the dimensionality explosion problem caused by data aggregation. It uses sliding windows to filter and pool data to reduce data dimensions and provide input for upsampling operations. DimRed is expressed by formula (14):

9. The method for generating a sign language skeleton point sequence according to claim 8, characterized in that: The trained HAUnet-Diffusion network is divided into two parts: sign language encoding and Diffusion noise by freezing the network in different regions. The sign language skeleton point sequence is generated by training by freezing the two parts separately. The sign language encoding part is frozen, and the Diffusion noise part is opened to be coordinated with the GLSP module.

Citation Information

Cited By

  • Industrial robot motion planning method based on diffusion model

    CN119217373A

  • Sign language recognition method and system

    CN121170890A