NeurIPS 2026Coming to NeurIPS in Sydney?Explore papers, orals & directions

Modeling and Forecasting COVID-19 Cases using Latent Subpopulations

Roberto Vega, Zehra Shah, Pouria Ramazi, Russell GreinerarXiv 2023

TL;DR

This paper introduces two novel methods, a dictionary-based approach and a mixture-of-M fittable curves approach, to model and forecast COVID-19 cases by treating the population as a combination of latent, unobserved subpopulations. These methods outperform traditional homogeneous models, especially for complex epidemic curves with multiple waves, and the dictionary approach shows particular promise for accurate short-term forecasting.

What Problem Does This Paper Address?

Classical epidemiological models, like the Susceptible-Infected-Removed (SIR) model, often assume a homogeneous population. This simplification struggles to accurately capture the dynamics of real-world epidemics, especially when populations are heterogeneous due to factors like different behaviors, geographical separation, or varying intervention adherence. Ignoring this heterogeneity can lead to overestimations of epidemic peaks and overall infected numbers, and can result in inaccurate forecasts. Existing extensions that account for known subpopulations (e.g., by age or location) still require prior knowledge of these groups. This paper tackles the challenge of modeling and forecasting epidemics in populations where the subpopulations are latent – meaning their existence and characteristics are unknown and must be inferred from aggregate data.

Methods

The authors propose two primary methods for modeling the observed time series of infected individuals as a linear combination of latent subpopulations:

  1. Dictionary-Based Approach: This method starts with a large, pre-defined "dictionary" of plausible epidemic curves (e.g., Gaussian probability density functions or simulated SIR trajectories with various parameters). An optimization algorithm then selects a small subset of these curves and determines their positive weights to best reconstruct the observed data. This approach automatically determines the number of latent subpopulations needed.
  2. Mixture-of-M Fittable Curves: This method requires the user to specify the number of latent subpopulations ($M$) beforehand. The model then fits a mixture of $M$ parametric curves (either Gaussian or SIR trajectories) to the observed data. This approach allows for more direct control over the number of components but requires the user to pre-define $M$.

Both methods are flexible and can be applied with various parametric models, though the paper demonstrates their use with Gaussian curves and SIR trajectories. A key innovation for the SIR-based mixture is the introduction of a Kronecker delta function to allow simulated SIR trajectories to start at different points in time, enabling the modeling of multiple epidemic waves.

Datasets

The study utilizes the publicly available COVID-19 Data Repository from the Center for Systems Science and Engineering at Johns Hopkins University. The analysis is performed on data from 187 countries, focusing on a time period that includes multiple COVID-19 waves (specifically, from July 30, 2020, to July 29, 2021). This dataset is used for both modeling (training and evaluation on the same data) and forecasting tasks.

Key Insights and Ideas

  • Latent Subpopulations are Crucial: The paper strongly suggests that assuming population homogeneity is a significant limitation for accurately modeling and forecasting infectious diseases, especially for diseases like COVID-19 with multiple waves.
  • Inferring Hidden Structure: The core idea is that complex, multimodal epidemic curves can be effectively decomposed into simpler, underlying latent processes, even when these processes are not directly observable.
  • Dictionary Learning for Flexibility: The dictionary-based approach is powerful because it doesn't pre-suppose the number of subpopulations and can adapt by selecting the most relevant candidate curves from a rich set.
  • SIR with Time Shifts: The modification of the SIR model to include time-shifted trajectories is a critical step for modeling multi-wave epidemics, allowing different "subpopulations" (represented by SIR curves) to peak at different times.
  • Trade-off Between Interpretability and Accuracy: While the dictionary approach yields higher accuracy, it can result in a large number of selected curves, making direct interpretation challenging. The mixture-of-M approach offers more interpretability for a fixed, smaller number of components, but at the cost of accuracy.

Key Results

  • Superior Modeling Performance: Both proposed methods, particularly the dictionary-based approach, significantly outperform the traditional single SIR model in modeling COVID-19 cases across 187 countries. The Gaussian dictionary approach achieved the lowest Mean Absolute Percentage Error (MAPE) with a mean of 3.5% and the lowest variance.
  • Effective Forecasting: The dictionary-based approaches also demonstrated superior forecasting capabilities for 1 to 4 weeks ahead, outperforming the classical SIR model and a simple "same as last observed week" (SLOW) baseline. The Gaussian dictionary approach achieved a median MAPE of 6% for 1-week forecasting, increasing to 21.7% for 4-week forecasting.
  • Handling Multimodality: The methods, especially the dictionary approach, are adept at modeling multimodal epidemic curves (i.e., those with multiple waves), a task where traditional unimodal SIR models struggle.
  • Mixture Models' Limitations: The mixture-of-M fittable curves, while capturing general trends, generally showed higher errors and variance compared to the dictionary methods and even the traditional SIR model, particularly for longer forecasting horizons.

Limitations and Future Work

  • Interpretability vs. Accuracy: The dictionary approach, while highly accurate, can select a large number of curves, making it difficult to assign clear epidemiological meaning to each selected subpopulation. The authors acknowledge that they are not claiming to learn causality.
  • User-Defined M: The mixture-of-M approach requires the user to specify $M$, which can be challenging. The paper notes that the number of parameters grows exponentially with $M$, making it less practical for larger numbers of subpopulations.
  • Generalizability: While demonstrated with Gaussian and SIR models, the authors suggest that the dictionary and mixture approaches are general and can be applied with any parametric model, opening avenues for modeling other diseases or using more complex epidemic models (e.g., SEIR).
  • Future Work: The authors highlight the potential for extending this framework to other infectious diseases and exploring different parametric models within the dictionary and mixture approaches. They also provide their code publicly for further research.

Summary updated

Abstract

Classical epidemiological models assume homogeneous populations. There have been important extensions to model heterogeneous populations, when the identity of the sub-populations is known, such as age group or geographical location. Here, we propose two new methods to model the number of people infected with COVID-19 over time, each as a linear combination of latent sub-populations -- i.e., when we do not know which person is in which sub-population, and the only available observations are the aggregates across all sub-populations. Method #1 is a dictionary-based approach, which begins with a large number of pre-defined sub-population models (each with its own starting time, shape, etc), then determines the (positive) weight of small (learned) number of sub-populations. Method #2 is a mixture-of-$M$ fittable curves, where $M$, the number of sub-populations to use, is given by the user. Both methods are compatible with any parametric model; here we demonstrate their use with first (a)~Gaussian curves and then (b)~SIR trajectories. We empirically show the performance of the proposed methods, first in (i) modeling the observed data and then in (ii) forecasting the number of infected people 1 to 4 weeks in advance. Across 187 countries, we show that the dictionary approach had the lowest mean absolute percentage error and also the lowest variance when compared with classical SIR models and moreover, it was a strong baseline that outperforms many of the models developed for COVID-19 forecasting.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
COVID-19 case modeling (T1), 187 countriesGauss Dict (Gaussian dictionary)MAPE (Mean)3.5-5.2 vs baselineTime Series Modeling · in-sample · period=2020-07-30 to 2021-07-29 · countries=187 · frequency=weekly
Source quote
L427: Gauss Dict │ 3.5 │ 4.7 │ 0.1 │ 1.1 │ 1.9 │ 4.1 │ 38.5
Reported baseline / comparator measurements (1)
BenchmarkMethodMetricScoreProtocol / Evidence
COVID-19 case modeling (T1), 187 countriesSIR baselineMAPE (Mean)8.7Time Series Modeling · in-sample · period=2020-07-30 to 2021-07-29 · countries=187 · frequency=weekly
Source quote
L429: SIR │ 8.7 │ 8.2 │ 0.1 │ 3.6 │ 6.5 │ 11.5 │ 64.5
BibTeX
@misc{vega2023modeling,
  author = {Roberto Vega and Zehra Shah and Pouria Ramazi and Russell Greiner},
  title = {{Modeling and Forecasting COVID-19 Cases using Latent Subpopulations}},
  year = {2023},
  eprint = {2302.04829},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2302.04829},
}
Figure