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 条
  • [21] Sentiment analysis of Chinese stock reviews based on BERT model
    Mingzheng Li
    Lei Chen
    Jing Zhao
    Qiang Li
    Applied Intelligence, 2021, 51 : 5016 - 5024
  • [22] Chinese Grammatical Correction Using BERT-based Pre-trained Model
    Wang, Hongfei
    Kurosawa, Michiki
    Katsumatat, Satoru
    Komachi, Mamoru
    1ST CONFERENCE OF THE ASIA-PACIFIC CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS AND THE 10TH INTERNATIONAL JOINT CONFERENCE ON NATURAL LANGUAGE PROCESSING (AACL-IJCNLP 2020), 2020, : 163 - 168
  • [23] A BERT-Based Vector Autoregressive Network for Sentiment Analysis of Financial News
    Zhang D.
    Wang J.
    Li Z.
    Liu R.
    Zheng W.
    Dianzi Keji Daxue Xuebao/Journal of the University of Electronic Science and Technology of China, 2023, 52 (02): : 263 - 270
  • [24] BICASH: BERT-based Integrated Analysis of Campus Sentiment with Sequential Histories
    Hou, Qing
    Liu, Bowen
    JOURNAL OF INTERNET TECHNOLOGY, 2024, 25 (07): : 1063 - 1070
  • [25] Semantic and Sentiment Analysis of Selected Bhagavad Gita Translations Using BERT-Based Language Framework
    Chandra, Rohitash
    Kulkarni, Venkatesh
    IEEE ACCESS, 2022, 10 : 21291 - 21315
  • [26] CodonBERT: a BERT-based architecture tailored for codon optimization using the cross-attention mechanism
    Ren, Zilin
    Jiang, Lili
    Di, Yaxin
    Zhang, Dufei
    Gong, Jianli
    Gong, Jianting
    Jiang, Qiwei
    Fu, Zhiguo
    Sun, Pingping
    Zhou, Bo
    Ni, Ming
    BIOINFORMATICS, 2024, 40 (07)
  • [27] Public Awareness and Sentiment Analysis of COVID-Related Discussions Using BERT-Based Infoveillance
    Xie, Tianyi
    Ge, Yaorong
    Xu, Qian
    Chen, Shi
    AI, 2023, 4 (01) : 333 - 347
  • [28] A BERT-based review helpfulness prediction model utilizing consistency of ratings and texts
    Li, Xinzhe
    Li, Qinglong
    Ryu, Dongyeop
    Kim, Jaekyeong
    APPLIED INTELLIGENCE, 2025, 55 (06)
  • [29] BERT-based combination of convolutional and recurrent neural network for indonesian sentiment analysis
    Murfi, Hendri
    Syamsyuriani
    Gowandi, Theresia
    Ardaneswari, Gianinna
    Nurrohmah, Siti
    APPLIED SOFT COMPUTING, 2024, 151
  • [30] BERT-based Transfer Learning Model for COVID-19 Sentiment Analysis on Turkish Instagram Comments
    Karayigit, Habibe
    Akdagli, Ali
    Aci, Cigdem Inan
    INFORMATION TECHNOLOGY AND CONTROL, 2022, 51 (03): : 409 - 428