Combining BERT and CNN for Sentiment Analysis A Case Study on COVID-19
Authors:
- Renuka AgrawalRARenuka Agrawal
- Kanhaiya SharmaKSKanhaiya Sharma
- Shailaja SalagramaSSShailaja Salagrama
Open Access
- 1 January 2024
- journal article
- research article
- Published by The Science and Information Organization in International Journal of Advanced Computer Science and Applications
- Vol. 15 (10) , 676-686
Abstract
This research focuses on sentiment analysis to understand public opinion on various topics, with an emphasis on COVID-19 discussions on Twitter. By utilizing state-of-the-art Machine Learning (ML) and Natural Language Processing (NLP) techniques, the study analyzes sentiment data to provide valuable insights. The process begins with data preparation, involving text cleaning and length filtering to optimize the dataset for analysis. Two models are employed: a Bidirectional Encoder Representations from Transformers (BERT)-based Deep Learning (DL) model and a Convolutional Neural Network (CNN). The BERT model leverages transfer learning, demonstrating strong performance in sentiment classification, while the CNN model excels at extracting contextual features from the input text. To further enhance accuracy, an ensemble model integrates predictions from both approaches. The study emphasizes the ensemble technique’s value for more precise sentiment analysis. Evaluation metrics, including accuracy, classification reports, and confusion matrices, validate the effectiveness of the proposed models and the ensemble approach. This research contributes to the growing field of social media sentiment analysis, particularly during global health crises like COVID-19, and underscores its potential to aid informed decision-making based on public sentiment.Keywords
This publication has 29 references indexed in Scilit:
- BERT-deep CNN: state of the art for sentiment analysis of COVID-19 tweetsSocial Network Analysis and Mining, 2023
- Twitter sentiment analysis using ensemble based deep learning model towards COVID-19 in India and European countriesPattern Recognition Letters, 2022
- A survey on sentiment analysis methods, applications, and challengesArtificial Intelligence Review, 2022
- Sentiment Analysis of COVID-19 Tweets by Machine Learning and Deep Learning Classifiers2022
- The power of ensemble learning in sentiment analysisExpert Systems with Applications, 2022
- Knowledge-enabled BERT for aspect-based sentiment analysisKnowledge-Based Systems, 2021
- A Proposed Sentiment Analysis Deep Learning Algorithm for Analyzing COVID-19 TweetsInformation Systems Frontiers, 2021
- Transformer models for text-based emotion detection: a review of BERT-based approachesArtificial Intelligence Review, 2021
- Sentiment Analysis of COVID-19 tweets by Deep Learning Classifiers—A study to show how popularity is affecting accuracy in social mediaApplied Soft Computing, 2020
- CNN for situations understanding based on sentiment analysis of twitter dataProcedia Computer Science, 2017