[Paper Review] Multimodal Sentiment Analysis Based on BERT and ResNet
This paper proposes a multimodal sentiment analysis framework that fuses BERT for text representation and ResNet-50 for image feature extraction, using an attention-based fusion strategy (OTEModel) to improve sentiment classification. The method achieves 74.5% accuracy on the MAVA-single dataset, outperforming single-modal and simple fusion baselines.
With the rapid development of the Internet and social media, multi-modal data (text and image) is increasingly important in sentiment analysis tasks. However, the existing methods are difficult to effectively fuse text and image features, which limits the accuracy of analysis. To solve this problem, a multimodal sentiment analysis framework combining BERT and ResNet was proposed. BERT has shown strong text representation ability in natural language processing, and ResNet has excellent image feature extraction performance in the field of computer vision. Firstly, BERT is used to extract the text feature vector, and ResNet is used to extract the image feature representation. Then, a variety of feature fusion strategies are explored, and finally the fusion model based on attention mechanism is selected to make full use of the complementary information between text and image. Experimental results on the public dataset MAVA-single show that compared with the single-modal models that only use BERT or ResNet, the proposed multi-modal model improves the accuracy and F1 score, reaching the best accuracy of 74.5%. This study not only provides new ideas and methods for multimodal sentiment analysis, but also demonstrates the application potential of BERT and ResNet in cross-domain fusion. In the future, more advanced feature fusion techniques and optimization strategies will be explored to further improve the accuracy and generalization ability of multimodal sentiment analysis.
Motivation & Objective
- Address the limitation of single-modal sentiment analysis by integrating text and image modalities for improved accuracy.
- Overcome the challenge of effective cross-modal feature fusion in multimodal sentiment analysis.
- Leverage the strong contextual understanding of BERT and the robust visual feature extraction of ResNet-50 for complementary representation.
- Evaluate and optimize multiple fusion strategies to identify the most effective approach for sentiment classification.
- Demonstrate the effectiveness of attention-based fusion in enhancing model performance on multimodal sentiment analysis tasks.
Proposed method
- Use BERT to extract contextualized text embeddings from input sentences.
- Use ResNet-50 to extract deep convolutional features from input images.
- Explore five fusion strategies: early fusion (weighted averaging), late fusion (decision-level averaging), feature-level fusion, and two attention-based fusion methods.
- Implement the OTEModel (Output Transformer Encoder Model) that applies an attention mechanism to dynamically weigh and integrate text and image features.
- Train the end-to-end multimodal model using cross-entropy loss for sentiment classification.
- Apply fine-tuning on the MAVA-single dataset to adapt the pre-trained BERT and ResNet models to the sentiment analysis task.
Experimental results
Research questions
- RQ1Can combining BERT and ResNet improve sentiment classification accuracy compared to single-modal models?
- RQ2Which feature fusion strategy—early, late, or attention-based—yields the best performance in multimodal sentiment analysis?
- RQ3How does the proposed OTEModel leverage attention to enhance the integration of text and image features?
- RQ4To what extent does multimodal fusion reduce misclassification errors compared to unimodal baselines?
- RQ5Does the attention-based fusion mechanism improve both precision and recall in sentiment prediction?
Key findings
- The OTEModel achieved the highest accuracy of 74.5% on the MAVA-single dataset, outperforming the single-modal BERT model (70.5%) and ResNet model (71.5%).
- The OTEModel improved F1 score by 3 percentage points over the simple multimodal fusion model and by 8% over the ResNet-only baseline.
- Precision increased by 8% compared to the ResNet model and 2% over the BERT model, indicating fewer false positives in positive sentiment prediction.
- Recall improved by 8% over the ResNet model and 4% over the BERT model, showing better detection of true positive sentiment instances.
- The attention-based fusion mechanism in OTEModel effectively captured complementary information between modalities, enhancing overall model robustness.
- The model demonstrated significant gains in all evaluation metrics—accuracy, precision, recall, and F1—confirming the superiority of the proposed fusion strategy.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.