A novel approach to quantify out-of-distribution uncertainty in Neural and Universal Differential Equations

preprint OA: closed
📄 Open PDF Full text JSON View at publisher
Full text 91,026 characters · extracted from preprint-html · click to expand
A novel approach to quantify out-of-distribution uncertainty in Neural and Universal Differential Equations | bioRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-M677548'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search New Results A novel approach to quantify out-of-distribution uncertainty in Neural and Universal Differential Equations View ORCID Profile Stefano Giampiccolo , View ORCID Profile Giovanni Iacca , View ORCID Profile Luca Marchetti doi: https://doi.org/10.1101/2025.10.01.679743 Stefano Giampiccolo 1 Fondazione The Microsoft Research-University of Trento Centre for Computational and Systems Biology (COSBI) , Rovereto, Trento, Italy 2 Department of Information Engineering and Computer Science (DISI), University of Trento , Povo, Trento, Italy Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Stefano Giampiccolo For correspondence: giampiccolo{at}cosbi.eu Giovanni Iacca 2 Department of Information Engineering and Computer Science (DISI), University of Trento , Povo, Trento, Italy Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Giovanni Iacca Luca Marchetti 1 Fondazione The Microsoft Research-University of Trento Centre for Computational and Systems Biology (COSBI) , Rovereto, Trento, Italy 3 Department of Cellular, Computational and Integrative Biology (CIBIO), University of Trento , Povo, Trento, Italy Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Luca Marchetti Abstract Full Text Info/History Metrics Supplementary material Preview PDF Abstract Dynamical systems play a central role across the quantitative sciences, offering a powerful mathematical framework to describe, analyze, and predict the evolution of complex processes over time. In systems biology, dynamical systems provide a foundation for modeling and predicting the intricate behaviors of biological systems. Recent advances in data-driven approaches, such as Neural Ordinary Differential Equations (NODEs) and Universal Differential Equations (UDEs), have enabled the development of models that are either fully or partially data-driven. Integrating data-driven components into dynamical systems amplifies the challenge of generalization beyond training data, highlighting the need for robust methods to quantify uncertainty in out-of-distribution (OOD) scenarios—i.e., conditions not encountered during training. In this work, we investigate the reliability of uncertainty quantification (UQ) based on ensembles of models in the reconstruction of dynamical systems. We show that standard ensembles (i.e., models trained independently with different random initializations) risk producing overconfident predictions in previously unseen scenarios, as the models in the ensemble tend to exhibit similar behaviors. To address this issue, we propose a novel ensemble construction method for NODEs and UDEs that fosters diversity in the reconstructed vector field across models within specific regions of the state space, while maintaining explicit control over the fit on the training set. We first evaluate our method on numerical test cases derived from three models commonly used as benchmarks for data-driven reconstruction of dynamical systems: the Lotka–Volterra model, the damped oscillator, and the Lorenz system. We then apply the method to a biologically motivated model of cell apoptosis, considering more realistic conditions such as partial observability of the system outputs and noise in the training dataset. Overall, our results show that the proposed method improves the reliability of UQ in previously unseen scenarios compared with standard ensembles, especially where the latter exhibit overconfidence. Introduction The mathematization of scientific disciplines has led to the widespread use of dynamical systems across a broad spectrum of fields, including systems biology. Systems biology focuses on the quantitative analysis of dynamic interactions among the components of a biological system, with the goal of understanding the behavior of the system as a whole [ 1 ]. Within this context, dynamical systems constitute a fundamental mathematical tool, providing a rigorous framework to describe, analyze, and predict the complex behaviors of biological systems over time [ 2 ]. By employing dynamical systems, researchers can investigate the interactions among biological entities, uncovering the mechanisms underlying various processes and predicting scenarios that have not been experimentally observed. Mathematically, dynamical systems are codified by systems of Ordinary Differential Equations (ODEs), which express the rate of change of a vector of variables y ∈ ℝ n with respect to time as a function of y and t : Traditionally, the governing function f is mechanistic [ 3 ], encoding mathematically the theoretical knowledge about the biological system to be modeled. Models synthesized in this way are physically plausible (i.e., they comply with conservation laws and other known governing principles) and are typically interpretable. However, the mechanistic approach requires a detailed understanding of the system to be modeled and often relies on strong assumptions that may not be satisfied in real-world scenarios [ 4 ]. In recent decades, the growing availability of measured data has fostered the development of data-driven approaches to model dynamical systems [ 5 ]. Unlike the traditional mechanistic approach, these methods do not rely on the physical expertise about the system, but try to infer models directly from observational data. Various methodologies have been proposed, including symbolic regression [ 6 ], autoregressive models [ 7 ], recurrent neural networks (NNs) [ 8 – 10 ], and Neural Ordinary Differential Equations (NODEs) [ 11 ]. Among these, NODEs have emerged as particularly promising, as they retain the continuous-time structure of classical differential equations while substituting the explicit form of the governing function f with a NN: where f NN represents an NN and θ NN the vector of NN parameters. Thanks to the universal approximation theorem for NNs [ 12 ], it is theoretically guaranteed that, given sufficient capacity, f NN can approximate any continuous vector field f on a compact subset of ℝ n —corresponding to the state space of the system—to arbitrary accuracy. Moreover, NODEs can be naturally extended to incorporate partial mechanistic knowledge through the framework of Universal Differential Equations (UDEs) [ 13 ]. In this formulation, the vector field can be decomposed as where f M encodes partially known physical laws or domain-specific insights, θ M denotes the (possibly unknown) parameters associated with f M , f NN is a neural network that models the unknown residual dynamics, and θ NN is the corresponding vector of neural network parameters. UDEs and NODEs are increasingly being adopted as modeling frameworks in systems biology, see e.g. [ 14 – 17 ]. Despite the promise shown by NODEs and UDEs, several challenges persist in the data-driven reconstruction of dynamical systems [ 4 ]. A central issue is ensuring that models provide reliable information when applied to novel, previously unseen regimes [ 4 , 18 ]. This issue is not specific to dynamical systems; rather, it reflects a broader limitation in Machine Learning (ML), where model performance often degrades when evaluated on domains that differ from those encountered during training [ 19 ]. Formally, the statistical background of ML relies on the assumption that both training and test data are drawn from the same underlying distribution. When this assumption is violated, the test data are considered out-of-distribution (OOD) [ 20 ], and model predictions typically become significantly less reliable. This represents a major challenge for the applicability of NODEs and UDEs in systems biology, as computational models in this field are often employed to simulate new experiments under previously unseen conditions, predict the outcomes of unobserved biological processes, and generate new testable hypotheses [ 21 ]. In such cases, uncertainty quantification (UQ) plays a pivotal role as it allows us to systematically estimate the confidence in model outputs and identify when predictions should—or should not—be trusted [ 22 ]. UQ refers to the set of techniques used to measure and represent the uncertainty inherent in model predictions, often by modeling the distribution, variance, or confidence intervals of possible outcomes. Broadly, UQ distinguishes between two types of uncertainty: on one side, aleatoric uncertainty, which arises from the intrinsic randomness in the training data; on the other side, epistemic uncertainty, which stems from limited knowledge of the system to be modeled [ 23 ]. The latter cause of uncertainty becomes particularly important when the model is applied in OOD contexts [ 23 ]. As such, UQ methods that reliably quantify the epistemic uncertainty in OOD conditions are increasingly recognized as a key requirement in the data-driven reconstruction of dynamical systems [ 4 ]. Preliminary studies have begun to explore UQ methods for NODEs and UDEs. Dandekar et al . [ 24 ] and Ott et al . [ 25 ] investigate the extension of classical Bayesian techniques [ 26 ] to the NODE and UDE frameworks. Takeishi et al . [ 27 ] propose incorporating regularizers into UQ methods to ensure the identifiability of the mechanistic component in a UDE. Schmid et al . [ 28 ] compare various Bayesian and ensemble-based approaches for UDEs, offering a formalization of UQ based on maximum likelihood theory. However, none of these studies specifically focus on epistemic uncertainty, as the evaluation of the reliability of the quantified epistemic uncertainty is typically based only on isolated instances of new trajectories (with initial points perturbed relative to the training data) or, in the UDE context, by comparing the reconstructed distribution of the mechanistic component parameter values with the ground truth. To the best of our knowledge, no study has comprehensively investigated the reliability of epistemic uncertainty quantified on the reconstructed vector field of the dynamical system in regions different from the ones encountered during the training or from trajectories predicted by the model using initial states different from those encountered during training. In this work, we focus on UQ based on standard ensembles (i.e., models trained independently with different random initializations), originally introduced for ML tasks unrelated to dynamical system modeling [ 29 ]. We have selected this approach because, despite its simplicity, it has been consistently shown to provide more reliable and practically useful epistemic uncertainty estimates compared to alternative techniques in standard regression and classification machine learning settings [ 22 , 30 – 32 ]. Our aim is to investigate the reliability of the epistemic UQ provided by ensemble methods in OOD scenarios in the context of reconstructing dynamical systems using NODEs and UDEs. Consistent with observations in other ML applications [ 33 – 35 ], we find that in OOD dynamical system modeling contexts, often the models of standard ensembles exhibit a similar behavior: this leads to overconfident predictions, with the quantified uncertainty failing to account for the entire epistemic uncertainty in OOD scenarios. To address this challenge, we propose a novel method for constructing ensembles of NODEs and UDEs that fosters diversity in the reconstructed vector field across models in OOD regions of the state space, while maintaining explicit control over the loss function values of the models within the ensemble on the training trajectories. Our method builds on the assumption of mode connectivity , which posits that independently trained NODEs/UDEs can be connected via minimum-loss paths in parameter space. Inspired by gradient descent on Riemann manifolds [ 36 ], we route these paths to identify models that minimize training loss while maximizing OOD disagreement. Notably, mode connectivity has been validated for standard neural networks [ 37 – 39 ], but it has not yet been studied in the context of NODEs or UDEs. Here, we extend a formal proof of this property to the NODE setting under simplified assumptions, namely full observability of the system, an over-parameterized model, and the availability of densely sampled dynamical system observations, and we discuss its potential validity in the UDE framework. First, we evaluate our method and compare it to standard ensemble-based UQ using three numerical test cases previously employed in UQ studies for particular types of NODEs [ 40 ] and for data-driven dynamical system recovery [ 11 , 13 , 41 , 42 ]. These test cases are derived from three dynamical systems: (1) the Lotka–Volterra system, a nonlinear, non-chaotic system with periodic orbits; (2) a damped harmonic oscillator, a linear, non-chaotic system with a fixed-point global attractor; and (3) the Lorenz system, a nonlinear, chaotic system. These classical low-dimensional benchmarks exhibit qualitatively different vector field behaviors, posing varying challenges for data-driven reconstruction. Their low dimensionality also enables clear visualization of the state space, facilitating interpretation of results in terms of distance from the training set. In all test cases, we assume full observability of the system outputs and noiseless training data to isolate and better assess epistemic uncertainty quantification. We then consider a more realistic setting by applying the method to a biologically motivated model of cell apoptosis, where partial observability of the system outputs and noise in the training data are taken into account. In this case, we train the model under one biological condition, namely cell survival, and evaluate the ability of the method to provide meaningful UQ when predicting the system dynamics under a previously unseen condition, namely cell death. Results In this section, we first introduce our proposed method for constructing ensembles of models, explicitly designed to maximize disagreement outside the training domain (Section Proposed method). We then evaluate the performance of our method on a series of numerical test cases, which allow us to rigorously assess the reliability of the uncertainty quantification under controlled conditions and across different levels of incorporated mechanistic prior knowledge (Sections Numerical test cases: benchmark dynamical systems and evaluation metrics, Numerical test cases: full reconstruction and Numerical test cases: partial reconstruction with unknown mechanistic parameters). Finally, we consider a more realistic biological application by analyzing a computational model of cell apoptosis, where we evaluate the uncertainty of a biologically meaningful prediction outside the training scenario (Section Computational biology test case). Proposed method A well-documented limitation of standard ensembles for uncertainty quantification under OOD conditions is their tendency to be overconfident due to simplicity bias : models trained with different initializations often converge to similar solutions, exhibiting limited disagreement under OOD conditions [ 33 – 35 ]. This leads to low diversity among ensemble members and, consequently, to underestimated epistemic uncertainty. We provide evidence of this phenomenon in the context of dynamical system reconstruction with NODEs on several numerical test cases (the same used for the benchmark in Section Numerical test cases: benchmark dynamical systems and evaluation metrics) in Supplementary Section S1. To mitigate the risk of overconfidence, we propose a method for training ensembles of dynamical system reconstructions with Maximized OOD Disagreement (MOD). The goal of this approach is to induce greater variability in the OOD behavior of the models within the ensemble, resulting in more reliable uncertainty quantification when evaluated on OOD inputs. In the following, we describe the proposed procedure. We assume here a generic UDE model defined as in Eq. (2) ; this formulation includes the pure NODE case as a special instance when f M = 0 . For convenience, supposing that θ M ∈ ℝ k and θ NN ∈ ℝ w , we denote by θ the concatenated parameter vector comprising both mechanistic and NN parameters, i.e., ℒ θ = ( θ M , θ NN ) ∈ ℝ k + w and with g ( θ , y ) the RHS of Eq. (2) . We further indicate with ( θ ) the loss function that compares the predictions of the UDE with given experimental data. Training a UDE model involves minimizing the function ℒ ( θ ) over ℝ k + w . In general, due to the presence of the overparameterized data-driven component f NN and the potential non-identifiability of some mechanistic parameters θ M [ 43 ], the minimum is not uniquely defined, but it is a generic subset In these terms, assuming for simplicity only epistemic uncertainty, finding an ensemble of p models that fit the training set while exhibiting high disagreement under OOD conditions corresponds to finding b 1 , …, b p ∈ ℝ k + w such that and such that the models corresponding to these parameterizations display high dis-agreement in OOD conditions (our specific measure of disagreement is detailed later in this section). Our approach is based on the following assumption: Assumption (Mode Connectivity for UDEs and NODEs) B is a connected subset of ℝ k + w , meaning that any two parameterizations achieving minimum loss can be connected by a curve whose points also correspond to minimum-loss parameterizations. More formally, given b 1 , b 2 ∈ B , there exists a continuous path connecting them that remains entirely within B . This hypothesis has been validated in various settings for standard neural networks [ 37 – 39 ]. To the best of our knowledge, however, it has not yet been formally established for either NODEs or UDEs. In Supplementary Section S2, we extend one of the formal proofs for NNs [ 44 ] to the cases of NODEs and UDEs with fixed mechanistic parameters, under hypotheses similar to those used for NNs. Given this property of the loss landscape—namely, that it is possible to move between any two minimum-loss parameterizations along a continuous path—the core idea of our method is to exploit this connectivity. Specifically, starting from a minimum-loss parameterization, we aim to explore the set of parameters achieving minimal loss by following such paths, in order to discover alternative parameterizations that retain low training error while exhibiting markedly different behavior under OOD conditions. Let S be a set of points in the state space outside the trajectories used for training the UDE model, and let b 1 , …, b n ∈ ℝ k + w denote the parameterizations of an ensemble of models. We assume that their disagreement on S can be quantified by a function for which the mathematical definition is provided in Section Disagreement measure of reconstructed vector fields. Our approach aims to train an ensemble of models that both achieve the minimum value of the loss function and maximize the disagreement measure dis S . To this end, we proceed recursively as follows (a visual illustration is provided in Figure 1 ): Download figure Open in new tab Fig. 1: Visual description of the algorithm for training MOD ensembles of UDEs/NODEs. Starting from a base model b 1 , trained using standard procedures, the algorithm constructs the ensemble sequentially. Each ensemble member is initialized from b 1 and trained by following level curves of the loss function, rather than minimizing it directly. The training objective is to maximize disagreement with previously trained models on the reconstructed vector fields, specifically at selected OOD points, thus promoting diversity within the ensemble. Each training process is carried out for a fixed, predefined number of training epochs. the first model, b 1 , is obtained by minimizing the loss function without considering disagreement; then, for each subsequent model b p , with 2 ≤ p ≤ n , we perform a constrained optimization that maximizes the disagreement dis S ( b 1 , …, b p ) while ensuring that b p remains at a minimum of the loss function. The constraint optimization leverages the mode connectivity hypothesis. Each new model is initialized at θ = b 1 , and the parameters are then updated locally by moving in the direction given by the projection of the gradient of the disagreement function θ → dis S ( b 1 , …, θ ) onto the null space H 0 of the Hessian of the loss function ℒ ( θ ), that defines the local directions in the parameter space along which the cost function is not increasing [ 43 ] (the constrained optimization step is described in detail in Section MOD ensemble training: constraint optimization step). This procedure is repeated for a fixed, predefined number of epochs. This approach is inspired by constrained optimization on Riemannian manifolds [ 36 ], and it is described in detail in Section MOD ensemble training: how to route loss contours. The complete MOD ensemble training procedure is described in Section MOD ensemble training: overall algorithm description and illustrated in Algorithm 1. Numerical test cases: benchmark dynamical systems and evaluation metrics To evaluate the effectiveness of our algorithm, we consider three distinct dynamical systems: the Lotka–Volterra predator–prey model [ 45 ], the damped oscillator [ 42 ], and the Lorenz system [ 46 ]. For each system, we generated an in silico training dataset by discretely sampling multiple trajectories obtained through numerical simulation of the corresponding ODE system. Ground-truth dynamical systems are described in Section Test cases, while the corresponding literature parameters and training trajectories are reported in Supplementary Section S3. To isolate and better analyze epistemic uncertainty, no additional aleatoric noise was added to the training trajectories in these test cases. We assess how an ensemble of models reconstructing the dynamical system quantifies uncertainty on OOD inputs, focusing on two outputs: the vector field and the trajectories. The vector field represents the predicted derivatives across the state space, while trajectories describe the system’s time evolution. Although trajectories are the primary quantities of biological interest, analyzing the vector field helps visualize how uncertainty evolves as one moves away from the training data. We consider OOD vector field predictions as those made outside the region of the state space covered by training trajectories, and OOD trajectory predictions as the predictions obtained with a model from new initial conditions not seen during training. To rigorously assess the reliability of uncertainty quantification, we derive 0.95 prediction intervals from the ensembles and analyze their coverage properties with respect to the ground truth, which is known in these numerical test cases. A 0.95 prediction interval defines a range within which the true output is expected to lie with probability 0.95. Mathematical details on the construction of these intervals for vector-field and trajectory predictions are provided in Sections Prediction intervals on vector field and Prediction intervals on trajectories, respectively. Coverage indicates whether the ground-truth value lies within the prediction interval for a given evaluation input. Given a set of OOD state-space points and a set of OOD trajectories, the coverage proportion (CP) is defined as the fraction of evaluation inputs for which the prediction intervals cover the ground truth. Ideally, the CP should approach the nominal level of 0.95 [ 47 ]. Values below 0.95 indicate overconfidence, meaning that uncertainty is underestimated, whereas values above 0.95 indicate underconfidence, corresponding to conservative intervals. Since training NODE/UDE models involves stochastic optimization, multiple ensembles are generated. For each OOD input, we compute the mean coverage across ensembles, and then compute the mean CP over the set of OOD inputs. This value is compared to the nominal level of 0.95. Further details on the OOD input sets considered for vector fields and trajectories are provided in Section OOD input sets, while a graphical description is reported in Supplementary Section S4. For each dynamical system, we consider two reconstruction scenarios corresponding to different levels of prior mechanistic knowledge: full reconstruction : no prior knowledge is assumed, and the system is reconstructed purely from data (Section Numerical test cases: full reconstruction); partial reconstruction with unknown mechanistic parameters : partial structural knowledge is assumed, and both mechanistic and NN parameters are estimated from data (Section Numerical test cases: partial reconstruction with unknown mechanistic parameters). A third scenario, partial reconstruction with known mechanistic parameters, is reported in Supplementary Section S5. For each scenario, we compare the results of standard and MOD ensembles. Details of this comparison are provided in Section Comparison between MOD and standard ensembles. In these numerical experiments, we assume prior knowledge of the region where disagreement should be maximized. Accordingly, we define the set S , on which the MOD algorithm maximizes disagreement, as a regular grid of state-space points where prediction interval coverage of the vector field is evaluated. Additional implementation details for the MOD algorithm are given in Section Algorithmic setup, while the procedure for training standard ensembles is described in Section Standard ensemble training; the corresponding hyperparameters are reported in Supplementary Section S6. Numerical test cases: full reconstruction In the first scenario, we consider a purely data-driven setting, where all models are implemented as pure NODEs. The architecture of the NN consists of an input layer, two hidden layers with 32 nodes each using the gelu activation function, and an output layer, where the input and output dimensions depend on the dimensionality of the dynamical system. For each test case, we train 10 standard ensembles and 10 MOD ensembles. The training fit of all 50 NODEs comprising the standard ensembles, as well as the 50 NODEs in the MOD ensembles, is analyzed in Supplementary Section S7. We begin by analyzing the coverage of 0.95-prediction intervals on the vector field obtained with the two approaches (standard and MOD ensembles). The CP results are reported in Table 1 , whereas the mean coverage heatmaps in the considered regions of the state space are shown in Figure 2 . View this table: View inline View popup Download powerpoint Table 1: Comparison of the CP of 0.95-prediction intervals on the vector field (full reconstruction scenario). Mean CP of 0.95-prediction intervals on the vector field within a selected region of the state space. The results are presented as the mean ± SEM across 10 ensembles. Statistical significance was assessed using the Wilcoxon signed-rank test on absolute deviations from 0.95 between the two distributions of CP values. Asterisks indicate the following significance levels: * p ≤ 0.05, ** p ≤ 0.01, and *** p ≤ 0.001. The values shown in bold are those closest to the theoretical value. Download figure Open in new tab Fig. 2: Comparison of 0.95-prediction interval coverage on state space: Standard vs. MOD Ensembles (full reconstruction scenario). Panels A, B, and C display heatmaps of the mean coverage (computed across 10 ensembles) of 0.95-prediction intervals on the state space for the Lotka–Volterra, Damped Oscillator, and Lorenz systems, respectively. For each system, the left subpanel shows results obtained with standard ensembles, while the right subpanel shows results obtained with MOD ensembles. Orange overlays represent the points from the training trajectories, providing spatial context. For the Lorenz system, the mean coverage is visualized on a two-dimensional plane spanned by the coordinates ( v 1 , v 2 ), obtained via linear regression on the Lorenz attractor (see Supplementary Section S8 for details). These coordinates provide a low-dimensional representation of the original three-dimensional state space ( x, y, z ); here, the transparency of training trajectory points indicates their orthogonal distance from the training trajectory points to the plane. The results indicate that MOD ensembles yield mean CP values significantly closer to the nominal value of 0.95 than standard ensembles in all test cases (one-sided Wilcoxon signed-rank test, p < 0.01). In the Lotka–Volterra test case, standard ensembles produce prediction intervals with a mean CP close to the nominal value, which becomes even closer when MOD ensembles are applied. In the Damped Oscillator and Lorenz test cases, the prediction intervals produced by standard ensembles are distinctly overconfident, and this problem is mitigated by applying MOD ensembles. In the Damped Oscillator test case, the mean CP obtained with MOD ensembles reaches a value slightly above the nominal value, and the mean coverage heatmaps show that our approach successfully mitigates the overconfidence exhibited by standard ensembles across entire regions of the state space. In the chaotic Lorenz system, although the mean CP obtained with MOD ensembles remains below the nominal value, it is still closer to the nominal value than that achieved by standard ensembles. The results for the coverage of the prediction intervals on trajectories are consistent with those observed on the vector field and are summarized in Table 2 . In the Lotka–Volterra system, the improvement brought by MOD ensembles is statistically less pronounced, as standard ensembles already yield mean CP values relatively close to the nominal value of 0.95. In contrast, for the Damped Oscillator and Lorenz systems, the prediction intervals obtained with MOD ensembles produce mean CP values significantly closer to the nominal value than those from standard ensembles. An example illustrating how our algorithm improves the coverage for the trajectories is shown in Figure 3 . View this table: View inline View popup Download powerpoint Table 2: Comparison of the CP of 0.95-prediction intervals on the trajectories (full reconstruction scenario). Mean CP of 0.95-prediction intervals on trajectories on the selected points of test trajectories. The results are presented as the mean ± SEM across 10 ensembles. Statistical significance was assessed using the Wilcoxon signed-rank test on absolute deviations from 0.95 between the two distributions of CP values. Asterisks indicate the following significance levels: * p ≤ 0.05, ** p ≤ 0.01, and *** p ≤ 0.001. The values shown in bold are those closest to the theoretical value. Download figure Open in new tab Fig. 3: Comparison between prediction interval on trajectories obtained with a standard ensemble and a corresponding MOD ensemble (full reconstruction scenario). Panels A and B illustrate two trajectories for which the trained standard ensembles produce overconfident 0.95-prediction intervals in the Damped Oscillator and Lorenz test cases, respectively, whereas the corresponding MOD ensemble covers the ground truth. The shaded red regions denote the 0.95-prediction intervals obtained with the standard ensemble, the shaded blue regions denote the 0.95-prediction intervals obtained with the MOD ensemble, and the solid black line represents the corresponding ground-truth trajectory. Additional comparisons on further sampled trajectories are presented in Supplementary Section S10. We note that, in some cases, the empirical CP distributions obtained with MOD ensembles—both for the vector field and the trajectory reconstructions—exceed the nominal coverage level of 0.95. This behavior may indicate a degree of underconfidence in the corresponding prediction intervals. The potential causes of this phenomenon are discussed in detail in Section Discussion. We conclude this section by noting that the results do not depend on the specific training dataset. As shown in Supplementary Section S9, MOD ensembles trained on different datasets yield consistent outcomes, underscoring the generality of our approach. Numerical test cases: partial reconstruction with unknown mechanistic parameters In this second scenario, we assume partial knowledge of the dynamical system, with only a portion of the system derivatives requiring reconstruction through data-driven methods. The specific portions assumed to be mechanistically known are reported in Section Test cases. We do not assume prior knowledge of the parameters of the known mechanistic portions of the model. Instead, we estimate these parameters alongside the NN parameters. The mechanistic parameters were initialized within a boundary range between 0.5 and 2 times the ground truth values (reported in Supplementary Section S3). The architecture used for the NN is identical to the one used in the first scenario. We train 10 standard ensembles and 10 MOD ensembles. The fit results on the training trajectories are reported in Supplementary Section S11. The results for the coverage of the 0.95 prediction intervals on vector fields for standard ensembles and MOD ensembles, in terms of mean CP and mean coverage, are presented in Table 3 and Figure 4 , respectively. In the Lotka–Volterra system, the prediction intervals generated by standard ensembles are not overconfident, and, in this case, MOD ensembles lead to a mean CP slightly above the nominal value, although in both cases the deviation from 0.95 is less than 0.05. In the Damped Oscillator system, standard ensembles exhibit distinct regions where the prediction intervals are overconfident, resulting in a mean CP of 0.597, while MOD ensembles increase the mean CP to 0.997, bringing it distinctly closer to the nominal value. In the Lorenz system, the prediction intervals from standard ensembles exhibit relatively high coverage compared to the results obtained for the same system in the first scenario, and the mean CP obtained with MOD ensembles is even closer to 0.95, although the improvement in CP between the model pairs is not statistically significant. View this table: View inline View popup Download powerpoint Table 3: Comparison of the CP of 0.95-prediction intervals on the vector field (partial reconstruction with unknown mechanistic parameters scenario). Mean CP of 0.95-prediction intervals on the vector field within a selected region of the state space. The results are presented as the mean ± SEM across 10 ensembles. Statistical significance was assessed using the Wilcoxon signed-rank test on absolute deviations from 0.95 between the two distributions of CP values. Asterisks indicate the following significance levels: * p ≤ 0.05, ** p ≤ 0.01, and *** p ≤ 0.001. The values shown in bold are those closest to the theoretical value. Download figure Open in new tab Fig. 4: Comparison of 0.95-prediction interval coverage on state space: Standard vs. MOD Ensembles (partial reconstruction with unknown mechanistic parameters scenario). Panels A, B, and C display heatmaps of the mean coverage (computed across 10 ensembles) of 0.95-prediction intervals on the state space for the Lotka–Volterra, Damped Oscillator, and Lorenz systems, respectively. For each system, the left subpanel shows results obtained with standard ensembles, while the right subpanel shows results obtained with MOD ensembles. Orange overlays represent the points from the training trajectories, providing spatial context. For the Lorenz system, the mean coverage is visualized on a two-dimensional plane spanned by the coordinates ( v 1 , v 2 ), obtained via linear regression on the Lorenz attractor (see Supplementary Section S8 for details). These coordinates provide a low-dimensional representation of the original three-dimensional state space ( x, y, z ); here, the transparency of training trajectory points indicates their orthogonal distance from the training trajectory points to the plane. The results for the CP of the 0.95 prediction intervals on trajectories ( Table 4 ) are consistent with those observed on the vector field. In particular, for the Damped Oscillator and Lorenz systems, MOD ensembles mitigate the overconfidence present in the prediction intervals generated by standard ensembles. The improvement is especially pronounced in the Damped Oscillator test case, where the mean CP from standard ensembles is particularly low and is increased to above 0.90 by MOD ensembles. View this table: View inline View popup Download powerpoint Table 4: Comparison of the CP of 0.95-prediction intervals on the trajectories (partial reconstruction with unknown mechanistic parameters scenario). Mean CP of 0.95-prediction intervals on trajectories on the selected points of test trajectories. The results are presented as the mean ± SEM across 10 ensembles. Statistical significance was assessed using the Wilcoxon signed-rank test on absolute deviations from 0.95 between the two distributions of CP values. Asterisks indicate the following significance levels: * p ≤ 0.05, ** p ≤ 0.01, and *** p ≤ 0.001. The values shown in bold are those closest to the theoretical value. The exploration of the parameter space performed by our algorithm is illustrated by the trajectories of the mechanistic parameters during MOD ensemble training and is analyzed in Supplementary Section S12, where the implications of mechanistic parameter identifiability are also discussed. Computational biology test case In this section, we extend our analysis to a more biologically realistic scenario by considering a higher-dimensional computational biology model than those examined previously. We assume partial observability of the system dynamics and the presence of measurement noise, enabling us to evaluate the performance of the MOD training algorithm under conditions that more closely reflect real-world biological applications. The model under consideration describes cell apoptosis [ 48 ], a core sub-network of the signal transduction cascade regulating the programmed cell death–versus–survival phenotypic decision. This model has previously been adopted as a benchmark to assess the reliability of scientific machine learning approaches [ 43 , 49 ]. It is well known to exhibit stiffness (with literature parameter values) and to be characterized by both structural and practical parameter non-identifiability. It describes the temporal evolution of 8 different species: the model equations are reported in Section Test cases, while the original parameters’ values are reported in Supplementary Section S3. This system can reproduce two different scenarios, corresponding to cell survival and cell death [ 49 ], by modifying the initial conditions of the variable y 7 (the different initial conditions are reported in Section Test cases). Following what already done in [ 49 ], in our experimental setting we assume that only the variable y 4 is observable. The training dataset was generated under the cell-survival scenario: Figure 5 shows the training set in the cell-survival scenario and the ground truth dynamics of the observable variable y 4 in the cell-death scenario. Download figure Open in new tab Fig. 5: Training data and ground-truth dynamics of y 4 in the cell-survival and cell-death scenarios. On the left, the ground-truth dynamics of y 4 in the cell-survival scenario (blue line) together with the training data (red points). On the right, the ground-truth dynamics of the same variable in the cell-death scenario. We assume no prior knowledge of the mechanistic equation governing y 4 . Consequently, this component is replaced by a neural network (the architecture of the NN consists of an input layer, two hidden layers with 32 nodes each using the gelu activation function, and an output layer). None of the mechanistic parameters is assumed to be known a priori , placing the problem in a partial reconstruction setting. The model is trained exclusively on data generated under the cell-survival scenario; the objective is to derive a reliable UQ that can be propagated when predicting system behavior in the cell-death scenario. To this end, as in the previous numerical test cases, we trained 10 standard ensembles, each composed of 5 different models. Subsequently, we trained a MOD ensemble by initializing it from one randomly selected model from each standard ensemble. We then compared the resulting predictions in terms of coverage of the ground-truth dynamics of the variable y 4 in the cell-death scenario. Further details regarding the training of both the standard ensembles and the MOD ensemble—including the selection of the region of the state space in which the disagreement among models is maximized—are reported in Section Algorithmic setup. The fits of the models composing the standard and MOD ensembles are reported in Supplementary Section S13. When evaluating the 0.95 prediction intervals on the ground-truth dynamics of y 4 under cell-death conditions, we find that, on average, the intervals obtained from the standard ensembles contain only 62.5% of the ground-truth trajectory. Furthermore, half of the standard ensembles are highly overconfident, with prediction intervals covering less than 40% of the trajectory (see Figure 6 ). In these cases, the prediction intervals tend to pull the dynamics of y 4 in this new scenario back toward the dynamics observed during training (see the yellow area in Figure 6 for an example involving the first two ensemble pairs; results for all ensemble pairs are reported in Supplementary Section S14). In contrast, the prediction intervals obtained from the MOD ensembles show a markedly different behavior. On average, they cover 96% of the ground-truth trajectory, which is close to the nominal level of 0.95 (see the green area in Figure 6 for an example involving the first two ensemble pairs; results for all ensemble pairs are reported in Supplementary Section S14). Moreover, all MOD ensembles except one contain more than 98% of the ground-truth trajectory, improving the overconfidence of the standard ensembles. Download figure Open in new tab Fig. 6: 0.95-prediction intervals for y 4 in the cell-death scenario. 0.95-prediction intervals obtained with standard ensembles (yellow) and MOD ensembles (green) for two representative ensemble pairs. The blue line represents the dynamics of the ground-truth model for the variable y 4 . The prediction intervals derived from the MOD ensembles are very wide, indicating that, given the current dataset and the structure of the hybrid model, no reliable prediction can be made for the cell-death scenario. While this may appear as a limitation, it is in fact an informative outcome, as it explicitly reveals the limits of the model’s predictive capabilities. In the terminology of systems biology, this implies that the prediction of y 4 under cell-death conditions does not constitute a core prediction of the model [ 50 ]. To show it, we selected, from the trajectories in parameter space explored by the MOD ensemble algorithm, a set of example parameterizations achieving a training cost lower than 0.0015 (approximately the midpoint of the costs obtained with the standard ensembles). Despite providing fits comparable to those of the standard ensembles, these parameterizations display markedly different predictions for the dynamics of y 4 in the cell-death scenario. The corresponding fits on the training set and the resulting dynamics in the cell-survival scenario are reported in Figure 7 . Download figure Open in new tab Fig. 7: Fit of the models with the sampled parameterizations on the training set and corresponding predictions in the cell-death scenario. On the left, the simulations of y 4 obtained with the sampled parameterizations under the training (cell-survival) scenario (blue lines), together with the training data (red points). On the right, the simulations of y 4 obtained with the same parameterizations under the cell-death scenario (blue lines), together with the ground-truth dynamics of y 4 (red line). Discussion In this work, we address the challenge of uncertainty quantification (UQ) in the data-driven reconstruction of dynamical systems using neural ordinary differential equations (NODEs) and universal differential equations (UDEs). We consider two main outputs of the reconstruction process: the reconstructed vector fields and the prediction of temporal dynamics not observed during training. In particular, we investigate the problem of estimating the uncertainty both in out-of-distribution (OOD) regions of the state space and along previously unseen trajectories. To address the risk of overconfidence of standard ensembles, we introduce a novel training strategy that promotes diversity among ensemble members by maximizing their disagreement in selected OOD regions of the state space while maintaining a controlled training error. The proposed approach is first evaluated on three in silico numerical test cases, where we analyze both the reconstruction of the vector field and the prediction of unseen trajectories under different levels of prior physical knowledge about the system (a comparison of algorithm performance across different levels of prior physical knowledge is provided in Supplementary Section S15). We then consider a more challenging biological benchmark, the cell apoptosis model, where the focus is on predicting system dynamics under cell-death conditions, while the training dataset corresponds to the cell-survival condition and includes partial observability and noise. Across all these test cases, we show that the proposed MOD ensembles provide more reliable uncertainty estimates than standard ensembles, particularly in scenarios where the latter exhibit overconfidence. Within a single scenario of the numerical test cases, we compare our method against the Laplace approximation, highlighting its effectiveness relative to alternative uncertainty quantification approaches beyond standard ensembles (Supplementary Section S16). The main limitations of this work are: (a) the occurrence of rare cases in which the mechanistic component of the model may violate the single-mode connectivity assumption; (b) the potential risk of underconfident prediction intervals; (c) the dependence on the chosen region of the state space, along with the lack of a clear stopping criterion for terminating the training of each model; and (d) the choice of the hyper-parameter used to distinguish directions in which the cost function does not increase. These aspects are examined in more detail in the following paragraphs. The assumption of single-mode connectivity in UDEs fails when the mechanistic component of the model contains parameters that are locally identifiable but not globally identifiable. In such instances, the loss function may exhibit minima that are not connected. The rarity and the causes of this phenomenon have been explored in the context of biological mechanistic modeling by Barreiro et al . [ 51 ], who investigated its occurrence across a range of published models. They identified specific conditions for this phenomenon, such as parameters appearing with even exponents, which can admit both positive and negative values. In these cases, the single-mode connectivity assumption should be replaced with the hypothesis that the set of global minima in the UDE consists of several connected components. This would necessitate an adaptation of the MOD training algorithm, requiring initialization from multiple, traditionally trained parameterizations of the model, each located in a distinct connected component. Extending the methodology to address such (rare) cases is beyond the scope of the present study. The prediction intervals obtained with both standard ensembles and the MOD approach may be affected by underconfidence (i.e., overly broad intervals). In our setting, synthetic data cannot be used to determine a “correct” width for epistemic uncertainty bands. Validating interval width would require knowledge of the full distribution of parameterizations consistent with the data, which is not available in practice. Nonetheless, the broader intervals observed with MOD do not arise from artificially inflating variance. Instead, the method constructs alternative parameterizations that fit the training data equally well while diverging in weakly constrained regions. By routing along low-loss contours and maximizing out-of-distribution dis-agreement, MOD reveals model variability already compatible with the data rather than introducing variability artificially. Potential sources of underconfidence may arise at two stages of the procedure. First, as the MOD training algorithm explores the parameter space, it may accumulate increases in the cost function, which are controlled by a predefined threshold. If this threshold is too permissive, suboptimal fits may inflate predictive variance; if too restrictive, plausible solutions may be excluded. We treat this threshold as a modeling choice: in the numerical test cases, we set it to 10 −3 , and we assess the robustness of the algorithm under a stricter threshold in the full reconstruction scenario of the numerical test cases (Supplementary Section S17). A detailed discussion on why the threshold is treated as a modeler choice is provided in Supplementary Section S18. Second, prediction intervals are derived under a Gaussian (or multivariate Gaussian) assumption over ensemble predictions. While this is a standard approximation in ensemble-based uncertainty estimation [ 29 ], it remains an assumption and may imperfectly reflect the true predictive distribution. A further major limitation of the present work concerns the user-defined selection of the region of the state space in which model disagreement is maximized, as well as the absence of an adaptive stopping criterion during the routing of individual ensemble members. The MOD algorithm is designed to target a specific region of interest. In practical applications, when a scientist seeks to quantify uncertainty in a given model prediction, a region of the state space comprising that prediction must first be defined, and the algorithm is then applied within that region. Our results demonstrate that maximizing disagreement in such a region increases ensemble diversity and improves prediction interval coverage relative to standard ensembles, including over broader portions of the vector field (Supplementary Sections S19 and S20). Nevertheless, uncertainty quantification remains inherently sensitive to the chosen region: a MOD ensemble optimized for one portion of the state space may not be optimal for substantially different regions. In this sense, the method is goal-oriented rather than globally uniform, and careful definition of the region of interest constitutes an important modeling decision. As illustrated in the biological test case, one possible strategy is to first perform the prediction of interest using the starting model of the MOD ensemble and then derive the relevant region of the state space from that prediction. Furthermore, in our test cases, the ensemble models were trained for a fixed number of iterations without a convergence criterion or a threshold to stop the training. An analysis of the maximization curve for model disagreement during training is provided in Supplementary Section S21, which reveals key challenges in defining a threshold on the objective function or a convergence criterion. First, the values assumed by the objective function are dependent on the system considered and on the OOD region in which the disagreement is maximized, thus preventing the introduction of a fixed threshold to stop the training of models in MOD ensembles. Second, no clear maximum in model disagreement may exist, leading to a failure in optimization convergence. Nevertheless, as discussed in Supplementary Section S22 for the Lorenz test case in the full reconstruction scenario, a fixed and limited number of iterations may lead to underconfidence in the prediction intervals. Finally, a limitation of the proposed method concerns the hyperparameter ϵ eig used to identify the null space of the Hessian matrix. When the Hessian is computed numerically, a positive threshold is required to distinguish directions along which the cost function increases from those along which it remains approximately constant. The choice of this threshold is arbitrary; the value used for the test cases considered in this study is discussed in Supplementary Section S23. Despite these limitations, the proposed work represents an initial step toward extending traditional UQ methods to address OOD UQ in dynamical system reconstruction. In future work, we aim to extend the method in two key directions. First, we will focus on incorporating the qualitative characteristics of the vector field into the ensemble training process. The analysis presented in Supplementary Section S24 shows that our training algorithm currently produces models that fail to respect key qualitative features of the vector field, such as periodicity in the Lotka–Volterra case or the existence of a global attractor in the Damped Oscillator case—features that a modeler could inductively deduce. To address this, we plan to introduce these characteristics as soft constraints in the loss function. Finally, we aim to address the sequential nature of our algorithm by introducing parallelization in the training process of the models composing the MOD ensemble. Specifically, we plan to train the ensemble models simultaneously, maximizing the disagreement between them during training. Methods In this section, we present the methods used to obtain the results reported in this work. Specifically, Section Test cases describes the test cases. Sections Prediction intervals on vector field and Prediction intervals on trajectories detail the methods used to derive the 0.95 prediction intervals for the vector field and trajectories, respectively. Section OOD input sets describes the OOD input sets used to assess the reliability of the uncertainty quantification. Section Standard ensemble training explains the training procedure for standard ensembles. Sections Disagreement measure of reconstructed vector fields, MOD ensemble training: constraint optimization step, MOD ensemble training: how to route loss contours, and MOD ensemble training: overall algorithm description concern the MOD ensemble training and describe, respectively, the disagreement measure among reconstructed vector fields, the method for performing a local training step, the overall constraint optimization procedure, and the complete MOD ensemble training algorithm. Section Comparison between MOD and standard ensembles outlines the comparison between MOD and standard ensembles; and Section Algorithmic setup reports implementation details. Test cases In the following, we report the equations of the models used as benchmarks in this work, including both the numerical and biological test cases. For the numerical test cases, three training trajectories per system were generated by numerically integrating the governing equations from different initial conditions. The first system is the Lotka–Volterra predator–prey model, described by the following two-dimensional ODE system: In the partial reconstruction scenario, we assume no knowledge of the interaction terms between the two species, and we replace them with an NN, leading to the following formulation: where f NN : ℝ 2 → ℝ 2 is an NN that takes ( x, y ) as input and outputs the approximated interaction terms. The second system is a nonlinear damped oscillator [ 40 ], defined by the two-dimensional ODE system: In the partial reconstruction scenario, we assume the nonlinear coupling terms between the variables to be unknown, and we replace them with an NN, yielding: where, f NN : ℝ 2 → ℝ 2 takes ( x, y ) as input and approximates the unknown terms. The third system is the Lorenz system [ 46 ], originally introduced to model atmospheric convection and widely studied as a canonical example of chaotic dynamics [ 52 ]. It is defined by the three-dimensional ODE system: In the partial reconstruction scenario, we assume that the equation governing the dynamics of the third variable is entirely unknown and replace it with a neural network f NN : ℝ 3 → ℝ, taking ( x, y, z ) as input. As a biological case study, we consider the cell apoptosis model introduced in [ 49 ], which describes the dynamics of eight interacting molecular species. The model is defined by the following system of ODEs: In the partial reconstruction scenario, we assume that the equation governing the dynamics of the fourth variable is entirely unknown and replace it with a neural network f NN : ℝ 6 → ℝ, taking ( y 1 , y 4 , y 5 , y 6 , y 7 , y 8 ) as input. Prediction intervals on vector field In this and the following sections, we will extend the notation used in Section Proposed method. We denote by with y ∈ ℝ n , the ground-truth model to be reconstructed, and by y ( t ; t 0 , y 0 ) the state of the ground-truth system at time t , obtained from the initial condition ( t 0 , y 0 ), with t > t 0 , given by We denote by y j ( t ; t 0 , y 0 ) the j -th component of y ( t ; t 0 , y 0 ), i.e., the state of the j -th variable of the system at time t . We consider an ensemble of p UDE models trained to approximate the dynamics of the ground-truth system, that is, p parameterizations θ 1 , …, θ p ∈ ℝ k + l , each trained to reproduce the training data describing the time evolution of the dynamical system in Eq. 9 . For a fixed parameterization , we denote by the prediction of the UDE model at time t , obtained by integrating the system from the initial condition ( t 0 , y 0 ), with t > t 0 . We further indicate with the j -th component of the predicted state. Given a point in the state space z ∈ ℝ n , the prediction intervals for the value of the vector field in z , f ( z ), are computed by extending to the multivariate setting the procedure proposed for the univariate case in NN ensembles [ 29 ]. Fixed a level α ∈ (0, 1), the α -prediction interval on f ( z ) is computed, following [ 53 ], as the ellipsoidal region: where µ and Σ are the sample mean and covariance matrix of the ensemble predictions g ( z, θ 1 ), …, g ( z, θ p ), respectively. The term denotes the α -quantile of the chi-squared distribution with D degrees of freedom, corresponding to the number of vector field components being regressed. In our work, we use α = 0.95 and set D = n for every test case, except for the Lorenz system in the UDE with fixed physical parameters. In this case, we use D = 1 and n = 3, given that the estimation process involves parameters from only a single equation in the model. Prediction intervals on trajectories The prediction intervals on the ground truth trajectories of the dynamical system in Eq. (9) are computed individually for each variable of the dynamical system. For a fixed α ∈ (0, 1), the α -prediction interval for the j -th variable at time t is computed as where µ and σ denote the sample mean and standard deviation of the ensemble predictions ŷ j ( t , θ 1 ; t 0 , y 0 ), …, ŷ j ( t , θ p ; t 0 , y 0 ), and t p −1, (1+ α ) / 2 is the (1 + α ) / 2 quantile of the Student distribution with p 1 degrees of freedom [ 54 ]. In the presence of noise in the training dataset, aleatoric uncertainty was incorporated as suggested in [ 29 ]. OOD input sets In this section, we describe how the OOD input sets–used to evaluate the coverage proportion of prediction intervals–were constructed. This is valid only for the numerical test cases, as in the biological test case, we evaluate the coverage on a single biologically meaningful prediction of the model unseen during the training process. OOD vector field predictions : in each numerical test case, the OOD region of the state space where the 0.95-prediction intervals are evaluated is constructed by symmetrically expanding the bounding box of the training trajectories in the state space by 20% along each coordinate axis. The set of OOD inputs is derived by sampling 50000 points uniformly from this region. OOD trajectory predictions : in each numerical test case, we generated 100 test trajectories by randomly selecting one of the training trajectories and perturbing its initial condition. The perturbation was sampled from a normal distribution with mean 0 and coefficient of variation 0.5. Standard ensemble training In this section, we report the training of the standard ensembles. Each model was trained following the same process, outlined in the following, with the only variation being the random initialization of the model parameters. Given a time series of observed system states , with y i ∈ ℝ n , we randomly split the indices {1, …, r} into disjoint training and validation sets respectively, according to an 80:20 ratio. Let denote the j -th component of the observed state y i . To account for differences in variable magnitudes, we define Γ j as the maximum variation of the j -th component across the trajectory: The normalized mean-squared error loss functions for training and validation used are: Since minimizing L train directly is often suboptimal due to the potential risks of the training getting stuck in local minima [ 55 ], we articulate the training process in two different steps. In the first step, we use the multiple shooting technique [ 56 ] to initially optimize the fit of the model to the training set. The result from this initial step is refined in the second step, where the training loss function is optimized using the L-BFGS algorithm [ 57 ]. Since training NODEs and UDEs can encounter convergence issues and numerical instabilities, this may result in parameterizations with suboptimal fit to the training data. The optimization results are accepted, meaning the parameters are selected to be part of an ensemble, if where ϵ acc is a tolerance threshold and O denotes the set of observable variables of the system. In the numerical test cases presented in Section Numerical test cases: benchmark dynamical systems and evaluation metrics, we set ϵ acc = 10 −3 . In the cell-apoptosis test case, due to the presence of noise in the training dataset, we instead set ϵ acc = 5 · 10 −3 . Disagreement measure of reconstructed vector fields Given a point in the state space , we measure the disagreement of an ensemble of models defined by the parameterizations b 1 , …, b p as follows: If p ≥ n , we consider the generalized variance [ 58 ] of the vectors , i.e., the scalar quantity that, intuitively, measures the overall variability of the vectors [ 58 ]. If 1 < p < n , since the determinant in Eq. (13) is zero, we consider the sum of the variances along each axis of the space, that is: where Tr(·) denotes the trace operator, i.e., the sum of the diagonal entries of the covariance matrix. We can summarize our disagreement measure as: For a finite set of points , the disagreement of the models on S , indicated with dis S ( b 1 , …, b p ), is computed as the average disagreement across points in S . MOD ensemble training: constraint optimization step Our approach is inspired by constrained optimization on Riemannian manifolds [ 36 ]. Since we do not know whether B is itself a Riemannian manifold (although mode connectivity results for standard NNs suggest that, in several cases, the set of minimum-loss solutions forms a manifold [ 59 ]), we motivate our method intuitively as follows. Suppose we have an ensemble of p parameterizations b 1 , …, b p ∈ ℝ k + w minimizing the loss function, i.e. b o ∈ B for each o = 1, …, p . Let S ⊂ ℝ n be a finite set of points in the state space of the model. Now assume that b 1 , …, b p − 1 are fixed, and we seek to locally move b p in order to increase the disagreement among the parameterizations b 1 , …, b p on the set S , while maintaining b p ∈ B . If our goal was solely to locally increase the disagreement among the parameterizations in S , the natural update direction for b p would be given by the gradient: However, an update of b p along the direction v does not necessarily result in a point that remains within B . On the other hand, denoting with H the Hessian matrix of ℒ evaluated at b p , the null space H 0 of H —i.e., the eigenspace corresponding to zero eigenvalues, defines the subspace of directions along which the loss does not increase [ 43 ]. Therefore, the projection of v onto H 0 locally identifies the direction along which disagreement can be maximally increased without leaving the minimum-loss set B . Our approach proceeds by locally updating b p along this projected direction at each step. To compute the Hessian matrix, the loss function ℒ, computed over the entire training trajectories, is the same as the one used in the acceptance criterion for standard ensemble training, as defined in Eq. (12) . We approximate the Hessian matrix H of ℒ at a point using the Gauss-Newton method. When computed numerically (under finite-precision arithmetic), the eigenvalues of H ℒ ( θ ) are always strictly positive. To identify directions in the null space , we approximate zero eigenvalues by applying a threshold ϵ eig , such that eigenvalues smaller than ϵ are considered null. MOD ensemble training: how to route loss contours Given p − 1 models in an ensemble (with p > 1), i.e., p − 1 parameterizations b 1 , …, b p −1 , the p -th model parameterization b p is initialized at b 1 . We first perturb it randomly along the null space of the cost function , and then perform a fixed number of iterations n iter . In each iteration, as described in Section Proposed method, we update the parameters b p according to the direction w , defined by the projection of the gradient of the disagreement onto . Since the direction w guarantees no increase in the loss function ℒ only locally, we introduce a threshold ϵ ℒ to define the maximum allowable value of ℒ for ensemble members. To ensure that optimization remains within this minimum-loss region, we adopt two complementary strategies. First, at each iteration of the MOD training algorithm, the parameters are updated along the direction w using an adaptive learning rate. Specifically, the learning rate for updating b p along w is dynamically chosen so that it is as large as possible without causing the loss to increase by more than a prescribed threshold ϵ step . This adaptive rule allows us to control the learning rate at each iteration to remain on the level sets of ℒ. Second, if after an update, even with a minimum learning rate, the value ℒ ( b p ) exceeds the threshold ϵ acc , we perform a short optimization phase to explicitly minimize ℒ, effectively re-projecting b p back onto the minimum-loss region. These two mechanisms work in tandem to guide the optimization along the level curves of the loss while maintaining the desired loss constraint. We adopt a stochastic approach, and at each optimization step, we randomly sample a subset of S ′ ⊂ S and approximate the gradient of Eq. (14) with MOD ensemble training: overall algorithm description The overall algorithm is summarized in Algorithm 1. For each model in the ensemble, we optimize only a subset of the NN parameters in θ , in order to further encourage diversity among ensemble members. In the case of hybrid models where θ includes both mechanistic and NN parameters (as in the third scenario in Section Numerical test cases: benchmark dynamical systems and evaluation metrics), the mechanistic parameters are normalized with respect to their initial values—i.e., the values optimized in b 1 . Comparison between MOD and standard ensembles In each scenario presented, we train 10 standard ensembles of five models using a fixed architecture, differing only in the random initialization of the NNs and mechanistic parameters when applicable (for a discussion about what the size of the ensemble implies in terms of uncertainty quantification, we refer to Supplementary Section S1). From each standard ensemble, one model is randomly selected as the initialization point b 1 for constructing a corresponding five-member MOD ensemble. This design enables pairwise comparison between standard and MOD ensembles. Since NODE/UDE training may converge to local minima, an acceptance threshold ϵ acc on the loss function is introduced. Models are included in standard ensembles only if their loss is below ϵ acc , and the same tolerance is used in the MOD algorithm to control how to route the contour curves of the loss function (see Section MOD ensemble training: overall algorithm description for details about the algorithm). Standard ensembles are trained until five models satisfy this criterion, ensuring that both standard and MOD ensembles contain exactly five members. Algorithm 1 MOD Ensemble Training Procedure Download figure Open in new tab Algorithmic setup The results on the numerical test cases reported in the main text of the paper were obtained by running the MOD ensemble training algorithm with ϵ acc and n iter = 800. The step-size threshold ϵ step was set as ϵ acc · 10 −1 = 10 −4 . At each iteration, the Hessian of the cost function was computed on a randomly sampled subset of 20 time points, selected from the total 100 time points available for each trajectory. Each ensemble member was trained by optimizing 200 NN parameters, plus mechanistic parameters if applicable. The finite set S , used to maximize model disagreement, was constructed as a regular grid over the OOD region of the state space. Specifically, we used a 10 × 10 grid for the Lotka–Volterra and the Damped Oscillator test cases, and a 5 × 5 × 5 grid for the Lorenz system. At each iteration, a random subset comprising 25% of the grid points was used to compute the gradient of the disagreement. The parameter projection, applied when the loss on the training trajectory exceeded ϵ L , was carried out by optimizing the loss function using 20 iterations of gradient descent, followed by 20 iterations of the L-BFGS algorithm. The threshold to identify near-null eigenvectors was fixed at ϵ eig = 10 −1 . The results on the numerical test cases presented in the Supplementary Material, which were obtained with a lower loss threshold, were generated using ϵ acc = 10 −4 and a correspondingly updated step-size threshold ϵ step = 10 −5 . In this case, due to the smaller step sizes, the number of training steps was increased to n iter = 1200 for each ensemble member. All the other settings are the same as in the ones reported in the main text. The results for the cell apoptosis model reported in the main text, where noise is added to the training data, were generated using ϵ acc = 5 × 10 −3 and n iter = 300, with a correspondingly adjusted step-size threshold ϵ step = 5 × 10 −4 . To identify the region of the state space in which the disagreement among models should be maximized, we first simulated the cell-death scenario using the first model of the MOD ensemble. We then expanded the hypercube defined by the minimum and maximum values of the system variables by 50% along each axis. Given the higher dimensionality of the state space (comprising eight variables), we generated 1000 random points within this region and, at each iteration, selected 100 random points to compute the gradient of the disagreement. All other settings are identical to those used in the numerical test cases. Implementation All the computations have been run on a Debian-based Linux cluster node, with two 24-core Xeon(R) CPU X5650 CPUs and 250 GB of RAM. The code is implemented in Julia v1.10.5 [ 60 ], using the SCiML environment [ 13 ], a software suite for modeling and simulation that also incorporates ML algorithms. Data availability No experimental data were used as part of this study. The in silico generated datasets are available at https://github.com/cosbi-research/UQNU . Code availability The scripts to reproduce the results are available at https://github.com/cosbi-research/UQNU . Author contributions statement S.G. ideated the workflow and selected the test cases under the supervision of L.M. and G.I.. S.G. developed the computational workflow. L.M. and G.I. provided overall guidance for the project. All authors contributed to manuscript preparation and approved the final version. Competing Interests The authors declare no competing financial or non-financial interests. Supplementary information The supplementary material is available in the file S1 File Supplementary notes, tables and figures Acknowledgements No funding was received for this research. Footnotes Updated the manuscript with a computational biology test case and improved analysis of numerical test cases. References [1]. ↵ Vera , J. , Wolkenhauer , O. : A system biology approach to understand functional activity of cell communication systems . Methods in cell biology 90 , 399 – 415 ( 2008 ) OpenUrl CrossRef PubMed [2]. ↵ DiStefano , J.J. : Dynamic Systems Biology Modeling and Simulation , First edition. edn. Elsevier, Academic Press , Amsterdam ( 2013 ) [3]. ↵ Procopio , A. , Cesarelli , G. , Donisi , L. , Merola , A. , Amato , F. , Cosentino , C. , et al : Combined mechanistic modeling and machine-learning approaches in systems biology-a systematic literature review . Comput. Methods Programs Biomed . 240 , 107681 ( 2023 ) OpenUrl CrossRef PubMed [4]. ↵ Yu , R. , Wang , R. : Learning dynamical systems from data: An introduction to physics-guided deep learning . Proceedings of the National Academy of Sciences 121 ( 27 ), 2311808121 ( 2024 ) OpenUrl [5]. ↵ Vasiliauskaite , V. , Antulov-Fantulin , N. : Generalization of neural network models for complex network dynamics . Communications Physics 7 ( 1 ), 348 ( 2024 ) OpenUrl [6]. ↵ Brunton , S.L. , Proctor , J.L. , Kutz , J.N. : Discovering governing equations from data by sparse identification of nonlinear dynamical systems . Proceedings of the National Academy of Sciences 113 ( 15 ), 3932 – 3937 ( 2016 ) OpenUrl Abstract / FREE Full Text [7]. ↵ Navarro-Moreno , J. : Arma prediction of widely linear systems by using the innovations algorithm . IEEE Transactions on Signal Processing 56 ( 7 ), 3061 – 3068 ( 2008 ) OpenUrl [8]. ↵ Van Houdt , G. , Mosquera , C. , Nápoles , G. : A review on the long short-term memory model . Artificial Intelligence Review 53 ( 8 ), 5929 – 5955 ( 2020 ) OpenUrl [9]. Funahashi , K.-i. , Nakamura , Y. : Approximation of dynamical systems by continuous time recurrent neural networks . Neural networks 6 ( 6 ), 801 – 806 ( 1993 ) OpenUrl CrossRef Web of Science [10]. ↵ Aussem , A. : Dynamical recurrent neural networks towards prediction and modeling of dynamical systems . Neurocomputing 28 ( 1-3 ), 207 – 232 ( 1999 ) OpenUrl [11]. ↵ Chen , R.T. , Rubanova , Y. , Bettencourt , J. , Duvenaud , D.K. : Neural ordinary differential equations . Advances in Neural Information Processing Systems 31 ( 2018 ) [12]. ↵ Scarselli , F. , Tsoi , A.C. : Universal approximation using feedforward neural networks: A survey of some existing methods, and some new results . Neural networks 11 ( 1 ), 15 – 37 ( 1998 ) OpenUrl CrossRef PubMed Web of Science [13]. ↵ Rackauckas , C. , Ma , Y. , Martensen , J. , Warner , C. , Zubov , K. , Supekar , R. , Skinner , D. , Ramadhan , A. , Edelman , A. : Universal differential equations for scientific machine learning . arXiv preprint arXiv: 2001.04385 ( 2020 ) [14]. ↵ Xiang , J. , Qi , B. , Cerou , M. , Zhao , W. , Tang , Q. : Dn-ode: Data-driven neuralode modeling for breast cancer tumor dynamics and progression-free survivals . Computers in Biology and Medicine 180 , 108876 ( 2024 ) OpenUrl PubMed [15]. Erbe , R. , Stein-O’Brien , G. , Fertig , E.J. : Transcriptomic forecasting with neural ordinary differential equations . Patterns 4 ( 8 ) ( 2023 ) [16]. Hossain , I. , Fanfani , V. , Fischer , J. , Quackenbush , J. , Burkholz , R. : Biologically informed neuralodes for genome-wide regulatory dynamics . Genome Biology 25 ( 1 ), 127 ( 2024 ) OpenUrl CrossRef PubMed [17]. ↵ Rooij , M. , Erdős , B. , Riel , N.A. , O’Donovan , S.D. : Physiology-informed regularisation enables training of universal differential equation systems for biological applications . PLOS Computational Biology 21 ( 1 ), 1012198 ( 2025 ) OpenUrl [18]. ↵ Göring , N. , Hess , F. , Brenner , M. , Monfared , Z. , Durstewitz , D. : Out-of-domain generalization in dynamical systems reconstruction . In: Proceedings of the 41st International Conference on Machine Learning. ICML’24 , pp. 16071 – 16114 . JMLR.org , Vienna, Austria ( 2024 ) [19]. ↵ Wang , J. , Lan , C. , Liu , C. , Ouyang , Y. , Qin , T. , Lu , W. , Chen , Y. , Zeng , W. , Yu , P.S. : Generalizing to unseen domains: A survey on domain generalization . IEEE Transactions on Knowledge and Data Engineering 35 ( 8 ), 8052 – 8072 ( 2022 ) OpenUrl [20]. ↵ Liu , J. , Shen , Z. , He , Y. , Zhang , X. , Xu , R. , Yu , H. , Cui , P. : Towards out-of-distribution generalization: A survey . arXiv preprint arXiv: 2108.13624 ( 2021 ) [21]. ↵ Puniya , B.L. , Verma , M. , Damiani , C. , Bakr , S. , Dräger , A. : Perspectives on computational modeling of biological systems and the significance of the SysMod community . Oxford University Press ( 2024 ) [22]. ↵ Ovadia , Y. , Fertig , E. , Ren , J. , Nado , Z. , Sculley , D. , Nowozin , S. , Dillon , J. , Lakshminarayanan , B. , Snoek , J. : Can you trust your model’s uncertainty? evaluating predictive uncertainty under dataset shift . Advances in Neural Information Processing Systems 32 ( 2019 ) [23]. ↵ Abdar , M. , Pourpanah , F. , Hussain , S. , Rezazadegan , D. , Liu , L. , Ghavamzadeh , M. , Fieguth , P. , Cao , X. , Khosravi , A. , Acharya , U.R. , et al : A review of uncertainty quantification in deep learning: Techniques, applications and challenges . Information Fusion 76 , 243 – 297 ( 2021 ) OpenUrl [24]. ↵ Dandekar , R. , Chung , K. , Dixit , V. , Tarek , M. , Garcia-Valadez , A. , Vemula , K.V. , Rackauckas , C. : Bayesian neural ordinary differential equations . arXiv preprint arXiv: 2012.07244 ( 2020 ) [25]. ↵ Ott , K. , Tiemann , M. , Hennig , P. : Uncertainty and structure in neural ordinary differential equations . arXiv preprint arXiv: 2305.13290 ( 2023 ) [26]. ↵ Zou , Z. , Meng , X. , Psaros , A.F. , Karniadakis , G.E. : Neuraluq: A comprehensive library for uncertainty quantification in neural differential equations and operators . SIAM Review 66 ( 1 ), 161 – 190 ( 2024 ) OpenUrl [27]. ↵ Takeishi , N. : Toward Bayesian Deep Grey-box Modeling . In: International Conference on Scientific Computing and Machine Learning, Kyoto ( 2024 ) [28]. ↵ Schmid , N. , Pozo , D. , Waegeman , W. , Hasenauer , J. : Assessment of uncertainty quantification in universal differential equations . Philosophical Transactions A 383 ( 2293 ), 20240444 ( 2025 ) OpenUrl [29]. ↵ Lakshminarayanan , B. , Pritzel , A. , Blundell , C. : Simple and scalable predictive uncertainty estimation using deep ensembles . Advances in Neural Information Processing Systems 30 ( 2017 ) [30]. ↵ Caldeira , J. , Nord , B. : Deeply uncertain: comparing methods of uncertainty quantification in deep learning algorithms . Machine Learning: Science and Technology 2 ( 1 ), 015002 ( 2020 ) OpenUrl [31]. Gustafsson , F.K. , Danelljan , M. , Schon , T.B. : Evaluating scalable bayesian deep learning methods for robust computer vision . In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops , pp. 318 – 319 ( 2020 ) [32]. ↵ Scalia , G. , Grambow , C.A. , Pernici , B. , Li , Y.-P. , Green , W.H. : Evaluating scalable uncertainty estimation methods for deep learning-based molecular property prediction . Journal of Chemical Information and Modeling 60 ( 6 ), 2697 – 2717 ( 2020 ) OpenUrl CrossRef PubMed [33]. ↵ Van Amersfoort , J. , Smith , L. , Teh , Y.W. , Gal , Y. : Uncertainty estimation using a single deep deterministic neural network . In: International Conference on Machine Learning , pp. 9690 – 9700 ( 2020 ) [34]. Mehrtens , H.A. , González , C. , Mukhopadhyay , A. : Improving robustness and calibration in ensembles with diversity regularization . In: DAGM German Conference on Pattern Recognition , pp. 36 – 50 ( 2022 ) [35]. ↵ Jain , S. , Liu , G. , Mueller , J. , Gifford , D. : Maximizing overall diversity for improved uncertainty estimates in deep ensembles . In: Proceedings of the AAAI Conference on Artificial Intelligence , vol. 34 , pp. 4264 – 4271 ( 2020 ) OpenUrl [36]. ↵ Bonnabel , S. : Stochastic gradient descent on riemannian manifolds . IEEE Transactions on Automatic Control 58 ( 9 ), 2217 – 2229 ( 2013 ) OpenUrl [37]. ↵ Garipov , T. , Izmailov , P. , Podoprikhin , D. , Vetrov , D.P. , Wilson , A.G. : Loss surfaces, mode connectivity, and fast ensembling of dnns . Advances in Neural Information Processing Systems 31 ( 2018 ) [38]. Draxler , F. , Veschgini , K. , Salmhofer , M. , Hamprecht , F. : Essentially no barriers in neural network energy landscape . In: International Conference on Machine Learning , pp. 1309 – 1318 . PMLR , Stockholm, Sweden ( 2018 ) [39]. ↵ Daniel Freeman , C. , Bruna , J. : Topology and Geometry of Half-rectified Network Optimization . ( 2017 ) [40]. ↵ Fronk , C. , Yun , J. , Singh , P. , Petzold , L. : Bayesian polynomial neural networks and polynomial neural ordinary differential equations . PLOS Computational Biology 20 ( 10 ), 1012414 ( 2024 ) OpenUrl [41]. ↵ Roesch , E. , Rackauckas , C. , Stumpf , M.P. : Collocation based training of neural ordinary differential equations . Statistical applications in genetics and molecular biology 20 ( 2 ), 37 – 49 ( 2021 ) OpenUrl [42]. ↵ Fronk , C. , Petzold , L. : Interpretable polynomial neural ordinary differential equations . Chaos: An Interdisciplinary Journal of Nonlinear Science 33 ( 4 ) ( 2023 ) [43]. ↵ Giampiccolo , S. , Reali , F. , Fochesato , A. , Iacca , G. , Marchetti , L. : Robust parameter estimation and identifiability analysis with hybrid neural ordinary differential equations in computational biology . NPJ Systems Biology and Applications 10 ( 1 ), 139 ( 2024 ) OpenUrl [44]. ↵ Simsek , B. , Ged , F. , Jacot , A. , Spadaro , F. , Hongler , C. , Gerstner , W. , Brea , J. : Geometry of the loss landscape in overparameterized neural networks: Symmetries and invariances . In: International Conference on Machine Learning , pp. 9722 – 9732 ( 2021 ). PMLR [45]. ↵ Duarte , P. , Fernandes , R.L. , Oliva , W.M. : Dynamics of the attractor in the lotka– volterra equations . Journal of Differential Equations 149 ( 1 ), 143 – 189 ( 1998 ) OpenUrl [46]. ↵ Baines , P.G. : Lorenz, e.n. 1963: Deterministic nonperiodic flow. journal of the atmospheric sciences 20, 130–41.1 . Progress in Physical Geography: Earth and Environment 32 ( 4 ), 475 – 480 ( 2008 ) OpenUrl [47]. ↵ Sluijterman , L. , Cator , E. , Heskes , T. : How to evaluate uncertainty estimates in machine learning for regression? Neural Networks 173 , 106203 ( 2024 ) OpenUrl PubMed [48]. ↵ Aldridge , B.B. , Haller , G. , Sorger , P.K. , Lauffenburger , D.A. : Direct lyapunov exponent analysis enables parametric study of transient signalling governing cell behaviour . IEE Proceedings-Systems Biology 153 ( 6 ), 425 – 432 ( 2006 ) OpenUrl [49]. ↵ Yazdani , A. , Lu , L. , Raissi , M. , Karniadakis , G.E. : Systems biology informed deep learning for inferring parameters and hidden dynamics . PLoS computational biology 16 ( 11 ), 1007575 ( 2020 ) OpenUrl [50]. ↵ Cedersund , G. : Conclusions via unique predictions obtained despite unidentifiability–new definitions and a general method . The FEBS journal 279 ( 18 ), 3513 – 3527 ( 2012 ) OpenUrl CrossRef PubMed [51]. ↵ Barreiro , X.R. , Villaverde , A.F. : On the origins and rarity of locally but not globally identifiable parameters in biological modeling . IEEE Access 11 , 65457 – 65467 ( 2023 ) OpenUrl [52]. ↵ Hirsch , M.W. , Smale , S. , Devaney , R.L. : Differential Equations, Dynamical Systems, and an Introduction to Chaos . Academic press, Amsterdam, Boston, Heidelberg, London , New York, Oxford, Paris, San Diego, San Francisco, Singapore, Sydney, Tokyo ( 2013 ) [53]. ↵ Giri , N.C. : Multivariate Statistical Inference . Academic Press , New York, San Francisco, London ( 1977 ) [54]. ↵ Gourieroux , C. , Monfort , A. : Statistics and Econometric Models vol. 1 . Cambridge University Press , Cambridge, England ( 1995 ) [55]. ↵ Kidger , P. : On neural differential equations . arXiv preprint arXiv: 2202.02435 ( 2022 ) [56]. ↵ Turan , E.M. , Jäschke , J. : Multiple shooting for training neural differential equations on time series . IEEE Control Systems Letters 6 , 1897 – 1902 ( 2021 ) OpenUrl [57]. ↵ Nash , S.G. , Nocedal , J. : A numerical study of the limited memory bfgs method and the truncated-newton method for large scale optimization . SIAM Journal on Optimization 1 ( 3 ), 358 – 372 ( 1991 ) OpenUrl [58]. ↵ Wilcox , R.R. : Fundamentals of Modern Statistical Methods: Substantially Improving Power and Accuracy vol. 249 . Springer , New York, NY ( 2001 ) [59]. ↵ Cooper , Y. : The loss landscape of overparameterized neural networks . arXiv preprint arXiv: 1804.10200 ( 2018 ) [60]. ↵ Bezanson , J. , Edelman , A. , Karpinski , S. , Shah , V.B. : Julia: A fresh approach to numerical computing . SIAM review 59 ( 1 ), 65 – 98 ( 2017 ) OpenUrl CrossRef View the discussion thread. Back to top Previous Next Posted April 24, 2026. Download PDF Supplementary Material Email Thank you for your interest in spreading the word about bioRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following A novel approach to quantify out-of-distribution uncertainty in Neural and Universal Differential Equations Message Subject (Your Name) has forwarded a page to you from bioRxiv Message Body (Your Name) thought you would like to see this page from the bioRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share A novel approach to quantify out-of-distribution uncertainty in Neural and Universal Differential Equations Stefano Giampiccolo , Giovanni Iacca , Luca Marchetti bioRxiv 2025.10.01.679743; doi: https://doi.org/10.1101/2025.10.01.679743 Share This Article: Copy Citation Tools A novel approach to quantify out-of-distribution uncertainty in Neural and Universal Differential Equations Stefano Giampiccolo , Giovanni Iacca , Luca Marchetti bioRxiv 2025.10.01.679743; doi: https://doi.org/10.1101/2025.10.01.679743 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Systems Biology Subject Areas All Articles Animal Behavior and Cognition (7642) Biochemistry (17715) Bioengineering (13907) Bioinformatics (42005) Biophysics (21472) Cancer Biology (18624) Cell Biology (25534) Clinical Trials (138) Developmental Biology (13391) Ecology (19935) Epidemiology (2067) Evolutionary Biology (24356) Genetics (15617) Genomics (22529) Immunology (17753) Microbiology (40437) Molecular Biology (17200) Neuroscience (88697) Paleontology (667) Pathology (2840) Pharmacology and Toxicology (4829) Physiology (7653) Plant Biology (15171) Scientific Communication and Education (2046) Synthetic Biology (4304) Systems Biology (9827) Zoology (2272)

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2025) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00