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.

    References listed on IDEAS

    as
    1. Bharati Sanjay Ainapure & Reshma Nitin Pise & Prathiba Reddy & Bhargav Appasani & Avireni Srinivasulu & Mohammad S. Khan & Nicu Bizon, 2023. "Sentiment Analysis of COVID-19 Tweets Using Deep Learning and Lexicon-Based Approaches," Sustainability, MDPI, vol. 15(3), pages 1-21, January.
    2. Ghadiri, Mehdi & Rassafi, Amir Abbas & Mirbaha, Babak, 2019. "The effects of traffic zoning with regular geometric shapes on the precision of trip production models," Journal of Transport Geography, Elsevier, vol. 78(C), pages 150-159.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Ryzhkov, Alexander & Sarzhan, Yuliya, 2020. "Market initiative and central planning: A study of the Moscow bus network," Research in Transportation Economics, Elsevier, vol. 83(C).
    2. Bi, Hui & Ye, Zhirui & Hu, Liyang & Zhu, He, 2021. "Why they don't choose bus service? Understanding special online car-hailing behavior near bus stops," Transport Policy, Elsevier, vol. 114(C), pages 280-297.
    3. Chandra, Aitichya & Sharath, M.N. & Pani, Agnivesh & Sahu, Prasanta K., 2021. "A multi-objective genetic algorithm approach to design optimal zoning systems for freight transportation planning," Journal of Transport Geography, Elsevier, vol. 92(C).
    4. Xu, Weiyan & Tu, Jielei & Xu, Ning & Liu, Zuming, 2024. "Predicting daily heating energy consumption in residential buildings through integration of random forest model and meta-heuristic algorithms," Energy, Elsevier, vol. 301(C).
    5. Krug, Jean & Burianne, Arthur & Bécarie, Cécile & Leclercq, Ludovic, 2021. "Refining trip starting and ending locations when estimating travel-demand at large urban scale," Journal of Transport Geography, Elsevier, vol. 93(C).
    6. Praveen, S.V. & Gajjar, Pranshav & Ray, Rajeev Kumar & Dutt, Ashutosh, 2024. "Crafting clarity: Leveraging large language models to decode consumer reviews," Journal of Retailing and Consumer Services, Elsevier, vol. 81(C).
    7. Yang, Binyu & Tian, Yuan & Wang, Jian & Hu, Xiaowei & An, Shi, 2022. "How to improve urban transportation planning in big data era? A practice in the study of traffic analysis zone delineation," Transport Policy, Elsevier, vol. 127(C), pages 1-14.
    8. Bahareh Farhoudinia & Selcen Ozturkcan & Nihat Kasap, 2024. "Emotions unveiled: detecting COVID-19 fake news on social media," Palgrave Communications, Palgrave Macmillan, vol. 11(1), pages 1-11, December.
    9. Khajavi, Hamed & Rastgoo, Amir, 2023. "Improving the prediction of heating energy consumed at residential buildings using a combination of support vector regression and meta-heuristic algorithms," Energy, Elsevier, vol. 272(C).

    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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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.