Comparative Analysis of BERT Models for Sentiment Analysis on Twitter Data
Authors:
- 17 August 2023
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 658-663
Abstract
Sentiment analysis is a technique in natural language processing that entails the recognition and categorization of viewpoints articulated in written or spoken language. The utilization of Twitter as a prevalent medium for the expression of opinions and emotions has resulted in a significant focus on the analysis of sentiments from Twitter’s Tweet data. Bidirectional Encoder Representations from Transformers (BERT) is a preexisting deep learning model that has demonstrated exceptional proficiency in Natural Language Processing (NLP) assignments, as in sentiment analysis. The present investigation entails a comparison of three different BERT models, namely, fine-tuned bert-base-multilingual-uncased, RoBERTuito, and RuBERT, with respect to their efficacy in performing Twitter data sentiment analysis. The models were graded according to their F1-score, recall, accuracy, and precision, utilizing a manually annotated dataset of 1,578,627 tweets. The experimental findings indicate that the RoBERTuito model exhibits superior in comparison to the other two models, attaining an accuracy score of 83.23%. The results offer valuable perspectives on the efficacy of BERT models in the context of analyzing Twitter data based on how people feel, thereby aiding scholars and professionals in selecting the most appropriate BERT model for their sentiment analysis task. The study emphasizes that the selection of the BERT model for Twitter data sentiment analysis should be contingent on the evaluation metric of interest. This study contributes to an understanding of the effectiveness of BERT models for sentiment analysis on Twitter data, which can be applied to social media monitoring and analysis.Keywords
This publication has 10 references indexed in Scilit:
- Sentiment analysis of Malayalam tweets using bidirectional encoder representations from transformers: a studyIndonesian Journal of Electrical Engineering and Computer Science, 2023
- A BERT Framework to Sentiment Analysis of TweetsSensors, 2023
- A pre-trained BERT for Korean medical natural language processingScientific Reports, 2022
- Twitter Sentiment Analysis Using BERT2021
- Sentimental Analysis of COVID-19 Tweets Using Deep Learning ModelsInfectious Disease Reports, 2021
- Sentiment analysis on the impact of coronavirus in social life using the BERT modelSocial Network Analysis and Mining, 2021
- Survey on Twitter Sentiment Analysis: Architecture, Classifications, and Challenges2021
- Comparing deep learning architectures for sentiment analysis on drug reviewsJournal of Biomedical Informatics, 2020
- A Short Survey of Pre-trained Language Models for Conversational AI-A New Age in NLP2020
- Surface latent heat flux anomalies preceding inland earthquakes in ChinaEarthquake Science, 2009