Analyzing greedy vaccine allocation algorithms for metapopulation disease models

Jeffrey Keithley, Akash Choudhuri, Bijaya Adhikari, Sriram V. Pemmaraju

TL;DR

While optimal vaccine allocation during a pandemic is a notoriously difficult (NP-hard) math problem, this paper proves that simple "greedy" algorithms are surprisingly effective. By testing these algorithms on real-world mobility data from New Hampshire, Iowa, and Texas, the researchers demonstrate that we can achieve near-optimal results at scale, potentially saving millions more lives than standard population-based distribution strategies.

What Problem Does This Paper Address?

When a new pathogen emerges, vaccines are usually scarce. Public health officials must decide how to distribute limited "bundles" of vaccines across different regions (counties or cities) to minimize the impact.

Mathematically, this is a metapopulation disease model problem. It views a state not as a single block, but as a network of subpopulations connected by travel patterns. Finding the "perfect" allocation to minimize total infections or flatten the curve is computationally "hard to approximate"—meaning that in the worst-case scenario, even finding a solution that is "pretty good" is mathematically impossible to do quickly.

The authors tackle the gap between this theoretical "hardness" and the practical need for fast, scalable, and reliable allocation strategies that work for large states like Texas.

Methods

The researchers modeled disease spread using a standard SEIR (Susceptible-Exposed-Infected-Recovered) framework, but adapted it for a metapopulation setting where the "force of infection" in one county depends on commuters coming from others.

They evaluated four greedy algorithms that choose where to send vaccines based on the immediate "marginal gain" (i.e., which county provides the biggest bang for the buck right now):

  1. 3-EnumGreedy: A high-accuracy but slow algorithm that checks combinations of initial allocations.
  2. SingletonGreedy: A more balanced approach.
  3. FastGreedy: A threshold-based version designed for speed.
  4. UnitGreedy: The simplest version, which allocates one bundle at a time to the county where it helps the most.

The core novelty is their theoretical analysis. They used the concept of a submodularity ratio—a mathematical measure of how much a function deviates from "diminishing returns." They proved that as long as the disease model stays close to this "diminishing returns" property, greedy algorithms are guaranteed to perform well.

Datasets

The study used two primary data sources to build realistic mobility networks:

  • FRED (A Framework for Reconstructing Epidemic Dynamics): A census-based synthetic population that models social and demographic contact patterns.
  • SafeGraph: Real-world, anonymized mobility data derived from mobile device GPS signals.

They tested these on three scales:

  • Small: New Hampshire (10 counties, 1.4M people).
  • Medium: Iowa (99 counties, 3.2M people).
  • Large: Texas (254 counties, 30.03M people).

Key Insights and Ideas

  • Hardness can be circumvented: Even though the problem is NP-hard in theory, real-world disease spread functions often have a high "submodularity ratio." This means they behave "nicely" enough that greedy algorithms don't get stuck in bad solutions.
  • The "UnitGreedy" Advantage: The authors found that UnitGreedy is "embarrassingly parallel." Because each bundle allocation can be calculated independently, it can scale to massive datasets (like the 254 counties of Texas) in hours, whereas more complex randomized algorithms (like POMS) would theoretically take millions of years to reach the same level of certainty.
  • Geography Matters: Simply giving vaccines to the most populous counties (the "Population" baseline) is often inefficient. Greedy algorithms account for how a highly connected "hub" county might spread the disease to its neighbors, making it a higher priority for vaccination than its population alone suggests.

Key Results

  • Near-Optimality: In New Hampshire (where the authors could calculate the true "perfect" solution via exhaustive search), the greedy algorithms were 95% to 99% as effective as the optimal solution.
  • Massive Impact in Large States: In the Texas simulation, UnitGreedy saved 2 million more people than the standard population-proportional baseline.
  • Scalability: While the randomized baseline (POMS) struggled to finish, the greedy methods provided provable guarantees and high performance across all state sizes.
  • Robustness: The algorithms performed well across two different types of mobility data (FRED and SafeGraph) and different levels of virus infectivity ($\lambda$).

Limitations and Future Work

  • Deterministic Model: The current model is deterministic. Real pandemics are stochastic (random), and future work could incorporate more "noise" and uncertainty into the simulations.
  • Preemptive Only: The study assumes vaccines are given all at once at the very start. In reality, vaccines roll out over months. The authors suggest extending the model to "non-preemptive" or dynamic allocation.
  • Border Effects: The study looked at states in isolation. In reality, people travel across state lines (e.g., from Oklahoma to Texas), which could significantly shift the optimal allocation strategy.
  • Perfect Uptake: The model assumes everyone who is offered a vaccine takes it and that it works perfectly. Adjusting for vaccine hesitancy and varying efficacy levels is a noted area for future refinement.

Summary updated

BibTeX
@article{keithley2025analyzing,
  author = {Jeffrey Keithley and Akash Choudhuri and Bijaya Adhikari and Sriram V. Pemmaraju},
  title = {{Analyzing greedy vaccine allocation algorithms for metapopulation disease models}},
  journal = {PLOS Computational Biology},
  year = {2025},
  doi = {10.1371/journal.pcbi.1012539},
}
Figure