<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>VaxVerdict :a RoBERTa-Based Multilabel Tweet Classifier</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Sheetal Sonawane</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Aditya Patil</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Shivakumar Ranade</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Raj Awate</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>SCTR's Pune Institute of Computer Technology</institution>
          ,
          <addr-line>Dhankawadi, Pune, 411043</addr-line>
        </aff>
      </contrib-group>
      <abstract>
        <p>"VaxVerdict" is our submitted work to FIRE 2023 AISoMe Track Task. We propose using a multi-label classifier using roBERTa model to classify tweets as unnecessary, mandatory, pharma, conspiracy, political, country, rushed, ingredients, side-efects, inefective, religious, and none. The rapid development of COVID-19 vaccines has marked a pivotal moment in the ongoing global efort to combat the pandemic caused by the SARS-CoV-2 virus. This has also spurred widespread discussions and debates on social platform like Twitter. The multilabel classification provides valuable insights into public opinion and their thinking towards vaccines. Monitoring and analyzing social media sentiments can help public authorities reform their communication and strategies to promote vaccines better. The evaluation score of our submitted predictions is reported in terms of accuracy and macro-F1 score. We achieved a Jaccard score of 0.67, a macro-F1 score of 0.65, and secured seventh rank among other submissions.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;COVID-19 Vaccine Tweets</kwd>
        <kwd>Artificial Intelligence</kwd>
        <kwd>Multi-label classifier</kwd>
        <kwd>BERT</kwd>
        <kwd>roBERTa</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>The COVID-19 pandemic, an ongoing pandemic, has prompted the use of various medicines to
control the spread of the virus and mitigate its symptoms. One of the most essential cures is
the development and distribution of vaccines. As vaccination drives are being conducted, they
derive a wide variety of public opinion ranging from enthusiasm to skepticism. Social media
platforms like Twitter has served as a platform for people to share their thoughts and ideas
regarding the vaccine. It allows public authorities to gain insights into the public’s sentiments
and attitudes toward vaccination. The insights gained from the analysis may help healthcare
authorities, policymakers, and communicators frame better policies to regulate and foster
vaccine confidence. The manual classification of tweets could be more varied and accurate.
Hence, to classify the tweets, we will use a tweet dataset and classify them according to 12
classes- unnecessary, mandatory, pharma, conspiracy, political, country, rushed, ingredients,
side-efects, inefective, religious, and none. Then, we will use natural language processing
techniques to analyze the sentiment expressed in the tweets. We will develop machine learning
models that can help us classify tweets about the COVID-19 vaccines. By the end, we anticipate
providing a detailed analysis of tweets, which will also uncover influential topics and regional
nuances hidden within them.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Task</title>
      <p>The goal is to build an efective multi-label classifier to label a social media post (mainly a tweet)
according to the specific concern(s) towards vaccines, as expressed by the post’s author. We
consider the following concerns about vaccines as the labels for the classification task:
• Unnecessary: The tweet indicates vaccines are unnecessary or that alternate cures are
better.
• Mandatory: Against mandatory vaccination — The tweet suggests that vaccines should
not be made mandatory.
• Pharma: Against Big Pharma — The tweet indicates that the Big Pharmaceutical companies
are just trying to earn money or are against such companies because of their history.
• Conspiracy: Deeper Conspiracy — The tweet suggests some deeper conspiracy and not
just that Big Pharma wants to make money (e.g., vaccines are being used to track people,
COVID is a hoax)
• Political: Political side of vaccines — The tweet expresses concerns that the
governments/politicians are pushing their agenda through vaccines.
• Country: Country of origin — The tweet is against some immunization because of the
country where it was developed/manufactured
• Rushed: Untested / Rushed Process — The tweet expresses concerns that the vaccines
have not been tested correctly or that the published data is inaccurate.
• Ingredients: Vaccine Ingredients/technology — The tweet expresses concern about the
ingredients present in the vaccines (e.g., fatal cells, chemicals) or the technology used
(e.g., mRNA vaccines can change your DNA)
• Side-efect: Side Efects / Deaths — The tweet expresses concern about the side efects of
the vaccines, including deaths caused.
• Inefective: Vaccine is Inefective — The tweet expresses concerns that the vaccines are
useless and inefective.
• Religious: Religious Reasons — The tweet is against vaccines because of religious reasons
• None: No specific reason stated in the tweet, or some reason other than the given ones</p>
    </sec>
    <sec id="sec-3">
      <title>3. Related Work</title>
      <p>
        Studies have found that sentiment varies over time and is influenced by factors such as s
availability and vaccine eficacy. Others have found that most tweets express concerns about
vaccines’ safety and side efects. Tweets spreading false information about vaccines have a
negative impact. Traditional machine learning methods like Naive-Bayes, Linear classifier,
Support Vector Machine, Logistic Regression, Random Forest, and gradient boosting algorithms
can be used for sentiment analysis. Deep neural techniques like Long Short-Term Memory
(LSTMs), Bidirectional Recurrent Neural Networks (RNN), and Convolutional Neural Networks
(CNNs) are very successful for text classification. More recent language models for natural
language processing include BERT (Bidirectional Encoder Representations from Transformers)
and GPT (Generative Pre-trained Transformer).
3.1. BERT
In natural language processing (NLP), BERT [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] (Bidirectional Encoder Representations from
Transformers) is a potent and frequently used transformer-based approach. It has transformed
NLP and is commonly used for various text-related tasks, including sentiment analysis. They
are favored for challenging text analysis jobs like sentiment analysis of tweets about COVID-19
immunization because they are excellent at catching context and comprehending content. We
can improve pre-trained BERT[
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] models by using libraries like Hugging Face Transformers in
Python, which ofer simple access to pre-trained BERT[
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] models and tools for fine-tuning.
      </p>
    </sec>
    <sec id="sec-4">
      <title>4. Dataset</title>
      <p>The training dataset provided during the track consists of 9921 tweets collected from various
topics and areas over the internet. It contains the tweet IDs, the actual tweet content, the message,
and the label given to that tweet. We used this dataset to train our model for predictions. Twelve
unique labels in the dataset have been used to categorize the tweets based on their content.
4.1. Trends in Dataset
• Training dataset includes 14.7% side-efect, 12.68% rushed, 11.07% pharma,9.99%
conspiracy, 9.85% mandatory, 9.72% unnecessary, 8.64% ingredients, 8.37% political, 8.23%
inefective, 4.32% country, 2.30% religious and 0.13% none tweets. All these represent the
categories that are used to classify the tweets.
• Out of all the tweets, 80% of the tweets fall under a single category, and the remaining
20% fall under multiple categories.
• Amongst the tweets that fall under multiple categories, the most common categories
are the rushed and side-efect categories. One hundred twenty tweets are classified as
belonging to both these categories.
• 9191 out of 9921 tweets contain the word "vaccine" in them, indicating the data quality
the model is trained on. Only the remaining 730 tweets do not include "vaccine" or any of
its forms and do not directly refer to vaccination.
• Out of the 9921 tweets, 8540 mentioned COVID-19, and the remaining 1381 did not.
• 56.83% of the tweets mention the names of big vaccine manufacturers such as Pfizer,</p>
      <p>AstraZeneca, Johnson &amp; Johnson, Moderna, and a few others.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Preprocessing</title>
      <p>
        We pre-processed the tweets to improve the quality of word embeddings produced by BERT [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
Tweets generally contain many unwanted symbols that need to be removed to generate better
word embeddings.
      </p>
      <p>• Removing punctuation used in the tweets: The tweets contain lots of unnecessary
punctuation marks that add no significant meaning to the sentence and need to be removed. It
involves the removal of punctuations normally used in tweets, such as commas(,),
exclamation marks (!), apostrophes (’), double quotes("), question marks(?), etc. It improves
the overall consistency of the text. It reduces the text’s noise, making it easier to focus on
the essential content and semantics. Also, removing punctuation assists in tokenization
because it separates words from punctuation marks, leading to more accurate tokenization.
It also makes stemming or lemmatization of the text easier and improves parsing of the
text.
• Removing symbols: Tweets contain many characters like ’@’ or ’$’ or ’%,’ or ’’ etc., which
don’t contribute much to the meaning of the text and are just used to represent certain
entities. Removing symbols reduces noise and improves overall consistency. It also leads
to improved analysis; if not removed, additional tokens unrelated to the text will be
introduced, potentially producing less meaningful results.
• Conversion of text to lowercase: This is an essential preprocessing step that we performed
to bring uniformity and consistency to the reader. Expressing a word in lowercase,
uppercase, or camelcase does not change its meaning, but the model will learn the term
diferently and might afect the outcome. So, to remove this ambiguity, converting the
text to lowercase is a crucial step. It also leads to reduced vocabulary size as the words
"apple" and "Apple," although having the same meaning, will be treated as separate words,
increasing the vocabulary size and increasing redundancy. Conversion to lowercase also
improves text matching and improves overall eficiency.</p>
    </sec>
    <sec id="sec-6">
      <title>6. Methodology</title>
      <p>
        6.1. Model
RoBERTa [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], short for "A Robustly Optimized BERT Pretraining Approach," is a state-of-the-art
natural language processing (NLP) model. It builds upon the foundation of BERT (Bidirectional
Encoder Representations from Transformers) and is designed for various NLP tasks, including
text classification, sentiment analysis, and language understanding. RoBERTa[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] is known for
its robustness and efectiveness in understanding context and semantics within text data. It
achieves this by pretraining on a massive amount of publicly available text from the internet,
efectively learning to comprehend diverse and complex language patterns. One key feature of
RoBERTa [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]is its training methodology, which includes large-scale data, longer training times,
and extensive hyperparameter tuning. These factors contribute to its superior performance on
various NLP benchmarks and real-world applications. In our research, we utilized the RoBERTa
[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]model as the foundation for our tweet classification task, leveraging its ability to capture
nuanced meanings in text data, particularly tweets related to COVID-19 vaccines. The model’s
contextual understanding and fine-tuned architecture played a pivotal role in achieving accurate
and efective tweet classification.
6.2. Experimental Setup
• Data Split: We divided the dataset into three sets: a training set, a validation set, and
a test set. The training set comprised 70% of the data, while the validation and test set
accounted for 15% . This split was performed to ensure appropriate model training and
evaluation. We used the train_test_split function from scikit-learn, and the random seed
was set to 42 for reproducibility.
• Training Loop: Model training was carried out throughout 20 epochs. We adopted the
AdamW optimizer and the Binary Cross-Entropy With Logits Loss (BCEWithLogitsLoss)
as the loss function. The training loop involved iterating through batches of data,
computing gradients, and optimizing the model’s weights. The training aimed to minimize
the loss function and enhance the model’s classification performance.
6.3. Prediction
We employed the trained RoBERTa[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] model as a Multilabel Classifier for the prediction phase to
classify the test tweets into one or more of the 12 target classes. The process can be summarized
as follows:
• Generating Embeddings: We utilized the RoBERTa[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] model to generate embeddings for
the test tweets. These embeddings capture the underlying semantic information in the
text, enabling the model to understand the context of each tweet efectively.
• Sigmoid Values: The output layer of the RoBERTa[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] model consists of neurons
corresponding to the 12 target classes (’unnecessary,’ ’mandatory,’ ’pharma,’ ’conspiracy,’
’political,’ ’country,’ ’rushed,’ ’ingredients,’ ’side-efect,’ ’inefective,’ ’religious,’ and ’none’).
We predicted sigmoid values for each output neuron, representing the likelihood of a
tweet belonging to a particular class. These values ranged between 0 and 1, indicating
the model’s confidence in each classification.
• Thresholding: To make the final class predictions, we applied a threshold of 0.5 to the
sigmoid values. If a sigmoid value for a particular class exceeded 0.5, the tweet was
considered to belong to that class; otherwise, it was not assigned to that class.
• Submission: The outcome of this process was a set of predicted classes for each test tweet.
      </p>
      <p>We compiled these predictions into a final prediction file, including the Tweet ID and the
corresponding predicted classes. This prediction file was submitted as our run for the
Task evaluation.</p>
    </sec>
    <sec id="sec-7">
      <title>7. Evaluation</title>
      <p>The task for AISoMe Track results is evaluated using the macro-F1 score on the twelve classes
as metrics. The result of our submitted automated run for Task is shown in Table 1. [Heading]
got the 7th rank among other submissions with the macro-F1 score of 0.65. The ranks and the
macro F1 scores of the other two run submissions with their respective models used are also
shown below.</p>
    </sec>
    <sec id="sec-8">
      <title>8. Conclusion and Future Work</title>
      <p>In our quest to advance "VaxVerdict" and contribute to the ongoing progress of multilabel tweet
classification, several promising avenues for future work emerge:
• Hyperparameter Tuning: To further optimize the performance of our model, we
recommend an in-depth exploration of hyperparameter tuning. Fine-tuning hyperparameters
such as learning rates, batch sizes, and optimizer configurations can potentially yield
significant improvements in model accuracy and convergence speed.
• Data Augmentation: Given the data-intensive nature of transformer-based models,
research into data augmentation strategies tailored specifically for social media text remains
an essential area of exploration. Augmentation techniques can expand the training dataset,
potentially enhancing the model’s generalization.
• Adversarial Training: Continuing the investigation into adversarial training methods
can fortify the model’s robustness, ensuring it can handle noisy and adversarial inputs
present in social media content.
• Checkpoint Incorporation: Implementing model checkpoints at strategic intervals during
training can provide resilience against training interruptions and hardware failures. This
ensures that valuable training progress is preserved and can be resumed eficiently.
Concerns towards COVID Vaccines. Proceedings of the 45th International ACM SIGIR
Conference on Research and Development in Information Retrieval, 2022, pp. 3154–3164.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Yinhan</given-names>
            <surname>Liu</surname>
          </string-name>
          , Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen,
          <string-name>
            <surname>Omer Levy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Mike</given-names>
            <surname>Lewis</surname>
          </string-name>
          , Luke Zettlemoyer, Veselin Stoyanov.
          <article-title>RoBERTa: A Robustly Optimized BERT Pretraining Approach</article-title>
          . ArXiv,
          <year>2019</year>
          . https://arxiv.org/abs/
          <year>1907</year>
          .11692
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Jacob</given-names>
            <surname>Devlin</surname>
          </string-name>
          ,
          <string-name>
            <surname>Ming-Wei</surname>
            <given-names>Chang</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>Kenton</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Kristina</given-names>
            <surname>Toutanova</surname>
          </string-name>
          . BERT:
          <article-title>Pre-training of Deep Bidirectional Transformers for Language Understanding</article-title>
          .
          <source>ArXiv</source>
          ,
          <year>2018</year>
          . https://arxiv.org/ abs/
          <year>1810</year>
          .04805
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Martin</given-names>
            <surname>Müller</surname>
          </string-name>
          , Marcel Salathé, Per Egil Kummervold.
          <article-title>COVID-Twitter-</article-title>
          <string-name>
            <surname>BERT: A Natural Language Processing Model to Analyse</surname>
          </string-name>
          COVID-19
          <source>Content on Twitter. ArXiv</source>
          ,
          <year>2020</year>
          . https: //arxiv.org/abs/
          <year>2005</year>
          .07503
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Soham</given-names>
            <surname>Poddar</surname>
          </string-name>
          , Moumita Basu, Kripabandhu Ghosh,
          <string-name>
            <given-names>Saptarshi</given-names>
            <surname>Ghosh</surname>
          </string-name>
          .
          <article-title>Overview of the FIRE 2023 Track: Artificial Intelligence on Social Media (AISoMe)</article-title>
          .
          <source>Proceedings of the 15th Annual Meeting of the Forum for Information Retrieval Evaluation</source>
          ,
          <year>2023</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Soham</given-names>
            <surname>Poddar</surname>
          </string-name>
          , Azlaan Mustafa Samad, Rajdeep Mukherjee, Niloy Ganguly, Saptarshi Ghosh.
          <article-title>CAVES: A Dataset to facilitate Explainable Classification and Summarization of</article-title>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>