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 条
  • [1] A BERT-based Hierarchical Model for Vietnamese Aspect Based Sentiment Analysis
    Oanh Thi Tran
    Viet The Bui
    2020 12TH INTERNATIONAL CONFERENCE ON KNOWLEDGE AND SYSTEMS ENGINEERING (IEEE KSE 2020), 2020, : 269 - 274
  • [2] BERT-based Conformal Predictor for Sentiment Analysis
    Maltoudoglou, Lysimachos
    Paisios, Andreas
    Papadopoulos, Harris
    CONFORMAL AND PROBABILISTIC PREDICTION AND APPLICATIONS, VOL 128, 2020, 128 : 269 - 284
  • [3] BERT-Based Stock Market Sentiment Analysis
    Lee, Chien-Cheng
    Gao, Zhongjian
    Tsai, Chun-Li
    2020 IEEE INTERNATIONAL CONFERENCE ON CONSUMER ELECTRONICS - TAIWAN (ICCE-TAIWAN), 2020,
  • [4] An Efficient Long Chinese Text Sentiment Analysis Method Using BERT-Based Models with BiGRU
    Sheng, Deming
    Yuan, Jingling
    PROCEEDINGS OF THE 2021 IEEE 24TH INTERNATIONAL CONFERENCE ON COMPUTER SUPPORTED COOPERATIVE WORK IN DESIGN (CSCWD), 2021, : 192 - 197
  • [5] Sentiment Analysis of Customer Comments in Banking using BERT-based Approaches
    Masarifoglu, Melik
    Tigrak, Umit
    Hakyemez, Sefa
    Gul, Guven
    Bozan, Erdal
    Buyuklu, Ali Hakan
    Ozgur, Arzucan
    29TH IEEE CONFERENCE ON SIGNAL PROCESSING AND COMMUNICATIONS APPLICATIONS (SIU 2021), 2021,
  • [6] Adaptive Thresholding for Sentiment Analysis Across Online Reviews Based on BERT Model BERT-based Adaptive Thresholding for Sentiment Analysis
    Lu, Zijie
    PROCEEDINGS OF INTERNATIONAL CONFERENCE ON MODELING, NATURAL LANGUAGE PROCESSING AND MACHINE LEARNING, CMNM 2024, 2024, : 70 - 75
  • [7] Bert-based graph unlinked embedding for sentiment analysis
    Jin, Youkai
    Zhao, Anping
    COMPLEX & INTELLIGENT SYSTEMS, 2024, 10 (02) : 2627 - 2638
  • [8] Bert-based graph unlinked embedding for sentiment analysis
    Youkai Jin
    Anping Zhao
    Complex & Intelligent Systems, 2024, 10 : 2627 - 2638
  • [9] BERT-Based Sentiment Analysis: A Software Engineering Perspective
    Batra, Himanshu
    Punn, Narinder Singh
    Sonbhadra, Sanjay Kumar
    Agarwal, Sonali
    DATABASE AND EXPERT SYSTEMS APPLICATIONS, DEXA 2021, PT I, 2021, 12923 : 138 - 148
  • [10] BERT-BiLSTM-Attention model for sentiment analysis on Chinese stock reviews
    Li, Xiaoyan
    Chen, Lei
    Chen, Baoguo
    Ge, Xianlei
    Applied Mathematics and Nonlinear Sciences, 2024, 9 (01)