Abstract
In this work, we present an approach called Disease Informed Neural Networks (DINNs) that can be employed to effectively predict the spread of infectious diseases. This approach builds on successful physics informed neural network approaches that have been applied to a variety of applications that can be modeled by linear and non-linear ordinary and partial differential equations. Specifically, we build on the application of PINNs to SIR compartmental models and expand it to a scaffolded family of mathematical models describing various infectious diseases. We show how the neural networks are capable of learning how diseases spread, forecasting their progression, and finding their unique parameters (e.g. death rate). To demonstrate the robustness and efficacy of DINNs, we apply the approach to eleven highly infectious diseases that have been modeled in increasing levels of complexity. Our computational experiments suggest that DINNs is a reliable candidate for effectively learning about the dynamics of spread and forecasting its progression into the future from available real-world data.
Introduction: The Challenge of Epidemiological Modeling
Predicting the trajectory of infectious diseases is a cornerstone of public health response. Traditionally, this task relies on compartmental models such as the SIR (Susceptible-Infectious-Removed) model. These models utilize systems of ordinary differential equations (ODEs) to describe how a population moves between different states over time.
The real-world utility of these models hinges on accurately estimating key parameters, such as the transmission rate ($\beta$) and recovery rate ($\alpha$). However, traditional optimization methods—like least-squares or Nelder-Mead—often struggle with "inverse problems," where one must work backward from observed data to find underlying parameters. These methods are notoriously sensitive to initial guesses and often fail to converge when faced with noisy, sparse, or incomplete epidemiological data.
Methodology: Disease Informed Neural Networks (DINNs)
To overcome these hurdles, we introduce DINNs, a specialized application of Physics-Informed Neural Networks (PINNs). While standard neural networks are often viewed as "black boxes" that map inputs to outputs based solely on data, DINNs function as "gray boxes" by embedding biological theory directly into the network's architecture.
DINNs utilize a fully connected neural network to approximate sub-populations (S, I, R) over time, constrained by a dual-part loss function:
- Data Loss: Measures the network's fit to observed data points.
- Disease (ODE) Loss: Measures how well the network’s predictions satisfy the underlying epidemiological equations.
By employing Automatic Differentiation, the network calculates the derivatives of population classes with respect to time. If the network's predicted dynamics do not align with the SIR equations, the ODE loss increases, forcing the model to learn a solution that is both consistent with the data and mathematically sound according to biological theory.
Experimental Evaluation
The robustness of DINNs was evaluated across two primary data types:
- Synthetic Data: Ground truth datasets were generated for 11 infectious diseases, ranging from simple 3-equation models to complex 9-equation systems (e.g., Zika). This allowed for testing against controlled levels of Gaussian noise (up to 20%).
- Real-World Data: The model was applied to 310 days of cumulative US COVID-19 data (April 2020 to February 2021) sourced from the Johns Hopkins University dashboard.
Key Insights and Results
- Robustness to Initial Guesses: Unlike traditional solvers, DINNs converged to correct parameters even when initial search ranges were expanded by 100,000%. This is critical for emerging diseases where prior knowledge is limited.
- Handling Hidden Variables: DINNs can accurately predict compartments for which no data exists, provided they are mathematically coupled to observed variables. For instance, the model inferred latent populations in Tuberculosis models using only "Infected" data.
- Forecasting and Parameter Discovery: For COVID-19, DINNs successfully identified transmission and recovery rates and accurately predicted the progression of all compartments (S, I, D, R) for 30 days following a 280-day training period.
- Performance vs. Tradition: In head-to-head comparisons, DINNs significantly outperformed Gauss-Newton and Nelder-Mead methods on minimal and noisy datasets, where traditional methods often failed to converge entirely.
Conclusion
While DINNs offer a powerful tool for disease forecasting and parameter estimation, they are computationally more intensive than dedicated numerical solvers. Future work will focus on incorporating spatial dependencies, modeling non-pharmaceutical interventions, and establishing theoretical error bounds to further refine this promising intersection of epidemiology and deep learning.
Summary updated