TL;DR
This paper introduces PandemicLLM, a novel framework that leverages Large Language Models (LLMs) to forecast pandemic trends by treating disease spread as a text reasoning problem. By integrating diverse, real-time data streams like public health policies and genomic surveillance, PandemicLLM offers more robust and timely predictions than traditional models, crucial for effective public health decision-making.
What Problem Does This Paper Address?
Forecasting the spread of infectious diseases is incredibly complex, involving a multitude of interconnected factors. Traditional forecasting models often struggle to incorporate the rich, multi-modal data available today, such as textual policy documents, viral genomic information, and demographic data. These models typically rely on numerical data and can be slow to adapt to rapidly changing situations like the emergence of new variants. This limitation hinders their ability to provide actionable insights for public health officials, leading to challenges in resource allocation and risk mitigation. The COVID-19 pandemic starkly highlighted these deficiencies, emphasizing the need for more sophisticated and adaptable forecasting tools.
Methods
The core innovation is PandemicLLM, a framework that reformulates pandemic forecasting as a text reasoning task for LLMs. Key components include:
- Multi-modal Data Integration: The model ingests diverse data types:
- Spatial Data: Demographic and healthcare system information, ranked and categorized.
- Epidemiological Time Series: Weekly reported cases, hospitalizations, and vaccination rates.
- Public Health Policy Data: Textual descriptions of government interventions.
- Genomic Surveillance Data: Textual summaries of variant characteristics and prevalence.
- AI-Human Cooperative Prompt Design: A novel approach to convert multi-modal data into textual prompts suitable for LLMs. This involves human expertise guiding the LLM's understanding of complex data.
- Temporal Representation Learning: A Recurrent Neural Network (RNN) encoder (specifically GRU) is used to process epidemiological time series data, converting it into representations that can be integrated into the LLM's text-based input. This is crucial for handling sequential data effectively.
- Ordinal Classification: Instead of predicting exact numbers, PandemicLLM predicts categorical trends (e.g., "Substantial Increase," "Stable," "Moderate Decrease") for hospitalization, aligning with public health decision-making needs and providing clearer uncertainty communication.
Datasets
The study utilized a comprehensive dataset covering all 50 U.S. states over 104 weeks (January 2021 to January 2023). This dataset included:
- Spatial Data: Demographic information (age, race) and healthcare system scores.
- Epidemiological Time Series: Weekly reported COVID-19 cases, hospitalizations, and vaccination rates.
- Public Health Policy Data: Information on government policies (e.g., school closures, mask mandates).
- Genomic Surveillance Data: Information on SARS-CoV-2 variants, including virological characteristics and prevalence estimates.
The processed data resulted in approximately 1.51 million words for prompt construction.
Key Insights and Ideas
- LLMs as Text Reasoners for Pandemics: The paper demonstrates that LLMs can be effectively repurposed for complex forecasting tasks by framing them as text reasoning problems, moving beyond their traditional NLP applications.
- Value of Non-Numerical Data: Public health policies and genomic variant information, often in textual format, are critical for accurate forecasting and can be leveraged by LLMs when traditional models struggle.
- Ordinal Classification for Actionability: Predicting categorical trends (like "Moderate Increase") is more useful for public health decision-makers than precise numerical predictions, especially when uncertainty is high.
- Adaptability to Emerging Variants: The model's ability to incorporate real-time genomic data without retraining highlights its potential for rapid adaptation to evolving threats.
Key Results
- Performance Improvement: PandemicLLM (7B and 13B parameter versions) outperformed traditional machine learning models (GRU, LSTM, ARIMA) and a heuristic baseline (PrevTrend) by at least 20% in accuracy for both 1-week and 3-week forecasts.
- Accuracy: Achieved accuracies of around 55-56% for 1-week forecasts and 45-46% for 3-week forecasts, which is notable given the complexity of the task.
- Spatial Variations: While performing well nationally, the model showed variations in performance across states, with some regions exhibiting better alignment with national trends than others.
- Temporal Robustness: PandemicLLMs demonstrated consistent performance over time, outperforming other models with less variability, especially during periods of decreasing trends or approaching peaks.
- Confidence-Accuracy Correlation: Higher prediction confidence (probability assigned to a predicted category) strongly correlated with higher accuracy, providing a reliable indicator of forecast trustworthiness. For example, a 0.85 confidence threshold yielded 73% accuracy for 1-week forecasts with the 13B model.
- Genomic Data Impact: Integrating real-time genomic surveillance data led to significant improvements, particularly for the 13B model, with a 20.1% increase in prediction confidence and a 28.2% improvement in WMSE during the transition from BA.5 to BQ.1 variants.
Limitations and Future Work
- Computational Cost: Employing LLMs, even with parameter freezing, requires substantial computational resources, which could be a barrier for resource-scarce settings or rapid deployment needs.
- Lack of Theoretical Transparency: While empirical reliability was demonstrated, LLMs still lack inherent interpretability, which is crucial for building trust in public health applications.
- Future Work:
- Expand the model to include even broader data streams like wastewater-based epidemiology and human behavior data.
- Explore different time series encoder architectures (e.g., LSTMs, attention mechanisms).
- Investigate extending forecasts to more granular levels (counties, hospitals).
- Further research into enhancing LLM interpretability for public health applications.
- Generalize the framework to forecast other diseases with similar transmission mechanisms (e.g., flu, RSV).
Summary updated