Disease Spread Forecasting Using Graph Models
1. Key Concepts in Epidemiology
Key Concepts in Epidemiology
Basic Reproduction Number (R₀)
The basic reproduction number, R₀, quantifies the expected number of secondary infections generated by a single infected individual in a fully susceptible population. It is a threshold parameter determining whether an outbreak will grow (R₀ > 1) or die out (R₀ < 1). For a susceptible-infected-recovered (SIR) model, R₀ is derived as:
where β is the transmission rate and γ is the recovery rate. The inverse of γ represents the average infectious period. In network-based models, R₀ depends on the degree distribution of the contact graph.
Effective Reproduction Number (Rt)
Unlike R₀, the effective reproduction number Rt accounts for changing immunity and interventions. It is time-dependent and defined as:
where S(t) is the number of susceptible individuals at time t, and N is the total population. Real-world estimation of Rt often uses Bayesian methods on incidence data.
Compartmental Models
Compartmental models divide the population into discrete states (e.g., Susceptible S, Infected I, Recovered R). The SIR model’s dynamics are governed by:
Extensions like SEIR (adding Exposed E) or age-stratified models refine accuracy. Stochastic versions account for discrete population effects.
Herd Immunity Threshold
The herd immunity threshold H defines the fraction of immune individuals required to suppress transmission. For R₀ > 1:
This assumes homogeneous mixing. Network heterogeneity (e.g., superspreaders) can lower H by targeting high-degree nodes.
Transmission Networks
Graph models represent individuals as nodes and contacts as edges. The adjacency matrix A encodes connections, where Aij = 1 if nodes i and j interact. The epidemic threshold τ for a network is:
where λ₁ is the largest eigenvalue of A. Outbreaks occur if β/γ > τ.
Case Fatality Rate (CFR) vs. Infection Fatality Rate (IFR)
CFR measures deaths among confirmed cases, while IFR accounts for undetected infections. Estimation requires seroprevalence data:
Ascertainment bias often exceeds 10× in pandemics like COVID-19.

1.2 Traditional vs. Graph-Based Approaches
Traditional epidemiological models, such as compartmental models (e.g., SIR, SEIR), rely on differential equations to describe disease dynamics at a population level. These models assume homogeneous mixing, where every individual has an equal probability of interacting with any other individual in the population. The SIR model, for instance, is governed by the following system of ordinary differential equations (ODEs):
Here, S, I, and R represent susceptible, infected, and recovered populations, respectively, while β and γ denote infection and recovery rates. While computationally efficient, these models fail to capture spatial heterogeneity, individual contact patterns, or network-driven transmission dynamics.
Graph-based approaches, in contrast, explicitly model interactions between individuals or subpopulations as a network, where nodes represent entities (people, cities, regions) and edges denote transmission pathways. The adjacency matrix A of the graph encodes connectivity, enabling a more granular representation of disease spread. The infection probability for node i at time t can be expressed as:
where 𝒩(i) is the neighborhood of node i, and Ij(t) indicates whether node j is infected at time t. This formulation accounts for heterogeneous contact rates, superspreaders, and community structure—features absent in traditional models.
Advantages of Graph-Based Models
- Spatiotemporal Resolution: Captures localized outbreaks and mobility patterns through dynamic edge weights (e.g., travel fluxes between cities).
- Network Effects: Incorporates superspreading events and clustering coefficients, critical for diseases like COVID-19.
- Intervention Modeling: Enables precise evaluation of targeted strategies (e.g., quarantining specific nodes or edges).
Computational Trade-offs
Graph-based models demand higher computational resources due to their reliance on large-scale network simulations. For a graph with N nodes, the memory complexity scales as O(N²) for dense adjacency matrices, and temporal simulations require Monte Carlo methods or message-passing algorithms. Techniques like graph sparsification or stochastic block modeling are often employed to balance accuracy and efficiency.
Case Study: COVID-19 Mobility Networks
A 2021 study by Chang et al. demonstrated that graph-based models outperformed traditional SEIR models in predicting COVID-19 spread across U.S. counties by integrating real-time mobility data from smartphones. The graph model achieved a 22% lower RMSE by accounting for interstate travel patterns encoded as weighted edges.

Graph Theory Basics for Disease Modeling
Graph Representation of Epidemiological Networks
In disease modeling, a population is represented as a graph G = (V, E), where V denotes individuals (vertices) and E represents contacts (edges) through which infection can spread. The adjacency matrix A encodes connectivity:
Weighted edges can model contact frequency or transmission probability. For airborne diseases, edge weights may correlate with proximity duration, while for vector-borne diseases, they could represent mosquito migration rates between locations.
Key Graph Metrics for Transmission Dynamics
Several graph-theoretic measures directly influence disease spread:
- Degree centrality: The number of connections per node (ki = ΣjAij) identifies superspreaders.
- Betweenness centrality: Nodes with high betweenness act as bridges between communities, calculated as:
where σst is the total shortest paths between nodes s and t, and σst(v) counts those passing through v.
Community Structure and Epidemic Thresholds
The modularity Q quantifies community strength:
where m is total edges, ci denotes community membership, and δ is the Kronecker delta. High modularity slows initial spread but prolongs outbreaks within communities.
Temporal Graph Extensions
For real-time forecasting, graphs evolve as G(t) = (V, E(t)). The time-aggregated representation:
where wij(t) captures time-dependent contact intensities. This framework enables analysis using higher-order networks that encode memory effects in transmission chains.
Graph Neural Networks for Transmission Prediction
Graph convolutional layers propagate infection risk through the network:
where  = A + I (with self-connections), D̂ is the degree matrix, H(l) are node embeddings at layer l, and W(l) are trainable weights. This architecture captures both local transmission and global outbreak patterns.

2. Types of Graph Models (SIR, SEIR, etc.)
Types of Graph Models (SIR, SEIR, etc.)
Compartmental Models in Epidemiology
Compartmental models divide a population into distinct states (compartments) and define transition rates between them. These models are mathematically represented as systems of ordinary differential equations (ODEs), where each equation describes the rate of change of a compartment's population. The choice of compartments depends on the disease's transmission dynamics and the desired granularity of analysis.
The SIR Model
The Susceptible-Infectious-Recovered (SIR) model is the foundational framework for epidemic modeling. It consists of three compartments:
- S(t): Susceptible individuals
- I(t): Infectious individuals
- R(t): Recovered/removed individuals
The governing equations are:
where β is the infection rate and γ is the recovery rate. The basic reproduction number R₀ = β/γ determines whether an epidemic will spread (R₀ > 1) or die out (R₀ < 1).
The SEIR Model
The Susceptible-Exposed-Infectious-Recovered (SEIR) model adds an Exposed (E) compartment to account for latency periods where individuals are infected but not yet infectious. This is critical for diseases like COVID-19 with significant incubation periods.
Here, σ is the rate at which exposed individuals become infectious (1/σ is the average latent period).
Extended Variants
SIRS Model
The SIRS model incorporates waning immunity, where recovered individuals gradually return to the susceptible pool:
with ξ being the immunity loss rate.
SEIRS Model
Combining SEIR and SIRS features, this model accounts for both latency and temporary immunity:
Network-Based Extensions
When applied to contact networks, these models assign compartments to nodes and define transmission along edges. The force of infection for a node i becomes:
where A is the adjacency matrix and 𝒩(i) are neighbors of i. This captures heterogeneous contact patterns absent in homogeneous mixing assumptions.
Age-Structured Models
For diseases with age-dependent transmission (e.g., childhood infections), compartments are stratified by age groups a:
The contact matrix βab encodes transmission rates between age groups, often derived from empirical social mixing data.

Network Topologies and Their Impact
Graph Representations of Disease Spread
In epidemiological modeling, networks are represented as graphs G = (V, E), where V denotes individuals (nodes) and E represents transmission pathways (edges). The adjacency matrix A encodes connectivity:
For weighted networks, Aij captures transmission probabilities. The degree ki of node i quantifies its connectivity:
Common Network Topologies in Epidemiology
1. Random Networks (Erdős-Rényi)
Characterized by a Poisson degree distribution, where each potential edge exists with probability p. The epidemic threshold τ depends on the spectral radius ρ(A):
Used when transmission pathways are unpredictable, but often fail to capture real-world heterogeneity.
2. Scale-Free Networks (Barabási-Albert)
Exhibit power-law degree distributions P(k) ~ k-γ, with γ typically between 2 and 3. The presence of hubs leads to:
- Lower epidemic thresholds compared to random networks
- Non-uniform vulnerability where superspreaders dominate dynamics
Empirically observed in air travel networks and hospital-acquired infections.
3. Small-World Networks (Watts-Strogatz)
Combine high clustering (like regular lattices) with short path lengths (like random graphs). The rewiring probability β tunes the interpolation between order and randomness. Disease spread exhibits:
- Rapid global propagation even at low β
- Localized outbreaks when clustering dominates
Topological Metrics Governing Spread Dynamics
The basic reproduction number R0 generalizes to networks through the next-generation matrix:
Where β is transmission rate, μ recovery rate, and angle brackets denote degree averages. Key metrics include:
| Metric | Impact on Spread |
|---|---|
| Degree heterogeneity | Accelerates early-stage growth |
| Assortativity | Modulates hub-to-hub transmission |
| Betweenness centrality | Identifies critical choke points |
Case Study: COVID-19 Superspreading
Analysis of 732 transmission events in Hong Kong revealed:
Validating scale-free characteristics, with 20% of cases causing 80% of transmissions. Network interventions targeting the top 5% of nodes reduced R0 by 62% in simulations.

Incorporating Real-World Data into Graphs
Real-world disease spread data often comes in heterogeneous formats, including temporal case counts, geospatial coordinates, demographic distributions, and contact tracing records. To model this in a graph framework, we must define nodes and edges in a way that captures both structural and dynamic properties of disease transmission. The adjacency matrix A of an epidemiological graph is typically weighted, where Aij represents the transmission probability or contact frequency between individuals or regions i and j.
Node Representation
Nodes can represent individuals, households, cities, or countries, depending on the granularity of available data. For individual-level modeling, each node vi is annotated with attributes such as:
- Demographic features (age, sex, comorbidities)
- Health status (susceptible, infected, recovered)
- Mobility patterns (GPS trajectories, commute frequency)
For population-level graphs, nodes aggregate attributes like:
- Case counts per time interval
- Vaccination coverage rates
- Healthcare capacity metrics
Edge Construction
Edges encode transmission pathways and can be derived from:
- Proximity data: Mobile device colocation signals or Wi-Fi pings define contact networks with edge weights proportional to duration and proximity of interactions.
- Transportation flows: Airline passenger volumes or highway traffic between regions yield weighted inter-node connections.
- Social graphs: Online social networks or call detail records provide proxy contact structures.
The edge weight wij between nodes vi and vj may follow a gravity model:
where mi, mj are node populations, dij is geographic distance, and α is a distance decay parameter typically between 1 and 3.
Temporal Graph Construction
Disease spread is fundamentally time-dependent. A temporal graph Gt = (V, Et) evolves via:
- Discrete-time snapshots: Graphs G1, ..., GT represent contact networks at fixed intervals (e.g., daily)
- Continuous-time edges: Each edge has an associated timestamp or duration interval
The inter-graph coupling can be modeled through memory kernels:
where κ(·) is a time-decaying influence function (e.g., exponential e-βt).
Data Fusion Techniques
Multiple data streams require fusion approaches:
- Tensor decomposition: Represent multi-modal data as a 3D tensor (nodes × edges × time) decomposed via PARAFAC or Tucker models
- Graph neural networks: Use attention mechanisms to dynamically reweight edges based on node attribute similarity
- Bayesian networks: Infer latent transmission trees from partial observation data
For mobility-informed graphs, the node transition matrix P can be estimated from origin-destination matrices:
where Tij is the observed travel volume between locations i and j.

3. Data Collection and Preprocessing
3.1 Data Collection and Preprocessing
Epidemiological Data Sources
Accurate disease spread forecasting relies on heterogeneous data sources, each contributing unique signals to the graph model. Case reports from public health agencies (e.g., WHO, CDC) provide confirmed infection counts, while mobility datasets (e.g., Google Mobility Reports, SafeGraph) quantify human movement patterns. Hospitalization records and wastewater surveillance add temporal resolution. These datasets often arrive in incompatible formats (CSV, JSON, APIs) with varying temporal granularity (hourly to monthly) and spatial resolution (country-level to GPS coordinates).
where V represents geographical nodes, T the temporal range, and xij a d-dimensional feature vector.
Graph Construction
Transform raw data into a spatiotemporal graph G = (V, E, W) where nodes represent locations (cities, districts) and edges encode transmission pathways. Edge weights Wij derive from:
- Commuter flow matrices (Census Bureau data)
- Transportation networks (airline routes, road traffic)
- Proximity metrics (inverse distance weighting)
with Cij as commuter volume and dij geographical distance.
Feature Engineering
Node features require careful normalization due to population disparities. Apply log-transform to case counts yi and scale mobility indices mi:
where Ni is node population. Temporal features use Fourier terms to capture seasonality:
for period P (typically 7/365 days).
Missing Data Imputation
Address reporting lags using graph-aware methods. For missing node features xi, employ graph convolutional imputation:
where 𝒩(i) denotes neighboring nodes. Temporal gaps use cubic spline interpolation conditioned on adjacent nodes' trends.
Validation Splits
Standard random splits fail for spatiotemporal data due to autocorrelation. Instead, implement:
- Blocked cross-validation: Hold out contiguous time windows
- Geographical masking: Remove entire regions during testing
- Edge dropout: Randomly remove 20% of edges to test robustness
Performance metrics must account for uncertainty intervals—use weighted Pinball loss for quantile forecasts:

3.2 Constructing the Graph Structure
The graph structure is foundational for modeling disease spread dynamics, capturing interactions between individuals, regions, or populations. The choice of nodes and edges determines the model's fidelity to real-world transmission pathways.
Node Representation
Nodes can represent individuals, geographic regions, or aggregated population groups. For individual-level modeling, each node vi corresponds to a person with attributes:
When modeling larger populations, nodes may represent cities or administrative districts, with attributes like population density and transportation hubs. The granularity depends on data availability and computational constraints.
Edge Construction
Edges encode transmission pathways. For contact-based models, edges exist between individuals who interact:
Edge weights can incorporate:
- Contact duration: Longer exposure increases transmission risk
- Interaction type: Physical vs. casual contact
- Environmental factors: Indoor vs. outdoor settings
Spatial Graphs
For regional models, edges connect adjacent areas based on:
Where Tij is daily commuter flow, Ni is origin population, dij is distance, and α is distance decay parameter (typically 1-2).
Temporal Dynamics
Time-varying graphs capture evolving contact patterns. The adjacency matrix becomes:
Where aij(t) represents time-dependent interactions, such as:
- Commuter flows peaking at rush hours
- Seasonal migration patterns
- Event-driven gatherings
Multi-layer Extensions
Complex transmission routes require multi-layer graphs with:
- Physical contact layer: Face-to-face interactions
- Mobility layer: Transportation networks
- Environmental layer: Shared spaces or resources
Inter-layer edges connect corresponding nodes across different interaction types, enabling comprehensive transmission modeling.

3.3 Implementing the Model: Algorithms and Tools
Graph-Based Disease Spread Models
Disease spread forecasting relies on modeling interactions between individuals or populations as a graph G = (V, E), where nodes V represent individuals or regions, and edges E capture transmission pathways. The dynamics are governed by compartmental models (e.g., SIR, SEIR) integrated with graph diffusion processes. The infection probability of node i at time t follows:
where β is the transmission rate, Aij is the adjacency matrix, and 𝒩(i) denotes neighbors of i. For temporal graphs, this extends to dynamic adjacency matrices Aij(t).
Key Algorithms
1. Message Passing Networks (MPNNs): Graph Neural Networks (GNNs) propagate infection states via message functions M and update functions U:
2. Monte Carlo Graph Simulations: Stochastic simulations sample possible transmission paths using Gillespie algorithms or temporal network models.
Implementation Tools
Python Libraries:
- NetworkX: Constructs static/dynamic graphs and implements diffusion models.
- PyTorch Geometric: Optimized GNN training with built-in MPNN layers.
- EpiModel: Specialized for compartmental model integration.
High-Performance Computing: For large-scale graphs, distributed frameworks like DGL (Deep Graph Library) or GraphX (Apache Spark) parallelize message passing.
Case Study: COVID-19 Mobility Networks
Using anonymized mobile location data, a weighted graph was constructed where edge weights represented daily population flow between counties. The model combined:
- Graph Attention Networks to learn transmission weights.
- Meta-Population SIR for regional compartments.
import torch_geometric
from torch_geometric.nn import GATConv
class EpidemicGNN(torch.nn.Module):
def __init__(self, node_features):
super().__init__()
self.gat1 = GATConv(node_features, 32, heads=3)
self.gat2 = GATConv(32*3, 1) # Output: infection probability
def forward(self, x, edge_index):
x = self.gat1(x, edge_index).relu()
return self.gat2(x, edge_index).sigmoid()

3.4 Validation and Performance Metrics
Validating graph-based disease spread models requires specialized metrics that account for both temporal dynamics and network topology. Traditional time-series forecasting metrics like RMSE or MAE fail to capture structural dependencies in networked systems. Instead, we evaluate performance using a combination of node-level, edge-level, and graph-level measures.
Node-Level Metrics
For individual node infection status prediction, we use:
- Precision-Recall AUC: More informative than ROC for imbalanced classes (common in early-stage outbreaks)
- Node-wise Temporal Correlation: Measures alignment between predicted and actual infection timing
where yvt and ŷvt are actual and predicted infection statuses for node v at time t.
Edge-Level Transmission Accuracy
Evaluating transmission pathways requires:
- Edge Precision@k: Proportion of top-k predicted edges that match actual transmissions
- Transmission Delay Error: Mean absolute error in predicted transmission times
where Δtuv is the actual transmission delay between nodes u and v.
Graph-Level Measures
For overall epidemic progression:
- Epidemic Curve Correlation: Pearson correlation between predicted and actual daily case counts
- Peak Time Error: Absolute difference in predicted vs actual peak timing
- Final Size Error: Relative error in total infected population
Temporal Validation Protocol
Use a rolling-window approach with:
- Training on [t0, tk]
- Validation on [tk+1, tk+w]
- Testing on held-out [tk+w+1, tn]
where w is the forecasting window size (typically 7-14 days for disease modeling).
Benchmarking Against Null Models
Compare performance against:
- Random Transmission Model: Uniform probability across edges
- Degree-Based Model: Transmission probability ∝ node degree
- SI/SIR Baseline: Traditional compartmental model without network structure
The normalized improvement score quantifies added value from graph structure:
where M is any node/edge/graph-level metric.

4. COVID-19 Spread Forecasting
4.1 COVID-19 Spread Forecasting
Graph-based epidemiological models have proven particularly effective for COVID-19 forecasting due to their ability to capture heterogeneous contact patterns and spatial dynamics. The Susceptible-Exposed-Infected-Recovered (SEIR) model, when implemented on a graph structure, allows for fine-grained modeling of transmission pathways.
Graph-Based SEIR Model
The standard SEIR model consists of four compartments, but its graph-based extension introduces node-specific states and edge-based transmission probabilities. For a graph G = (V, E) with n nodes representing geographical regions or population centers:
Where A is the adjacency matrix encoding mobility patterns between nodes, βi is the node-specific transmission rate, and σ, γ are progression and recovery rates respectively.
Mobility Network Integration
Real-world implementations often use mobile device location data to construct the adjacency matrix. The weighted edge Aij can be derived from origin-destination matrices:
Where Tij represents daily trips from region i to j, dij is the distance between regions, and α is a distance decay parameter typically between 0.5-2.0.
Temporal Graph Neural Networks
Recent advances employ Temporal Graph Neural Networks (TGNNs) to capture evolving transmission patterns. The message passing framework updates node embeddings as:
Where eij(t) represents time-varying edge features (e.g., mobility restrictions, testing rates). The GNN's output layer predicts future case counts through a Poisson likelihood:
Evaluation Metrics
Model performance is typically assessed using:
- Mean Absolute Scaled Error (MASE) for point forecasts
- Weighted Interval Score (WIS) for probabilistic forecasts
- Kullback-Leibler divergence between predicted and actual case distributions
State-of-the-art implementations achieve 14-day ahead forecasting errors (MASE) of 0.63-0.78 when incorporating mobility data and government intervention features.

4.2 Influenza Outbreak Predictions
Influenza forecasting using graph models leverages the spatial and temporal dynamics of disease transmission, where nodes represent geographical regions or population centers, and edges capture mobility patterns or contact rates. The Susceptible-Infected-Recovered (SIR) model is often extended to graph-structured populations, where the infection dynamics at each node are coupled through edge-based transmission terms.
Graph-Based SIR Model
The standard SIR model is modified for a network of N nodes as follows:
Here, Si, Ii, and Ri represent the susceptible, infected, and recovered populations at node i, respectively. The parameter βi is the local transmission rate, γij quantifies the inter-node transmission strength (derived from mobility data or contact networks), and μi is the recovery rate.
Incorporating Mobility Data
Edge weights γij are often parameterized using origin-destination matrices from transportation networks or mobile phone data. For example, the gravity model estimates mobility fluxes as:
where Pi, Pj are population sizes, dij is the distance between nodes, and k, α, β, θ are fitted parameters. Real-world implementations often use Markov chain approaches to model transient population flows.
Temporal Graph Neural Networks
Modern approaches employ temporal graph neural networks (TGNNs) to capture non-linear transmission dynamics. A TGNN layer updates node embeddings hi(t) as:
where Ws and Wt are trainable weights, σ is a non-linearity, and 𝒩(i) denotes neighbors of node i. The model is trained on historical influenza-like illness (ILI) data from sources like CDC or WHO surveillance systems.
Case Study: US Influenza Forecasting
The CDC FluSight challenge demonstrated that graph-based models outperformed traditional time-series methods by 12-18% in accuracy. Key innovations included:
- Hierarchical graph structures encoding state-county relationships
- Attention mechanisms to weight edges dynamically during peak transmission periods
- Integration of web search trends as auxiliary node features
Validation is typically performed using probabilistic scoring rules like the logarithmic score:
where yt is the observed incidence and p(yt | ŷt) is the forecasted probability density.

4.3 Emerging Disease Scenarios
Emerging diseases present unique challenges for forecasting due to limited historical data, uncertain transmission dynamics, and rapidly evolving pathogen characteristics. Graph-based models excel in these scenarios by leveraging spatial, temporal, and network-structured data to infer transmission pathways even when epidemiological parameters are poorly understood.
Dynamic Graph Representation for Novel Pathogens
For emerging diseases, the graph structure G = (V, E) evolves dynamically as new cases appear. Each node v ∈ V represents an infected individual or location, while edges e ∈ E capture probabilistic transmission links. The time-dependent adjacency matrix A(t) incorporates:
where pij(t) estimates the probability of transmission based on mobility patterns, contact rates, and environmental factors.
Parameter Estimation Under Uncertainty
When traditional compartmental models fail due to unknown parameters, graph neural networks (GNNs) can learn transmission dynamics directly from partial observations. A graph attention network (GAT) layer computes edge weights as:
where W and a are learnable parameters, and hi represents node features incorporating demographic, clinical, and spatial data.
Case Study: Early COVID-19 Spread Modeling
During the initial COVID-19 outbreak, researchers used airline transportation graphs weighted by passenger volume to predict global spread patterns. The effective distance metric:
where Pij represents passenger flow between cities, outperformed geographical distance in predicting early case distribution timelines.
Adaptive Graph Construction
For rapidly evolving outbreaks, adaptive graph construction techniques update the network topology in real-time:
- Edge pruning: Remove connections below transmission probability thresholds
- Community detection: Identify superspreader clusters using Louvain modularity
- Temporal graph networks: Process time-stamped edge additions via recurrent architectures
This approach proved critical during the 2014 Ebola epidemic, where dynamic contact tracing graphs reduced forecast errors by 38% compared to static models.
Multi-Scale Graph Fusion
Integrating graphs at different resolutions improves forecasts for emerging diseases:
where loss terms balance contributions from individual contact networks, transportation graphs, and worldwide mobility patterns. The weights λ adapt based on data availability and outbreak phase.

5. Data Privacy and Security
5.1 Data Privacy and Security
Disease spread forecasting models rely on sensitive health data, including individual medical records, contact tracing networks, and geospatial mobility patterns. Ensuring robust privacy and security mechanisms is critical to prevent misuse, re-identification attacks, or unintended disclosure of personally identifiable information (PII). Graph-based models introduce unique challenges due to their inherent relational structure, where edge connections can inadvertently reveal identities even when node attributes are anonymized.
Differential Privacy in Graph-Structured Data
Traditional differential privacy (DP) mechanisms, designed for tabular data, must be adapted for graph-structured datasets. A graph G = (V, E) satisfies (ε, δ)-edge differential privacy if, for any two graphs G and G' differing by at most one edge, the probability distribution of outputs satisfies:
Where ε controls privacy loss and δ bounds the probability of failure. For disease spread models, this translates to adding calibrated noise to edge weights or adjacency matrices. The sensitivity Δf of a graph statistic (e.g., degree distribution) determines the noise scale:
Secure Multi-Party Computation (SMPC) for Federated Learning
When data is distributed across hospitals or jurisdictions, SMPC enables collaborative model training without raw data exchange. Using secret sharing, entities compute gradients over encrypted partial inputs. For a linear regression objective J(θ), the secure aggregation protocol computes:
Where each term XiTXi is masked with additive homomorphic encryption. Paillier cryptosystem is commonly used, where the ciphertext of a sum E(x + y) equals the modular product of individual ciphertexts E(x) · E(y) mod n2.
Graph Anonymization Techniques
k-Anonymity for graphs ensures that any node is indistinguishable from at least k-1 others. Techniques include:
- Edge Perturbation: Randomly add/remove edges with probability p, preserving degree distribution.
- k-Degree Anonymity: Modify degrees via edge swaps until all nodes share degrees with ≥ k peers.
- Graph Isomorphism: Apply structure-preserving transformations (e.g., Frucht’s theorem for regular graphs).
For temporal contact networks, sequential anonymization must account for temporal correlation attacks. A spatiotemporal blurring kernel with bandwidth h smooths node trajectories:
Regulatory Compliance and Threat Models
Health data handling must comply with GDPR Article 9, HIPAA Safe Harbor, and other frameworks. Adversarial threat models include:
- Membership Inference: Determine if an individual’s data was in the training set via shadow models.
- Linkage Attacks: Re-identify nodes by joining anonymized graphs with external knowledge (e.g., unique degree sequences).
- Model Inversion: Reconstruct input features from model outputs (e.g., GAN-based attacks on graph embeddings).
Defensive measures include:
- Regular auditing of privacy budgets in DP implementations.
- Adversarial training with projected gradient descent (PGD) attacks.
- Graph condensation techniques to generate synthetic proxies with equivalent epidemiological properties.
5.2 Model Biases and Fairness
Graph-based disease spread models, while powerful, are susceptible to biases that can propagate unfair outcomes. These biases often stem from structural inequalities in the underlying data, algorithmic design choices, or the interpretation of model outputs. Understanding and mitigating these biases is critical for ensuring equitable public health interventions.
Sources of Bias in Graph-Based Disease Models
Bias can emerge at multiple stages of the modeling pipeline:
- Data Collection Bias: Surveillance systems often underrepresent marginalized communities due to limited testing access or healthcare disparities. This results in incomplete or skewed contact networks.
- Topological Bias: Graph construction methods may oversimplify heterogeneous contact patterns, ignoring socioeconomic factors that drive transmission disparities.
- Algorithmic Bias: Centrality metrics like PageRank can amplify existing inequalities by disproportionately focusing on well-connected nodes (e.g., urban hubs) while neglecting sparse rural networks.
where 𝒞observed represents the sampled contact network and 𝒞actual the true underlying network.
Quantifying Fairness in Predictions
Fairness metrics for disease models extend beyond demographic parity to include:
- Outcome Equity: Difference in prediction error rates across subgroups (e.g., ZIP codes with varying income levels).
- Resource Allocation Fairness: Discrepancy between predicted risk and actual intervention distribution.
The Gini coefficient adapted for epidemiological fairness:
where ŷi is the predicted risk for subpopulation i and N the number of subgroups.
Mitigation Strategies
Recent advances in fair graph learning provide several mitigation approaches:
- Reweighting Edges: Adjust adjacency matrices using census data to compensate for undersampled populations.
- Fair Graph Embeddings: Modify GNN architectures with fairness constraints during node representation learning.
- Causal Intervention: Apply do-calculus to disentangle socioeconomic confounders from biological transmission factors.
A constrained optimization formulation for fair GNNs:
where Disp(·) measures outcome disparity across protected attributes.
Case Study: COVID-19 Vaccine Distribution
An analysis of 2021 US vaccine allocation revealed that graph models prioritizing "superspreader" nodes led to 23% fewer doses reaching high-risk rural communities compared to fairness-aware alternatives. Hybrid models incorporating both network centrality and socioeconomic vulnerability indices achieved better equity without compromising predictive accuracy.

5.3 Limitations of Graph-Based Approaches
Graph-based models, while powerful for disease spread forecasting, exhibit several critical limitations that impact their accuracy, scalability, and real-world applicability. These constraints arise from structural assumptions, computational complexity, and data requirements.
Structural Simplifications and Homogeneity Assumptions
Most graph models assume homogeneous mixing within nodes or edges, ignoring heterogeneous contact patterns in real populations. For instance, the widely used Susceptible-Infected-Recovered (SIR) model on graphs employs a uniform transmission rate β across all edges:
where Ii, Si represent infected and susceptible populations at node i, and 𝒩(i) denotes neighboring nodes. This fails to capture:
- Demographic variability (age-dependent transmission rates)
- Spatiotemporal dynamics (time-varying mobility patterns)
- Superspreader events (heavy-tailed degree distributions)
Computational Scalability
Exact inference on large-scale contact networks becomes intractable due to:
complexity for Gaussian process-based approaches on a graph with N nodes and E edges. Approximate methods like graph neural networks (GNNs) introduce trade-offs:
- Message passing oversmoothing: Limits the effective receptive field after ~5 layers
- Edge sampling bias: Random walk-based methods may miss critical transmission paths
Data Requirements and Observational Biases
Constructing accurate contact networks requires granular data sources (GPS, WiFi proximity) that often suffer from:
- Underreporting: Only 30-40% of contacts are typically captured in Bluetooth-based contact tracing
- Temporal sparsity: Mobile device data has sampling rates <0.1Hz, missing brief but critical contacts
- Network censoring: Cross-border mobility data is frequently incomplete or delayed
Dynamic Network Adaptation
Most models treat the contact network as static, despite empirical evidence that:
for human contact networks (based on sociometric badge measurements). Adaptive graph learning methods remain computationally prohibitive for real-time forecasting at scale.
Validation Challenges
Ground truth validation is complicated by:
- Counterfactual impossibility: Cannot observe disease spread under identical conditions with/without interventions
- Reporting delays: Case confirmation lags exceed 7 days in 60% of jurisdictions
- Multi-scale dynamics: Local transmission (household) vs. global spread (air travel) require different graph resolutions
6. Key Research Papers
6.1 Key Research Papers
- Disease Prediction Using Graph Machine Learning Based on Electronic ... — Our research dataset contained studies from 2015 to 2022, which implemented graph ML models for disease prediction using electronic health data. There has been a steady increase in the number of studies published on disease prediction using GNN-based models. The potential for using GNNs in disease prediction has been proven.
- arXiv:2308.15840v1 [cs.LG] 30 Aug 2023 — Infectious disease forecasting has been a key focus and proved to be crucial in controlling epidemic. A recent trend is to develop forecast-ing models based on graph neural networks (GNNs). However, existing GNN-based methods suffer from two key limitations: (1) Current models broaden receptive fields by scaling the depth of GNNs, which is insuffi-
- Disease Prediction Using Graph Machine Learning Based on Electronic ... — Graph machine-learning (ML) methods have recently attracted great attention and have made significant progress in graph applications. To date, most graph ML approaches have been evaluated on social networks, but they have not been comprehensively reviewed in the health informatics domain. Herein, a review of graph ML methods and their applications in the disease prediction domain based on ...
- Modeling, estimation, and analysis of epidemics over networks: An ... — Mathematical models of epidemics and related spread processes have been analyzed and studied for over 200 years, with one of the earliest treatises presented by Bernoulli (1760).The base models for most studies today derive from the so-called compartment models proposed by Kermack and McKendrick (1932).These models assume that every subject lies in some segment or compartment of the population ...
- CausalGNN: Causal-Based Graph Neural Networks for Spatio-Temporal ... — poral epidemic forecasting models (Wu et al. 2018; Deng et al. 2020) whose parameter size increases with graph node size failed to forecast over a large number of regions. Reducing the complexity of such models is crucial for ac-curate forecasting. • Prior works in physics and biology (Karpatne et al. 2017) have shown the evidence that ...
- A Review of Multi‐Compartment Infectious Disease Models — Such ODEs for disease spread may be regarded as a model for the expected dynamic mechanism, serving as a systematic component in a statistical model. Numerical methods such as the Euler discretisation method or the Runge-Kutta approximation method (Stoer & Bulirsch, 2013 ; Butcher, 2016 ) can be used to obtain approximate solutions of such ...
- Frontiers | Forecasting infections with spatio-temporal graph neural ... — 3 Methodology. In this section, we present the methods used for developing the COVID-19 dataset and predicting the course of the disease. More specifically, Section 3.1 presents the constructed graph, Section 3.2 reviews the proposed model architecture, Section 3.3 clarifies how we optimize this model, and Section 3.4 describes how the optimized model is used for making predictions.
- Dynamics of epidemic spreading on connected graphs — We propose a new model that describes the dynamics of epidemic spreading on connected graphs. Our model consists in a PDE-ODE system where at each vertex of the graph we have a standard SIR model and connections between vertices are given by heat equations on the edges supplemented with Robin like boundary conditions at the vertices modeling exchanges between incident edges and the associated ...
- (PDF) Using machine learning to predict disease ... - ResearchGate — Supervised learning models, for instance, have been successfully applied to forecast influenza trends, while unsupervised clustering techniques have been employed to detect anomalies indicative of ...
- The roles of machine learning methods in limiting the spread of deadly ... — In responding to the infectious disease outbreaks, making a very quick informed decision is very critical in order to reduce the damages caused by the impact of the disease outbreaks after a disease event is identified [3], [8].Machine learning methods can also learn integrated multi-sources data related to travel schedule, population, logistics and epidemiology data in order to predict the ...
6.2 Recommended Books and Articles
- Computational epidemiology : from disease transmission modeling to ... — Stanford Libraries' official online search tool for books, media ... Perception 1.5 Summary 2 Computational Modeling in a Nutshell2.1 Modeling Infectious Disease Dynamics 2.1.1 Infectious Disease Models 2.1.2 Age-Specific Disease Transmissions2.2 Modeling Contact Relationships 2.2.1 Empirical Methods 2.2.2 Computational Methods2.3 Case Study 2. ...
- Disease Prediction Using Graph Machine Learning Based on Electronic ... — Our research dataset contained studies from 2015 to 2022, which implemented graph ML models for disease prediction using electronic health data. There has been a steady increase in the number of studies published on disease prediction using GNN-based models. The potential for using GNNs in disease prediction has been proven.
- Disease Prediction Using Graph Machine Learning Based on Electronic ... — Our research dataset contained studies from 2015 to 2022, which implemented graph ML models for disease prediction using electronic health data. There has been a steady increase in the number of studies published on disease prediction using GNN-based models. The potential for using GNNs in disease prediction has been proven.
- Preparing with predictions: forecasting epidemics with artificial ... — Perhaps the most obvious example of using predictions in managing a pandemic from a public health perspective is predicting what the overall rate of infection and disease will be in different areas at different points in time. These models use prior case data and models of virus spread to project where and when new cases will occur.
- Modeling the Spread of Infectious Diseases: A Review - ResearchGate — These models have been used to assess and visualize the dynamics of disease spread, and to model a broad spectrum of diseases. The advantages and limitations of these models, as well as the issues ...
- arXiv:2308.15840v1 [cs.LG] 30 Aug 2023 — Modeling, Graph Structure Learning, Spatio-temporal Forecasting. 1 Introduction The infectious diseases pose a serious hazard to global public health. For decades, epidemic modelers have been struggling in forecasting the spread of emerging infectious diseases, such as the Zika virus, the Ebola virus, and most recently, the COVID-19 virus.
- Modeling and Predicting Human Infectious Diseases — Historically, the first quantitative attempt to understand and prevent infectious diseases dates back to 1760 when Bernoulli studied the effectiveness of inoculation against Smallpox [].Since then, and despite some initial lulls [], an intense research activity has developed a rigorous formulation of pathogens' spreading.In this chapter, we present different approaches to model and predict ...
- (PDF) Using machine learning to predict disease ... - ResearchGate — COVID-19 pan demic, ML models played a critical role in tracking disease spread, forecasting healthcare demand, and evaluating the effec tiveness of interventions. For example, models predicting ...
- Graph-based Fusion Modeling and Explanation for Disease Trajectory ... — Evaluation of the proposed modeling framework is focused on two aspects; 1) performance of the fusion graph-based model in comparison to traditional modeling using single modality (either imaging data or non-imaging data), 2) comparative effectiveness of different EMR data sources in terms of graph structure definition to identify optimal ...
- Predicting COVID-19 positivity and hospitalization with multi-scale ... — Specifically, we train the models using data from day 1 to day T, and then use the model to predict the number of cases (or hospitalized patients) for each one of the next \(\tau \) days.
6.3 Open Datasets and Tools
- Disease Prediction Using Graph Machine Learning Based on Electronic ... — Our research dataset contained studies from 2015 to 2022, which implemented graph ML models for disease prediction using electronic health data. There has been a steady increase in the number of studies published on disease prediction using GNN-based models. The potential for using GNNs in disease prediction has been proven.
- Disease Prediction Using Graph Machine Learning Based on Electronic ... — The dataset, graph design, and feature selections are the most challenging aspects of establishing prediction models. Compared to electronic health data, questionnaire-based data may be less robust. Our research dataset contained studies from 2015 to 2022, which implemented graph ML models for disease prediction using electronic health data.
- EpiK: A Knowledge Base for Epidemiological Modeling and Analytics of ... — Introduction. Epidemiology is the study of the distribution and determinants of health-related states or events (including disease), and the application of this study to the control of diseases and other health problems [1-6].Computational and digital epidemiology aims to develop computational models, analytics, and decision support tool to support epidemic science [2, 7].
- Sustainable and intelligent time-series models for epidemic disease ... — As the best-fit model would have the least error, which supports the forecasting of these diseases and we would obtain more accurate future predictions using it. Depending on the available dataset, we set future time periods for COVID-19, Monkeypox, and HIV, as 45 days, 30 days, and five years, respectively ( Kane et al., 2014 ).
- (PDF) Using machine learning to predict disease ... - ResearchGate — COVID-19 pan demic, ML models played a critical role in tracking disease spread, forecasting healthcare demand, and evaluating the effec tiveness of interventions. For example, models predicting ...
- CausalGNN: Causal-Based Graph Neural Networks for Spatio-Temporal ... — ters and features corresponding to the disease models, such as S,I,R counts and disease specic parameters, which can provide context specic information for model learning. ral and causal embeddings using graph-based non-linear transformations. We present a jointly learning process for incorporating epidemiological context in GNN learning.
- Statistical Modeling for the Prediction of Infectious Disease ... — In our opinion, since the infectious disease spreads over time so there must be only one continuous graph or the distribution which should be followed by the complete data like the S-shaped curves introduced by Malthus and not in different stages like Datta et al. has proposed.As the behavior of the curve is changing in different stages and different distributions are best fitted for different ...
- ClinicalKey — Interactive tools to support clinical decisions. Guidelines Latest clinical guidelines from leading organizations ... Discusses the spread of highly pathogenic (H5N1) and the associated potential risks and implications for public health. ... AI training, and similar technologies. For all open access content, the relevant licensing terms apply ...
- MedDiffusion: Boosting Health Risk Prediction via Diffusion-based Data ... — forecast the potential health risks that patients may face in the future using their historical Electronic Health Records (EHR). Researchers have developed several risk prediction models to handle the unique challenges of EHR data, such as its sequential nature, high dimensionality, and inher-ent noise. These models have yielded impressive results.
- An open-source framework for end-to-end analysis of electronic ... - Nature — With progressive digitalization of healthcare systems worldwide, large-scale collection of electronic health records (EHRs) has become commonplace. However, an extensible framework for ...








