Manuscript Offprint

arXiv:2610.19058

Conformalized Physics-Informed Weak Regression for Parameter Estimation in Epidemic Models

Allan Peter Engsig-Karup

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Compartment models of infectious diseases are often linear in a vector of coefficients, each of which is a physical parameter or a product or ratio of parameters. We exploit this by using closed-form least squares, and equip the estimates with distribution-free uncertainty. Physics-informed regression (PIR) fits the parameters to finite-difference estimates of the time derivatives. We introduce a new physics-informed weak regression (PIWR) method, which integrates the model in time instead, contains no derivatives of the data, estimates the initial state jointly, and is high-order accurate with cubic-spline quadrature. To quantify uncertainty we wrap both estimators in split conformal prediction. The calibration population is generated by the physics-based model itself: epidemics with known parameters are simulated, perturbed with the data's noise model and processed by the same fixed estimator. This yields intervals for all parameters of a model at once with a finite-sample coverage guarantee. A residual-adaptive factor, computed without ground truth, scales the uncertainty intervals of each data set. With PIWR we call the new conformalized approach PIWR-RACC. On all eleven benchmark models of disease-informed neural networks (DINNs), from a four-state SIDR model of COVID-19 to a nine-state host-vector model of Zika, PIWR is the most accurate estimator in 15 of 22 model/noise settings. Where the sampling resolves the dynamics, PIWR or sixth-order finite-difference-based PIR-FD6 is one to four orders of magnitude more accurate than the reported DINN results, and each fit takes about a millisecond, against minutes to hours of training of DINN to perform the same parameter estimation. The simultaneous 90% intervals achieve 87–92% empirical coverage in all 88 tested settings. They are narrow where the estimates are accurate and become wide exactly where the data do not resolve the dynamics. On the seven-compartment S3I3R model of the original PIR study, PIWR lowers the reported PIR errors by about three and the DINN errors by about five orders of magnitude. On real data from the 1978 boarding-school influenza outbreak, a variable-projection variant of PIWR gives calibrated 95% intervals that overlap the credible intervals of a Bayesian analysis. On a time-varying transmission benchmark from a recent PINN study, a B-spline expansion of β(t)\beta(t) keeps PIR and PIWR linear. They are more accurate than the PINNs in three of four cases, mostly by one to two orders of magnitude, and at least comparable in the noisiest one, in milliseconds instead of tens of minutes, and the conformal layer gives simultaneous bands for β(t)\beta(t). For all benchmarks the complete conformal calibration that provides the uncertainty intervals takes less than two minutes.

Keywords Parameter estimation · Physics-informed regression · Physics-Informed weak Regression · Epidemic models · Conformal prediction · Uncertainty quantification

1 Introduction

Compartment models are the standard language of mathematical epidemiology. They are systems of ordinary differential equations (ODEs) whose coefficients for transmission, recovery, death and transition rates are the quantities of interest. They determine reproduction numbers, peak sizes and the effect of interventions. Estimating them from time series is an inverse problem, and over the last years physics-informed neural networks (PINNs) (Raissi et al., 2019; Karniadakis et al., 2021; Cuomo et al., 2022) have become a popular tool for it. An example is the family of disease-informed neural networks (DINNs) of Shaier et al. (2022), which identifies the parameters of eleven compartment models, from a three-state SIDR model of COVID-19 to a nine-state host-vector model of Zika, by training a network for each disease. It is reported at the time that training takes from 20 minutes to 91 hours per disease, the search range of every parameter must be prescribed (typically ±1−10%\pm 1-10\% around the literature value), and the estimates come without any statement of their uncertainty which limits how much trust we can put into such estimates.

Almost all compartment models share a structure where their right-hand side is linear in a vector of coefficients, each of which is a physical parameter or a product of parameters (for example β0β1\beta_0\beta_1 in a seasonally forced transmission rate β0(1+β1cos⁡2πt)\beta_0(1+\beta_1\cos2\pi t)). The coefficients then follow from a linear least-squares problem, and the physical parameters from an explicit map back. For such models, Nielsen et al. (2025) proposed physics-informed regression (PIR) based on estimating the time derivatives of the states from the data, evaluate the model library at the data, and solve one ordinary least-squares problem. PIR has the same physics-informed ingredient as a PINN, namely, the residual of the governing equations, however, replaces training by a closed-form solve resulting in low computational cost and as a result achieve dramatic improvement over methods such as DINN derived from PINN for the problems considered. The accuracy of PIR is limited by the derivative estimate, which is the weak point whenever the data are coarse in time or noisy.

A point estimate of the parameters obtained through regression analysis is, however, only half of the answer. The estimated coefficients are affected by measurement noise associate with data collection, which a derivative estimate amplifies, e.g. by the truncation error of the finite differences or of the quadrature, by an errors-in-variables bias, since the library is evaluated at noisy states, by practical non-identifiability when the sampling does not resolve the dynamics, and by the inevitable mismatch between a compartment model and a real epidemic. The map ω=h(θ)\omega = h(\theta) can amplify these errors further, for example through ratios of coefficients. Since quantities such as the reproduction number are used to decide on interventions, every estimate needs an honest statement of its uncertainty. Conventional approaches are well established. Nonlinear least squares provides an asymptotic covariance from the linearized model and an assumed noise model (Bates and Watts, 1988); profile likelihoods give confidence intervals and expose non-identifiable parameters (Raue et al., 2009); parametric bootstrapping repeats the fit on resampled data (Efron, 1979; Chowell, 2017); Bayesian inference by Markov chain Monte Carlo (Carpenter et al., 2017; Grinsztajn et al., 2021) or approximate Bayesian computation (Toni et al., 2009) yields posterior distributions, also for physics-informed neural networks (Yang et al., 2021); model discrepancy can be represented explicitly (Kennedy and O'Hagan, 2001), and polynomial chaos expansions propagate parameter uncertainty through epidemic models at a fraction of the cost of Monte Carlo sampling and quantify the sensitivity of the predictions to each parameter (Jensen et al., 2022). These methods require repeated forward solves or likelihood evaluations, and their intervals are valid only asymptotically or conditionally on the assumed prior and noise model.

We propose to consider the perspective that physics-informed regression offers a different route. The least-squares covariance of PIR and PIWR is available at no cost, but it treats the residual as white noise and ignores the truncation bias and the correlation of the residuals, so it is not a trustworthy uncertainty on its own. Split conformal prediction (Vovk et al., 2005; Shafer and Vovk, 2008; Lei et al., 2018; Angelopoulos and Bates, 2023) turns such a heuristic uncertainty into intervals with a finite-sample, distribution-free coverage guarantee, provided that calibration examples with known truth are available. A physics-based model can supply them, because the model can be simulated numerically and the regression methods considered in this study costs about a millisecond. Hence, thousands of synthetic epidemics with known parameters can be passed through exactly the same estimator as the data. All error sources that the simulation contains, including noise, discretization and quadrature errors, the errors-in-variables bias and weak identifiability, are then calibrated jointly, without linearization and without a prior. The resulting guarantee is marginal over the calibration population rather than conditional on the observed data, and it does not cover model errors that the simulations do not contain. Conformalized physics-informed regression therefore complements rather than replaces likelihood-based and Bayesian analyses, and the two can be used together for validation, as we do for real data in section 5.6.

References (26)