Multimodal deep feature extraction method and system based on optimized BERT model
Through the optimization and feature fusion technology of the BERT model, the problem of insufficient feature extraction capabilities in multi-modal deep feature extraction is solved, and stronger multi-modal feature extraction and accurate emotional information classification are achieved.
Patent Information
- Application Number
- CN202210493651.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-07
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-05-07
AI Technical Summary
Existing multi-modal deep feature extraction methods have poor ability to extract speech and text information features for video decomposition, and have low accuracy.
A multi-modal deep feature extraction method based on the optimized BERT model is adopted. By optimizing the multi-head self-attention mechanism and forward propagation layer in the original BERT model, the self-attention mechanism and the gate mechanism are combined to perform feature fusion to achieve multi-head feature extraction. Hierarchical extraction and information filtering of modal data, and finally the fusion of text and audio features through the tensor fusion model.
It improves the feature extraction capability of the BERT model, enhances the multi-modal feature extraction capability, and achieves accurate classification of multi-modal emotional information. The classification effect is better than the traditional BERT model.
Smart Images

Figure CN114821088B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of multimodal data feature extraction, and in particular relates to a multimodal deep feature extraction method and system based on an optimized BERT model. Background Art
[0002] At present, with the rise of short videos, multimodal sentiment analysis has become a very innovative direction. Compared with the field of natural language processing that analyzes and processes texts and the field of computer vision that analyzes images, multimodality combines the two or even multiple (sound, etc.) for analysis. Analyzing the emotions or other characteristics of short videos can not only provide personalized customization services for the platform, but also analyze the videos uploaded by users to understand the public opinion on a certain topic.
[0003] At present, most of the methods for multimodal sentiment analysis use LSTM and BERT-based models, because for multimodal data analysis, text carries more information than other modalities. Using modalities such as pictures or sounds to make up for the shortcomings of text modal analysis, for example, when encountering some sarcastic words, saying the opposite of what you mean, saying the opposite of what you mean, or when there are fewer words in the text, using the features of other modalities can improve classification to a certain extent.
[0004] With the introduction of Transformer in 2019, it quickly caused a wave of enthusiasm in the field of natural language processing. Along with it came various optimized models, such as BERT, ALBERT and other models, which have more powerful analytical capabilities in text analysis. However, in the existing technology, most methods only use the BERT model to process text analysis, use the output layer of BERT, and use the output layer as the feature vector of the text. There are few methods that directly optimize the internal model of BERT. From the internal structure of BERT, it can be found that some content can also be optimized, and experiments show that there is a certain degree of improvement.
[0005] Therefore, the present invention proposes a multimodal deep feature extraction method based on an optimized BERT model, which improves the feature extraction capability of BERT. Compared with the original BERT model, the multimodal feature extraction capability is stronger.
[0006] Through the above analysis, the problems and defects of the prior art are as follows:
[0007] The existing multimodal deep feature extraction methods have poor ability to extract features of speech and text information from video decomposition and have low accuracy. Summary of the invention
[0008] In response to the problems existing in the prior art, the present invention provides a multimodal deep feature extraction method and system based on an optimized BERT model.
[0009] The present invention is implemented in this way: a multimodal deep feature extraction method based on an optimized BERT model includes:
[0010] Step 1, data processing stage: multimodal data feature selection and data preprocessing;
[0011] Step 2, BERT model optimization phase: optimize the multi-head self-attention mechanism and forward propagation layer in the original BERT model;
[0012] Step 3, feature fusion stage: perform tensor fusion based on the self-attention mechanism on the text features processed by the optimized BERT model and the audio features processed by the LSTM network to obtain multi-modal (text and audio features) fusion features;
[0013] Step 4, result output stage: classify the fused features to produce the final result.
[0014] Furthermore, the multimodal data in step one is data for video information.
[0015] Furthermore, in the data processing stage of step 1, the video is decomposed into voice and text information.
[0016] Furthermore, when converting video information into text and audio information, the text and audio information are decomposed into words as the smallest unit, and the segmented text and audio information are aligned at the word level, with one word vector corresponding to one audio vector.
[0017] Furthermore, the step 2 BERT model optimization stage specifically includes:
[0018] (1) In the original BERT, a multi-head self-attention mechanism with a fixed number of heads is used for the pre-trained word vectors; in the optimized structure, a progressive number of layers is used for feature extraction to achieve layer-by-layer information transmission.
[0019] (2) Use a custom gate mechanism structure to replace the original BERT forward propagation layer to achieve information filtering.
[0020] Furthermore, the feature fusion stage in step three specifically includes:
[0021] 1) Obtain text features processed by the optimized BERT model;
[0022] 2) Use a two-layer LSTM network based on the self-attention mechanism to process audio data;
[0023] 3) Fusion of text and audio data through tensor fusion model;
[0024] Furthermore, in the result output stage in step 4, a classification network is required to process the fused features, and the specific steps include:
[0025] (1) Add a residual module to the fused features and perform layer regularization, and connect them to the fully connected layer;
[0026] (2) Through a fully connected network, the process from a large feature dimension to a single dimension is realized, and the final result produces a value;
[0027] (3) Map the value to an interval corresponding to the sample label, and further optimize the network through the back-propagation process according to the difference between the value and the sample label.
[0028] Another object of the present invention is to provide a multimodal deep feature extraction system based on an optimized BERT model, the multimodal deep feature extraction system based on an optimized BERT model comprising:
[0029] Data processing module, used for multimodal data feature selection and data preprocessing;
[0030] BERT model optimization module, used to optimize the multi-head self-attention mechanism and forward propagation layer in the original BERT model;
[0031] The feature fusion module is used to perform tensor fusion based on the self-attention mechanism on the text features processed by the optimized BERT model and the audio features processed by the LSTM network to obtain multi-modal fusion features;
[0032] The result output module is used to classify the fused features and produce the final result.
[0033] In combination with the above technical solutions and the technical problems solved, please analyze the advantages and positive effects of the technical solutions to be protected by the present invention from the following aspects:
[0034] First, in view of the technical problems existing in the above-mentioned prior art and the difficulty of solving the problems, the technical solutions to be protected by the present invention and the results and data during the research and development process are closely combined to analyze in detail and deeply how the technical solutions of the present invention solve the technical problems, and some creative technical effects brought about after solving the problems. The specific description is as follows:
[0035] The present invention can perform deep feature extraction and use a hierarchical multi-head attention mechanism to achieve hierarchical feature extraction. A custom gate mechanism structure is used to replace the middle layer in the BERT model to filter information. Finally, a tensor fusion model based on the self-attention mechanism is used to fuse multimodal features, and finally a model for accurately classifying polymorphic emotional information is realized.
[0036] Second, considering the technical solution as a whole or from the perspective of the product, the technical effects and advantages of the technical solution to be protected by the present invention are described in detail as follows:
[0037] The present invention improves the feature extraction capability of BERT, and has a stronger multimodal feature extraction capability than the original BERT model. First, the multi-head self-attention mechanism and the forward propagation layer in the original BERT model are optimized. The optimized hierarchical multi-head self-attention mechanism is used to replace the original BERT model to realize feature extraction; the forward propagation layer in the original BERT is replaced by a custom gate mechanism to realize the filtering of feature information; finally, the text features processed by the optimized BERT model and the audio features processed by the LSTM network are subjected to tensor fusion based on the self-attention mechanism to obtain multimodal (text and audio features) fusion features.
[0038] Third, as auxiliary evidence of the inventiveness of the claims of the present invention, it is also reflected in the following important aspects:
[0039] The expected benefits and commercial value of the technical solution of the present invention after transformation are:
[0040] Compared with the BERT model, which is very popular in the field of natural language processing, the optimized BERT model proposed in the present invention optimizes the internal structure of the BERT model, and has better classification effect on multimodal public data sets than the traditional BERT model. Therefore, in the field of natural language processing or other fields using the BERT model, the model and optimization ideas proposed in the present invention can be used to improve their own models.
[0041] (2) The technical solution of the present invention fills the technical gap in the industry at home and abroad:
[0042] In the multimodal field, most of them use the BERT model as a model for text feature extraction, and then a customized multimodal feature fusion structure is used to process the features processed by the BERT model. Basically, there is little reference to optimizing the BERT model. The present invention proposes the above two innovative points to optimize the BERT internally. It provides a new idea for the subsequent use of the BERT model in the multimodal field.
[0043] (3) Whether the technical solution of the present invention solves the technical problems that people have been eager to solve but have not been able to solve successfully:
[0044] How to apply the BERT model to the multimodal field so that the features it proposes can be better integrated with the features of other modalities. The present invention proposes a tensor fusion model based on self-attention, which provides a better solution to this problem.
[0045] (4) Whether the technical solution of the present invention overcomes technical bias: Question
[0046] At present, most studies use the BERT model as feature extraction. Compared with modifying the BERT model, most people believe that BERT has a stronger ability to extract feature information and has not optimized its internal structure. Based on the BERT model, this paper proposes an optimized structure of two values, and from the experimental results, it has indeed achieved an improvement in classification effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 is a comparison diagram of the optimized BERT model and the original BERT model provided by an embodiment of the present invention;
[0048] Figure 2 It is a flow chart of a multimodal deep feature extraction method based on an optimized BERT model provided by an embodiment of the present invention;
[0049] Figure 3 The embodiment of the present invention provides a schematic diagram of a process for progressively extracting features by changing the self-attention process of a fixed number of heads in the BERT model to a hierarchical number of heads for features;
[0050] Figure 4 The embodiment of the present invention provides a method for filtering information using a custom gate mechanism process, and a specific process diagram thereof;
[0051] Figure 5 An embodiment of the present invention provides a fusion operation diagram of multimodal features by processing text data, then processing audio data, and finally implementing a tensor fusion process. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0053] 1. Explanatory Examples In order to enable those skilled in the art to fully understand how to implement the present invention, this section provides an illustrative example that expands and describes the technical solution of the claims.
[0054] Figure 1 The comparison principle between the optimized BERT model and the original BERT model provided by the embodiment of the present invention includes:
[0055] The multi-head self-attention layer in the original BERT model is replaced by an optimized hierarchical multi-head self-attention layer to achieve the hierarchical extraction effect of features.
[0056] The forward propagation layer in the original BERT model is replaced with a custom gate mechanism structure to achieve feature filtering.
[0057] Regarding the fusion method of multimodal data features, the self-attention-based tensor fusion model is used to fuse features of different modalities, which has achieved better fusion effect.
[0058] like Figure 2 As shown, the multimodal deep feature extraction method based on the optimized BERT model provided by the embodiment of the present invention includes:
[0059] S101, data processing stage: multimodal data feature selection and data preprocessing;
[0060] S102, BERT model optimization stage: optimize the multi-head self-attention mechanism and forward propagation layer in the original BERT model;
[0061] S103, feature fusion stage: the text features processed by the optimized BERT model and the audio features processed by the LSTM network are fused by tensor based on the self-attention mechanism to obtain multi-modal fusion features;
[0062] S104, result output stage: classify the fused features to generate the final result.
[0063] In a preferred embodiment of the present invention, the multimodal deep feature extraction method based on the optimized BERT model includes the following steps:
[0064] First, in the data selection stage, video conversations are selected as the source of multimodal data information to provide sample data for the model training stage. Given multiple video information, they are decomposed into text and audio parts.
[0065] Next, use the corresponding tools below to break down the Text and Audio parts into word-level segments.
[0066] For text data T∈R b×len (b represents the number of samples in a batch, len represents the fixed length of each sentence, which is 50 in the present invention. At the same time, for sentences of different lengths, padding and truncation are required). What is obtained is a text, which consists of sentences line by line. The length of each sentence is different. In the word segmentation stage, a word segmentation tool is used, such as the Jieba tool or the word segmentation function that comes with pytorch, such as the tokenizer word segmentation (the pre-trained Bert model needs to be downloaded). Then each word is converted into an id in the vocabulary, and finally the embedded word vector is used to convert it into a word vector. Depending on the choice of pre-trained word vectors, the dimensions of the word vectors obtained are also different, and the dimensions can be expressed as (h t represents the dimension of the embedding).
[0067] For audio data, use COVAPER or OpenSmile tools to extract audio features. Taking OpenSmile as an example, it is a tool that runs in command line form. The features extracted by OpenSmile consist of multiple low-level descriptors (LLDs), such as MFCC, speech intensity, pitch, and their statistical values, such as mean, root quadratic mean, etc. A∈R b , audio feature extraction is performed at a frame rate of 30 Hz and a sliding window of 100 milliseconds to calculate audio features. The feature changes after extraction are (N da Represented as and the data dimensions after embedding), after the CMU-Multimodal SDK framework is used to perform word-level alignment on the multimodal data, its specific dimensions are transformed into
[0068] Therefore, after data preprocessing, the dimensions of the data can be expressed as:
[0069]
[0070] T and A represent the Text and Visio data features, respectively. b represents the number of samples in a batch, and len represents the fixed length of the data. ht and ha represent the dimensions of T and A, respectively.
[0071] In the BERT model optimization stage, two parts of the original BERT structure are mainly optimized:
[0072] like Figure 3 As shown in the figure, the fixed number of heads in the BERT model for self-attention is changed to a hierarchical number of heads for features, realizing the progressive extraction process of features:
[0073] The original BERT changes the dimension of feature extraction as follows: the original head number head_num = 12, which is fixed in the 12-layer encoder structure. In the optimized hierarchical multi-head self-attention process, head_num = 16 is used in the first 1-3 layers, divided into 4 stages, and head_num is reduced by 4 in each stage until the last 10-12 layers have head_num = 4.
[0074] like Figure 4 As shown, the customized gate mechanism process is used to filter the information. The specific process is as follows:
[0075] First, the memory gate M and update gate U in the gate mechanism filter the features that have passed the hierarchical multi-head self-attention mechanism. First, the memory gate and update gate are initialized.
[0076] G_M b×len×hn =σ(X b×len×hn ×M hn×hn )
[0077] G_U b×len×hn =σ(X b×len×hn ×U hn×hn )
[0078] X represents the features after the hierarchical multi-head self-attention mechanism, M represents the matrix after random initialization, "x" represents matrix multiplication, and σ represents the sigmoid operation. G_M and G_U represent the new feature vectors.
[0079] Next: The memory gate saves the original features and adds some new random features to prevent overfitting.
[0080] X_M b×len×hn =tanh(X b×len×hn ×G_M hn×hn +X b×len×hn ×M hn×hn )
[0081] The original feature X is multiplied by the initialized memory gate matrix, and then the original matrix and the original feature X are used for matrix multiplication to represent the new random feature.
[0082] The features obtained are added and the tanh activation function is performed to obtain the feature X_M to be remembered.
[0083] Then use the update gate to update the features:
[0084] X_New b×len×hn =X_M b×len×hn ×G_U hn×hn +X b×len×hn ×(1-G_U)hn×hn
[0085] Finally, the final feature X_New is obtained through the residual structure, layer regularization and gelu activation function through the gate mechanism.
[0086] X_New b×len×hn =LayerNorm(X+X_New)
[0087] X_New b×len×Hi =Full-Connect(X_New)
[0088] X_New=Gelu(X_New)
[0089] The Full-Connect layer converts the hidden layer features of dimension hn into the intermediate layer features Hi required by the BERT model.
[0090] In the feature fusion stage, Figure 5 As shown, first, the text data is processed, then the audio data is processed, and finally the fusion operation of multimodal features is realized through the tensor fusion process.
[0091] The processing of text information features is as follows: first use the self-attention mechanism, then use the residual structure post-layer regularization process, and finally directly output
[0092] First, calculate the self-attention mechanism process of the text information feature T:
[0093] S_T b×len×len =X b×len×hn ×X b×hn×len
[0094] S_T b××len×len =soft max(S_T,-1)
[0095] T b×len×len =S_T b×len×len ×X b×len×hn
[0096] First, take the optimized BERT output feature X, multiply it by itself, perform the Softmax function on the last layer of the feature, and finally multiply it by the original feature X to represent the feature T obtained by the self-attention mechanism.
[0097] Secondly, the data is updated through the residual structure and layer regularization process.
[0098] The processing process of the original audio features is as follows:
[0099] First, the original audio feature X is passed through a stacked two-layer LSTM network to extract features.
[0100] A b×len×h = Stacked_LSTM(A b×len×h1 )
[0101] b represents the batch size in the experiment, which defaults to 24. b represents the number of samples in each batch, which defaults to 50. h and h1 represent the size of feature changes after passing through the LSTM network.
[0102] Next, as with the text type operation, the self-attention mechanism process is performed on the audio information feature A to obtain the feature X_S:
[0103] Then, tensor fusion is used to achieve the fusion operation of multimodal data:
[0104] Finally, the final data feature X_F is obtained through the residual structure and layer regularization process:
[0105] At this point, the feature fusion results have been completed.
[0106] The final stage is the result output layer, which is used to handle multimodal classification problems. The process is as follows:
[0107] First, multiple fully connected layers are used to degrade the fused features into low-dimensional features.
[0108] The 1 fully connected layer used here is connected to the fused multimodal features and finally outputs a value.
[0109] The sentiment trend of multimodal data is judged based on the positive and negative values.
[0110] Common multimodal sentiment datasets include:
[0111] MSCOCO dataset: The amount of data is huge, most of which involves pure CV (computer vision);
[0112] CMU-MOSEI dataset: the largest tri-modal dataset with two labels: sentiment and emotion;
[0113] CMU-MOSI: The previous version of CMU-MOSEI, with relatively small data volume, provides raw data and processed data;
[0114] CH-SIMS: Its labels are more detailed, not only the final labels, but also the labels of each mode.
[0115] Through the above technical scheme, the embodiment of the present invention is based on the multimodal sentiment analysis method of optimizing BERT. On the original BERT method, a hierarchical multi-head self-attention mechanism and a gate mechanism are used, and finally the fusion process of multimodal feature data is realized through a tensor-based fusion method.
[0116] 2. Application Examples: In order to prove the creativity and technical value of the technical solution of the present invention, this section provides application examples of the technical solution of the claims on specific products or related technologies.
[0117] In some specific scenarios, for example, in shopping software such as Taobao and JD.com, the voice information posted by users can be converted into text and voice information, analyzed by the model proposed in the present invention to determine its emotional tendency, and then customized services are provided based on the obtained emotional tendency value.
[0118] Similarly, in the field of manual customer service or voice communication, the emotional trends of the communicators can be monitored in real time to determine the chat topics. Similarly, the user's satisfaction with the manual customer service or communicators can be judged based on the emotional distribution during the chat process.
[0119] Similarly, when using software such as Bilibili or YouTube, the general emotional style of a video can be judged based on the video cover and text information, thus avoiding the time of having to browse advertisements to view the video.
[0120] 3. Evidence of the effects of the embodiments. The embodiments of the present invention have achieved some positive effects during the development or use process, and indeed have great advantages over the prior art. The following content is described in conjunction with the data, charts, etc. of the test process.
[0121] From the experimental comparison, the classification effect of the method proposed in the present invention on the CMU-MOSI public multimodal dataset is better, as shown in Table 1.
[0122] It can be seen from the experiment that BERT does have a more powerful feature extraction capability and better classification effect than other models such as LSTM and Transformer. The highest classification accuracy using the LSTM model is only 79.3%. However, after using the Transformer and BERT models, the classification effect reached more than 80%. The improvement in effect is not only due to the optimization of the network structure, but also to the more parameters. On the BERT-based model, the effect of using BERT to extract text features and the feature fusion method using the masked attention mechanism (CM-BERT re-emergence version) is not as good as the tensor fusion model based on self-attention proposed in the present invention (experimental BERT (extracting text features)). The reason is that in the process of feature fusion, the masked attention mechanism cannot better fuse audio features with text features. In the experiment of the optimized BERT model, the two optimization points described above are proposed. Its experimental results are better than the original BERT (experimental BERT (extracting text features)). Although the improvement in accuracy is not very large, the present invention dares to directly optimize the internal structure of BERT, and has obtained a certain improvement in the experimental classification effect, which illustrates the feasibility of the present invention.
[0123] Table 1 Comparative experimental results
[0124]
[0125] It should be noted that the embodiments of the present invention can be implemented by hardware, software, or a combination of software and hardware. The hardware part can be implemented using dedicated logic; the software part can be stored in a memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated design hardware. It can be understood by a person of ordinary skill in the art that the above-mentioned devices and methods can be implemented using computer executable instructions and / or contained in a processor control code, such as a carrier medium such as a disk, CD or DVD-ROM, a programmable memory such as a read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. Such code is provided on the carrier medium. The device and its modules of the present invention can be implemented by hardware circuits such as very large-scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, etc., or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., can also be implemented by software executed by various types of processors, and can also be implemented by a combination of the above-mentioned hardware circuits and software, such as firmware.
[0126] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any modifications, equivalent substitutions and improvements made by any technician familiar with the technical field within the technical scope disclosed by the present invention and within the spirit and principle of the present invention should be covered by the protection scope of the present invention.
Claims
1. A multimodal deep feature extraction method based on an optimized BERT model, characterized in that: The multimodal deep feature extraction method based on the optimized BERT model includes: Step 1, data processing stage: multimodal data feature selection and data preprocessing; Step 2, BERT model optimization phase: optimize the multi-head self-attention mechanism and forward propagation layer in the original BERT model; Step 3, feature fusion stage: perform tensor fusion based on the self-attention mechanism on the text features processed by the optimized BERT model and the audio features processed by the LSTM network to obtain the fusion features of the text and audio features; Step 4, result output stage: classify the fused features to produce the final result; The fixed number of heads in the BERT model for self-attention is changed to a hierarchical number of heads for features, realizing the progressive extraction process of features: The original BERT changes the dimension of feature extraction as follows: the original head number head_num = 12, which is fixed in the 12-layer encoder structure; in the optimized hierarchical multi-head self-attention process, the first 1-3 layers use head_num = 16, which is divided into 4 stages, and each stage reduces 4 head_num until the last 10-12 layers have head_num = 4; Secondly, a custom gate mechanism is used to filter information. The specific process is as follows: First, the memory gate M and update gate U in the gate mechanism filter the features that have passed through the hierarchical multi-head self-attention mechanism; first, the memory gate and update gate are initialized; G_M b×len×hn =σ(X b×len×hn ×M hn×hn ) G_U b×len×hn =σ(X b×len×hn ×U hn×hn ) X represents the features after the hierarchical multi-head self-attention mechanism, M represents the matrix after random initialization, "x" represents matrix multiplication, σ represents the sigmoid operation; G_M and G_U represent the new feature vectors; b represents the number of samples in a batch, and len represents the fixed length of each sentence; Next: the memory gate saves the original features and adds some new random features to prevent overfitting; X_M b×len×hn =tanh(X b×len×hn ×G_M hn×hn +X b×len×hn ×M hn×hn ) Multiply the original feature X with the initialized memory gate matrix, and then use the original matrix and the original feature X to perform matrix multiplication to represent the new random feature; The features to be memorized are obtained by adding them together and performing tanh activation function. Then use the update gate to update the features: X_New b×len×hn =X_M b×len×hn ×G_U hn×hn +X b×len×hn ×(1-G_U) hn×hn Finally, the final feature X_New is obtained through the gate mechanism through the residual structure, layer regularization and gelu activation function; X_New b×len×hn =LayerNorm(X+X_New) X_New b×len×Hi =Full-Connect(X_New) X_New=Gelu(X_New) The Full-Connect layer converts the hidden layer features of dimension hn into the intermediate layer features Hi required by the BERT model.
2. The multimodal deep feature extraction method based on the optimized BERT model as claimed in claim 1, characterized in that: The multimodal data in step 1 is data for video information, which decomposes the video into voice and text information.
3. The multimodal deep feature extraction method based on the optimized BERT model as claimed in claim 2, characterized in that: When converting video information into text and audio information, the text and audio information are decomposed into words as the smallest unit, and the segmented text and audio information are aligned at the word level, with one word vector corresponding to one audio vector.
4. The multimodal deep feature extraction method based on the optimized BERT model as claimed in claim 1, characterized in that: The feature fusion stage of step three specifically includes: 1) Obtain text features processed by the optimized BERT model; 2) Use a two-layer LSTM network based on the self-attention mechanism to process audio data; 3) Fusion of text and audio data through tensor fusion model.
5. The multimodal deep feature extraction method based on the optimized BERT model as claimed in claim 1, characterized in that: The step 4 result output stage specifically includes: (1) Add a residual module to the fused features and perform layer regularization, and connect them to the fully connected layer; (2) Through a fully connected network, the process from a large feature dimension to a single dimension is realized, and the final result produces a value; (3) Map the value to an interval corresponding to the sample label, and further optimize the network through the back-propagation process according to the difference between the value and the sample label.
6. A multimodal deep feature extraction system based on an optimized BERT model for implementing the multimodal deep feature extraction method based on an optimized BERT model according to any one of claims 1 to 5, characterized in that: The multimodal deep feature extraction system based on the optimized BERT model includes: Data processing module, used for multimodal data feature selection and data preprocessing; BERT model optimization module, used to optimize the multi-head self-attention mechanism and forward propagation layer in the original BERT model; The feature fusion module is used to perform tensor fusion based on the self-attention mechanism on the text features processed by the optimized BERT model and the audio features processed by the LSTM network to obtain multi-modal fusion features; The result output module is used to classify the fused features and produce the final result.
7. A computer device, characterized in that: The computer device includes a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the multimodal deep feature extraction method based on the optimized BERT model as described in any one of claims 1 to 5.
8. A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor executes the multimodal deep feature extraction method based on the optimized BERT model as described in any one of claims 1 to 5.
9. An information data processing terminal, characterized in that: The information data processing terminal is used to implement the multimodal deep feature extraction method based on the optimized BERT model as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Multi-modal sentiment analysis method based on multi-task learning and attention layer fusion
CN114330551A
Multimodal dimensional emotion recognition method
US11281945B1
BERT-based machine-learning tool for predicting emotional response to text
US20220129621A1
Autonomous evolution intelligent dialogue method, system and device based on physical environment game
WO2020143130A1
