A video sentiment analysis method based on bimodal information enhanced multi-head attention

By adopting a multi-head attention mechanism enhanced by bimodal information in video emotion analysis, the single-modal and bi-modal interactive information in the video data is extracted, which solves the problem of insufficient extraction of modal interactive information in the existing technology and improves the efficiency Sentiment analysis accuracy and feature quality.

CN114973044BActive Publication Date: 2024-09-24SHANGHAI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110195691.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-22
Publication Date
2024-09-24
Estimated Expiration
2041-02-22

AI Technical Summary

Technical Problem

Existing video emotion analysis technology is difficult to fully extract the interactive information within and between modalities, resulting in insufficient emotion recognition accuracy, especially in scenarios where different modalities have different degrees of interaction.

Method used

A multi-head attention mechanism based on dual-modal information enhancement is used to extract single-modal features by preprocessing video data, calculate the interactive information between single modalities and dual-modalities, and use the multi-head attention mechanism to enhance feature interaction and perform emotional analysis. Analyze and predict.

Benefits of technology

The recognition accuracy of video emotion analysis is improved, and high-quality feature extraction and emotion prediction are achieved by weighing the contributions of different bimodal modes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114973044B
    Figure CN114973044B
Patent Text Reader

Abstract

The present invention relates to a video sentiment analysis method based on bimodal information enhanced multi-head attention, comprising: preprocessing the video; obtaining unimodal original features from the preprocessed data; based on the unimodal original features, further obtaining unimodal deep features, wherein the unimodal deep features include text deep features, audio deep features and video deep features; extracting the interaction information between the unimodal modes according to the unimodal deep features, that is, obtaining bimodal information; calculating the bimodal attention from different feature subspaces to obtain the interaction information between the bimodal modes; fusing and classifying and predicting the bimodal information and the interaction information between the bimodal modes to obtain the corresponding sentiment analysis prediction results. Compared with the prior art, the present invention uses the unimodal features to obtain the interaction information between the modalities after extracting them, and further obtains the independence and consistency information of different interaction information, thereby performing effective feature fusion and accurate sentiment prediction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of natural language processing, and in particular to a video sentiment analysis method based on bimodal information enhanced multi-head attention. Background Art

[0002] Sentiment analysis is a basic task in the field of natural language processing. Traditional sentiment analysis methods are mainly unimodal sentiment analysis based on text. With the diversification of people's expressions, a large amount of non-static data such as voice and video is generated. These data contain rich emotional information. The resulting multimodal sentiment analysis can help computers better learn and understand people's psychological state and emotional tendencies. At present, sentiment analysis technology based on unimodality has been widely studied and applied, such as in intelligent customer service and recommendation systems; sentiment analysis based on multimodal data needs further research. The main difficulties it faces are the extraction of internal information within the modality and the extraction of interactive information between modalities, that is, unimodal feature extraction and multimodal fusion.

[0003] Among them, sentiment analysis for text can be divided into three types: sentiment dictionary-based methods, machine learning methods, and deep learning methods. The sentiment dictionary-based method uses a corresponding dictionary suitable for the data set to classify text. This method relies on manual work, and the classification performance depends on the quality of the dictionary; the machine learning-based method includes the use of some supervised or unsupervised machine learning classification algorithms, such as Naive Bayes, support vector machine, decision tree, random forest, etc. These methods rely on feature engineering to a certain extent, and are inefficient when the amount of data is large; the deep learning-based methods can mostly achieve good results, such as LSTM (Long Short-Term Memory), CNN (Convolutional Neural Networks), attention mechanism, Transformer, BERT, etc., which are widely used in text learning, and BERT's performance in many natural language processing tasks has also reached SOTA.

[0004] For speech sentiment analysis, we first need to extract speech features, among which spectral features, prosodic features and sound quality features are the most commonly used. There are also some open source libraries that can extract these emotion-related features, such as openSMILE, LibROSA, COVAREP, etc., and then design neural networks to perform deep learning on the extracted features.

[0005] Emotional analysis of videos includes the recognition of text, speech, and facial expressions. The conventional approach to solving this problem is to first perform single-modal feature extraction. For facial features, you can use open source libraries such as OpenFace2.0, or you can use 3D-CNN, VGG (Visual Geometry Group, super-resolution test sequence) and other neural networks; then multimodal fusion is performed. At present, some existing fusion methods are mainly feature layer fusion and decision layer fusion. There are many methods based on feature layer fusion, but they cannot fully extract the interaction information within the modality, while the method based on decision layer fusion cannot fully extract the interaction information between modalities. Therefore, researchers have proposed tensor fusion, dynamic memory network and attention mechanism-based methods, but these methods only consider extracting important features within a single modality, or using other modal information as supervisory information to improve the effectiveness of feature extraction within the modality. In actual scenarios, the degree of interaction between different modalities is different. Another modality can make up for the shortcomings of the current modality, and the features after the fusion of the two modalities contribute differently to the final emotional decision. For example, some people speak at a high volume, but their facial expressions are happy. Then, combining these two modalities can judge that the person is happy, but if the content is expressing dissatisfaction, then combining sound and text can judge that the person is angry. Therefore, how to weigh the information provided after the interaction between the two modalities so that the computer can accurately identify people's emotions is an urgent problem to be solved in current video sentiment analysis. Summary of the invention

[0006] The purpose of the present invention is to overcome the defects of the above-mentioned prior art and to provide a video sentiment analysis method based on bimodal information enhanced multi-head attention, so as to reliably weigh the contribution of different bimodalities and improve the accuracy of video sentiment analysis recognition results.

[0007] The purpose of the present invention can be achieved by the following technical solution: A video emotion analysis method based on bimodal information to enhance multi-head attention, comprising the following steps:

[0008] S1. Preprocess the video: separate the audio from the video and transcribe the audio to obtain the corresponding text, then divide the video into frames, perform face detection and alignment on the video frames;

[0009] S2. Obtain unimodal raw features from preprocessed data: Use the BERT model to obtain sentence vectors from text, and use third-party tools to extract audio and video features;

[0010] S3. Based on the unimodal original features, further obtaining unimodal deep features, wherein the unimodal deep features include text deep features, audio deep features and video deep features;

[0011] S4. Extract the interactive information between the single modalities based on the single modal deep features, that is, obtain the bimodal information;

[0012] S5. Calculate bimodal attention from different feature subspaces to obtain the interaction information between the two modalities;

[0013] S6. Fuse and classify the bimodal information and the interaction information between the bimodal elements to obtain the corresponding sentiment analysis prediction results.

[0014] Furthermore, the step S3 specifically includes the following steps:

[0015] S31. Based on the sentence vectors, the lengths of all sentences are adjusted to be consistent, so as to obtain sentence representations with uniform lengths.

[0016] Input the sentence representation of uniform length into LSTM to obtain the deep text features that extract the contextual relationship;

[0017] S32, in the feature dimension, averaging all frame vectors of the audio feature to obtain an averaged audio feature;

[0018] The averaged audio features are input into a three-layer deep neural network to obtain the audio deep features;

[0019] S33, in the feature dimension, averaging all frame vectors of the video feature to obtain an averaged video feature;

[0020] The averaged video features are input into a three-layer deep neural network to obtain the deep features of the video.

[0021] Furthermore, the deep features of the text are specifically:

[0022]

[0023] Among them, t i is the deep feature of the text, is a sentence representation of uniform length, W i It is the weight parameter used in the process of text deep feature extraction.

[0024] Furthermore, the audio deep features are specifically:

[0025]

[0026] Among them, a i is the deep audio feature, is the averaged audio feature, W i ' is the weight parameter used in the process of audio deep feature extraction.

[0027] Furthermore, the video deep features are specifically:

[0028]

[0029] Among them, v i is the deep feature of the video, is the averaged video feature, W' i ' is the weight parameter used in the process of extracting deep features of the video.

[0030] Furthermore, the bimodal information includes fusion information of sound and video, fusion information of sound and text, and fusion information of video and text. The fusion information of sound and video is specifically:

[0031]

[0032] R A ={a 1 ,a 2 ,...,a N}

[0033] R V = {v 1 ,v 2 ,...,v N}

[0034] Among them, R AV is the fusion information of sound and video, R A is the audio deep feature set, R V is the deep feature set of the video, and N is the number of videos;

[0035] The fusion information of the sound and text is specifically:

[0036]

[0037] R T ={t 1 ,t 2 ,...,t N}

[0038] Among them, R AT is the fusion information of sound and text, R T is a set of deep text features;

[0039] The fusion information of the video and text is specifically:

[0040]

[0041] Among them, R VT It is the fusion information of video and text.

[0042] Furthermore, the step S5 specifically includes the following steps:

[0043] S51, using two fully connected layers of the same dimension to obtain bimodal information interaction features, wherein the two fully connected layers of the same dimension include a first independent fully connected layer and a second shared fully connected layer;

[0044] S52. Combined with the multi-head attention mechanism, first concatenate the bimodal information interaction features to obtain the multimodal feature D as the input of the key X and value Y;

[0045] After that, each bimodal information interaction feature is used as the input of the query Q, and is linearly transformed to obtain the corresponding bimodal features. The multimodal features corresponding to the key X and the value Y are also linearly transformed to obtain the corresponding bimodal features.

[0046] Then, each bimodal feature is interacted with all the bimodal features in the multimodal feature D, and the interaction results are normalized using the softmax function to calculate the attention of each bimodal feature in the multimodal feature;

[0047] Finally, the attention of the bimodal features calculated by each attention head is concatenated and transformed by a linear layer to obtain the bimodal features to which attention is assigned, which is the interaction information between the two modalities.

[0048] Furthermore, the bimodal information interaction features are specifically:

[0049]

[0050]

[0051]

[0052] H AV =FC 1-AV (R AV )

[0053] H AT =FC 1-AT (R AT )

[0054] H VT =FC 1-VT (R VT )

[0055] in, They are audio and video bimodal interaction features, audio and text bimodal interaction features, video and text bimodal interaction features, FC 2 The second shared fully connected layer, FC 1-AV , FC 1-AT, FC 1-VT The first layer corresponds to the independent fully connected layer of each bimodal information, H AV , H AT , H VT FC 1-AV , FC 1-AT , FC 1-VT The corresponding output value.

[0056] Furthermore, the bimodal interaction information is specifically:

[0057]

[0058]

[0059]

[0060]

[0061]

[0062]

[0063]

[0064]

[0065]

[0066]

[0067] Where q is the dimension of X, n is the number of attention heads, corresponding to n linear transformation layers, and W Q , W X , W Y are the linear layer parameter matrices corresponding to query Q, key X, and value Y, respectively. O is the weight parameter, Att AV (Q AV ,D,D),Att AT (Q AT ,D,D),Att VT (Q VT ,D,D) are the interactive information between audio and video, the interactive information between audio and text, and the interactive information between video and text, respectively. They are respectively the attention of the audio and video bimodal features, the attention of the audio and text bimodal features, and the attention of the video and text bimodal features in the h-th attention head.

[0068] Furthermore, the sentiment analysis prediction result in step S6 is specifically:

[0069]

[0070] in, is the sentiment analysis prediction result, C M It is a multimodal sentiment classifier.

[0071] Compared with the prior art, the present invention has the following advantages:

[0072] 1. The present invention first extracts different unimodal features from the video, uses different unimodal features to obtain interactive information between unimodal features, and further obtains interactive information between bimodal features. In this way, both the internal information of the modalities and the information extraction between modalities are considered at the same time, and the information interaction between bimodal features is enhanced. By fusing the interactive information between unimodal features and the interactive information between bimodal features, effective feature fusion can be achieved, thereby improving the accuracy of subsequent classification prediction results.

[0073] 2. The present invention utilizes extended multi-head attention to enhance the feature interaction between different bimodalities, and weighs the contribution of different bimodalities through attention allocation. While obtaining the internal features of a single modality, the present invention can fully extract the interaction information between modalities, calculate the contribution of the bimodalities based on the interaction information, and obtain the bimodal features to which attention is allocated. By calculating the bimodal feature contribution, the degree of interaction of different modalities is quantified, thereby obtaining high-quality features, which is conducive to accurate sentiment analysis and prediction. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] Figure 1 It is a schematic diagram of the method flow of the present invention;

[0075] Figure 2 It is a schematic diagram of the model structure of the present invention;

[0076] Figure 3 Schematic diagram of the bimodal interaction process. DETAILED DESCRIPTION

[0077] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0078] Example

[0079] like Figure 1 As shown, a video sentiment analysis method based on bimodal information enhanced multi-head attention includes the following steps:

[0080] (1) Preprocess the video data, including audio separation and video frame processing. Specifically, use a third-party tool for preprocessing and perform face detection and alignment after the video frame processing.

[0081] (2) Use open source methods to extract text, audio, and facial raw features from the preprocessed data.

[0082] (3) Using deep learning methods, we can further extract deep features of text, audio, and face based on the original features.

[0083] (4) Obtain inter-modal interaction information. Specifically, tensor fusion is used to enhance inter-modal interaction, and weight sharing is used to reduce the number of parameters.

[0084] (5) Obtaining the interactive information between the two modalities, specifically by calculating the attention score of the bimodal features on the overall features from different feature representation subspaces.

[0085] (6) Multimodal fusion and prediction, specifically fusing the interaction information between modalities and the interaction information between the two modalities, and inputting this information into the classifier to achieve sentiment analysis prediction.

[0086] In this embodiment, let U = {u 1 ,u 2 ,u 3 ...,u N} is a series of video clips. i In the unimodal feature extraction stage, the audio in the video is first separated, and then the video is framed and the face is detected and aligned; BERT is then used to obtain the sentence vector of the text, and a third-party tool is used to extract the audio features and face features; since there is a contextual relationship between the text and a temporal relationship between the audio and the video, a neural network is used to model the unimodal features extracted in the previous step to obtain unimodal deep features; based on the unimodal deep features, the interaction information between the unimodal modes is extracted, which is the bimodal information; in order to enhance the interaction between the bimodal modes, the bimodal attention is calculated from different feature subspaces to obtain the interaction information between the bimodal modes; finally, the obtained inter-modal interaction information and the bimodal interaction information are fused and input into the classifier for sentiment prediction.

[0087] like Figure 2 As shown, the model architecture diagram of the present invention is divided into four parts: unimodal feature extraction layer, inter-modal interactive information extraction layer, bimodal interactive information extraction layer and prediction layer. The model takes the speech segment sequence of the video as input, extracts unimodal features through the feature extraction network, and then enters the inter-modal interactive information extraction layer to extract the interactive information of sound and video, sound and text, and video and text respectively. The bimodal interactive information extraction layer performs the interaction between different bimodalities through three extended multi-head attentions, and calculates the bimodal attention in different feature subspaces to obtain the interactive features between the bimodalities. The prediction layer fuses all the interactive information and then performs emotion prediction.

[0088] In the unimodal feature extraction layer, text, audio and face features need to be extracted separately. i Take the text feature extraction process as an example: the sentence after BERT is represented as s i Since the number of words in sentences in different videos is different, for sentences that are too short, characters are added to the end of the sentence, and for sentences that are too long, the first L word vectors are taken. Finally, the length of all sentences is L, where L is the sum of the mean of the text sequence length corresponding to all speech segments and a certain multiple of the standard deviation. The new sentence representation is obtained After that, it is input into the LSTM network to obtain the text features with extracted contextual relationships, as shown in formula (1), where W i The trainable weight parameters take advantage of BERT to avoid the impact of inaccurate Chinese word segmentation tools on sentence semantics, while using LSTM to capture contextual dependencies between word sequences.

[0089]

[0090] Audio feature extraction process: Use LibROSA library to extract audio features represented as f i Since audio is a time frame sequence data, each audio contains a different number of frames. For audio with a shorter frame length, the frame vector is padded. For audio with a longer frame length, the first L' frame vectors are taken to make the frame length of all audios L'. L' is the sum of the mean of the frame sequence length corresponding to all audios and a certain multiple of the standard deviation. In order to reduce the calculation dimension, all frame vectors are averaged in the feature dimension to obtain a new audio feature representation Then input into the three-layer deep neural network to extract deep features a i , as shown in formula (2), where W i ' is a trainable weight parameter.

[0091]

[0092] Video feature extraction process: First, use a third-party tool to obtain the image sequence of the face part appearing in each video, and then input it into OpenFace2.0 to extract the initial features, which are represented by g i . Since the video is a time frame sequence data, each video contains a different number of frames. For videos with shorter frame lengths, frame vector padding is performed. For videos with longer frame lengths, the first L" frame vectors are taken to make the frame length of all videos L", where L" is the sum of the mean of the frame sequence lengths corresponding to all videos and a certain multiple of the standard deviation. In order to reduce the computational dimension, all frame vectors are averaged in the feature dimension to obtain a new video feature representation Then input into the three-layer deep neural network to extract deep features v i, as shown in formula (3), where W i ” is a trainable weight parameter.

[0093]

[0094] In the inter-modal interactive information extraction layer, the fusion information of sound (A) and video (V), the fusion information of sound (A) and text (T), and the fusion information of video (V) and text (T) are obtained respectively. The representation of the sound and video modality is AV, the representation of the sound and text modality is AT, and the representation of video and text is VT. They are bimodal information based on the fusion of single-modal information. After extracting single-modal features for all videos, their features are represented as R T ={t 1 ,t 2 ,...,t N}, R A ={a 1 ,a 2 ,...,a N}, R V = {v 1 ,v 2 ,...,v N}. The calculation of the interaction information between modalities is as shown in formula (4).

[0095]

[0096] The information obtained by fusion of two modalities is the second-order Cartesian product of the feature representations of two independent modalities. In order to adapt to the calculation of the next layer, the present invention uses two fully connected layers of the same dimension to convert them into the same dimension, where the first layer is independent and the second layer is shared, so as to reduce the number of parameters and obtain more similar information. As shown in (5) and (6), the features after bimodal interaction are

[0097] H AV =FC 1-AV (R AV ), H AT =FC 1-AT (R AT ), H VT =FC 1-VT (R VT ) (5)

[0098]

[0099] In the bimodal interactive information extraction layer, the essence of the Attention function can be described as a mapping from a query (Q) to a series of key (X)-value (Y) pairs. In NLP (Natural Language Processing), the common setting is that the key and value are the same. The multi-head attention mechanism introduces scaled dot product and multi-head calculation on the traditional attention mechanism. This method can capture relevant information on different feature subspaces and is subsequently applied to more other NLP tasks. More specifically, in the multi-head attention structure, Q, X, and Y of each head are first linearly transformed, as shown in equations (7), (8), and (9). Then the scaled dot product attention is calculated, as shown in equation (10), and then the attention of all heads is concatenated and the value obtained by linear transformation is used as the multi-head attention, as shown in (11).

[0100]

[0101]

[0102]

[0103]

[0104] MultHead(Q,X,Y)=Concat(Att 1 ,Att 2 ,...,Att n )×W O (11)

[0105] Where q is the dimension of X, n is the number of attention heads, corresponding to n linear transformation layers, and W Q , W X , W Y , W O They are Q, X, Y and the linear layer parameter matrix corresponding to the last step respectively.

[0106] In order to perform the interaction between the two modes, calculate the bimodal contribution, and capture relevant information from different representation subspaces, the inter-modal interaction features are first concatenated to obtain the multimodal feature D as the input of X and Y, as shown in formula (12), and then the features after the sound and video interaction are respectively Features after voice and text interaction Features after video and text interaction As the input of Q, denoted as Q AV , Q AT , Q VT The bimodal interaction process is as follows: Figure 3 As shown, Q AV , Q AT, Q VT After linear transformation, AV interacts with AV, AT, and VT in D, and so do AT and VT, to obtain three sets of values. After normalizing these values ​​using the softmax function, the attention of AV, AT, and VT in D is calculated. The attention calculation formulas are shown in (13), (14), and (15). Finally, the AV, AT, and VT attentions calculated by each head are concatenated and transformed through a linear layer to obtain the bimodal feature representation with assigned attention, as shown in (16), (17), and (18). O is the weight parameter. In this whole process, AV, AT, and VT share parameters, thereby reducing the number of parameters and storage space.

[0107]

[0108]

[0109]

[0110]

[0111]

[0112]

[0113]

[0114] In the prediction layer, the inter-modal interaction information and the bi-modal interaction information are first concatenated and then input into the multimodal sentiment classifier C M In, C M A three-layer DNN (Deep Neural Networks) is used to generate the output, as shown in (19).

[0115]

[0116] In summary, after extracting unimodal features, the present invention uses them to obtain interactive information between modalities, and further obtains the independence and consistency information of different interactive information, thereby performing effective feature fusion and accurate sentiment prediction. Since both the internal information of the modalities and the information extraction between modalities are considered at the same time, and the information interaction between the two modalities is enhanced based on the multi-head attention mechanism, the degree of interaction between different modalities is effectively quantified by calculating the contribution of the two-modal features, thereby obtaining high-quality features and ensuring the accuracy of sentiment analysis prediction.

Claims

1. A video sentiment analysis method based on bimodal information enhanced multi-head attention, characterized in that: The following steps are involved: S1. Preprocess the video: separate the audio from the video and transcribe the audio to obtain the corresponding text, then divide the video into frames, perform face detection and alignment on the video frames; S2. Obtain unimodal raw features from preprocessed data: Use the BERT model to obtain sentence vectors from text, and use third-party tools to extract audio and video features; S3. Based on the unimodal original features, further obtaining unimodal deep features, wherein the unimodal deep features include text deep features, audio deep features and video deep features; S4. Extract the interactive information between the single modalities based on the single modal deep features, that is, obtain the bimodal information; S5. Calculate bimodal attention from different feature subspaces to obtain the interaction information between the two modalities; S6, fusing and classifying the bimodal information and the bimodal interaction information to obtain the corresponding sentiment analysis prediction result; Step S5 specifically includes the following steps: S51, using two layers of fully connected layers of the same dimension to obtain bimodal information interaction features, wherein the two layers of fully connected layers of the same dimension include a first independent fully connected layer and a second shared fully connected layer; S52. Combined with the multi-head attention mechanism, first concatenate the bimodal information interaction features to obtain the multimodal feature D as the input of the key X and value Y; After that, each bimodal information interaction feature is used as the input of the query Q, and is linearly transformed to obtain the corresponding bimodal features. The multimodal features corresponding to the key X and the value Y are also linearly transformed to obtain the corresponding bimodal features. Then, each bimodal feature interacts with all the bimodal features in the multimodal feature D, and the interaction results are normalized using the softmax function to calculate the attention of each bimodal feature in the multimodal feature; Finally, the attention of the bimodal features calculated by each attention head is concatenated and transformed by a linear layer to obtain the bimodal features to which attention is assigned, which is the interaction information between the two modalities.

2. According to claim 1, a video sentiment analysis method based on dual-modal information enhanced multi-head attention is characterized in that: The step S3 specifically comprises the following steps: S31. Based on the sentence vectors, the lengths of all sentences are adjusted to be consistent, so as to obtain sentence representations with uniform lengths. Input the sentence representation of uniform length into LSTM to obtain the deep text features that extract the contextual relationship; S32, in the feature dimension, averaging all frame vectors of the audio feature to obtain an averaged audio feature; The averaged audio features are input into a three-layer deep neural network to obtain the audio deep features; S33, in the feature dimension, averaging all frame vectors of the video feature to obtain an averaged video feature; The averaged video features are input into a three-layer deep neural network to obtain the deep features of the video.

3. According to claim 2, a video sentiment analysis method based on dual-modal information enhanced multi-head attention is characterized in that: The deep features of the text are specifically: Among them, t i is the deep feature of the text, is a sentence representation of uniform length, W i It is the weight parameter used in the process of text deep feature extraction.

4. The video sentiment analysis method based on bimodal information enhanced multi-head attention according to claim 3 is characterized in that: The audio deep features are specifically: Among them, a i is the deep audio feature, is the averaged audio feature, W i ' is the weight parameter used in the process of audio deep feature extraction.

5. The video sentiment analysis method based on bimodal information enhanced multi-head attention according to claim 4 is characterized in that: The video deep features are specifically: Among them, v i is the deep feature of the video, is the averaged video feature, W' i ' is the weight parameter used in the process of extracting deep features of the video.

6. The video sentiment analysis method based on bimodal information enhanced multi-head attention according to claim 5 is characterized in that: The bimodal information includes fusion information of sound and video, fusion information of sound and text, and fusion information of video and text. The fusion information of sound and video is specifically: <h2 style=";text-align:left;direction:ltr">R<h2 style=";text-align:left;direction:ltr"> A <h2 style=";text-align:left;direction:ltr"> (a1,a2,...,a)<h2 style=";text-align:left;direction:ltr"> N <h2 style=";text-align:left;direction:ltr">} R V ={v1,v2,...,v N } Among them, R AV is the fusion information of sound and video, R A is the audio deep feature set, R V is the deep feature set of the video, and N is the number of videos; The fusion information of the sound and text is specifically: R T ={t1,t2,...,t N } Among them, R AT is the fusion information of sound and text, R T is a set of deep text features; The fusion information of the video and text is specifically: Among them, R VT It is the fusion information of video and text.

7. The video sentiment analysis method based on bimodal information enhanced multi-head attention according to claim 6 is characterized in that: The bimodal information interaction features are specifically: H AV =FC 1-AV (R AV ) H AT =FC 1-AT (R AT ) H VT =FC 1-VT (R VT ) in, They are audio and video bimodal interaction features, audio and text bimodal interaction features, video and text bimodal interaction features, FC2 is the second shared fully connected layer, FC 1-AV , FC 1-AT , FC 1-VT The first layer corresponds to the independent fully connected layer of each bimodal information, H AV , H AT , H VT FC 1-AV , FC 1-AT , FC 1-VT The corresponding output value.

8. The video sentiment analysis method based on bimodal information enhanced multi-head attention according to claim 7 is characterized in that: The bimodal interaction information is specifically: Where q is the dimension of X, n is the number of attention heads, corresponding to n linear transformation layers, and W Q , W X , W Y are the linear layer parameter matrices corresponding to query Q, key X, and value Y, respectively. O is the weight parameter, Att AV (Q AV ,D,D),Att AT (Q AT ,D,D),Att VT (Q VT ,D,D) are the interactive information between audio and video, the interactive information between audio and text, and the interactive information between video and text, respectively. They are respectively the attention of the audio and video bimodal features, the attention of the audio and text bimodal features, and the attention of the video and text bimodal features in the h-th attention head.

9. The video sentiment analysis method based on bimodal information enhanced multi-head attention according to claim 8 is characterized in that: The sentiment analysis prediction result in step S6 is specifically: in, is the sentiment analysis prediction result, C M It is a multimodal sentiment classifier.