User intention recognition method based on multi-modal cross improvement
Through multi-modal cross-improvement and federated distillation technology, multi-modal features are extracted and fused, which solves the problems of low accuracy and difficult privacy protection of traditional single-modal intent recognition, and achieves more efficient user intent recognition and data security.
Patent Information
- Application Number
- CN202411142646.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-08-20
AI Technical Summary
The traditional user intention recognition method based on single modal data is difficult to fully capture the user's true intention, especially when facing fuzzy or complex expressions, the recognition accuracy is low, and there is the problem of insufficient information utilization in the multi-modal information fusion process. , and the privacy protection of user data is difficult to guarantee.
A user intention recognition method based on multi-modal cross-improvement is adopted, multi-modal features are extracted through a deep learning model, the influence weight of each modal feature is calculated, self-enhancement and fusion are performed, and the privacy protection technology of federated distillation is used to train the model to ensure Data security and identification accuracy.
It effectively improves the accuracy and efficiency of user intent recognition, while ensuring the privacy protection of user data, preventing data leakage and abuse, and enhancing user trust and legal compliance.
Smart Images

Figure CN118656733A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data processing and analysis, and specifically discloses a user intention recognition method based on multimodal cross-improvement. Background Art
[0002] In the field of artificial intelligence and human-computer interaction, user intent recognition is a crucial link. With the rapid development of technology, traditional intent recognition methods based on single-modal (such as text or voice) data can no longer meet the complex and changing user needs. These methods are often limited by the limitations of single-modal information and it is difficult to fully capture the user's true intentions, especially when faced with ambiguous or complex expressions, the recognition accuracy is often low. Although some studies have attempted to fuse multimodal information to improve the accuracy of intent recognition, these methods often have problems such as insufficient fusion strategies and insufficient information utilization. In the process of multimodal information fusion, how to effectively extract and integrate features from different modalities so that they are intertwined and enhanced together is still a challenge. In addition, user data usually contains personal identity information, behavioral data, and other sensitive information. If this data is leaked or abused, it may lead to serious privacy issues and even legal risks. In view of this, the inventor provides a user intent recognition method based on multimodal cross-improvement to solve the above problems. Summary of the invention
[0003] The purpose of the present invention is to solve the problem that in the traditional user intention recognition process, due to the limitations of single-modal information, it is difficult to fully capture the user's true intention, resulting in low recognition accuracy.
[0004] In order to achieve the above-mentioned object, the basic scheme of the present invention provides a user intention recognition method based on multimodal cross-improvement, including constructing a user intention recognition model based on multimodal feature cross-improvement and obtaining a user intention recognition result through the user intention recognition model, and the specific steps are as follows: Step S1.1, using a deep learning model to extract multimodal features respectively; Step S1.2, calculating the influence weights of different modal features; Step S1.3, selecting the modal feature with the largest influence weight and performing self-enhancement; Step S1.4, utilizing the high influence of the self-enhanced modal features in step S1.3 to enhance the intrinsic intention information of each remaining modal feature; Step S1.5, updating the corresponding influence weights using the multimodal features enhanced in step S1.4; Step S1.6, driving the multimodal feature fusion according to the influence weight updated in S1.5, and obtaining the multimodal feature fusion result, which is the output result in the user intention recognition model; Step S1.7, input the multimodal feature fusion result into the softmax classifier to obtain the user intent recognition result.
[0005] Furthermore, the multimodal features include language features F 1 , Tone Characteristics F 2 , facial expression features F 3 and posture features F 4 , extracted from language expression data, language tone data, facial expression data and human posture data respectively.
[0006] Further, the expression of step S1.2 is as follows: ; In the formula, F n For the n modal features, W n and b n All are n The trainable weights corresponding to the modal features, s (✽) is the sigmoid function, w n For the n The influence weight of each modal feature.
[0007] Further, the expression of step S1.3 is as follows: ; In the formula, n max is the feature index corresponding to the maximum influence weight, STA(✽) represents the spatiotemporal attention mechanism, is the modal feature with the largest weight, It is the self-enhancement result of the modal feature with the largest weight.
[0008] Further, the expression of step S1.4 is as follows: ; ; In the formula, LN(✽) represents the normalization operation, DS(✽) represents the dense mapping, and SA(✽) represents the self-attention mechanism. Z Indicates based on The resulting high-impact feature maps, Indicates the enhanced n The remaining modal features.
[0009] Further, the expression of step S1.5 is as follows: ; In the formula, and All are n The trainable weights corresponding to each modality feature during the update process, For the updated n The influence weight of each modal feature.
[0010] Further, the expression of step S1.6 is as follows: ; In the formula, Represents the multimodal feature fusion result.
[0011] Furthermore, the user intent recognition model is trained using a privacy protection technology based on federated distillation. The specific steps are as follows: Step S2.1, collect the multimodal data of local users respectively and perform cleaning, normalization and data enhancement, build the intent recognition model corresponding to each local user and initialize the parameters, calculate the predicted value and loss through forward propagation, and use the back propagation algorithm and chain rule to calculate the parameter gradient of the loss with respect to the weight; Step S2.2, determining the noise intensity corresponding to each user data, extracting noise from the normal distribution according to the noise intensity and adding it to the locally calculated parameter gradient to obtain the parameter gradient with noise; Step S2.3, encrypt the noisy gradient and transmit it to the server. The server uses the characteristics of homomorphic encryption to aggregate multiple encrypted parameter gradients without decryption to obtain the encrypted approximation of the global gradient, and decrypts it to obtain the plaintext representation of the global gradient. Then, the server uses the learning rate and the average value of the global gradient to update the global model according to the gradient descent algorithm; Step S2.4, the server distributes the updated global model to each local user, and each local user uses the knowledge distillation technology to distill the knowledge of the global model into the local model through the distillation coefficient; Repeat the above steps until the global model parameters reach the optimal value.
[0012] Further, in step S2.1, the parameter gradient is , where i is the i-th local user, the expression of step S2.2 is: ; In the formula, is the parameter gradient with noise, e i for noise; The expression of step S2.3 is: ; Where I represents the number of local users. and They represent the global model parameters before and after the update respectively; Enc(✽) and Dec(✽) are encryption and decryption operations respectively; or is the learning rate; The expression of step S2.4 is: ; In the formula, α is the distillation coefficient, is the i-th local model after update.
[0013] The principle and effect of this scheme are: Compared with the existing technology, the present invention fully explores the mutual influence relationship between different modal data of users, and proposes a cross-improvement mechanism to realize feature fusion of multimodal data for intent recognition, and adopts privacy protection technology based on federated distillation to complete model training. It can not only effectively prevent data leakage and abuse, but also enhance user trust, ensure the legality and compliance of research, and ultimately ensure the accuracy and efficiency of model training. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0015] Figure 1 A flow chart of a method for identifying user intention based on multimodal cross-improvement proposed in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0016] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the specific implementation mode, structure, characteristics and effects of the present invention are described in detail below in combination with the accompanying drawings and preferred embodiments.
[0017] A method for user intention recognition based on multimodal cross-improvement includes building a user intention recognition model based on multimodal feature cross-improvement, and training the user intention recognition model using a privacy protection technology based on federated distillation. The user intention recognition result can be obtained through the user intention recognition model. The specific steps of building a user intention recognition model based on multimodal feature cross-improvement are as follows: Figure 1 As shown: Step S1.1, multimodal feature extraction, using deep learning models (such as CNN, RNN, etc.) to extract language features from language expression data, language tone data, facial expression data, and human posture data F 1 , Tone Characteristics F 2 , facial expression features F 3 and posture features F 4 Among them, language expression data is the use of speech transcription text technology to extract the user's language content; language tone data is the use of audio processing technology to extract tone, speaking speed and other data from the user's voice to reflect the user's emotional state; human posture data is the use of human joint point capture technology to collect the user's body shape and gestures in the video; facial expression data is the use of facial dot technology to capture the user's facial expression in the video.
[0018] Step S1.2, calculate the influence weights of different modal features to describe the influence of different modal data on user intent recognition performance. The specific expression is as follows: ; In the formula, F n For the n modal features, W n and b n All are n The trainable weights corresponding to the modal features, s (✽) is the sigmoid function, w n For the n The influence weight of each modal feature.
[0019] Step S1.3, select the modal feature with the largest influence weight and perform self-enhancement. The specific expression is as follows: ; In the formula, n max is the feature index corresponding to the maximum influence weight, STA(✽) represents the spatiotemporal attention mechanism, is the modal feature with the largest weight, It is the self-enhancement result of the modal feature with the largest weight.
[0020] Step S1.4, using The high influence of enhances the intrinsic intention information of each remaining modal feature. The specific expression is as follows: ; ; In the formula, LN(✽) represents the normalization operation, DS(✽) represents the dense mapping, and SA(✽) represents the self-attention mechanism. Z Indicates based on The resulting high-impact feature maps, Indicates the enhanced n The remaining modal features.
[0021] Step S1.5, using the multimodal features enhanced in step S1.4 to update the corresponding influence weights, the specific expression is as follows: ; In the formula, and All are n The trainable weights corresponding to each modality feature during the update process, For the updated n The influence weight of each modal feature.
[0022] Step S1.6, driving multimodal feature fusion according to the influence weight updated in S1.5, the specific expression is as follows: ; In the formula, Represents the multimodal feature fusion result.
[0023] Step S1.7, multimodal feature fusion results Input the softmax classifier to obtain the user intent recognition result.
[0024] Through steps S1.1 to S1.7, a user intention recognition model based on intention influence driven multimodal feature enhancement can be constructed to perform user intention recognition. In this embodiment, the user intention recognition model is trained using a privacy protection technology based on federated distillation, as follows: Step S2.1, local model training. First, for each local user, collect the multimodal data of the local user and perform cleaning, normalization, data enhancement and other steps. Then, build the intent recognition model corresponding to each local user based on the user intent recognition model construction content and initialize the parameters. Next, calculate the predicted value and loss through forward propagation, and use the back propagation algorithm and chain rule to calculate the gradient of the loss with respect to the weight. Set the number of local users to I , then the parameter gradient corresponding to the i-th local user is express.
[0025] Step S2.2, adaptive differential privacy protection, first, evaluate the sensitivity of user data to determine the noise intensity corresponding to each user data m i, and then according to this noise intensity from the normal distribution N (0, m i ) e i , and add it to the locally computed gradient On the above, we get the gradient with noise. The implementation process is as follows: ; Step S2.3, homomorphic encryption transmission and server-side aggregation, first, the system generates public and private keys for subsequent encryption and decryption operations. Then, each client uses the public key and homomorphic encryption algorithm to encrypt the gradient of the local calculation. Encrypt to obtain the encrypted gradient. Then, transmit the encrypted gradient to the server. Without decrypting, the server uses the characteristics of homomorphic encryption to aggregate multiple encrypted gradients to obtain an encrypted approximation of the global gradient. Then, the server uses the private key to decrypt to obtain the plaintext representation of the global gradient. Finally, the server uses the learning rate and the average value of the global gradient to update the global model according to the gradient descent algorithm. The above process is shown in the following formula: ; Where I represents the number of local users. and They represent the global model parameters before and after the update respectively; Enc(✽) and Dec(✽) are encryption and decryption operations respectively; or is the learning rate; Step S2.4: Update the local model through federated distillation. The server distributes the updated global model to each local user. Each local user uses knowledge distillation technology to update the knowledge of the global model through the distillation coefficient α Distill to local model: ; In the formula, is the i-th local model after update.
[0026] Repeat the above steps until the global model parameters reach the optimal value.
[0027] This embodiment is based on the WHYACT dataset for practical research. The dataset was carefully compiled by researchers at the University of Michigan to help identify human behavioral intentions in online videos. The WHYACT dataset contains 1,077 YouTube videos in real-life scenarios, which are shot and shared by bloggers from all over the world. The content covers a variety of daily activities from cleaning, cooking to learning and painting. Each video is equipped with corresponding manual annotations, including specific behavioral descriptions, voice transcription texts, and corresponding behavioral intentions, covering a total of 24 human behaviors and their intentions selected from ConceptNet. Since all the data comes from real life, the dataset provides rich materials for the study of multimodal feature user intention recognition, and provides strong support for the verification and evaluation of related research. Therefore, this experiment selected the WHYACT dataset to complete the experiment. Table 1 introduces the detailed statistical information of the dataset.
[0028] Table 1. Statistics of the WHYACT dataset
[0029] In the experiment, this embodiment uses text information to collect language expression data, uses audio information to collect voice intonation data, and uses video information to collect human posture data and facial expression data. This embodiment divides the WHYACT data set into two parts, of which 20% is used as a validation set for fine-tuning the model, and the remaining 80% is used as a test set to evaluate the performance of the model. In order to ensure the optimization of the model effect, this embodiment adjusts the hyperparameters by controlling variables. In the model evaluation link, this embodiment calculates the precision, recall, accuracy and F1 score for each behavior and the corresponding video clip, and finally takes the average of these indicators as the measure of the overall performance. In view of the uneven distribution of samples in the WHYACT data set, the F1 score, as an indicator that combines precision and recall, can more comprehensively reflect the performance of the model. Therefore, in this experiment, this embodiment pays special attention to the performance of the F1 score.
[0030] In order to verify the performance of the method of this embodiment, this embodiment compares it with several relevant representative research results, as shown in Table 2. The comparison results show that the method of this embodiment significantly surpasses the existing model in the F1 evaluation index. This improvement not only proves the effectiveness of the method of this embodiment, but also shows the superiority of the method in identifying human behavior intentions in online videos.
[0031] Table 2 Model comparison experimental results
[0032] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment as above, it is not used to limit the present invention. Any technical personnel in this field can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present invention. However, any brief modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention are still within the scope of the technical solution of the present invention.
Claims
1. A user intention recognition method based on multimodal cross-improvement, characterized in that: It includes building a user intention recognition model based on multimodal feature cross-improvement and obtaining a user intention recognition result through the user intention recognition model. The specific steps are as follows: Step S1.1, using a deep learning model to extract multimodal features respectively; Step S1.2, calculating the influence weights of different modal features; Step S1.3, selecting the modal feature with the largest influence weight and performing self-enhancement; Step S1.4, utilizing the high influence of the self-enhanced modal features in step S1.3 to enhance the intrinsic intention information of each remaining modal feature; Step S1.5, updating the corresponding influence weights using the multimodal features enhanced in step S1.4; Step S1.6, driving multimodal feature fusion according to the influence weight updated in S1.5, and obtaining a multimodal feature fusion result; Step S1.7, input the multimodal feature fusion result into the softmax classifier to obtain the user intent recognition result.
2. According to claim 1, a method for identifying user intention based on multimodal cross-improvement is characterized in that: The multimodal features include language features F 1 , Tone Characteristics F 2 , facial expression features F 3 and posture features F 4 , extracted from language expression data, language tone data, facial expression data and human posture data respectively.
3. A user intention recognition method based on multimodal cross-improvement according to claim 1 or 2, characterized in that: The expression of step S1.2 is as follows: ; In the formula, F n For the n modal features, W n and b n All are n The trainable weights corresponding to the modal features, σ (✽) is the sigmoid function, w n For the n The influence weight of each modal feature.
4. The method for identifying user intention based on multimodal cross-improvement according to claim 3 is characterized in that: The expression of step S1.3 is as follows: ; In the formula, n max is the feature index corresponding to the maximum influence weight, STA(✽) represents the spatiotemporal attention mechanism, is the modal feature with the largest weight, It is the self-enhancement result of the modal feature with the largest weight.
5. The method for identifying user intention based on multimodal cross-improvement according to claim 4, characterized in that: The expression of step S1.4 is as follows: ; ; In the formula, LN(✽) represents the normalization operation, DS(✽) represents the dense mapping, and SA(✽) represents the self-attention mechanism. Z Indicates based on The resulting high-impact feature maps, Indicates the enhanced n The remaining modal features.
6. The method for identifying user intention based on multimodal cross-improvement according to claim 5, characterized in that: The expression of step S1.5 is as follows: ; In the formula, and All are n The trainable weights corresponding to each modality feature during the update process, For the updated n The influence weight of each modal feature.
7. The method for identifying user intention based on multimodal cross-improvement according to claim 6, characterized in that: The expression of step S1.6 is as follows: ; In the formula, Represents the multimodal feature fusion result.
8. The method for identifying user intention based on multimodal cross-improvement according to claim 1 or 7, characterized in that: It also includes training the user intent recognition model using a privacy protection technology based on federated distillation, and the specific steps are as follows: Step S2.1, collect the multimodal data of local users respectively and perform cleaning, normalization and data enhancement, build the intent recognition model corresponding to each local user and initialize the parameters, calculate the predicted value and loss through forward propagation, and use the back propagation algorithm and chain rule to calculate the parameter gradient of the loss with respect to the weight; Step S2.2, determining the noise intensity corresponding to each user data, extracting noise from the normal distribution according to the noise intensity and adding it to the locally calculated parameter gradient to obtain the parameter gradient with noise; Step S2.3, encrypt the noisy gradient and transmit it to the server. The server uses the characteristics of homomorphic encryption to aggregate multiple encrypted parameter gradients without decryption to obtain the encrypted approximation of the global gradient, and decrypts it to obtain the plaintext representation of the global gradient. Then, the server uses the learning rate and the average value of the global gradient to update the global model according to the gradient descent algorithm; Step S2.4, the server distributes the updated global model to each local user, and each local user uses the knowledge distillation technology to distill the knowledge of the global model into the local model through the distillation coefficient; Repeat the above steps until the global model parameters reach the optimal value.
9. The method for identifying user intention based on multimodal cross-improvement according to claim 8, characterized in that: In step S2.1, the parameter gradient is , where i is the i-th local user, the expression of step S2.2 is: ; In the formula, is the parameter gradient with noise, e i for noise; The expression of step S2.3 is: ; Where I represents the number of local users. and They represent the global model parameters before and after the update respectively; Enc(✽) and Dec(✽) are encryption and decryption operations respectively; η is the learning rate; The expression of step S2.4 is: ; In the formula, α is the distillation coefficient, is the i-th local model after update.
Citation Information
Patent Citations
Emotion analysis method based on gate mechanism multi-modal fusion
CN112597841A
Real-time multi-mode accompanying robot intention understanding method and system
CN114092967A
Aspect-level sentiment analysis method fusing multi-modal data
CN114936623A
Multi-modal emotion recognition method based on feature decoupling and graph knowledge distillation
CN116244473A
Multi-modal emotion recognition method based on staged attention mechanism
CN118378128A
Cited By
Man-machine interaction method based on multi-modal data
CN120561522A
