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 条
  • [1] A BERT-based interactive attention network for aspect sentiment analysis
    Yang, Yu-Ting
    Feng, Lin
    Dai, Lei-Chao
    Journal of Computers (Taiwan), 2021, 32 (03) : 30 - 42
  • [2] A Dataset and BERT-based Models for Targeted Sentiment Analysis on Turkish Texts
    Mutlu, M. Melih
    Ozgur, Arzucan
    PROCEEDINGS OF THE 60TH ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2022): STUDENT RESEARCH WORKSHOP, 2022, : 467 - 472
  • [3] 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
  • [4] 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,
  • [5] 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
  • [6] 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
  • [7] 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
  • [8] 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,
  • [9] Enhancing Sentiment Analysis in Stock Market Tweets Through BERT-Based Knowledge Transfer
    Cicekyurt, Emre
    Bakal, Gokhan
    COMPUTATIONAL ECONOMICS, 2025,
  • [10] Bert-based graph unlinked embedding for sentiment analysis
    Jin, Youkai
    Zhao, Anping
    COMPLEX & INTELLIGENT SYSTEMS, 2024, 10 (02) : 2627 - 2638