An Automatic Sentiment Analysis Method for Short Texts Based on Transformer-BERT Hybrid Model

被引:3
|
作者
Xiao, Haiyan [1 ]
Luo, Linghua [1 ]
机构
[1] Hunan Univ Informat Technol, Sch Gen Educ, Changsha 410151, Peoples R China
来源
IEEE ACCESS | 2024年 / 12卷
关键词
Vectors; Sentiment analysis; Encoding; Bidirectional control; Analytical models; Transformers; Semantics; Text processing; Large language models; short texts; large language model; semantic comprehension;
D O I
10.1109/ACCESS.2024.3422268
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Sentiment analysis towards short texts is always facing challenges, because short texts only contain limited semantic characteristics. As a result, this paper constructs a specific large language structure to deal with this issue. In all, a novel automatic sentiment analysis method for short texts based on Transformer-BERT hybrid model is proposed by this paper. Firstly, BERT structure is utilized to extract word vectors, and is integrated with topic vectors to improve textual feature expression ability. Then, the fused word vectors are input into a Bidirectional Gated Recurrent Unit (Bi-GRU) structure to learn contextual features. In this part, a Transformer structure is applied behind the Bi-GRU and combined with the previous module to output sentiment analysis results. In addition, Accuracy, Precision, Recall and F1 indexes were collected from real-world Twitter datasets and shopping data to evaluate the performance of the proposed method. The experimental results show that the method performs well in many indexes. Compared with traditional method, it has achieved remarkable performance improvement, and this method achieves higher accuracy and efficiency in sentiment analysis of short texts, and has good generalization ability.
引用
收藏
页码:93305 / 93317
页数:13
相关论文
共 50 条
  • [41] Text sentiment analysis based on BERT-CBLBGA
    Jia, Keliang
    Meng, Fanxu
    Liang, Jing
    Gong, Pimei
    COMPUTERS & ELECTRICAL ENGINEERING, 2023, 112
  • [42] A New Sentiment and Topic Model for Short Texts on Social Media
    Xu, Kang
    Huang, Junheng
    Qi, Guilin
    SEMANTIC TECHNOLOGY, JIST 2017, 2017, 10675 : 183 - 198
  • [43] 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):
  • [44] Semantic and Sentiment Analysis of Selected Bhagavad Gita Translations Using BERT-Based Language Framework
    Chandra, Rohitash
    Kulkarni, Venkatesh
    IEEE ACCESS, 2022, 10 : 21291 - 21315
  • [45] Transformer Based Multi-Grained Attention Network for Aspect-Based Sentiment Analysis
    Sun, Jiahui
    Han, Ping
    Cheng, Zheng
    Wu, Enming
    Wang, Wenqing
    IEEE ACCESS, 2020, 8 : 211152 - 211163
  • [46] Sentiment Analysis of Comment Texts Based on BiLSTM
    Xu, Guixian
    Meng, Yueting
    Qiu, Xiaoyu
    Yu, Ziheng
    Wu, Xu
    IEEE ACCESS, 2019, 7 : 51522 - 51532
  • [47] A Hybrid Approach to Dimensional Aspect-Based Sentiment Analysis Using BERT and Large Language Models
    Zhang, Yice
    Xu, Hongling
    Zhang, Delong
    Xu, Ruifeng
    ELECTRONICS, 2024, 13 (18)
  • [48] ArabBert-LSTM: improving Arabic sentiment analysis based on transformer model and Long Short-Term Memory
    Alosaimi, Wael
    Saleh, Hager
    Hamzah, Ali A.
    El-Rashidy, Nora
    Alharb, Abdullah
    Elaraby, Ahmed
    Mostafa, Sherif
    FRONTIERS IN ARTIFICIAL INTELLIGENCE, 2024, 7
  • [49] Weibo Text Sentiment Analysis Based on BERT and Deep Learning
    Li, Hongchan
    Ma, Yu
    Ma, Zishuai
    Zhu, Haodong
    APPLIED SCIENCES-BASEL, 2021, 11 (22):
  • [50] Text Sentiment Analysis based on BERT and Convolutional Neural Networks
    Huang, P.
    Zhu, H. J.
    Zheng, L.
    Wang, Y.
    2021 5TH INTERNATIONAL CONFERENCE ON NATURAL LANGUAGE PROCESSING AND INFORMATION RETRIEVAL, NLPIR 2021, 2021, : 1 - 7