Abstract
Researchers from IIT Kharagpur developed a high-performing system for the SMM4H’22 shared task to classify public sentiment regarding COVID-19 health mandates. By leveraging domain-specific models like CovidTwitterBERT and augmenting them with linguistic features, they achieved top-tier results in identifying both the stance (favor/against) and the premise (presence of an argument) in tweets.
Introduction
During the COVID-19 pandemic, governments worldwide implemented mandates such as mask-wearing, school closures, and stay-at-home orders. Understanding public reaction to these policies is crucial for health authorities, but manual analysis of millions of social media posts is impossible.
The authors tackle two specific challenges in Social Media Mining for Health (SMM4H):
- Stance Classification (Task 2a): Determining if a tweet is "FAVOR", "AGAINST", or "NEITHER" regarding a specific health mandate.
- Premise Classification (Task 2b): Identifying whether a tweet contains a "premise"—essentially, a convincing argument or reason—to support its claim.
The core difficulty lies in the noisy, informal nature of Twitter data and the nuance required to distinguish a simple opinion from a reasoned argument.
Methodology
The team experimented with a variety of Pre-trained Language Models (PLMs) and enhancement techniques. The overall architecture combines transformer-based embeddings with additional linguistic features to improve classification accuracy.
- Baseline Models: Several transformer architectures were tested, including BERT, RoBERTa, DeBERTa-V3, and BART.
- Domain-Specific Modeling: The researchers utilized CovidTwitterBERT-V2, a model specifically pre-trained on a massive corpus of COVID-19-related tweets, under the hypothesis that in-domain knowledge would outperform general-purpose models.
- Linguistic Feature Engineering: To provide the models with more context, they extracted and appended Parts of Speech (PoS) tags, dependency parsing features, and Tf-Idf bi-grams to the input text.
- Supervised Contrastive Pretraining: They attempted to "morph" the embedding space by using a contrastive loss function to pull data points of the same class closer together while pushing different classes apart.
Datasets
The study used the SMM4H 2022 Task 2 dataset, which consists of Twitter comments manually labeled for claims, stance, and premise.
- Size: 3,556 training tweets, 600 validation tweets, and 2,000 test tweets.
- Categories: The claims focused on three mandates: "Stay at Home Orders", "Face Masks", and "School Closures".
- Labels: Stance (FAVOR, AGAINST, NEITHER) and Premise (Binary: 0 or 1).
Results and Analysis
The team's models outperformed the mean and median scores of the competition, ranking first on the validation set.
Key Insights
- Domain Knowledge is King: The CovidTwitterBERT model significantly outperformed general models for stance detection, reaching an F1 of 0.855 on the validation set. This highlights that for niche topics like pandemic mandates, models "raised" on similar data have a distinct advantage in understanding context and slang.
- Linguistic Features are a Double-Edged Sword: Adding PoS and dependency features provided a "considerable boost" to stance prediction. However, these same features actually hindered performance for premise classification. This suggests that while grammar helps identify sentiment, it might not be the primary indicator of whether an argument is "convincing."
- The "Premise" Puzzle: Premise classification proved much harder than stance. Surprisingly, the BART-base model (typically used for generative tasks) outperformed larger, more complex models for this specific subtask, achieving an F1-score of 0.664 on the test set.
- Contrastive Learning Challenges: Despite its theoretical benefits, supervised contrastive training did not improve results in this specific setup, suggesting the technique might require more data or more granular hyperparameter tuning to be effective here.
Conclusion
The system achieved an F1-score of 0.636 for stance classification using CovidTwitterBERT and an F1-score of 0.664 for premise classification using BART-base on the final test set. Future work will address the limitations of contrastive learning and the inherent difficulty of capturing "convincingness" in premise detection, potentially through more sophisticated data augmentation or oversampling to handle class imbalance.
Summary updated