Advancing Real-time Pandemic Forecasting Using Large Language Models: A COVID-19 Case Study
Hongru Du, Jianan Zhao, Yang Zhao, Shaochong Xu, Xihong Lin, Yiran Chen, Lauren M. Gardner, Hao Frank Yang
TL;DR
PandemicLLM presents an open-source framework that reframes real-time pandemic forecasting as text reasoning using large language models to integrate multi-modal data including epidemiological time series, public health policy, genomic surveillance and demographics. It introduces an AI–human cooperative prompt design and a GRU-based temporal encoder to transform heterogeneous data into prompts for LLMs and form an ordinal 5-class hospitalization trend target with horizons of 1 and 3 weeks. In extensive experiments across all 50 U.S. states, PandemicLLM outperforms traditional baselines by at least 20% and demonstrates robust trustworthiness with confidence based evaluation. The results highlight the potential to adapt LLM based forecasting to real-time public health decision making and extendable to other diseases and scales, including zero-shot adaptation to emerging variants.
Abstract
Forecasting the short-term spread of an ongoing disease outbreak is a formidable challenge due to the complexity of contributing factors, some of which can be characterized through interlinked, multi-modality variables such as epidemiological time series data, viral biology, population demographics, and the intersection of public policy and human behavior. Existing forecasting model frameworks struggle with the multifaceted nature of relevant data and robust results translation, which hinders their performances and the provision of actionable insights for public health decision-makers. Our work introduces PandemicLLM, a novel framework with multi-modal Large Language Models (LLMs) that reformulates real-time forecasting of disease spread as a text reasoning problem, with the ability to incorporate real-time, complex, non-numerical information that previously unattainable in traditional forecasting models. This approach, through a unique AI-human cooperative prompt design and time series representation learning, encodes multi-modal data for LLMs. The model is applied to the COVID-19 pandemic, and trained to utilize textual public health policies, genomic surveillance, spatial, and epidemiological time series data, and is subsequently tested across all 50 states of the U.S. Empirically, PandemicLLM is shown to be a high-performing pandemic forecasting framework that effectively captures the impact of emerging variants and can provide timely and accurate predictions. The proposed PandemicLLM opens avenues for incorporating various pandemic-related data in heterogeneous formats and exhibits performance benefits over existing models. This study illuminates the potential of adapting LLMs and representation learning to enhance pandemic forecasting, illustrating how AI innovations can strengthen pandemic responses and crisis management in the future.
