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
来源
WEB INFORMATION SYSTEMS AND APPLICATIONS, WISA 2024 | 2024年 / 14883卷
基金
中国国家自然科学基金;
关键词
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] Rumor detection using BERT-based social circle and interaction network model
    Thirumoorthy, K.
    Britto, J. Jerold John
    Haripriya, P.
    Shreenee, N.
    SOCIAL NETWORK ANALYSIS AND MINING, 2024, 14 (01)
  • [32] BERT-based Classifiers for Fake News Detection on Short and Long Texts with Noisy Data: A Comparative Analysis
    Shushkevich, Elena
    Alexandrov, Mikhail
    Cardiff, John
    TEXT, SPEECH, AND DIALOGUE (TSD 2022), 2022, 13502 : 263 - 274
  • [33] Network Public Opinion Sentiment Analysis based on Bert Model
    Dong, Qian
    Sun, Tingting
    Xu, Yan
    Xu, Xuguang
    Zhong, Mei
    Yan, Kai
    2022 IEEE 10TH INTERNATIONAL CONFERENCE ON INFORMATION, COMMUNICATION AND NETWORKS (ICICN 2022), 2022, : 662 - 666
  • [34] Transformer based Contextual Model for Sentiment Analysis of Customer Reviews: A Fine-tuned BERT A Sequence Learning BERT Model for Sentiment Analysis
    Durairaj, Ashok Kumar
    Chinnalagu, Anandan
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2021, 12 (11) : 474 - 480
  • [35] A novel framework for aspect based sentiment analysis using a hybrid BERT (HybBERT) model
    Goud, Anushree
    Garg, Bindu
    MULTIMEDIA TOOLS AND APPLICATIONS, 2023,
  • [36] A BERT-Based Generation Model to Transform Medical Texts to SQL Queries for Electronic Medical Records: Model Development and Validation
    Pan, Youcheng
    Wang, Chenghao
    Hu, Baotian
    Xiang, Yang
    Wang, Xiaolong
    Chen, Qingcai
    Chen, Junjie
    Du, Jingcheng
    JMIR MEDICAL INFORMATICS, 2021, 9 (12)
  • [37] Pedagogical sentiment analysis based on the BERT-CNN-BiGRU-attention model in the context of intercultural communication barriers
    Bi, Xin
    Zhang, Tian
    PEERJ COMPUTER SCIENCE, 2024, 10
  • [38] BERT-based Approach to Arabic Hate Speech and Offensive Language Detection in Twitter: Exploiting Emojis and Sentiment Analysis
    Althobaiti, Maha Jarallah
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2022, 13 (05) : 972 - 980
  • [39] Detecting the Impact of COVID-19 on Social Media using BERT-Based Model
    Albashayreh, Amjad
    Najadat, Hassan
    2024 15TH INTERNATIONAL CONFERENCE ON INFORMATION AND COMMUNICATION SYSTEMS, ICICS 2024, 2024,
  • [40] Proposing sentiment analysis model based on BERT and XLNet for movie reviews
    Danyal, Mian Muhammad
    Khan, Sarwar Shah
    Khan, Muzammil
    Ullah, Subhan
    Mehmood, Faheem
    Ali, Ijaz
    MULTIMEDIA TOOLS AND APPLICATIONS, 2024, 83 (24) : 64315 - 64339