• 基于层次化门控与混合注意力的多模态情感分析

    Multimodal sentiment analysis based on hierarchical gating and mixed attention

    • 多模态情感分析通过融合文本与图像信息,可显著提升复杂场景下情感表达的理解能力。针对现有方法在特征融合过程中易受模态冗余与交互不足制约、难以有效捕捉细粒度情感语义的问题,提出一种基于层次化门控与混合注意力机制的多模态情感分析模型HGMA-Net(Hierarchical Gated Mixed-Attention Network)。该模型在输入阶段利用图像字幕生成技术扩展原始文本语义,并与图像特征共同构建多模态输入;在特征建模阶段,采用层次化门控模块,通过多层次投影与动态权重分配实现模态特征的自适应选择,减少冗余并突出关键信息;设计混合注意力模块,融合模态内自注意力、多尺度局部卷积注意力和跨模态交叉注意力,增强模态间交互与情感语义一致性;融合后的特征经分类器完成情感识别。在TumEmo、MVSA-Single和MVSA-Multiple数据集上的实验结果表明,HGMA-Net在TumEmo上的准确率和F1值分别提升3.19和3.37个百分点,在MVSA-Single上分别提升0.22和0.34个百分点,在MVSA-Multiple上接近最优基线;该模型在多个数据集上均表现出稳定且显著的性能优势,验证了其有效性。

       

      Abstract: Multimodal sentiment analysis can significantly enhance the understanding of emotional expressions in complex scenes by integrating textual and visual information. To address the problems of modality redundancy and insufficient interaction in feature fusion, which make it difficult to capture fine-grained emotional semantics, a multimodal sentiment analysis model based on hierarchical gating and mixed attention, named HGMA-Net (Hierarchical Gated Mixed-Attention Network), is proposed. At the input stage, image captioning is employed to expand the semantics of the original text, which is combined with image features to construct multimodal inputs. In the feature modeling stage, a hierarchical gating module is introduced to achieve adaptive selection of modal features through multi-level projection and dynamic weight allocation, thereby reducing redundancy and highlighting key information. A mixed attention module is also designed, integrating intra-modal self-attention, multi-scale local convolutional attention, and cross-modal attention to enhance inter-modal interaction and emotional semantic consistency. The fused features are then fed into a classifier for sentiment recognition. Experimental results on the TumEmo, MVSA-Single, and MVSA-Multiple datasets show that HGMA-Net improves the accuracy and F1 score by 3.19 and 3.37 percentage points on TumEmo, and by 0.22 and 0.34 percentage points on MVSA-Single, respectively; its performance on MVSA-Multiple is close to that of the optimal baseline. The model exhibits stable and significant performance advantages on multiple multimodal datasets, validating its effectiveness.

       

    /

    返回文章
    返回