Multi-modal dialogue emotion recognition method based on plural neural networks

By designing an Emoplex model based on complex neural networks in multi-modal dialogue emotion recognition, using complex embedding and phase information to explicitly model interlocutor dependencies, the problem of existing models in capturing modal interactions and interlocutor dependencies is solved. shortcomings, achieving a more efficient and accurate emotion recognition effect.

CN118568664APending Publication Date: 2024-08-30UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202410719357.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing multimodal dialogue emotion recognition models have shortcomings in capturing inter-modal interaction relationships and interlocutor dependencies, especially in terms of computational cost and interlocutor information modeling, leading to accuracy and efficiency issues.

Method used

A multimodal dialogue emotion recognition method based on complex neural networks is designed. The model Emoplex includes a modal encoder, a multimodal fusion module, an interlocutor modeling module and an emotion classifier. It uses complex embedding and phase information to explicitly construct Model interlocutor dependencies and improve the model's understanding through linear fusion functions and intra- and inter-interlocutor relationship mining mechanisms.

Benefits of technology

It improves the accuracy and computational efficiency of multi-modal dialogue emotion recognition, provides a more comprehensive representation and higher discriminative ability, can effectively capture subtle relationships and dependencies in data, and reduces time complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568664A
    Figure CN118568664A
Patent Text Reader

Abstract

The invention discloses a multi-modal dialogue emotion recognition method based on a plurality of neural networks, and relates to the technical field of neural networks, the method designs a model based on the plurality of neural networks, and the plurality of modals comprise text, visual and auditory modals; the model comprises a modal encoder used for obtaining a context-aware single-modal representation and mapping the context-aware single-modal representation to a complex vector space; the multi-modal fusion module is used for aggregating each modal based on a linear fusion function to obtain a fused multi-modal representation; the dialogue modeling module is used for explicitly learning and spreading a dynamic state perceived by a speaker in a dialogue based on a promoted or destructive addition of a phase in a complex vector space; the sentiment classifier is used for predicting the sentiment state perceived by the dialogue person. According to the method, a competitive result is provided while the calculation efficiency is higher, the subtle relationship and dependency in the ERC data can be captured, and valuable multi-modal information can be efficiently combined, so that the model can deeply understand the potential correlation between the modals.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of neural network technology, and in particular to a multimodal dialogue emotion recognition method based on plural neural networks. Background Art

[0002] The task of emotion recognition in conversation (ERC) aims to enable machines to detect human emotions in conversations using multi-sensory data (including text, visual and auditory information). Unlike emotion computing tasks under a single modality (such as text or speech), the multi-modal and multi-interlocutor characteristics of the ERC task determine that it presents a unique and critical challenge: the complex interaction relationship between the modalities and the interlocutor dependencies.

[0003] Researchers have been exploring how to capture the complex interactions between modalities more effectively. In existing ERC models, many models use multimodal representation and fusion techniques (such as Transformer or gated attention mechanism) to capture the interactions between modalities. Although some progress has been made, these models often focus on non-dialogue scenarios and ignore the dependencies in dialogues; at the same time, these paradigms usually require complex specific structures, and their time complexity is generally O(L 2 d), which is in a square relationship with the number of input sentences L (d is the feature dimension). When there are many data samples, its computational cost will be very expensive.

[0004] On the other hand, recent studies have also begun to explore interlocutor dependencies in ERC. A common paradigm is to design recurrent neural networks (RNNs) with various attention mechanisms that are specific to the identity of the interlocutor, which requires a lot of engineering to adjust the architecture. Transformer is also a popular solution that can retain interlocutor information in context modeling and can implicitly capture interlocutor information; in addition, there are also some studies that statically embed interlocutor information into the dialogue feature vector to obtain interlocutor information. These methods are relatively easy to implement, but they tend to model interlocutor information implicitly or statically, resulting in insufficient modeling of interlocutor dependencies. Summary of the invention

[0005] The present invention deeply analyzes the task characteristics of conversation emotion recognition, and in view of the common defects of current methods, utilizes the multimodal characteristics of the task and the dependence on the interlocutor, and proposes a multimodal conversation emotion recognition method based on plural neural networks.

[0006] The present invention provides a multimodal conversation emotion recognition method based on a plural neural network. The method designs a model Emoplex based on a plural neural network based on the characteristics of the multimodality and the dependence on the interlocutor. The multimodal conversation emotion recognition is performed based on the model Emoplex. The multimodality includes text, visual and auditory modalities.

[0007] The model Emoplex includes a modal encoder, a multimodal fusion module, an interlocutor modeling module, and a sentiment classifier;

[0008] The modality encoder is used to map the unimodal sentences into the joint embedding space and contextualize them, and then map them into complex embedding vectors in the complex vector space;

[0009] The multimodal fusion module is used to introduce corresponding real-valued weight parameters for each modality and map them to the complex vector space. Then, the modalities are aggregated based on the linear fusion function to obtain the fused multimodal representation. The real-valued weight parameters corresponding to each modality are trainable and randomly initialized parameters and are independent of the context.

[0010] The interlocutor modeling module is used to take the fused multimodal representation as input, and explicitly learn and propagate the dynamics perceived by the speaker in the conversation based on the facilitative or destructive addition of phases in the complex vector space to obtain the emotional state perceived by the interlocutor;

[0011] The emotion classifier is used to predict the emotional state perceived by the interlocutor and realize multimodal conversation emotion recognition.

[0012] As a further description of the above technical solution: the modal encoder includes a bidirectional long short-term memory network and two fully connected networks. The bidirectional long short-term memory network is used to encode the text modality in the unimodal sentence, and the two fully connected networks are used to encode the auditory and visual modalities in the unimodal sentence respectively. The encoded text, auditory and visual modalities are context-aware unimodal representations.

[0013] As a further description of the above technical solution: in the process of mapping to a complex embedding vector, a learnable parameter is introduced as the amplitude, and the real-valued embedding vector itself is regarded as the phase.

[0014] As a further description of the above technical solution: the linear fusion function in the multimodal fusion module is a fully adaptive fusion function, or a T-type dominant fusion function, or a V-type dominant fusion function, or an A-type dominant fusion function; the fully adaptive fusion function is used for scenarios where each modality is treated equally and adaptively fused; the T-type dominant fusion function is used for scenarios where the text modality is the dominant modality; the V-type dominant fusion function is used for scenarios where the visual modality is the dominant modality; and the A-type dominant fusion function is used for scenarios where the auditory modality is the dominant modality.

[0015] As a further description of the above technical solution: in the process of modeling the emotional state perceived by the interlocutor, an intra-interlocutor relationship mining mechanism, or an inter-interlocutor relationship mining mechanism, or an intra-interlocutor and inter-interlocutor relationship mining mechanism is adopted; the intra-interlocutor relationship mining mechanism explicitly captures the dependencies within the interlocutor and regards the dependencies between the interlocutors as part of the context modeling; the inter-interlocutor relationship mining mechanism explicitly captures the dependencies between the interlocutors and ignores the dependencies within the interlocutors; the intra-interlocutor and inter-interlocutor relationship mining mechanism explicitly captures the dependencies within and between the interlocutors at the same time.

[0016] As a further description of the above technical solution: the sentiment classifier first applies a complex linear layer to the emotional state perceived by the interlocutor to obtain the sentiment representation of the sentence, then converts the sentiment representation to the real number space, and finally uses a single-layer perceptron with a softmax layer to predict the sentiment category based on the sentiment representation converted to the real number space.

[0017] As a further description of the above technical solution: In the process of training the complex neural network based model Emoplex, the classification cross entropy with L2 regularization is used as the loss function.

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

[0019] The Emoplex of the present invention performs well in terms of accuracy and F1 score. Each step of the proposed method is linearly related to the number of features, that is, the total time complexity is O(Ld);

[0020] The Emoplex of the present invention can provide competitive results while being more computationally efficient;

[0021] The present invention uses complex embedding to obtain a more comprehensive representation, and provides higher discrimination ability by introducing phase information, and helps to capture subtle relationships and dependencies in ERC data;

[0022] The multimodal fusion module proposed in the present invention can efficiently merge valuable multimodal information, thereby enabling the model to have a deeper understanding of the potential correlation between modalities.

[0023] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the embodiments of the present invention are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0025] Figure 1 This is the architecture of the Emoplex proposed in the present invention.

[0026] Figure 2 It is a schematic diagram of the interlocutor modeling module in Emoplex of the present invention for calculating the internal dependencies of interlocutors.

[0027] Figure 3 For comparison with different attention mechanism variants.

[0028] Figure 4 Comparison of computational complexity with different fusion methods. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments.

[0030] An embodiment of the present invention proposes a multimodal conversation emotion recognition method based on a plural neural network. The method deeply analyzes the task characteristics of conversation emotion recognition, utilizes the multimodal characteristics of the task and the dependence on the interlocutor, designs a new model framework Emoplex based on a plural neural network, and performs multimodal conversation emotion recognition based on the framework.

[0031] Task description: The ERC model aims to detect the emotional state of each sentence in a conversation. A conversation contains N sentences {u1,u2,...,u n}, where each statement consists of the text Vision and hearing modality; there are P interlocutors {p1,p2,...,p P |P≥2}, where the i-th statement u i The speaker is Function φ represents the statement u i is mapped to its corresponding speaker. Sentences spoken i , if it is preceded by one or more messages by the same speaker The most recent sentence is represented as Among them ρ(u i )∈[1,i). The model goal is to predict each sentence u from the predefined C sentiment categories. i emotion category.

[0032] Figure 1 The architecture of the proposed Emoplex is shown. In general, Emoplex contains four components: modality encoder, multimodal fusion module, interlocutor modeling module, and sentiment classifier.

[0033] 1) Modal encoder

[0034] The input unimodal sentences are in different real vector spaces and are context-independent. Therefore, the unimodal sentences are first mapped to a joint embedding space and contextualized to obtain context-aware unimodal representations. Specifically, the present invention uses a bidirectional long short-term memory network (LSTM) to encode the dialogue text information, and uses two single-layer fully connected networks W2 and W3 to encode the auditory and visual modalities respectively:

[0035]

[0036] Among them, W1, W2, W3, and is a trainable parameter, is the i-th statement u in the joint real embedding vector space i Context-aware unimodal representation of .

[0037] In order to achieve a more comprehensive sentence representation using complex numbers, the present invention embeds context-aware real values ​​into are mapped to their complex embedding vectors in the complex vector space, i.e. The mapping here is inspired by Euler's formula: λe jθ =λcosλ+j(θsinλ), where j is the imaginary unit, θ,θ are the amplitude and phase respectively. In order to perform spatial mapping, for each mode m∈{t,a,v}, the statement u i Introducing a learnable parameter as the magnitude and embed the real value into the vector Itself is considered as phase:

[0038]

[0039] From Euler's formula, we know that The complex embedding vector of for:

[0040]

[0041] In this way, u i The real-valued embedding vector of It is treated as phase in the process of mapping to the complex vector space. These real-valued embeddings are all unimodal representations, and the sentence context has been encoded by formula (1). Therefore, the mapped complex embedding vector has naturally retained the unimodal information and dialogue time information in the phase component. Then, the present invention uses this feature to design a multimodal fusion module and a speaker modeling module to help the model better understand the multimodal dynamics and the temporal evolution of emotions.

[0042] 2) Multimodal fusion module

[0043] In order to achieve efficient and effective modeling of multimodal interaction relationships, the present invention proposes a novel and simple multimodal fusion module Modalplex based on complex embedding vectors. According to the concept of neuron synchronization in complex neural networks, synchronous neurons with similar phases will show facilitative superposition, while asynchronous neurons with different phases will interfere with each other due to destructive addition. Inspired by this concept, the multimodal fusion module Modalplex uses the synchronization and asynchrony between the elements of each unimodal embedding vector in the complex vector space to assist in controlling the dynamic information flow in the multimodality. In other words, the phase contains unimodal information, so the relationship between phases can be used to control cross-modal information propagation. Therefore, the present invention designs a simple linear operation to aggregate modalities to achieve facilitative or destructive addition between unimodal embeddings.

[0044] Specifically, the present invention first introduces a set of real-valued weight parameters There is one for each mode, these real-valued weight parameters are trainable and randomly initialized, and then mapped to the complex vector space:

[0045] s m =cos(w m )+jsin(w m ),m∈{t,v,a}. (4)

[0046] in, Yes m Projection into complex vector space. The weight parameters are designed to be context-independent so as to focus on modality-specific semantics.

[0047] Then, a linear function f(·) is used to aggregate the modes:

[0048] In the present invention, the fusion function f(·) can be realized by using full adaptive fusion / T-type dominant fusion / V-type dominant fusion / A-type dominant fusion.

[0049] Fully adaptive fusion:

[0050] The modes are aggregated via fully adaptive linear combinations:

[0051]

[0052] Among them, ⊙ is the element-by-element multiplication, is the calculated statement u i Multimodal representation in complex vector space. Formula (5) fuses the modes through complex multiplication and addition. This method can use the relationship between phases to combine complementary modal information through facilitative addition, while interfering and conflicting modal messages are reduced through destructive addition. Therefore, the information flow in the fusion process is automatically controlled, so that the interactive relationship between multiple modalities can be captured.

[0053] In formula (5), each modality is treated equally and adaptively fused. Considering that a certain modality may play a major role, the present invention further proposes several single modality-dominated fusion strategies: T-type dominant fusion, V-type dominant fusion and A-type dominant fusion, which correspond to the fusion processes dominated by text, vision and auditory modalities respectively. The implementation methods of various fusions are similar, so T-type dominant fusion is mainly described.

[0054] T-Shaped Leading Fusion:

[0055] The text modality is considered as the dominant modality. Based on this, the present invention adjusts the text embedding vector according to the visual and auditory inputs through linear operations:

[0056]

[0057] In this way, the most valuable information from the visual and auditory modalities can be prioritized and combined to strengthen or weaken the information from the textual modality, thereby improving the overall representation.

[0058] It can be seen that the time complexity of the multimodal fusion module is O(Ld), which exceeds many commonly used modal fusion methods, such as the fusion method based on the attention mechanism, whose time complexity is O(L 2 d).

[0059] 3) Interlocutor Modeling Module

[0060] The multimodal fusion module is able to learn the interaction relationship between multiple modalities, but ignores the information of the interlocutor. To this end, the present invention designs an interlocutor modeling module Speakerplex in a complex vector space, which aims to capture interlocutor-specific patterns and interlocutor-dependent changes in the conversation. Since the phase component of the complex embedding vector already contains timing information, the interlocutor-related changes in the conversation flow can be captured based on the concept of neuronal synchronization, which depends on the phase relationship. Therefore, the core idea here is to use the facilitative or destructive addition between phases to propagate and integrate the dynamic information perceived by the interlocutor into the emotion representation.

[0061] The function φ maps a sentence to its speaker, and is the same as the statement u i To capture interlocutor dependencies, the Speakerplex module fused the multimodal representations As input, the emotional state perceived by the interlocutor is modeled. The present invention mines interlocutor dependencies from different perspectives and designs three mechanisms, from which one mechanism can be selected to model the emotional state perceived by the interlocutor:

[0062] Mining the internal relationship between interlocutors (S intra ): This mechanism explicitly captures dependencies within interlocutors and considers dependencies between interlocutors as part of general context modeling, e.g. Figure 2 Specifically, the present invention firstly is a statement u i Introducing a real-valued weight parameter For evaluation To u i The contribution of z is then mapped to the complex vector space: i = cos(ω i )+jsin(ω i ). Then we can calculate the statement u i The interlocutor's perceived affective state q i :If u i Is the first sentence or speaker of the conversation If you have never spoken before, define q i For multimodal representation Otherwise, by adding The information of is recursively added to the multimodal representation to obtain q i . Mathematically, it is expressed as:

[0063]

[0064] Among them, ∈ is a minimum value to avoid division by zero. The purpose of the normalization operation is to prevent the accumulated value from becoming too large.

[0065] Mining the relationship between interlocutors inter ): This mechanism explicitly captures dependencies between interlocutors, but ignores dependencies within interlocutors. If Similar to S intra , introduce a real weight parameter And project it into the complex vector space, evaluate the statement u i-1 For statement u i Contribution value: The interlocutor's perceived affective state q i The calculation is as follows:

[0066]

[0067] Mining relationships between interlocutors and within interlocutors (S both ): This mechanism explicitly captures both intra- and inter-talker dependencies. Specifically, when Existence and When q i as follows:

[0068]

[0069] where α∈(0,1] is a balancing hyperparameter. For other cases, q i It degenerates into formula (7) or formula (8).

[0070] Through the above interlocutor modeling module, the dynamics of speaker perception can be explicitly learned and propagated in the conversation through promotional or destructive addition based on the phase in the complex vector space. The model can be guided to distinguish different speakers and capture speaker-related variations.

[0071] 4) Sentiment Classifier

[0072] In the sentiment classifier, the perceived emotional state q of the interlocutor is firstly i Apply a complex linear layer to obtain the sentence u i Emotional representation:

[0073]

[0074] in, and are the real and imaginary parts of x, respectively. W4 and W5 are trainable weights, and the bias value is omitted here. Then, the complex number is embedded in the vector e i Convert to real number space: Finally, a single-layer perceptron with a softmax layer is used to predict the sentiment category:

[0075]

[0076] Among them, W6 and b6 are trainable parameters, is the statement u i The predicted label of .

[0077] 5) Loss Function

[0078] Use categorical cross entropy with L2 regularization as the loss function:

[0079]

[0080] Where Π is the number of dialogues, U(i) is the number of sentences in dialogue i, is the probability distribution of class labels, y i,k is the true label of sentence k in dialogue i. η is the weight of L2 regularization, and Θ represents the trainable parameters in the model.

[0081] Simulation experiment:

[0082] The performance of the proposed Emoplex is verified on two popular multimodal datasets, IEMOCAP and MELD. Three modalities are adopted, namely text, video and audio. This experiment uses pre-extracted unimodal features, following the same extraction procedure in previous work.

[0083] The proposed model is implemented using the PyTorch toolkit. The model is trained on a machine equipped with 1 NVIDIA GeForce RTX 3090. Accuracy and F1 score are used as performance metrics. The model is trained using the Adam optimizer with a batch size of 16 for both datasets. α is tested in the range of 0.1 to 1 with a step size of 0.1. The complete details of the hyperparameters for both datasets are shown in Table 1.

[0084] Table 1 Detailed information of hyperparameters

[0085] Dataset Batch Optimizer <![CDATA[D h ]]> η Dropout IEMOCAP 16 Adam (learning rate = 9e-5) 256 3e-5 0.5 MELD 16 Adam (learning rate = 9e-5) 200 3e-5 0.4

[0086] Experimental results:

[0087] Table 2 shows the results of Emoplex with different configurations, from which the following observations are made:

[0088] i) For Modalplex, T-dominant fusion usually outperforms other methods. The main reason is that text may convey more important information than other modalities and play a dominant role, and some previous studies have shown that text is usually the best performing single modality. ii) For Speakerplex, intra-interviewer relationship mining (Sintra ) usually performs best, intra- and inter-talker relationship mining (S both ) followed closely. The possible reason is that for S intra ,like Figure 2 As shown in Figure 2, to some extent, general context modeling includes the dependencies between speakers. both In contrast, focusing on the dependencies within speakers will bring greater benefits. In addition, ignoring the dependencies within speakers makes inter-speaker relationship mining (S inter ) became the weakest performer.

[0089] Table 2 Results of the proposed model

[0090]

[0091]

[0092] The proposed model is compared with the existing state-of-the-art methods, and the results are shown in Table 3, which shows the optimal configuration of Emoplex in Table 2. The techniques used in these methods for multimodal interaction and interlocutor dependency modeling are also shown. It can be seen that Emoplex slightly outperforms the baseline model in both accuracy and F1 score. Each step of the proposed method is linearly related to the number of features, that is, the total time complexity is O(Ld). Table 3 also shows a quantitative comparison of floating-point operations (FLOPs) and parameters (Params). It can be observed that, except for the floating-point operations on IEMOCAP, which are roughly equivalent to MMGCN, Emoplex has the least floating-point operations and parameters on both datasets. Since DialogueTRM and M2FNet do not have open source code, their exact values ​​cannot be measured. However, there are some clues to their complexity: DialogueTRM uses 4 Transformer encoders, while M2FNet uses 15 or 3 Transformer encoders to process context, plus 5 multi-head attention blocks for fusion, and the time complexity of each attention block is O(L 2 d). Therefore, it can be concluded that Emoplex is able to provide competitive results while being more computationally efficient.

[0093] Table 3 Comparison with previous state-of-the-art methods on IEMOCAP and MELD (bold indicates the best performance)

[0094]

[0095]

[0096] Ablation experiments: Ablation experiments were conducted on the key components of Emoplex to explore the effectiveness of each component module, and the results are presented in Table 4.

[0097] Table 4

[0098]

[0099] 1) The role of complex vector space

[0100] First, the role of using complex vector space is explored. To this end, all spatial mapping operations are removed, and real-valued embedding vectors are used instead of complex embedding vectors. Multimodal fusion and interlocutor modeling are then implemented according to the proposed logic. The results are shown in Variant 1 in Table 4. It can be observed that the accuracy under IEMOCAP has dropped by 4.93% and the F1 score has dropped by 5.05%. The accuracy on MELD has dropped by 1.42% and the F1 score has dropped by 1.33%. This proves the effectiveness of using complex vector space. The use of complex embedding can obtain a more comprehensive representation and provide higher discrimination ability by introducing phase information. The mechanism designed by this technology takes advantage of this advantage and helps capture subtle relationships and dependencies in ERC data.

[0101] 2) The role of the multimodal fusion module

[0102] In order to explore the role of the proposed multimodal fusion module, this module is removed here and the output of the modal encoder is Directly input to the interlocutor modeling module. Since the interlocutor modeling module is designed to receive a fused representation as input, two simple modal fusion methods are used: summation (variant 2) and concatenation (variant 3). As can be seen from Table 4, removing the multimodal fusion module will lead to different degrees of performance degradation on the two datasets. This shows the effectiveness of the proposed multimodal fusion module, which can efficiently merge valuable multimodal information, so that the model can have a deeper understanding of the potential correlation between modalities.

[0103] 3) The role of the interlocutor modeling module

[0104] Another core component of Emoplex is the interlocutor modeling module. Variant 4 is achieved by removing the interlocutor modeling module and directly converting the multimodal representation Input to the sentiment classifier. The results show that the performance drops significantly if the interlocutor information is not processed. This suggests that the interlocutor modeling module can capture interlocutor-specific patterns and interlocutor-dependent changes, which helps the model learn.

[0105] Discussion on incorporating complex attention mechanisms: Inspired by the concept of synchronization in neurons, Emoplex only uses linear operations on complex embedding vectors and does not adopt the widely used attention mechanism. In this section, experiments are conducted to verify the importance of the design of the present invention and to discuss whether incorporating the attention mechanism into Emoplex can further improve the performance of the model. Specifically, the present invention implements several variants of incorporating complex attention mechanisms, including temporal attention and multi-head self-attention imposed on multimodal representations and the emotional state perceived by the interlocutor. The implementation details of the variants are as follows:

[0106] Temporal Attention on Multimodal Representations (TM): Apply temporal attention in the sequence direction, output As input to the interlocutor modeling module:

[0107]

[0108] Temporal attention on the interlocutor’s perceived emotional state (TS): In the interlocutor’s perceived emotional state {q1,…q N} applies temporal attention in the sequence direction, output As input to the sentiment classifier:

[0109]

[0110] Multimodal representation and temporal attention (TMS) on interlocutor perceived affective states: A combination of the above two variants.

[0111] Multi-head self-attention on multimodal representations (MMh, h represents the number of heads in multi-head self-attention): multi-head self-attention is applied on the multimodal representation vector, with the same query, key and value The obtained representation is then used as input to the interlocutor modeling module.

[0112] Multi-head self-attention on interlocutor perceived emotional state (MSh, h represents the number of heads in multi-head self-attention): Multi-head self-attention is applied on the interlocutor perceived emotional state vector, with the same query, key and value (q i ), and then the obtained representation is used as the input of the sentiment classifier.

[0113] Multi-head self-attention on multimodal representation and interlocutor-perceived affective states (MMSh, h denotes the number of heads in multi-head self-attention): a combination of the above two variants.

[0114] Results: The performance and computational complexity of these variants are shown in Figure 3As shown in the figure, it can be seen that the attention mechanism combined with complex numbers will lead to different degrees of performance degradation, and the floating point operations and the number of parameters will also increase significantly, which shows that the design of the present invention can both guarantee performance and improve efficiency.

[0115] Comparison with other fusion methods: In order to further explore the effectiveness of the multimodal fusion module proposed in this paper, it is compared with other modal fusion methods, including splicing, multimodal adaptation gate (MAG), gated attention, and multi-head self-attention. In order to avoid the incompatibility problem between complex vector space and real space, the interlocutor modeling module is removed. The implementation details are as follows:

[0116] Concatenation: embedding the real-valued vector after modality encoding concatenated and directly used as the input of the sentiment classifier (Formula (11)) for sentiment prediction.

[0117] MAG: Using attention mechanism to integrate language and non-language modalities in multimodal data into a new vector H i Then use this vector to adjust the language vector

[0118] Gated Attention: Use the gating mechanism to fuse the bimodal data, and then combine the three sets of bimodal information to obtain the final fusion result.

[0119] Multi-head self-attention: real-valued embedding vector after modality encoding First concatenated, then multi-head self-attention is applied, where the query, key, and value are all the same vector

[0120] Table 5 Comparison of Modalplex and other fusion methods. The variant does not contain the interlocutor modeling module. h represents the number of heads.

[0121]

[0122] Results: The results of fusion performance and computational complexity are shown in Table 5 and Figure 4 As shown in Figure 2, it can be seen that the multimodal fusion module Modalplex performs best. In addition, in terms of computational complexity, Figure 4 It shows that the number of floating-point operations and parameters of Modalplex is slightly higher than splicing, comparable to MAG and gated attention, and much lower than multi-head self-attention. Therefore, it can be concluded that Modalplex can achieve good fusion effects under a smaller computational load, which is attributed to the powerful ability of complex embedding, which can produce information-rich representations through efficient operations.

[0123] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A multimodal dialogue emotion recognition method based on plural neural networks, characterized in that: Based on the multimodal characteristics and the dependence on the interlocutor, we designed the Emoplex model based on a complex neural network. Based on the Emoplex model, we performed multimodal conversation emotion recognition. The multimodal modes include text, vision, and auditory modes. The model Emoplex includes a modal encoder, a multimodal fusion module, an interlocutor modeling module, and a sentiment classifier; The modality encoder is used to map the unimodal sentences into the joint embedding space and contextualize them, and then map them into complex embedding vectors in the complex vector space; The multimodal fusion module is used to introduce corresponding real-valued weight parameters for each modality and map them to the complex vector space. Then, the modalities are aggregated based on the linear fusion function to obtain the fused multimodal representation. The real-valued weight parameters corresponding to each modality are trainable and randomly initialized parameters and are independent of the context. The interlocutor modeling module is used to take the fused multimodal representation as input, and explicitly learn and propagate the dynamics perceived by the speaker in the conversation based on the facilitative or destructive addition of phases in the complex vector space to obtain the emotional state perceived by the interlocutor; The emotion classifier is used to predict the emotional state perceived by the interlocutor and realize multimodal conversation emotion recognition.

2. The multimodal dialogue emotion recognition method based on plural neural networks according to claim 1 is characterized in that: The modality encoder includes a bidirectional long short-term memory network and two fully connected networks. The bidirectional long short-term memory network is used to encode the text modality in a unimodal sentence, and the two fully connected networks are used to encode the auditory and visual modalities in the unimodal sentence respectively. The encoded text, auditory and visual modalities are context-aware unimodal representations.

3. The multimodal dialogue emotion recognition method based on plural neural networks according to claim 1 is characterized in that: In the process of mapping to a complex embedding vector, a learnable parameter is introduced as the amplitude, and the real-valued embedding vector itself is regarded as the phase.

4. The multimodal dialogue emotion recognition method based on plural neural networks according to claim 1 is characterized in that: The linear fusion function in the multimodal fusion module is a fully adaptive fusion function, or a T-type dominant fusion function, or a V-type dominant fusion function, or an A-type dominant fusion function; the fully adaptive fusion function is used in scenarios where each modality is treated equally and adaptively fused; The T-type dominant fusion function is used in scenarios where the text modality is the dominant modality; the V-type dominant fusion function is used in scenarios where the visual modality is the dominant modality; and the A-type dominant fusion function is used in scenarios where the auditory modality is the dominant modality.

5. The multimodal dialogue emotion recognition method based on plural neural networks according to claim 1 is characterized in that: In the process of modeling the emotional state perceived by the interlocutor, an intra-interlocutor relationship mining mechanism, or an inter-interlocutor relationship mining mechanism, or an intra-interlocutor and inter-interlocutor relationship mining mechanism is adopted; the intra-interlocutor relationship mining mechanism explicitly captures the dependencies within the interlocutor and regards the dependencies between the interlocutors as part of the context modeling; The inter-interlocutor relationship mining mechanism explicitly captures the dependencies between interlocutors, but ignores the dependencies within interlocutors; The intra- and inter-interlocutor relationship mining mechanisms explicitly capture both intra- and inter-interlocutor dependencies.

6. The multimodal dialogue emotion recognition method based on plural neural networks according to claim 1 is characterized in that: The sentiment classifier first applies a complex linear layer to the perceived emotional state of the interlocutor to obtain the sentiment representation of the sentence, then transforms the sentiment representation into the real space, and finally uses a single-layer perceptron with a softmax layer to predict the sentiment category based on the sentiment representation transformed into the real space.

7. The multimodal dialogue emotion recognition method based on plural neural networks according to claim 1 is characterized in that: In the process of training the complex neural network based model Emoplex, categorical cross entropy with L2 regularization is used as the loss function.

Citation Information

Cited By

  • Dialogue scene-oriented multi-modal emotion recognition method

    CN119397025A

  • Robust multi-modal dialogue understanding method based on heterogeneous graph denoising

    CN121658598A

  • A robust multi-modal dialogue understanding method based on heterogeneous graph denoising

    CN121658598B

  • Human-ai interaction method and apparatus

    KR102972222B1