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

The Interplay of Demographic Variables and Social Distancing Scores in Deep Prediction of U.S. COVID-19 Cases

Francesca Tang, Yang Feng, Hamza Chiheb, Jianqing Fan

TL;DR

This paper presents a comprehensive, three-part machine learning pipeline to analyze and predict COVID-19 case growth at the U.S. county level. By combining spectral clustering, demographic feature analysis, and Long Short-Term Memory (LSTM) networks, the authors demonstrate how static community vulnerabilities and dynamic social distancing behaviors interact to drive pandemic trajectories.

What Problem Does This Paper Address?

Forecasting the spread of COVID-19 is notoriously difficult. Traditional epidemiological models often rely on the reproduction number ($R_0$), a metric that is constantly evolving and difficult to estimate accurately in real-time. Furthermore, while many studies look at national or state-level data, the pandemic's impact is highly localized.

The authors identified a gap in the literature: a lack of a unified framework that connects the historical shape of a county's outbreak, its inherent demographic vulnerabilities, and real-time behavioral changes (social distancing). They set out to build a predictive model that leverages all three of these dimensions to forecast short-term case growth for individual counties.

Methods

The researchers developed a three-stage pipeline:

  1. Community Detection (Clustering): The authors used spectral clustering to group counties based on their historical case growth. Novelty: Instead of converting the data into a standard adjacency or Laplacian matrix (which requires arbitrary thresholding and loses information), they applied spectral clustering directly to the sample Pearson correlation matrix of the counties' logarithmic daily cumulative cases.
  2. Feature Extraction: Once counties were clustered into "fast" and "slow" growth groups, the authors used two-sample t-tests to identify which static demographic features best explained a county's cluster assignment.
  3. Deep Prediction: They trained LSTM networks to predict the $l$-day forward log-growth rate of cases. To predict a new county's trajectory, the system finds its "nearest neighbor" based on demographic variables, assigns it to a cluster, and uses that cluster's trained LSTM alongside real-time social distancing data. They compared this against linear models, semi-parametric models, and standard feedforward neural networks (MLPs).

Datasets

  • COVID-19 Cases: Daily cumulative confirmed cases from the Johns Hopkins CSSE repository (filtered to 627-950 viable counties depending on the pipeline stage).
  • Demographic Features: 17 county-level features from the 2017 American Community Survey (ACS) via Data Planet (e.g., population density, median income, number of bars/grocery stores).
  • Social Distancing Metrics: Mobile device tracking data from the Unacast COVID-19 Scoreboard. This included three time-series metrics: % change in distance traveled, % change in non-essential visits, and the rate of human encounters compared to a pre-COVID baseline.

Key Insights and Ideas

  • Correlation > Adjacency: Clustering directly on the correlation matrix yielded much clearer, more distinct separation between fast and slow-growth counties compared to standard threshold-based network graphs.
  • The Shifting Drivers of Infection: During the initial outbreak, urban density, higher median income, and the presence of public gathering spots (bars, grocery stores) drove fast-growth clusters. However, when analyzing the "second phase" of the pandemic, the primary drivers shifted dramatically: poverty and lack of access to stores became the most significant predictors of rapid case growth.
  • The Deep Learning Data Trade-off: The authors hypothesized that training separate LSTMs for each specific cluster would improve predictions. Surprisingly, training one global model ($K=1$) yielded the best out-of-sample predictions. The heterogeneity captured by clustering was outweighed by the LSTM's need for large amounts of training data; splitting the counties into clusters starved the neural networks of the sample size needed to generalize well.
  • Biological Alignment: The model's predictive accuracy peaked when forecasting exactly 4 days into the future. This perfectly aligns with clinical studies showing the median incubation period of COVID-19 is 4-5 days.

Key Results

  • The DSD-LSTM (Demographic + Social Distancing LSTM) was the best performing model, achieving a median out-of-sample $R^2$ of 0.6251 (when $K=1$).
  • Linear and semi-parametric models performed terribly (often yielding negative $R^2$ values, meaning they were worse than a flat horizontal line). This proves the relationship between social distancing, demographics, and case growth is highly non-linear.
  • Ablation studies on the social distancing data revealed that the "percent change in total distance traveled" was the most critical metric; removing it caused the largest drop in predictive accuracy.

Limitations and Future Work

  • Limitations: The model does not explicitly account for discrete government interventions (e.g., the exact date a mask mandate or lockdown was enacted), which undoubtedly altered disease progression. The authors also acknowledge that their chosen 17 demographic and 3 social distancing variables may miss other latent features driving the spread.
  • Future Work: The authors suggest applying this framework to subsequent waves of COVID-19 or entirely different contagious disease outbreaks. They also propose using confidence distribution frameworks to combine independent data sources from different countries to create more robust, global models.

Summary updated

BibTeX
@article{tang2021interplay,
  author = {Francesca Tang and Yang Feng and Hamza Chiheb and Jianqing Fan},
  title = {{The Interplay of Demographic Variables and Social Distancing Scores in Deep Prediction of U.S. COVID-19 Cases}},
  journal = {Journal of the American Statistical Association},
  year = {2021},
  url = {https://openreview.net/forum?id=6CsXYdp7JG},
}
Figure