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 条
  • [41] Fine-Grained Sentiment Analysis of Arabic COVID-19 Tweets Using BERT-Based Transformers and Dynamically Weighted Loss Function
    Alturayeif, Nora
    Luqman, Hamzah
    APPLIED SCIENCES-BASEL, 2021, 11 (22):
  • [42] IAN-BERT: Combining Post-trained BERT with Interactive Attention Network for Aspect-Based Sentiment Analysis
    Verma S.
    Kumar A.
    Sharan A.
    SN Computer Science, 4 (6)
  • [43] A BERT Fine-tuning Model for Targeted Sentiment Analysis of Chinese Online Course Reviews
    Zhang, Huibing
    Dong, Junchao
    Min, Liang
    Bi, Peng
    INTERNATIONAL JOURNAL ON ARTIFICIAL INTELLIGENCE TOOLS, 2020, 29 (7-8)
  • [44] Chinese Fine-Grained Sentiment Classification Based on Pre-trained Language Model and Attention Mechanism
    Zhou, Faguo
    Zhang, Jing
    Song, Yanan
    SMART COMPUTING AND COMMUNICATION, 2022, 13202 : 37 - 47
  • [45] A systematic procedure for the analysis of maintenance reports based on a taxonomy and BERT attention mechanism
    Valcamonico, Dario
    Baraldi, Piero
    Macedo, July Bias
    Moura, Marcio Das Chagas
    Brown, Jonathan
    Gauthier, Stephane
    Zio, Enrico
    RELIABILITY ENGINEERING & SYSTEM SAFETY, 2025, 257
  • [46] Enhancing Product Design through AI-Driven Sentiment Analysis of Amazon Reviews Using BERT
    Shaik Vadla, Mahammad Khalid
    Suresh, Mahima Agumbe
    Viswanathan, Vimal K.
    ALGORITHMS, 2024, 17 (02)
  • [47] Combining Adversarial Training and Relational Graph Attention Network for Aspect-Based Sentiment Analysis with BERT
    Chen, Mingfei
    Wu, Wencong
    Zhang, Yungang
    Zhou, Ziyun
    2021 14TH INTERNATIONAL CONGRESS ON IMAGE AND SIGNAL PROCESSING, BIOMEDICAL ENGINEERING AND INFORMATICS (CISP-BMEI 2021), 2021,
  • [48] Improving the performance of aspect based sentiment analysis using fine-tuned Bert Base Uncased model
    Geetha M.P.
    Karthika Renuka D.
    International Journal of Intelligent Networks, 2021, 2 : 64 - 69
  • [49] A Study of Sentiment Analysis Algorithms for Agricultural Product Reviews Based on Improved BERT Model
    Cao, Ying
    Sun, Zhexing
    Li, Ling
    Mo, Weinan
    SYMMETRY-BASEL, 2022, 14 (08):
  • [50] Exploring multilingual reviews for aspect-based sentiment analysis using Lexicon and BERT
    Rana, Muhammad Rizwan Rashid
    Ali, Tariq
    Nawaz, Asif
    SIGMA JOURNAL OF ENGINEERING AND NATURAL SCIENCES-SIGMA MUHENDISLIK VE FEN BILIMLERI DERGISI, 2024, 42 (05): : 1469 - 1479