Plos iconPlosSep 30, 2026 ~6 min source read

Influpaint: Using diffusion-based generative models to forecast spatiotemporal influenza

Researchers adapt denoising diffusion probabilistic models to encode influenza seasons as spatiotemporal images and generate conditional forecasts from partial observations. Training on a mix of surveillance and simulated outbreaks produced realistic, diverse trajectories and competitive forecasting performance in retrospective and real-time evaluations.

Generative diffusion models for spatiotemporal influenza forecasting

Share this story

Send the public story page.

Useful takeaways from this story.

Influpaint treats each influenza season as a spatiotemporal image (weeks × locations) and uses denoising diffusion models to learn the distribution of epidemic trajectories.

Forecasting is formulated as an inpainting task: the model conditions on observed weeks and generates probable completions for future weeks, producing diverse probabilistic forecasts.

Influpaint was competitive with leading ensemble methods retrospectively and showed improved real-time performance across 2022–2025 FluSight seasons, though 2024–2025 forecasts were somewhat overconfident.

# What Influpaint does

# Why that matters Traditional mechanistic and statistical forecasting approaches can struggle with multimodal uncertainty and unexpected emergent trends. Generative diffusion models learn a rich distribution over whole-season patterns rather than fitting a single trajectory. That lets Influpaint produce multiple diverse, plausible futures, which helps capture complex epidemic shapes across space and time.

# How the method was built and trained The authors trained Influpaint on a hybrid dataset combining real surveillance seasons and simulated epidemic trajectories. Encoding seasons as spatiotemporal images lets the same model handle forecasting and other tasks such as imputing missing data without further training. The team experimented with proportions of surveillance versus simulated data and found the best forecast performance using a mix with about 30% surveillance trajectories and 70% simulated trajectories.

# Evaluation and results

# Practical strengths and features

  • Spatiotemporal framing: a single representation handles multiple locations and weeks simultaneously.
  • Conditional generation: forecasting is treated as inpainting, which naturally produces probabilistic outputs and multiple sampled trajectories.
  • Flexibility: the model can impute missing data and generate complete season realizations without retraining.
  • Reproducibility: trained model weights, forecast trajectories, evaluation results, and code are publicly archived (Zenodo and GitHub) for reuse and replication.

# Limitations and behavior noted by the authors The model sometimes produced overconfident projections (notably in 2024–2025). The authors also report that mixing simulated trajectories with surveillance data improved performance, implying sensitivity to the composition of training data and the realism of simulations.

# Where to find the resources Code and training/evaluation artifacts are available in public repositories: the Influpaint codebase on GitHub and archived versions plus model outputs on Zenodo. Real-time FluSight submissions are available in the CDC FluSight forecast repositories under the model name UNC_IDD-InfluPaint.

# Bottom line Influpaint demonstrates that diffusion-based generative models can capture complex spatiotemporal structure in influenza seasons and produce competitive probabilistic forecasts. The approach offers a flexible forecasting framework that can generate diverse futures and perform imputation, but careful calibration and training-data composition matter for reliable uncertainty quantification.

More context around this story.

Loading more related stories...

Keep reading in the app

Open the app view to save this story, compare related coverage, and continue from the same source.

Open in app