Enhancing Sentiment Analysis for Chinese Texts Using a BERT-Based Model with a Custom Attention Mechanism

被引:0
|
作者
Ding, Linlin [1 ]
Han, Yiming [1 ]
Li, Mo [1 ]
Li, Dong [1 ]
机构
[1] Liaoning Univ, Sch Informat, Shenyang 110036, Peoples R China
基金
中国国家自然科学基金;
关键词
Emotion Classification; Social Media Analysis; BERT;
D O I
10.1007/978-981-97-7707-5_15
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The rise of social media has made automatic emotion recognition from extensive texts crucial in NLP(Natural language processing). Traditional sentiment analysis focuses on basic positive or negative sentiments, neglecting the broader spectrum of emotional complexity. Our innovative model addresses this by incorporating a pretrained BERT (Bidirectional Encoder Representations from Transformers) language model with an additional custom attention mechanism. This mechanism dynamically adjusts encoder layer weights to distinguish between semantically similar but emotionally distinct expressions, such as "anger" versus "sadness" or "happiness" versus "surprise." This approach enhances the model's sensitivity to emotional boundaries, allowing for more accurate identification and classification of complex emotions. Experimental results on two six-emotion datasets demonstrate superior performance in precision, recall, and F1-score compared to traditional models.
引用
收藏
页码:172 / 179
页数:8
相关论文
共 50 条
  • [31] Discovering a tourism destination with social media data: BERT-based sentiment analysis
    Santiago Vinan-Ludena, Marlon
    de Campos, Luis M.
    JOURNAL OF HOSPITALITY AND TOURISM TECHNOLOGY, 2022, 13 (05) : 907 - 921
  • [32] An Effective BERT-Based Pipeline for Twitter Sentiment Analysis: A Case Study in Italian
    Pota, Marco
    Ventura, Mirko
    Catelli, Rosario
    Esposito, Massimo
    SENSORS, 2021, 21 (01) : 1 - 21
  • [33] A Study of Bert-Based Sentiment Analysis Algorithm for Short Text Movie Reviews
    Gao, Mengshen
    Feng, Xiwei
    Sun, Enyu
    2024 14TH ASIAN CONTROL CONFERENCE, ASCC 2024, 2024, : 106 - 111
  • [34] Multilingual evaluation of pre-processing for BERT-based sentiment analysis of tweets
    Pota, Marco
    Ventura, Mirko
    Fujita, Hamido
    Esposito, Massimo
    EXPERT SYSTEMS WITH APPLICATIONS, 2021, 181
  • [35] AFR-BERT: Attention-based mechanism feature relevance fusion multimodal sentiment analysis model
    Ji Mingyu
    Zhou Jiawei
    Wei Ning
    PLOS ONE, 2022, 17 (09):
  • [36] Sentiment Analysis with An Integrated Model of BERT and Bi-LSTM Based on Multi-Head Attention Mechanism
    Wang, Yahui
    Cheng, Xiaoqing
    Meng, Xuelei
    IAENG International Journal of Computer Science, 2023, 50 (01)
  • [37] Predictive intelligence in harmful news identification by BERT-based ensemble learning model with text sentiment analysis
    Lin, Szu-Yin
    Kung, Yun-Ching
    Leu, Fang-Yie
    INFORMATION PROCESSING & MANAGEMENT, 2022, 59 (02)
  • [38] Sentiment Analysis Model Based on Structure Attention Mechanism
    Lin, Kai
    Lin, Dazhen
    Cao, Donglin
    ADVANCES IN COMPUTATIONAL INTELLIGENCE SYSTEMS, 2018, 650 : 17 - 27
  • [39] A Sentiment Analysis Model Based on Attention Mechanism and Compound Model
    Wang, Leichen
    Liu, Pengfei
    2019 18TH INTERNATIONAL SYMPOSIUM ON DISTRIBUTED COMPUTING AND APPLICATIONS FOR BUSINESS ENGINEERING AND SCIENCE (DCABES 2019), 2019, : 207 - 210
  • [40] Improving Cross-Domain Aspect-Based Sentiment Analysis using Bert-BiLSTM Model and Dual Attention Mechanism
    Xu, Yadi
    Ibrahim, Noor Farizah
    ADVANCES IN ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING, 2024, 4 (03): : 2468 - 2489