← Latest papers
🧬 biology

Generative diffusion models for spatiotemporal influenza forecasting

The paper introduces Influpaint, a generative diffusion model that frames influenza forecasting as a spatiotemporal inpainting task to effectively capture complex epidemic dynamics and multimodal uncertainty, achieving competitive accuracy in both retrospective and real-time CDC FluSight challenges.

Original authors: Joseph Lemaitre, Justin Lessler

Published 2026-04-29
📖 5 min read🧠 Deep dive

Original authors: Joseph Lemaitre, Justin Lessler

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). ⚕️ This is an AI-generated explanation of a preprint that has not been peer-reviewed. It is not medical advice. Do not make health decisions based on this content. Read full disclaimer

Imagine trying to predict the path of a storm. You can't just look at the wind right now; you need to understand how storms have behaved in the past, how they might change, and what a "typical" storm looks like versus a "wild" one.

This paper introduces a new tool called Influpaint, which uses a type of advanced artificial intelligence (called a "diffusion model") to predict how flu seasons will unfold across the United States.

Here is how it works, explained simply:

1. The "Flu Map" Picture

Instead of looking at flu data as a long list of numbers or a spreadsheet, Influpaint turns the entire flu season into a single, giant picture.

  • The X-axis (Left to Right): Represents time (the 52 weeks of a year).
  • The Y-axis (Top to Bottom): Represents location (all 50 states and Washington D.C.).
  • The Colors: The brightness of the pixels represents how many people are getting sick. A bright white spot means a lot of flu cases; a dark spot means very few.

Think of it like a weather map, but instead of showing rain clouds, it shows "flu clouds" moving across the country over time.

2. The "Denoising" Magic

The AI behind Influpaint is trained like an artist learning to restore a damaged painting.

  • The Training: The researchers showed the AI thousands of "pictures" of flu seasons. Some were real data from hospitals, and others were "fake" seasons created by computer simulations.
  • The Process: The AI learns to take a picture that has been completely scrambled with static (like TV snow) and slowly "denoise" it until a clear, realistic flu season emerges. It learns the rules of how flu usually spreads: when it starts, how fast it grows, where it peaks, and how it fades away.

3. The "Inpainting" Forecast

This is the clever part. Usually, AI generates a whole new picture from scratch. But for forecasting, we already know what happened in the past few weeks.

  • The Scenario: Imagine you have a photo of a flu season, but the future part of the photo is torn off or covered in static. You can see the first few weeks clearly, but the rest is missing.
  • The Fix: Influpaint uses a technique called inpainting. It looks at the clear, known weeks (the past) and uses its training to "paint in" the missing future weeks. It doesn't just guess one future; it generates 512 different possible futures (like 512 different artists painting the same scene).
  • The Result: You get a "fan" of possibilities. Some show a huge spike in flu, some show a small one, and some show it hitting early or late. This gives public health officials a range of realistic scenarios rather than a single, brittle prediction.

4. What the Paper Found

The authors tested this tool in real-world competitions (called FluSight) where different teams try to predict flu trends.

  • Realism: When asked to generate a whole flu season from scratch (without any real data), Influpaint created seasons that looked very real, including complex patterns like double peaks (two waves of flu in one season).
  • Accuracy: In the 2024–2025 flu season, Influpaint became one of the top-performing models, beating many traditional methods. It was very good at predicting how high the flu would get and when it would peak.
  • The Secret Sauce: The AI worked best when it was trained on a mix of 30% real hospital data and 70% computer simulations. It turns out, the AI needed to see many "what-if" scenarios (simulations) to learn how to handle the uncertainty of the future, even though real data is more accurate.
  • A Flaw: While the predictions were very sharp and accurate, the AI was sometimes too confident. It drew a tight circle around its prediction, but the real flu numbers sometimes fell just outside that circle. It knew what would happen, but it underestimated how much it might be wrong.

5. Why This Matters

The paper claims that this is the first time this specific type of AI (diffusion models) has been used for disease forecasting.

  • Flexibility: Because it treats the data like an image, it can handle missing information easily. If a state doesn't report data for a week, or if a specific week is missing, the AI can "fill in the gaps" just like it fills in the future.
  • No "Black Box" Rules: Unlike older models that rely on strict biological rules (which can break if the virus changes), this model learns the "vibe" of flu seasons from data. It captures the messy, complex reality of how diseases spread.

In short: Influpaint is an AI artist that learns to paint flu seasons. By looking at the past few weeks of a current season, it can paint a hundred different versions of what the rest of the season might look like, helping officials prepare for the most likely outcomes.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →