Abstract
In this paper, we present a manually annotated corpus of 10,000 tweets containing public reports of five COVID-19 events, including positive and negative tests, deaths, denied access to testing, claimed cures and preventions. We designed slot-filling questions for each event type and annotated a total of 31 fine-grained slots, such as the location of events, recent travel, and close contacts. We show that our corpus can support fine-tuning BERT-based classifiers to automatically extract publicly reported events and help track the spread of a new disease. We also demonstrate that, by aggregating events extracted from millions of tweets, we achieve surprisingly high precision when answering complex queries, such as "Which organizations have employees that tested positive in Philadelphia?" We will release our corpus (with user-information removed), automatic extraction models, and the corresponding knowledge base to the research community.
Introduction
During the COVID-19 pandemic, official data from organizations like the CDC or WHO served as the gold standard for public health information. However, these sources often suffer from reporting lags and lack the granularity needed for real-time local response. Social media platforms like Twitter offer an instantaneous alternative, rich with personal and public reports of health events.
The challenge lies in the "noisy" nature of social media. Extracting structured, actionable information—such as who tested positive, where they are, and their travel history—from informal text is a significant NLP hurdle. This research introduces a framework to transform this chaotic data stream into a structured, queryable knowledge base.
Methodology: Slot-Filling and the COVIDKB Pipeline
The researchers framed event extraction as a supervised slot-filling task. They focused on five key event types: positive tests, negative tests, denied testing access, deaths, and cure/prevention claims. For each event, they defined specific "slots" to capture details like location, employer, and recent travel.
The system, named COVIDKB, utilizes a multi-stage pipeline:
- Annotation: 10,000 tweets were manually annotated via Amazon Mechanical Turk to identify events and fill slots.
- Modeling: The team fine-tuned CT-BERT, a model pre-trained on 22.5 million COVID-related tweets, which significantly outperformed general-purpose BERT models.
- Aggregation: To mitigate individual model errors, the system aggregates extractions across millions of tweets. By leveraging the redundancy of social media—where many users might report the same public event—the system achieves high confidence through consensus.
Key Results and Insights
The study yielded several critical findings:
- High Precision Queries: When querying the aggregated knowledge base for complex information (e.g., "Where did travelers from the UK test positive?"), the system achieved precision scores between 90% and 100%.
- Tracking Pandemic Waves: The volume of "Tested Positive" events extracted from Twitter closely mirrored the actual waves of the pandemic reported by official sources like Johns Hopkins University, including the Delta and Omicron surges.
- Domain Specificity: The superior performance of CT-BERT (F1 score of 0.67 vs. 0.62 for standard BERT) underscores the importance of in-domain pre-training for handling pandemic-specific terminology and Twitter's unique syntax.
Limitations and Future Directions
While promising, the approach has limitations. Twitter's user base is not a perfect demographic sample, introducing potential biases. The models also struggle with "subtle inferences," such as coreference resolution (e.g., linking "the British PM" to "Boris Johnson"). Furthermore, the reliance on the 1% Twitter Stream API may miss localized events. Future work aims to extend this methodology to other languages and improve the handling of complex relational inferences.
Summary updated