VaxiBERT: A BERT-Based Classifier for Vaccine Tweets with Multi-Label Annotations
FIRE AISoMe 2023
TEAM: DSIRE
Shivangi Bithel
Samidha Verma
Prachi
Rajat Singh
Data Science and Information Retrieval Lab
Indian Institute of Technology, New Delhi
MOTIVATION
PROBLEM STATEMENT
TASK: Tweet Classification
Build an effective multi-label classifier to label a social media post (a tweet) according to the specific concern(s) towards vaccines as expressed by the author of the post.
The concerns are described below:
DATASET
Training Data - 9,921 Tweets criticizing COVID-19 vaccine and labeled with one or more of the previously described labels by human annotators
Testing Data - 500 Tweets annotated similarly by human annotators
CAVES: A dataset to facilitate explainable classification and summarization of concerns towards COVID vaccines (in Proc. SIGIR'22)
PRE-PROCESSING
[1] S. Bithel, S. S. Malagi, Unsupervised identification of relevant prior cases, 2021. arXiv:2107.08973. (2021)
[2] S. Bithel, CTC: Covid-19 Tweet Classification using CT-BERT (FIRE IRMiDis 2022)
EXPERIMENTAL SETUP 1 - COVID TWITTER BERT
[1] M. Müller, M. Salathé, P. E. Kummervold, Covid-twitter-bert: A natural language processing
model to analyse covid-19 content on twitter, arXiv preprint arXiv:2005.07503 (2020).
EXPERIMENTAL SETUP 2 - OPEN LLaMa 7B (Fine-tuned with pre-processed data)
Llama: Open and efficient foundation language models, ArXiv abs/2302.13971 (2023).
Prompt:
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately satisfy the instruction.
Instruction: The task is multilabel classification where given Input can have one or more than one labels as response. The input tweet belongs to the following labels separated by semicolon - Unnecessary ; Mandatory ; Pharma ; Conspiracy ; Political ; Country ; Rushed ; Ingredients ; Side-effect ; Ineffective ; Religious ; None . These labels can be described as:
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 the tweet is against such companies in general because of their history.
Conspiracy: Deeper Conspiracy — The tweet suggests some deeper conspiracy, and not just that the Big Pharma want 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 own agenda though the vaccines.
Country: Country of origin — The tweet is against some vaccine because of the country where it was developed / manufactured
Rushed: Untested / Rushed Process — The tweet expresses concerns that the vaccines have not been tested properly or that the published data is not accurate.
Ingredients: Vaccine Ingredients / technology — The tweet expresses concerns about the ingredients present in the vaccines (eg. fetal cells, chemicals) or the technology used (e.g., mRNA vaccines can change your DNA)
Side-effect: Side Effects / Deaths — The tweet expresses concerns about the side effects of the vaccines, including deaths caused.
Ineffective: Vaccine is ineffective — The tweet expresses concerns that the vaccines are not effective enough and are useless.
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.
Classify the input tweet with semicolon separated labels.
Input: <tweet>
Response: <label_1> ; <label_2> ; ...
Llama: Open and efficient foundation language models, ArXiv abs/2302.13971 (2023).
EXPERIMENTAL SETUP 3 - OPEN LLaMa 7B (Fine-tuned without pre-processed data)
Details of model training are similar to the Run2 except that we didn’t pre-processed the training data with the steps described previously.
[1] H. Touvron, T. Lavril, G. Izacard, X. Martinet, M.-A. Lachaux, T. Lacroix, B. Rozière, N. Goyal, E. Hambro, F. Azhar, A. Rodriguez, A. Joulin, E. Grave, G. Lample, Llama: Open and efficient foundation language models, ArXiv abs/2302.13971 (2023). URL: https://api.semanticscholar.org/CorpusID:257219404.
Effectiveness of Pre-processing data on LLM
Sr No. | Method | Macro-F1 Score |
1 | OpenLLaMa-7B with Pre-processing | 0.57 |
2 | OpenLLaMa-7B without Pre-processing | 0.55 |
TEST RESULTS
Sr No. | Team_ID | macro-F1 score | Jaccard Score | Rank |
Run 1 | DSIRE | 0.67 | 0.70 | 4 |
Run 2 | DSIRE | 0.57 | 0.61 | 13 |
Run 3 | DSIRE | 0.55 | 0.60 | 16 |
CONCLUSION and FUTURE WORK
We observed that the fine-tuning a domain-specific transformer-based model (CT-BERT) outperformed the fine-tuned OpenLLaMa-7B-based classifier as it yields better results on test data.
In the future we can try using larger LLM based models like GPT-4, Gemini, etc. with full fine-tuning or more efficient fine-tuning strategies.
THANK YOU