Skip to main content
QUICK REVIEW

[论文解读] Multimodal Sentiment Analysis Based on BERT and ResNet

Juanjuan Ren|arXiv (Cornell University)|Dec 4, 2024
Sentiment Analysis and Opinion MiningComputer Science被引用 3
一句话总结

本文提出了一种多模态情感分析框架,通过使用 BERT 进行文本表征和 ResNet-50 进行图像特征提取,并采用基于注意力的融合策略(OTEModel)以提升情感分类性能。该方法在 MAVA-single 数据集上实现了 74.5% 的准确率,优于单模态和简单融合基线模型。

ABSTRACT

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.

研究动机与目标

  • 通过整合文本和图像模态来解决单模态情感分析的局限性,以提升准确率。
  • 克服多模态情感分析中有效跨模态特征融合的挑战。
  • 利用 BERT 的强大上下文理解能力以及 ResNet-50 的鲁棒视觉特征提取能力,实现互补表征。
  • 评估并优化多种融合策略,以确定最有效的情感分类方法。
  • 证明基于注意力的融合在提升多模态情感分析任务模型性能方面的有效性。

提出的方法

  • 使用 BERT 从输入句子中提取上下文相关的文本嵌入。
  • 使用 ResNet-50 从输入图像中提取深层卷积特征。
  • 探索五种融合策略:早期融合(加权平均)、晚期融合(决策级平均)、特征级融合,以及两种基于注意力的融合方法。
  • 实现 OTEModel(输出变换器编码器模型),通过注意力机制动态加权并整合文本与图像特征。
  • 使用交叉熵损失函数进行端到端多模态模型训练,以实现情感分类。
  • 在 MAVA-single 数据集上进行微调,以将预训练的 BERT 和 ResNet 模型适配到情感分析任务。

实验结果

研究问题

  • RQ1与单模态模型相比,结合 BERT 和 ResNet 是否能提升情感分类的准确率?
  • RQ2在多模态情感分析中,哪种特征融合策略——早期融合、晚期融合或基于注意力的融合——表现最佳?
  • RQ3所提出的 OTEModel 如何利用注意力机制增强文本与图像特征的整合?
  • RQ4与单模态基线相比,多模态融合在多大程度上减少了误分类错误?
  • RQ5基于注意力的融合机制是否同时提升了情感预测的精确率和召回率?

主要发现

  • OTEModel 在 MAVA-single 数据集上实现了最高的准确率 74.5%,优于单模态 BERT 模型(70.5%)和 ResNet 模型(71.5%)。
  • OTEModel 相比简单多模态融合模型,F1 分数提升了 3 个百分点,相比仅使用 ResNet 的基线模型,提升了 8%。
  • 相比 ResNet 模型,精确率提高了 8%,相比 BERT 模型,提高了 2%,表明在正向情感预测中误报更少。
  • 相比 ResNet 模型,召回率提高了 8%,相比 BERT 模型,提高了 4%,表明对真实正向情感样本的检测能力更强。
  • OTEModel 中的基于注意力的融合机制有效捕捉了模态之间的互补信息,增强了整体模型的鲁棒性。
  • 该模型在所有评估指标——准确率、精确率、召回率和 F1——上均表现出显著提升,证实了所提出融合策略的优越性。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。