Examining Temporalities on Stance Detection towards COVID-19 Vaccination

Yida Mu, Mali Jin, Kalina Bontcheva, Xingyi Song

Introduction

During the COVID-19 pandemic, public sentiment regarding vaccination was far from static. Attitudes shifted rapidly in response to emerging viral variants, evolving government mandates, and the proliferation of various conspiracy theories. For researchers utilizing Natural Language Processing (NLP) to monitor these stances—categorized typically as pro-vaccine, anti-vaccine, or hesitant—understanding the temporal nature of this data is critical.

This paper addresses the phenomenon of temporal concept drift: the reality that the statistical properties and vocabulary of social media datasets change over time. Traditional machine learning evaluations often rely on random train/test splits, which may inadvertently mask a model's inability to generalize to future, unseen topics. This study is the first to explicitly quantify how this drift impacts COVID-19 vaccine stance detection across multiple languages.

Methodology

The authors conducted a rigorous comparison of evaluation strategies using several transformer-based Pre-trained Language Models (PLMs). The models included monolingual variants (vanilla BERT, COVID-BERT, and Vaccine-BERT) and multilingual models (XLM-BERT and XLM-RoBERTa).

Two primary splitting strategies were tested:

  1. Random Splits: A standard stratified 5-fold cross-validation approach.
  2. Chronological Splits: A more realistic simulation where tweets are sorted by time; the oldest 70% are used for training, the next 10% for validation, and the most recent 20% for testing.

To diagnose the causes of performance variance, the researchers employed Intersection over Union (IoU) and the DICE coefficient to measure vocabulary overlap. Additionally, they utilized BERTopic to visualize the emergence and disappearance of specific discussion topics over the study period.

Datasets

The study leveraged five FAIR-compliant Twitter datasets:

  • Monolingual (English): Cotfas et al. (2021), Poddar et al. (2022a), and Mu et al. (2023b).
  • Multilingual: Chen et al. (2022) [FR, DE, EN] and Di Giovanni et al. (2022) [ES, DE, IT].

Key Results

The experimental results revealed a significant "performance illusion" created by random data splits. When models are tested on tweets from the same time period as their training data, they often "memorize" specific trending hashtags or news events rather than learning generalizable stance indicators.

Performance comparison of monolingual models across random and chronological data splits.

As shown in the table above, switching to a chronological split led to notable performance degradation. For instance, on the Cotfas dataset, COVID-BERT’s F1 score dropped from 85.3% to 74.5%. Vanilla BERT was even more vulnerable, experiencing a 15.9% F1 drop. However, the data also suggests that domain adaptation acts as a buffer; models pre-trained on COVID-specific text (like COVID-BERT) proved more resilient to temporal drift than general-purpose models.

The Impact of Topic Drift

The performance drop is directly linked to the evolution of discourse. Analysis via BERTopic demonstrated that certain topics are highly time-dependent. For example, discussions regarding "vaccine passes" were virtually non-existent in late 2020 but became dominant themes by mid-2021.

Temporal distribution of topic groups identified via BERTopic.

When a model is trained chronologically, it lacks exposure to the vocabulary of these emerging topics, leading to failure during deployment on "future" data. This is supported by a strong Pearson correlation between vocabulary similarity metrics (like DICE) and model accuracy.

Conclusion

This research highlights a critical methodological flaw in current stance detection research: the over-reliance on random data splits. To build reliable systems for real-world monitoring, researchers must adopt time-aware evaluation frameworks. Future work should focus on continuous domain adaptation and the development of ensemble models that can dynamically integrate knowledge from different time periods to mitigate the effects of temporal concept drift.

Summary updated

BibTeX
@inproceedings{mu2024examining,
  author = {Yida Mu and Mali Jin and Kalina Bontcheva and Xingyi Song},
  title = {{Examining Temporalities on Stance Detection towards COVID-19 Vaccination}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2024},
}
Figure