Context-based sentiment analysis using a BiGRU DistilBERT fusion model for COVID-19 tweets
The COVID-19 pandemic triggered an unprecedented surge in Twitter activity, providing a rich source of public opinions and emotions. This study proposes a fusion model combining a bidirectional GRU (BiGRU) and a DistilBERT transformer, with their learned features concatenated and fed into an XGBoost meta-classifier for final sentiment prediction. We evaluate our approach on over one million COVID-19-related English-language tweets collected from eight countries between January and April 2020. The fusion model (BiGRU + DistilBERT + XGBoost) achieves a classification accuracy of ~ 85.8%, outperforming individual models (for example, DistilBERT alone at 85.5% accuracy) in sentiment detection. Key results indicate that public sentiment evolved with pandemic phases: negative sentiments peaked during surges in cases and deaths, while positive sentiments rose during recovery periods. We also observe notable regional differences - for instance, sentiment trends vary across countries and between English- vs. non-English-speaking regions. These findings demonstrate the effectiveness of our context-infused approach, offering valuable insights for policymakers on social media sentiment during health crises.
Authors
- Prateek Pandey (ORCID: https://orcid.org/0000-0001-5384-6606)
- Shishir Kumar (ORCID: https://orcid.org/0000-0002-6850-653X)
- Utkarsh Sharma (ORCID: https://orcid.org/0000-0002-4663-4995)
Institutions
- Babasaheb Bhimrao Ambedkar University (IN)
- Jaypee University of Engineering and Technology, Guna (IN)
Publication Details
- Journal
- Scientific Reports
- Published
- 2025-11-11
- DOI
- https://doi.org/10.1038/s41598-025-22929-9
- Primary Topic
- Sentiment Analysis and Opinion Mining
- Type
- article
- Field-Weighted Citation Impact
- 0.00