Feature fusion based transformer for sentiment analysis in social networks
Sentiment analysis methods aim to evaluate users' mental health conditions by analyzing their posted content (text, images, and audio) on social networks. However, given the diversity and complexity of social media information, traditional single-modal sentiment analysis techniques exhibit limitations in accurately interpreting users' emotional states and may even lead to contradictory conclusions. To address this challenge, this paper proposes a Feature Fusion Based Transformer (FFBT) solution. The framework consists of three key steps: Firstly, RoBERTa and ResNet50 models are employed to extract features from textual and image data in social media posts, respectively. Then, a multimodal Transformer architecture facilitates feature alignment and fusion across different modalities. Finally, the fused features are fed into a fully connected network (FCN) for sentiment classification, ultimately determining the user's emotional state. Experiments conducted on a custom dataset constructed from social media platform data demonstrate that FFBT outperforms existing sentiment analysis algorithms by 4.1% in accuracy and 5% in F1-scores, respectively.
Authors
- Shitao Yan
- He Li (ORCID: https://orcid.org/0000-0001-7454-0796)
- Chuang Dong (ORCID: https://orcid.org/0000-0001-5631-9641)
- Juan Du (ORCID: https://orcid.org/0009-0001-0314-630X)
- Shiyong Li (ORCID: https://orcid.org/0000-0002-2990-0497)
Institutions
- Nanyang Normal University (CN)
- Henan Institute of Science and Technology (CN)
- Xinxiang University (CN)
Publication Details
- Journal
- PLoS ONE
- Published
- 2025-11-07
- DOI
- https://doi.org/10.1371/journal.pone.0333416
- Citations
- 1
- Primary Topic
- Sentiment Analysis and Opinion Mining
- Type
- article
- Field-Weighted Citation Impact
- 2.48