An Automatic Sentiment Analysis Method for Short Texts Based on Transformer-BERT Hybrid Model
Authors:
Open Access
- 2 July 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 12, 93305-93317
Abstract
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.Keywords
Funding Information
- Research Project on Teaching Reform of General Higher Education Institutions in Hunan Province, in 2023 (HNJG-20231541)
This publication has 34 references indexed in Scilit:
- BERT-based combination of convolutional and recurrent neural network for indonesian sentiment analysisApplied Soft Computing, 2023
- Summarization of scholarly articles using BERT and BiGRU: Deep learning-based extractive approachJournal of King Saud University Computer and Information Sciences, 2023
- Transformer based multilingual joint learning framework for code-mixed and english sentiment analysisJournal of Intelligent Information Systems, 2023
- Learning Sentiment-Enhanced Word Representations by Fusing External Hybrid Sentiment KnowledgeCognitive Computation, 2023
- CovSumm: an unsupervised transformer-cum-graph-based hybrid document summarization model for CORD-19The Journal of Supercomputing, 2023
- Emotion recognition in Hindi text using multilingual BERT transformerMultimedia Tools and Applications, 2023
- Context-aware sentiment analysis with attention-enhanced features from bidirectional transformersSocial Network Analysis and Mining, 2022
- KEAHT: A Knowledge-Enriched Attention-Based Hybrid Transformer Model for Social Sentiment AnalysisNew Generation Computing, 2022
- Robo-advisor using genetic algorithm and BERT sentiments from tweets for hybrid portfolio optimisationExpert Systems with Applications, 2021
- Sentiment analysis on the impact of coronavirus in social life using the BERT modelSocial Network Analysis and Mining, 2021