Intelligent emotion recognition method based on multi-modal data fusion

The intelligent emotion recognition method through multi-modal data fusion combines voice and face data to identify user emotions, solves the problem of recognition errors in existing technologies, achieves a more accurate and natural understanding of user emotions, and improves digital human interaction. User interaction experience.

CN118709146AInactive Publication Date: 2024-09-27GLORYVIEW TECH INC

Patent Information

Application Number
CN202411191289.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2024-09-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the process of interaction between digital humans and users, it is difficult to achieve high accuracy when using existing technology to identify emotions through user semantic information. Especially when the user's speech content does not contain key phrases representing emotional information, it is easy to fail to recognize or recognize errors, affecting the interaction. experience.

Method used

The intelligent emotion recognition method using multi-modal data fusion is used to collect target voice information and target face images, input the pre-built multi-modal emotion recognition model, and use the semantic emotion feature recognition network, voice emotion feature recognition network and facial emotion The feature recognition network fuses features based on the attention mechanism, calculates the matching results of multi-modal emotional features and emotion types, and determines the interaction strategy.

Benefits of technology

It improves the accuracy and reliability of user emotion recognition, enhances the robustness of the model, can naturally understand user needs and emotional states, provides personalized and intelligent interactive experience, and improves user satisfaction and loyalty.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118709146A
    Figure CN118709146A
Patent Text Reader

Abstract

The embodiment of the invention discloses an intelligent emotion recognition method based on multi-modal data fusion. According to the technical scheme provided by the embodiment of the invention, under the condition that the interaction target is detected, the target voice information and the target face image of the interaction target are collected, and the target voice information and the target face image are input into the pre-constructed multi-modal emotion recognition model; recognizing a target voice feature and a target semantic feature of the target voice information and a target face feature of the target face image based on a multi-modal emotion recognition model, and fusing the target voice feature, the target semantic feature and the target face feature into a multi-modal emotion feature, calculating a matching result of the multi-modal emotional features and the corresponding emotional type information; and determining a target emotion type of the interaction target based on the matching result, wherein the target emotion type is used for formulating an interaction strategy with the interaction target. By adopting the technical means, accurate recognition of the interaction target emotion can be performed based on the multi-modal data, and the interaction experience of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of data recognition technology, and in particular to an emotion intelligence recognition method based on multimodal data fusion. Background Art

[0002] At present, with the rapid development of artificial intelligence science, digital humans using artificial intelligence technology have also been widely used. In the application scenarios of digital humans, digital humans interact with users to provide corresponding business services. Digital humans usually recognize the user's emotions during the interaction process, and then execute corresponding interaction strategies based on the user's emotions to improve the user experience. For example, the semantics of the user's speech content is recognized during the interaction process, and then the user's current emotion is determined based on the recognized semantics.

[0003] However, it is difficult to achieve a high degree of accuracy by simply determining user emotions through user semantic information. When the user's speech does not contain corresponding key words or phrases that represent emotional information, it is easy to fail to recognize or have recognition errors, resulting in errors in the execution of interaction strategies, which in turn affects the user's interaction experience. Summary of the invention

[0004] The embodiment of the present application provides an emotion intelligent recognition method for multimodal data fusion, which can fuse multimodal data to perform user emotion recognition and solve the problem of user emotion recognition error during digital human interaction.

[0005] In a first aspect, an embodiment of the present application provides an emotional intelligence recognition method based on multimodal data fusion, comprising: When an interactive target is detected, target voice information and target face image of the interactive target are collected, and the target voice information and target face image are input into a pre-built multimodal emotion recognition model, the multimodal emotion recognition model includes a semantic emotion feature recognition network, a speech emotion feature recognition network and a face emotion feature recognition network, the multimodal emotion recognition model is pre-trained based on training samples, the training samples are pre-labeled with corresponding emotion type information, the training samples include voice samples and face image samples, the voice samples are used to train the semantic emotion feature recognition network and the speech emotion feature recognition network, and the face image samples are used to train the face emotion feature recognition network; Based on the multimodal emotion recognition model, target speech features, target semantic features of the target speech information and target facial features of the target facial image are identified; based on the attention mechanism, the target speech features, target semantic features and target facial features are fused into multimodal emotion features; and matching results between the multimodal emotion features and the corresponding emotion type information are calculated; The target emotion type of the interaction target is determined based on the matching results, and the target emotion type is used to formulate an interaction strategy with the interaction target.

[0006] In a second aspect, an embodiment of the present application provides an emotion intelligence recognition device for multimodal data fusion, comprising: An input module is used to collect target voice information and target face image of the interactive target when an interactive target is detected, and input the target voice information and target face image into a pre-built multimodal emotion recognition model, wherein the multimodal emotion recognition model includes a semantic emotion feature recognition network, a speech emotion feature recognition network, and a face emotion feature recognition network. The multimodal emotion recognition model is pre-trained based on training samples, and the training samples are pre-labeled with corresponding emotion type information. The training samples include voice samples and face image samples. The voice samples are used to train the semantic emotion feature recognition network and the speech emotion feature recognition network, and the face image samples are used to train the face emotion feature recognition network. A recognition module is used to recognize target speech features, target semantic features of target speech information and target facial features of target facial image based on a multimodal emotion recognition model, fuse the target speech features, target semantic features and target facial features into multimodal emotion features based on an attention mechanism, and calculate a matching result between the multimodal emotion features and the corresponding emotion type information; The output module determines the target emotion type of the interaction target based on the matching results, and the target emotion type is used to formulate the interaction strategy with the interaction target.

[0007] In a third aspect, an embodiment of the present application provides an electronic device, including: memory and one or more processors; A memory for storing one or more programs; When one or more programs are executed by one or more processors, the one or more processors implement the emotion intelligence recognition method of multimodal data fusion as in the first aspect.

[0008] In a fourth aspect, an embodiment of the present application provides a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute the emotional intelligence recognition method of multimodal data fusion as in the first aspect.

[0009] In an embodiment of the present application, when an interactive target is detected, target voice information and target facial image of the interactive target are collected, and the target voice information and target facial image are input into a pre-constructed multimodal emotion recognition model, wherein the multimodal emotion recognition model includes a semantic emotion feature recognition network, a speech emotion feature recognition network and a facial emotion feature recognition network, and the multimodal emotion recognition model is pre-trained based on training samples, and the training samples are pre-labeled with corresponding emotion type information, and the training samples include speech samples and facial image samples, and the speech samples are used to train the semantic emotion feature recognition network and the speech emotion feature recognition network, and the facial image samples are used to train the facial emotion feature recognition network; based on the multimodal emotion recognition model, target voice features, target semantic features and target facial features of the target voice information are identified, and based on the attention mechanism, the target voice features, target semantic features and target facial features are fused into multimodal emotion features, and the matching results of the multimodal emotion features and the corresponding emotion type information are calculated; based on the matching results, the target emotion type of the interactive target is determined, and the target emotion type is used to formulate an interaction strategy with the interactive target. By adopting the above-mentioned technical means, the multimodal data of the comprehensive interaction target is input into the pre-trained multimodal emotion recognition model, and the emotion of the interaction target is accurately identified based on the multimodal data, thereby providing accurate reference information for the human-computer interaction strategy and improving the user's interaction experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 This is a flow chart of a method for intelligent emotion recognition based on multimodal data fusion provided in Example 1 of the present application; Figure 2 is a training flow chart of the multimodal emotion recognition model in Example 1 of the present application; Figure 3 This is a schematic diagram of emotion recognition and interaction of an interactive target in Example 1 of the present application; Figure 4 is an interaction flow chart based on target emotion type in Embodiment 1 of the present application; Figure 5 It is a structural schematic diagram of a multimodal data fusion emotion intelligence recognition device provided in Example 2 of the present application; Figure 6 It is a structural schematic diagram of an electronic device provided in Example 3 of the present application. DETAILED DESCRIPTION

[0011] In order to make the purpose, technical scheme and advantages of the present application clearer, the specific embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. It is understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for the convenience of description, only part of the present application is shown in the accompanying drawings, but not all of the content. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow chart describes each operation (or step) as a sequential process, many of the operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of the operations can be rearranged. The process can be terminated when its operation is completed, but it can also have additional steps not included in the accompanying drawings. The process can correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.

[0012] Embodiment 1: Figure 1 A flowchart of a method for emotional intelligence recognition based on multimodal data fusion provided in Example 1 of the present application is given. The method for emotional intelligence recognition based on multimodal data fusion provided in this embodiment can be executed by an emotional intelligence recognition device based on multimodal data fusion. The emotional intelligence recognition device based on multimodal data fusion can be implemented by software and / or hardware. The emotional intelligence recognition device based on multimodal data fusion can be composed of two or more physical entities, or it can be composed of one physical entity. Generally speaking, the emotional intelligence recognition device based on multimodal data fusion can be an artificial intelligence device such as an intelligent interactive terminal, an interactive robot, or a business robot terminal.

[0013] The following description is made by taking the multimodal data fusion emotion intelligence recognition device as an example of the subject of the multimodal data fusion emotion intelligence recognition method. Figure 1 , the multimodal data fusion emotional intelligence recognition method specifically includes: S110. When an interactive target is detected, target voice information and target facial image of the interactive target are collected, and the target voice information and target facial image are input into a pre-built multimodal emotion recognition model. The multimodal emotion recognition model includes a semantic emotion feature recognition network, a speech emotion feature recognition network, and a facial emotion feature recognition network. The multimodal emotion recognition model is pre-trained based on training samples. The training samples are pre-labeled with corresponding emotion type information. The training samples include voice samples and facial image samples. The voice samples are used to train the semantic emotion feature recognition network and the speech emotion feature recognition network. The facial image samples are used to train the facial emotion feature recognition network.

[0014] In the process of facial emotion recognition, this application uses a multimodal emotion recognition model to more comprehensively capture the user's emotional state by integrating the user's emotional features from different modalities (voice, face), thereby improving the accuracy and reliability of emotion recognition. It can be understood that the multimodal input of the model provides more sources of information for the model. Even when the data of certain modalities is interfered by noise or occlusion, the model can still use the information of other modalities for emotion recognition, thereby enhancing the robustness of the model. In addition, by accurately identifying user emotions, it is possible to understand user needs and emotional states more naturally, thereby providing a more personalized and intelligent interactive experience, which helps to improve user satisfaction and loyalty.

[0015] In intelligent customer service, online education, psychological counseling, and gaming entertainment scenarios, by setting up the device of the emotion intelligent recognition method of multimodal data fusion in this application to interact with the user, more accurate and efficient emotion analysis and emotional computing support can be provided in the corresponding fields.

[0016] Prior to this, a multimodal emotion recognition model was trained by collecting data of multiple modes representing user emotions to achieve accurate recognition of user emotions. Figure 2 ,The training process of the multimodal emotion recognition model includes: S1001, inputting the speech samples in the training samples into the semantic emotion feature recognition network and the speech emotion feature recognition network of the multimodal emotion recognition model, and inputting the face image samples in the training samples into the face emotion feature recognition network of the multimodal emotion recognition model; S1002, outputting semantic training features based on the semantic emotion feature recognition network, outputting speech training features based on the speech emotion feature recognition network, and outputting face training features based on the face emotion feature recognition network; S1003, integrating semantic training features, voice training features and face training features into emotion training features, and outputting emotion recognition results based on the emotion training features; S1004, calculating the loss function of the emotion recognition result and the emotion type information pre-labeled by the training sample, and iteratively adjusting the network parameters of the semantic emotion feature recognition network, the speech emotion feature recognition network and the face emotion feature recognition network based on the loss function until the loss function converges.

[0017] When training a multimodal emotion recognition model, a large number of speech samples representing different user emotions and corresponding facial image samples are collected as training data. These samples cover different emotion types (such as happiness, sadness, anger, surprise, calmness, etc.) to ensure that the model can learn the characteristics of various emotions. Then, each sample is labeled with the emotion type. For speech samples, the labeling is performed by combining manual listening and / or speech-based emotion recognition technology; for facial image samples, the emotion type is determined by manual analysis of facial expressions and / or facial expression recognition technology.

[0018] On the other hand, it is necessary to construct a recognition network for recognizing the above training samples. The multimodal emotion recognition model of the present application includes a semantic emotion feature recognition network, a voice emotion feature recognition network and a facial emotion feature recognition network. Among them, the semantic emotion feature recognition network is responsible for extracting semantic features from the user's speech content and identifying potential emotional clues. The semantic emotion feature recognition network is implemented through natural language processing (NLP) technology, such as using word embedding, LSTM or BERT models. The voice emotion feature recognition network is used to analyze the acoustic features of the voice, such as the pitch, speaking speed, and volume, to identify the emotional information contained in the voice. The semantic emotion feature recognition network is implemented by using models such as deep neural networks (DNN), convolutional neural networks (CNN) or recurrent neural networks (RNN). The facial emotion feature recognition network recognizes facial expression features based on face images and judges the emotional state. Through convolutional neural networks (CNN), such as ResNet, VGG and other networks, the key features in face images can be learned. Then the three sub-networks are trained by using labeled training samples. The network parameters are adjusted by the back propagation algorithm so that the model can accurately recognize the emotional features in speech, semantics and face images.

[0019] Specifically, when training the model, speech samples are input into the semantic emotion feature recognition network and the speech emotion feature recognition network. These two networks are responsible for extracting emotion features at the semantic level and emotion features at the acoustic level from speech, respectively. Face image samples are input into the face emotion feature recognition network. This network focuses on analyzing facial expressions to capture visual clues related to emotions.

[0020] After receiving the corresponding input, each network will perform feature extraction. The semantic emotion feature recognition network outputs semantic training features, which reflect the emotional meaning of the speech content. The speech emotion feature recognition network outputs speech training features, which are extracted based on the acoustic characteristics of the speech, such as pitch, speaking speed, volume, etc. The facial emotion feature recognition network outputs facial training features, which capture emotional clues in facial expressions, such as the position of eyebrows, the shape of the corners of the mouth, etc.

[0021] The features extracted from the three networks (semantic training features, voice training features, and face training features) are fused into a comprehensive emotion training feature. Emotion training features can be implemented through attention mechanisms or feature splicing to ensure that the model can make full use of information from different modalities. Based on this fused emotion training feature, the model outputs an emotion recognition result. The emotion recognition result represents the probability distribution of the corresponding emotion type, indicating the possibility that the input data belongs to each predefined emotion type.

[0022] Furthermore, in order to evaluate the emotion recognition performance of the model and adjust the model parameters accordingly to improve the performance, it is necessary to calculate the loss function between the emotion recognition results and the emotion type information pre-labeled in the training samples. The loss function measures the difference between the model prediction and the true label. By calculating the loss value between the emotion recognition result and the true emotion type, the performance of the model in the current training state can be reflected through this loss value. Based on the calculated loss value, the network parameters of the semantic emotion feature recognition network, the speech emotion feature recognition network, and the face emotion feature recognition network are iteratively adjusted through the back propagation algorithm. This process is repeated iteratively until the loss function converges, that is, the performance of the model on the training set is stable or no longer significantly improved.

[0023] Through the above steps, the multimodal emotion recognition model can learn how to jointly extract emotion features from speech and face images, and perform accurate emotion recognition based on these features. This capability makes the model have broad application prospects in the fields of human-computer interaction, sentiment analysis, etc.

[0024] Optionally, the above-mentioned semantic emotion feature recognition network, speech emotion feature recognition network and facial emotion feature recognition network can be implemented using a model network based on an attention mechanism. The model network based on the attention mechanism extracts feature information through the attention mechanism layer and the residual layer, and then outputs a feature vector of a fixed dimension through the forward network layer to facilitate feature splicing and fusion.

[0025] Specifically, based on the speech emotion feature recognition network output speech training features, including: Based on the speech emotion feature recognition network, the pitch feature data of the speech sample is collected, and the emotion feature words in the speech sample are identified, and the pitch feature data and the emotion feature words are spliced ​​into speech training features according to the feature vector of fixed dimension.

[0026] When building a network structure based on speech emotion feature recognition, it is necessary to extract features that can characterize the emotional state from the speech samples and combine these features with emotion-related labels to train machine learning or deep learning models. Among them, for speech samples collected from users in various emotional states (such as happiness, sadness, anger, calmness, etc.), the collected speech is preprocessed by denoising, framing (such as dividing the continuous speech signal into shorter frames, each frame is about 20-30 milliseconds), and windowing (using Hamming windows, etc. to reduce the discontinuity between frames). Then, the fundamental frequency (i.e., pitch) is extracted from each frame of speech using algorithms such as autocorrelation and cepstrum. The change of the fundamental frequency over time can reflect the emotional state of the speech. In addition to the fundamental frequency, features such as pitch change rate, sound intensity, and sound length can also be extracted. These features are also important for distinguishing different emotional states. On this basis, the speech samples are converted into text by using speech recognition (ASR) technology. Then, natural language processing (NLP) techniques, such as sentiment dictionary matching and sentiment classification models, are used to identify sentiment-related words or phrases from the text and use these words as sentiment feature words.

[0027] Then, according to the number of extracted tone features and the number of selected emotional feature words, a fixed-dimensional feature vector structure is designed. For example, the tone features can be set to occupy the first few dimensions, and the emotional feature words can occupy the remaining dimensions through a certain encoding method (such as one-hot encoding, word embedding, etc.). The extracted tone feature data and the identified emotional feature words are spliced ​​according to the designed feature vector structure. For emotional feature words, if the number is not fixed, the fixed dimension can be adapted by selecting the most relevant words or performing weighted averaging. The spliced ​​speech training feature vectors are combined with the corresponding emotional labels (such as happy, sad, etc.) into the training data set of the current network. Then, according to the specific task requirements, a suitable machine learning or deep learning model is selected, such as support vector machine (SVM), recurrent neural network (RNN), convolutional neural network (CNN) combined with long short-term memory network (LSTM), etc. The model is trained using the training data set of the current network and evaluated on the test set to verify the performance and generalization ability of the model.

[0028] In this way, a network structure based on speech emotion feature recognition can be constructed, which can effectively extract and combine pitch features and emotion feature words from speech samples, providing strong support for subsequent emotion recognition.

[0029] On the other hand, optionally, the semantic emotion feature recognition network outputs semantic training features, including: Collecting first semantic feature data of the speech sample based on a semantic emotion feature recognition network; Input context speech data of the speech sample, and identify second semantic feature data of the context speech data; The first semantic feature data and the second semantic feature data are concatenated into semantic training features according to feature vectors of fixed dimensions.

[0030] This application mainly involves in-depth semantic analysis of speech samples and their contexts when constructing semantic training features based on the network structure of semantic emotion feature recognition. Among them, the speech samples are converted into text through speech recognition (ASR) technology, and then natural language processing (NLP) technology is used, such as part-of-speech tagging, syntactic analysis, named entity recognition, etc., to deeply analyze the converted text and extract words, phrases or sentence structures directly related to emotional expression as the first semantic feature data. These features may include emotional words, negative words, degree words, emotional syntax, etc.

[0031] In addition to the current voice sample, it is also necessary to collect the contextual voice data related to it. The context can be the previous sentence, the next sentence, or the rest of the entire conversation. Contextual speech recognition and conversion also converts the contextual voice data into text through ASR technology, and obtains contextual features through natural language processing (NLP) technology as the second semantic feature data.

[0032] Then, according to the task requirements and the nature of the extracted features, a fixed-dimensional feature vector structure is designed. This structure should be able to accommodate the first semantic feature data and the second semantic feature data, while retaining sufficient flexibility to cope with inputs of different lengths. The first semantic feature data and the second semantic feature data are encoded into a format suitable for model input. For example, words or phrases are mapped to word embeddings, text importance weights are calculated using algorithms such as TF-IDF or BM25, or higher-level semantic representations are extracted through neural networks. The encoded first semantic feature data and the second semantic feature data are then concatenated according to the designed feature vector structure. In the case of mismatch in the number or dimension of features, padding, truncation, or weighted averaging are used for adjustment. The concatenated semantic training feature vector is combined with the corresponding emotion label (such as happy, sad, etc.) into the training data set of the current network. The model is trained using the training data set and evaluated on an independent test set to verify the performance and generalization ability of the model.

[0033] Through the above steps, a network structure based on semantic emotion feature recognition can be constructed. The network can use the semantic information of speech samples and their context to extract and combine semantic training features, thereby supporting more accurate and detailed sentiment analysis tasks.

[0034] Based on the above training process, the multimodal emotion recognition model of the embodiment of the present application can be obtained for model reasoning and determination of the current emotion type of the interaction target. Afterwards, during the human-computer interaction process using the multimodal data fusion emotion intelligent recognition device of the present application, the user currently performing human-computer interaction is determined as the interaction target, and the voice information and face image of the interaction target are collected in real time. The collected voice and image are preprocessed as necessary, such as denoising, filtering, face detection and alignment, etc., to facilitate subsequent feature extraction, and the target voice information and target face image are input into the pre-built multimodal emotion recognition model for emotion recognition.

[0035] S120, identifying the target speech features, target semantic features and target facial features of the target speech information and the target facial image based on the multimodal emotion recognition model, fusing the target speech features, target semantic features and target facial features into multimodal emotion features based on the attention mechanism, and calculating the matching results between the multimodal emotion features and the corresponding emotion type information.

[0036] Based on the above-trained multimodal emotion recognition model, the target speech information and target face image are recognized to determine the target speech features, target semantic features of the target speech information and target face features of the target face image, and then the target speech features, target semantic features and target face features are fused into multimodal emotion features based on the attention mechanism. The attention mechanism can dynamically adjust the importance of different features, so that the model pays more attention to the information that is useful for current emotion recognition.

[0037] The fused multimodal emotion features are then compared with the predefined emotion type information, and the matching results are calculated to determine the user's emotion type. The fused multimodal features are similarly calculated with the label or vector of each emotion type (such as cosine similarity, Euclidean distance, etc.), and the emotion type with the highest similarity is selected as the final recognition result based on the similarity calculation results, so as to achieve more accurate and comprehensive emotion recognition.

[0038] The recognition and fusion process of the above multimodal emotion features refers to the training process of the multimodal emotion recognition model, which will not be elaborated here.

[0039] S130: Determine a target emotion type of the interaction target based on the matching result, where the target emotion type is used to formulate an interaction strategy with the interaction target.

[0040] Finally, according to the identified user emotion type, the corresponding interaction strategy can be formulated. For example, if the user shows anger, a soothing interaction method can be adopted; if the user shows happiness, a more relaxed and pleasant interaction method may be adopted. By applying the formulated interaction strategy to the actual human-computer interaction process, adjusting the interaction content, tone, expression, etc., the user's interaction experience can be improved.

[0041] For example, refer to Figure 3 In actual applications, users use interactive robots for human-computer interaction to conduct information consultation and other related services. The interactive robot collects the voice and facial image information of the current user based on the emotional intelligent recognition method of multimodal data fusion of the present application. Then, based on the three sub-networks of the multimodal emotion recognition model of the present application, the target voice features, target semantic features and target facial features are recognized, and the fusion network is used to fuse the three sets of recognized features into multimodal emotion features. Based on the matching degree between the multimodal emotion features and the features of different emotion types, the emotion type corresponding to the current user's recognition can be output, and then human-computer interaction can be performed according to the adaptability of the recognized user emotion type.

[0042] Optionally, refer to Figure 4 , after determining the target emotion type of the interaction target based on the matching results, it also includes: S1301, querying a business database based on target semantic features to obtain corresponding business data; S1302: obtaining a preset interaction strategy based on the target emotion type, inputting the business data and the interaction strategy into a preset large language model according to a set input template, outputting the interaction result, and returning the interaction result to the interaction target.

[0043] After determining the target emotion type of the interaction target, the present application further combines the data in the business database and the preset interaction strategy to generate the interaction result of the human-computer interaction. This process involves querying business data, selecting interaction strategies, and integrating and inputting this information into the preset large language model, and finally generating and returning the interaction result to the interaction target.

[0044] Among them, based on the target semantic features identified by the target voice information collected by the interactive target during human-computer interaction, the input or request of the interactive target is analyzed, and the key semantic features (such as keywords, intentions, etc.) are extracted. These semantic features are used as query conditions to retrieve relevant business data in the business database. These data may include product information, service details, user history records, etc. The business database is pre-configured with corresponding business data corresponding to different key semantic features (such as keywords, intentions, etc.) to respond to the input information of user human-computer interaction.

[0045] The process of querying the business database based on the target semantic features to obtain the corresponding business data includes: The business problem feature field in the target semantic feature is intercepted, and the business database is queried based on the business problem feature field to determine the business information pair that matches the business problem feature field, and the corresponding business data is obtained from the business information pair. The business information pair is pre-constructed based on different business problems and corresponding business data.

[0046] Specifically, after identifying the target semantic features of the user input, we first need to understand and analyze the user's intention through natural language processing (NLP) technology (such as word segmentation, part-of-speech tagging, named entity recognition, etc.). Once it is determined that the user's intention is to ask a specific business question, we can extract the feature fields directly related to the business question.

[0047] For example, the user inputs: "What is the battery capacity of the XX model smartwatch?" Here, "XX model smartwatch" and "battery capacity" are the characteristic fields of the business question. Once the characteristic fields of the business question are intercepted, the query statement can be constructed based on these fields and then sent to the business database for query. The database should pre-design the corresponding table structure and index to quickly respond to such queries. The result of the database query is usually one or more record sets, each of which contains the values ​​of all fields that match the query conditions. Among these results, it is necessary to find a business information pair that completely matches the characteristic fields of the business question. Continuing with the above example, the query result may be a single record containing the "battery capacity" field, which is the business information pair that matches the characteristic fields of the business question. Finally, the specific business data required by the user is extracted from the matching business information pair. This data will be directly used to construct a text message to reply to the user. For example, the "battery capacity" value (assuming it is 400mAh) extracted from the query result will be used to reply to the user: "The battery capacity of the XX brand smartwatch is 400mAh". Before this, in order to efficiently respond to various business queries, it is necessary to pre-construct business information pairs in the database based on the possible business problems and corresponding business data before the system goes online. When querying business data, matching business information pairs are searched in the business database, and finally the business data required by the user is extracted.

[0048] On the other hand, according to the previously determined target emotion type (such as positive, negative, neutral or complex emotions), select the corresponding strategy from the preset interaction strategy library. These strategies may include language style, speech templates, response methods, etc., to better adapt to the emotional state of the interaction target during the interaction process.

[0049] After that, one or more input templates are designed to integrate the queried business data and interaction strategies into a format that the model can understand. These templates may include specific text structures, markup languages ​​(such as Markdown, HTML), or model-specific input formats. The integrated information (including business data and interaction strategies) is input into the preset large language model according to the set input template. The large language model can understand and process natural language and generate corresponding interaction results based on the input information. This result can be a text, a conversation, or some form of output, designed to meet the needs and expectations of the interaction target. Finally, the generated interaction results are returned to the interaction target, so that the business data and the preset interaction strategy can be effectively combined, and the large language model can be used to generate high-quality interaction results, thereby improving user experience and satisfaction.

[0050] For example, when it is detected that the interactive target is asking an angry question about the location of the registration window, the emotional intelligence recognition method based on the multimodal data fusion of the present application determines that the user's target emotion type is "angry", and at the same time determines that the business data corresponding to the answer to the user's input question is "the registration window is located in Room 201 on the second floor", and further determines the interaction strategy as "answering with a soothing tone" according to the target emotion type "anger". When the integrated information (including business data and interaction strategy) is input into the preset large language model according to the set input template, the input information is "please use a soothing tone to express the following information: the registration window is located in Room 201 on the second floor". Based on the input information, the large language model automatically generates an interaction result such as "Please rest assured that the registration window is very easy to find. It is located on the warm and comfortable second floor, and the room number is 201. You go up the stairs and gently push open the door. Our staff will greet you with a smile there and provide you with thoughtful service", and return this interaction result to the current user, so as to achieve human-computer interaction that adapts to the current user's emotions and optimize the user's interaction experience.

[0051] Optionally, the multimodal emotion recognition model of the present application further includes a pre-trained body language feature recognition network, the body language feature recognition network is pre-trained based on different body language feature images, and the body language feature images are pre-labeled with corresponding body language tags; Correspondingly, after determining the target emotion type of the interaction target based on the matching result, the method further includes: Collect body movement images of the interactive target, and identify body language information of the body movement images based on a body language feature recognition network; Verify the match of the target emotion type based on body language information.

[0052] The multimodal emotion recognition model of the present application can be further expanded to achieve more accurate emotion recognition through a pre-trained body language feature recognition network. Among them, by collecting a large number of body language feature images, these images cover different body languages ​​of different users in various emotional states. Then, each image is finely annotated and assigned corresponding body language labels, which represent the specific body language meaning expressed by the characters in the image. Use the labeled body language feature image dataset to train a deep learning network, such as a convolutional neural network (CNN) or a more complex model, such as a recurrent neural network (RNN) combined with an attention mechanism, to learn how to extract and recognize body language features from images.

[0053] Through the iterative training process, the network parameters are continuously adjusted to improve the accuracy and robustness of the model in recognizing body language features.

[0054] Based on the emotion recognition of other modalities (such as text and voice) based on the above multimodal emotion recognition model, the target emotion type of the interactive target is first determined. Then, by collecting the body movement images of the interactive target, these images can clearly reflect the current body language state of the interactive target. The collected body movement images are input into the pre-trained body language feature recognition network to identify the body language information in the image. This information may include specific body language features and their corresponding labels.

[0055] By comparing body language features with predefined emotion-body language association rules, more accurate emotion judgments can be obtained. For example, if the body language features represent the current user's emotion as "anger", and the target emotion type is "anger", the two have a high degree of match, and interaction strategies can be formulated directly. On the contrary, if the match is low, further user information (face, voice) can be collected to formulate interaction strategies. By combining the results of body language verification with the emotion recognition results of other modalities for comprehensive evaluation, more accurate emotion judgments can be obtained.

[0056] In the above, when the interaction target is detected, the target voice information and target face image of the interaction target are collected, and the target voice information and target face image are input into a pre-constructed multimodal emotion recognition model, the multimodal emotion recognition model includes a semantic emotion feature recognition network, a voice emotion feature recognition network and a face emotion feature recognition network, the multimodal emotion recognition model is pre-trained based on training samples, the training samples are pre-labeled with corresponding emotion type information, the training samples include voice samples and face image samples, the voice samples are used to train the semantic emotion feature recognition network and the voice emotion feature recognition network, and the face image samples are used to train the face emotion feature recognition network; based on the multimodal emotion recognition model, the target voice features, target semantic features and target face features of the target voice information are identified, based on the attention mechanism, the target voice features, target semantic features and target face features are fused into multimodal emotion features, and the matching results of the multimodal emotion features and the corresponding emotion type information are calculated; based on the matching results, the target emotion type of the interaction target is determined, and the target emotion type is used to formulate an interaction strategy with the interaction target. By adopting the above-mentioned technical means, the multimodal data of the comprehensive interaction target is input into the pre-trained multimodal emotion recognition model, and the emotion of the interaction target is accurately identified based on the multimodal data, thereby providing accurate reference information for the human-computer interaction strategy and improving the user's interaction experience.

[0057] Embodiment 2: Based on the above embodiments, Figure 5 This is a schematic diagram of the structure of a multimodal data fusion emotion intelligence recognition device provided in Example 2 of the present application. Figure 5 The multimodal data fusion emotion intelligence recognition device provided in this embodiment specifically includes: The input module 21 is used to collect the target voice information and target face image of the interactive target when the interactive target is detected, and input the target voice information and target face image into a pre-built multimodal emotion recognition model, the multimodal emotion recognition model includes a semantic emotion feature recognition network, a speech emotion feature recognition network and a face emotion feature recognition network, the multimodal emotion recognition model is pre-trained based on training samples, the training samples are pre-labeled with corresponding emotion type information, the training samples include voice samples and face image samples, the voice samples are used to train the semantic emotion feature recognition network and the speech emotion feature recognition network, and the face image samples are used to train the face emotion feature recognition network; The recognition module 22 is used to recognize the target speech features, target semantic features and target face features of the target speech information and the target face image based on the multimodal emotion recognition model, fuse the target speech features, target semantic features and target face features into multimodal emotion features based on the attention mechanism, and calculate the matching result between the multimodal emotion features and the corresponding emotion type information; The output module 23 determines the target emotion type of the interaction target based on the matching result, and the target emotion type is used to formulate an interaction strategy with the interaction target.

[0058] Specifically, the training process of the multimodal emotion recognition model includes: Inputting the speech samples in the training samples into the semantic emotion feature recognition network and the speech emotion feature recognition network of the multimodal emotion recognition model, and inputting the face image samples in the training samples into the face emotion feature recognition network of the multimodal emotion recognition model; The semantic emotion feature recognition network outputs semantic training features, the speech emotion feature recognition network outputs speech training features, and the face emotion feature recognition network outputs face training features; The semantic training features, voice training features and face training features are integrated into the emotion training features, and the emotion recognition results are output based on the emotion training features; The loss function between the emotion recognition results and the emotion type information pre-labeled in the training samples is calculated, and the network parameters of the semantic emotion feature recognition network, the speech emotion feature recognition network, and the face emotion feature recognition network are iteratively adjusted based on the loss function until the loss function converges.

[0059] Among them, the speech training features output based on the speech emotion feature recognition network include: Based on the speech emotion feature recognition network, the pitch feature data of the speech sample is collected, and the emotion feature words in the speech sample are identified, and the pitch feature data and the emotion feature words are spliced ​​into speech training features according to the feature vector of fixed dimension.

[0060] Based on the semantic emotion feature recognition network output semantic training features, including: Collecting first semantic feature data of the speech sample based on a semantic emotion feature recognition network; Input context speech data of the speech sample, and identify second semantic feature data of the context speech data; The first semantic feature data and the second semantic feature data are concatenated into semantic training features according to feature vectors of fixed dimensions.

[0061] The multimodal emotion recognition model also includes a pre-trained body language feature recognition network, which is pre-trained based on different body language feature images, and the body language feature images are pre-labeled with corresponding body language labels; After determining the target emotion type of the interaction target based on the matching results, it also includes: Collect body movement images of the interactive target, and identify body language information of the body movement images based on a body language feature recognition network; Verify the match of the target emotion type based on body language information.

[0062] Specifically, after determining the target emotion type of the interaction target based on the matching result, the following steps are further included: Based on the target semantic features, query the business database to obtain the corresponding business data; Based on the target emotion type, a preset interaction strategy is obtained, the business data and interaction strategy are input into a preset large language model according to the set input template, the interaction result is output, and the interaction result is returned to the interaction target.

[0063] The process of querying the business database based on the target semantic features to obtain the corresponding business data includes: The business problem feature field in the target semantic feature is intercepted, and the business database is queried based on the business problem feature field to determine the business information pair that matches the business problem feature field, and the corresponding business data is obtained from the business information pair. The business information pair is pre-constructed based on different business problems and corresponding business data.

[0064] In the above, when the interaction target is detected, the target voice information and target face image of the interaction target are collected, and the target voice information and target face image are input into a pre-constructed multimodal emotion recognition model, the multimodal emotion recognition model includes a semantic emotion feature recognition network, a voice emotion feature recognition network and a face emotion feature recognition network, the multimodal emotion recognition model is pre-trained based on training samples, the training samples are pre-labeled with corresponding emotion type information, the training samples include voice samples and face image samples, the voice samples are used to train the semantic emotion feature recognition network and the voice emotion feature recognition network, and the face image samples are used to train the face emotion feature recognition network; based on the multimodal emotion recognition model, the target voice features, target semantic features and target face features of the target voice information are identified, based on the attention mechanism, the target voice features, target semantic features and target face features are fused into multimodal emotion features, and the matching results of the multimodal emotion features and the corresponding emotion type information are calculated; based on the matching results, the target emotion type of the interaction target is determined, and the target emotion type is used to formulate an interaction strategy with the interaction target. By adopting the above-mentioned technical means, the multimodal data of the comprehensive interaction target is input into the pre-trained multimodal emotion recognition model, and the emotion of the interaction target is accurately identified based on the multimodal data, thereby providing accurate reference information for the human-computer interaction strategy and improving the user's interaction experience.

[0065] The multimodal data fusion emotion intelligence recognition device provided in the second embodiment of the present application can be used to execute the multimodal data fusion emotion intelligence recognition method provided in the above-mentioned first embodiment, and has corresponding functions and beneficial effects.

[0066] Embodiment three: Embodiment 3 of the present application provides an electronic device, referring to Figure 6 The electronic device includes: a processor 31, a memory 32, a communication module 33, an input device 34 and an output device 35. The number of processors in the electronic device can be one or more, and the number of memories in the electronic device can be one or more. The processor, memory, communication module, input device and output device of the electronic device can be connected via a bus or other means.

[0067] As a computer-readable storage medium, the memory can be used to store software programs, computer executable programs and modules, such as the program instructions / modules corresponding to the multimodal data fusion emotional intelligence recognition method described in any embodiment of the present application (for example, the input module, recognition module and output module in the multimodal data fusion emotional intelligence recognition device). The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, at least one application required for a function; the data storage area may store data created according to the use of the device, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network and a combination thereof.

[0068] The communication module is used for data transmission.

[0069] The processor executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory, that is, realizing the above-mentioned emotional intelligence recognition method of multimodal data fusion.

[0070] The input device can be used to receive input digital or character information and generate key signal input related to user settings and function control of the device. The output device can include display devices such as display screens.

[0071] The electronic device provided above can be used to execute the emotion intelligence recognition method of multimodal data fusion provided in the above embodiment 1, and has corresponding functions and beneficial effects.

[0072] Embodiment 4: The embodiment of the present application also provides a storage medium containing computer executable instructions, which are used to execute a multimodal data fusion emotion intelligence recognition method when executed by a computer processor. The multimodal data fusion emotion intelligence recognition method includes: when an interactive target is detected, collecting target voice information and target face image of the interactive target, inputting the target voice information and target face image into a pre-constructed multimodal emotion recognition model, the multimodal emotion recognition model includes a semantic emotion feature recognition network, a speech emotion feature recognition network and a face emotion feature recognition network, the multimodal emotion recognition model is pre-trained based on training samples, and the training samples are pre-labeled The corresponding emotion type information is obtained, and the training samples include speech samples and face image samples. The speech samples are used to train the semantic emotion feature recognition network and the speech emotion feature recognition network, and the face image samples are used to train the face emotion feature recognition network. Based on the multimodal emotion recognition model, the target speech features, target semantic features and target face features of the target speech information are identified, and based on the attention mechanism, the target speech features, target semantic features and target face features are fused into multimodal emotion features, and the matching results of the multimodal emotion features and the corresponding emotion type information are calculated. Based on the matching results, the target emotion type of the interaction target is determined, and the target emotion type is used to formulate the interaction strategy with the interaction target.

[0073] Storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media, such as CD-ROM, floppy disk or tape device; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (such as hard disk or optical storage); registers or other similar types of memory elements, etc. Storage media may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the first computer system in which the program is executed, or may be located in a different second computer system, which is connected to the first computer system via a network (such as the Internet). The second computer system can provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations (for example, in different computer systems connected by a network). The storage medium may store program instructions (for example, embodied as a computer program) that can be executed by one or more processors.

[0074] Of course, the storage medium containing computer executable instructions provided in the embodiment of the present application, whose computer executable instructions are not limited to the emotional intelligence recognition method of multimodal data fusion as described above, can also execute related operations in the emotional intelligence recognition method of multimodal data fusion provided in any embodiment of the present application.

[0075] The multimodal data fusion emotion intelligence recognition device, storage medium and electronic device provided in the above embodiments can execute the multimodal data fusion emotion intelligence recognition method provided in any embodiment of the present application. For technical details not described in detail in the above embodiments, please refer to the multimodal data fusion emotion intelligence recognition method provided in any embodiment of the present application.

[0076] The above are only preferred embodiments of the present application and the technical principles used. The present application is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions that can be made by those skilled in the art will not deviate from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the claims.

Claims

1. A method for emotional intelligence recognition based on multimodal data fusion, characterized in that: include: In the case where an interactive target is detected, target voice information and target facial image of the interactive target are collected, and the target voice information and the target facial image are input into a pre-constructed multimodal emotion recognition model, wherein the multimodal emotion recognition model includes a semantic emotion feature recognition network, a speech emotion feature recognition network, and a facial emotion feature recognition network, and the multimodal emotion recognition model is pre-trained based on training samples, and the training samples are pre-labeled with corresponding emotion type information, and the training samples include voice samples and facial image samples, and the voice samples are used to train the semantic emotion feature recognition network and the speech emotion feature recognition network, and the facial image samples are used to train the facial emotion feature recognition network; Based on the multimodal emotion recognition model, the target speech features, the target semantic features of the target speech information and the target facial features of the target facial image are identified; based on the attention mechanism, the target speech features, the target semantic features and the target facial features are fused into a multimodal emotion feature; and a matching result between the multimodal emotion feature and the corresponding emotion type information is calculated; A target emotion type of the interaction target is determined based on the matching result, and the target emotion type is used to formulate an interaction strategy with the interaction target.

2. The method for emotional intelligence recognition based on multimodal data fusion according to claim 1, characterized in that: The training process of the multimodal emotion recognition model includes: Inputting the speech samples in the training samples into the semantic emotion feature recognition network and the speech emotion feature recognition network of the multimodal emotion recognition model, and inputting the face image samples in the training samples into the face emotion feature recognition network of the multimodal emotion recognition model; Output semantic training features based on the semantic emotion feature recognition network, output speech training features based on the speech emotion feature recognition network, and output face training features based on the face emotion feature recognition network; fusing the semantic training features, the voice training features and the face training features into emotion training features, and outputting emotion recognition results based on the emotion training features; Calculate the loss function of the emotion recognition result and the emotion type information pre-labeled by the training sample, and iteratively adjust the network parameters of the semantic emotion feature recognition network, the speech emotion feature recognition network and the facial emotion feature recognition network based on the loss function until the loss function converges.

3. The method for emotional intelligence recognition based on multimodal data fusion according to claim 2, characterized in that: The outputting of speech training features based on the speech emotion feature recognition network includes: Based on the speech emotion feature recognition network, the tone feature data of the speech sample is collected, and the emotion feature words in the speech sample are identified, and the tone feature data and the emotion feature words are spliced ​​into the speech training feature according to the feature vector of fixed dimension.

4. The method for emotional intelligence recognition based on multimodal data fusion according to claim 2, characterized in that: Outputting semantic training features based on the semantic emotion feature recognition network includes: Collecting first semantic feature data of the speech sample based on the semantic emotion feature recognition network; Inputting context speech data of the speech sample, and identifying second semantic feature data of the context speech data; The semantic training feature is formed based on the first semantic feature data and the second semantic feature data, which are concatenated according to a feature vector of a fixed dimension.

5. The method for emotional intelligence recognition based on multimodal data fusion according to any one of claims 1 to 4, characterized in that: The multimodal emotion recognition model also includes a pre-trained body language feature recognition network, wherein the body language feature recognition network is pre-trained based on different body language feature images, and the body language feature images are pre-labeled with corresponding body language tags; After determining the target emotion type of the interaction target based on the matching result, the method further includes: Collecting a body movement image of the interactive target, and identifying body language information of the body movement image based on the body language feature recognition network; The matching degree of the target emotion type is verified based on the body language information.

6. The method for emotional intelligence recognition based on multimodal data fusion according to any one of claims 1 to 4, characterized in that: After determining the target emotion type of the interaction target based on the matching result, the method further includes: Based on the target semantic feature, query the business database to obtain corresponding business data; A preset interaction strategy is obtained based on the target emotion type, the business data and the interaction strategy are input into a preset large language model according to a set input template, an interaction result is output, and the interaction result is returned to the interaction target.

7. The method for emotional intelligence recognition based on multimodal data fusion according to claim 6, characterized in that: The querying of the business database based on the target semantic feature to obtain corresponding business data includes: The business problem feature field in the target semantic feature is intercepted, the business database is queried based on the business problem feature field, a business information pair matching the business problem feature field is determined, and corresponding business data is obtained from the business information pair, wherein the business information pair is pre-constructed based on different business problems and corresponding business data.

8. An emotional intelligence recognition device based on multimodal data fusion, characterized in that: include: An input module, used for collecting target voice information and target facial image of the interactive target when an interactive target is detected, and inputting the target voice information and the target facial image into a pre-constructed multimodal emotion recognition model, wherein the multimodal emotion recognition model comprises a semantic emotion feature recognition network, a speech emotion feature recognition network and a facial emotion feature recognition network, wherein the multimodal emotion recognition model is pre-trained based on training samples, wherein the training samples are pre-labeled with corresponding emotion type information, wherein the training samples comprise voice samples and facial image samples, wherein the voice samples are used to train the semantic emotion feature recognition network and the speech emotion feature recognition network, and wherein the facial image samples are used to train the facial emotion feature recognition network; A recognition module, for identifying target speech features, target semantic features of the target speech information and target facial features of the target facial image based on the multimodal emotion recognition model, fusing the target speech features, the target semantic features and the target facial features into multimodal emotion features based on an attention mechanism, and calculating a matching result between the multimodal emotion features and the corresponding emotion type information; An output module determines a target emotion type of the interaction target based on the matching result, wherein the target emotion type is used to formulate an interaction strategy with the interaction target.

9. An electronic device, characterized in that: include: memory and one or more processors; The memory is used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the multimodal data fusion emotion intelligence recognition method as described in any one of claims 1-7.

10. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions, when executed by a computer processor, are used to execute the multimodal data fusion emotional intelligence recognition method as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Image processing method and device, terminal and computer storage medium

    CN110442867A

  • Emotion recognition system and method and electronic equipment

    CN112016367A

  • Emotion recognition method and device based on voice, semantics and facial expression fusion

    CN112686048A

  • Detainee emotion recognition method for multi-modal feature fusion based on Transformer, equipment, and medium

    CN113822192A

  • Multi-modal sentiment classification method and device, equipment and storage medium

    CN115114408A

Cited By

  • Efficient digital human interaction system fusing multi-modal information

    CN118897887A

  • An efficient digital human interaction system integrating multimodal information

    CN118897887B

  • Psychological state prediction system and method based on large language model

    CN119271790A

  • Digital human control method and device based on multiple modes and electronic equipment

    CN119441403A

  • Emotion recognition method based on large model and related device

    CN119904901A