IDEAS home Printed from https://ideas.repec.org/a/eee/chsofr/v185y2024ics096007792400657x.html
   My bibliography  Save this article

Comparing the accuracy of ANN with transformer models for sentiment analysis of tweets related to COVID-19 Pfizer vaccines

Author

Listed:
  • Wu, Xuanyi
  • Wang, Bingkun
  • Li, Wenling

Abstract

The current study underscores the critical importance of understanding public sentiment towards vaccination efforts, particularly to achieve the widespread vaccine uptake necessary for public health security, especially in light of pandemics like COVID-19. Despite the clear critical role vaccinations play in mitigating pandemic spread, vaccine hesitancy persists as a formidable challenge. This research focuses on analyzing sentiments related to the Pfizer-BioNTech COVID-19 vaccine using Natural Language Processing (NLP) techniques, offering a comparative assessment of Artificial Neural Network (ANN) frameworks and transformer-based models. The study employs the Valence Aware Dictionary and sEntiment Reasoner (VADER) for sentiment quantification and TensorFlow for text vectorization. Within the ANN domain, both Convolutional Neural Network (CNN) and Long Short-Term Memory (LSTM) models are investigated, alongside the ALBERT and Distilbert models as a representative of transformer-based architectures. The empirical analysis reveals a distinct advantage of transformer-based models over ANN frameworks in accuracy, with the ALBERT model exhibiting exceptional skill in classifying sentiments of tweets concerning the COVID-19 vaccine by Pfizer. The study meticulously employs Receiver Operating Characteristic (ROC) curve analysis to rank the performance of the evaluated models in sentiment classification, establishing ALBERT as the foremost model, followed in order by LSTM-CNN, Distilbert, CNN, and LSTM models. The ALBERT model demonstrates outstanding performance across critical evaluation metrics. The findings advocate for the strategic use of advanced NLP technologies in public health initiatives to better understand and respond to public attitudes towards vaccination, ultimately contributing to improved health outcomes and pandemic preparedness.

Suggested Citation

  • Wu, Xuanyi & Wang, Bingkun & Li, Wenling, 2024. "Comparing the accuracy of ANN with transformer models for sentiment analysis of tweets related to COVID-19 Pfizer vaccines," Chaos, Solitons & Fractals, Elsevier, vol. 185(C).
  • Handle: RePEc:eee:chsofr:v:185:y:2024:i:c:s096007792400657x
    DOI: 10.1016/j.chaos.2024.115105
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S096007792400657X
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.chaos.2024.115105?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:chsofr:v:185:y:2024:i:c:s096007792400657x. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Thayer, Thomas R. (email available below). General contact details of provider: https://www.journals.elsevier.com/chaos-solitons-and-fractals .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.