Next Article in Journal
Efficiency Evaluation of Departments Providing Social Assistance Through Data Envelopment Analysis: The Case of Some Municipalities in the Valencian Community
Previous Article in Journal
An Edge Operation That Increases the Hitting Time Index of Trees
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Ensemble Extreme Learning Machines for Uncertainty Quantification in Ordinary Differential Equations

by
Sajad Ahmad Sheikh
1 and
Lateef Ahmad Wani
2,*
1
Department of Mathematics, University of Kashmir, South Campus, Anantnag 192101, Jammu and Kashmir, India
2
Department of Mathematics and Statistics, College of Science, King Faisal University, P.O. Box 400, Al-Ahsa 31982, Saudi Arabia
*
Author to whom correspondence should be addressed.
Mathematics 2026, 14(14), 2527; https://doi.org/10.3390/math14142527
Submission received: 23 June 2026 / Revised: 8 July 2026 / Accepted: 9 July 2026 / Published: 14 July 2026
(This article belongs to the Special Issue Latest Advances in Intelligent Computing)

Abstract

This paper proposes an uncertainty-quantified surrogate framework for ordinary differential equations (ODEs) based on ensembles of extreme learning machines (ELMs). The method constructs M = 100  independently randomized ELM surrogates for a given ODE trajectory, uses the ensemble mean as the predictor, and defines a pointwise ensemble spread as a preliminary uncertainty measure. To obtain statistically valid prediction intervals, a split-conformal calibration procedure is applied to the ensemble spread, yielding finite-sample marginal coverage under exchangeability while preserving computational efficiency, since each ELM is trained via a single ridge-regression solve. Theoretical results establish exact satisfaction of the prescribed initial condition, stability of the ensemble mean and variance with respect to perturbations in the training data, and almost-sure convergence of the empirical ensemble variance to the corresponding random-feature prediction variance. The hidden-layer sampling hypothesis is made explicit: the experiments use bounded hyperbolic-tangent features with independent uniform draws as the default and independent normal draws in sensitivity tests, both of which satisfy the finite-moment assumptions required by the convergence theorem. Comparisons with capacity-matched Bayesian random-feature neural surrogates and Monte Carlo dropout clarify differences in uncertainty representation. Numerical experiments on exponential, logistic, and damped oscillator dynamics demonstrate accurate reconstruction and calibrated uncertainty quantification in sparse and noisy regimes. Additional ablation studies quantify the effect of the denominator safeguard, calibration-sample size, ensemble size, training time, noise level, and hidden-parameter distribution.

1. Introduction

Uncertainty quantification (UQ) has become a central theme in scientific machine learning because accurate point predictions are insufficient when a learned surrogate is used for scientific inference, control, or forecasting. In differential-equation settings, the reliability of a learned trajectory is often as important as the trajectory itself, especially when data are sparse, noisy, or only partially informative. Recent work has therefore emphasized predictive uncertainty, calibration, and model misspecification in scientific machine learning, physics-informed learning, and universal differential equations; see, for instance, the broad UQ framework of Psaros et al. [1], the comparative study of Schmid et al. [2], and the recent analysis of total uncertainty in physics-informed reconstruction by De Florio et al. [3]. At the same time, Bayesian neural networks, Monte Carlo dropout, and deep ensembles remain widely used tools for uncertainty-aware neural modeling [4,5,6,7,8].
Extreme learning machines (ELMs), introduced by Huang, Zhu, and Siew [9], provide a computationally economical random-feature paradigm. In a single-hidden-layer feedforward network, the hidden parameters are sampled randomly and then frozen, while the output layer is learned analytically. This yields a training procedure that is much cheaper than iterative gradient-based optimization. The basic theory and regression properties of ELMs are well established [9,10], and randomized-feature versions of ELM ideas have recently been used successfully for numerical differential equations and scientific computing, including collocation for PDEs [11,12] and Bayesian physics-informed ELM variants for noisy PDE problems [13]. In parallel, Guignard, Amato, and Kanevski [14] developed a careful study of variability and interval estimation for ELM regression in generic supervised settings.
The present work differs from the general ELM regression uncertainty analysis of Guignard et al. [14] in four concrete ways. First, the target object here is an ODE trajectory represented through an initial-condition-preserving trial form, rather than a generic regression map. Second, the hidden-layer randomization is used as a random-feature ensemble for trajectory reconstruction, while the output weights are still obtained by closed-form ridge solves. Third, raw ensemble spread is treated only as a local nonconformity scale; calibrated coverage is supplied by a split-conformal step. Fourth, the theoretical statements are formulated around ODE trajectory bands, exact initial-condition enforcement, response stability of the ELM smoother, random-feature variance convergence, and pointwise marginal conformal coverage. These ingredients make the method closer to a calibrated numerical surrogate than to a general-purpose ELM regression interval.
The proposed ensemble also differs from deep ensembles [6]. A deep ensemble trains several independently initialized deep networks by iterative optimization and typically interprets the diversity of the trained networks as epistemic uncertainty. The present construction uses a single-hidden-layer random-feature architecture; only the output layer is trained, each member is obtained from one ridge solve, and the ensemble spread is passed through a distribution-free calibration layer. Thus the uncertainty band is tied to randomized-feature variability plus conformal calibration, rather than to optimizer-dependent diversity among separately trained deep models. This distinction is important in sparse ODE reconstruction, where a lightweight ensemble can be generated with little computational cost and then calibrated on held-out trajectory values.
The problem considered in this paper is novel in a precise sense. The existing ELM-UQ literature studies either generic supervised regression variability [14] or Bayesian output-layer formulations for PDEs [13], while ODE and scientific-machine-learning UQ studies are dominated by Bayesian, variational, dropout, and physics-informed neural approaches [1,2,3,15]. The combination developed here—initial-condition-preserving ELM trajectory reconstruction, independently randomized hidden layers, spread-normalized conformal scores, and a finite-sample marginal coverage theorem—appears to have been formalized only partially in the existing literature. It is this combination of computational speed, ODE-specific reconstruction, and calibrated uncertainty that motivates the present work.
The main methodological idea is intentionally simple. We represent the unknown ODE trajectory by a trial function that satisfies the initial condition exactly. We then fit M = 100 independently randomized ELMs to training data generated by an ODE solution or a trusted numerical solver. The ensemble mean becomes the point predictor. The empirical spread of the ensemble quantifies how much the random hidden-layer realization changes the reconstructed trajectory. Because raw ensemble spread alone does not guarantee calibrated uncertainty, we normalize calibration residuals by the ensemble spread and use split conformal prediction [16,17] to obtain finite-sample valid predictive bands under exchangeability. This construction is particularly attractive in ODE applications because the ELM members are fast to train and trivially parallelizable and the conformal adjustment is model-agnostic.
The contributions of the paper are fourfold. The first contribution is methodological: we formulate an ensemble ELM architecture for ODE trajectory reconstruction in which every member satisfies the initial condition exactly and is trained by a closed-form ridge solve. The second contribution is theoretical: we prove a linear smoother representation, derive stability bounds for both the ensemble mean and ensemble spread, establish almost-sure convergence of the empirical spread to the random-feature variance, and obtain a finite-sample marginal coverage theorem for a conformalized ensemble interval. The third contribution is comparative: we place the proposed interval next to Bayesian and dropout-based uncertainty mechanisms, proving that exact Bayesian predictive coverage requires a correctly specified probabilistic model, while Monte Carlo dropout intervals quantify mask randomness and require additional calibration or noise modeling for coverage in biased or noisy settings. The fourth contribution is applied: we carry out a reproducible ODE benchmark study based on sparse and noisy observations of exponential, logistic, and damped-oscillator dynamics, together with calibration, sharpness, ablation, noise-sensitivity, and timing diagnostics.
The paper is organized as follows. Section 2 introduces the ODE reconstruction setting, the data model, the hidden-layer sampling distribution, and the ensemble ELM architecture. Section 3 defines the conformalized spread-based interval and records the training and calibration procedure. Section 4 contains the main theoretical results and their proofs, including the comparison principles for Bayesian and dropout baselines. Section 5 reports the numerical experiments and discusses the observed calibration-sharpness trade-off, ablation results, noise sensitivity, and computational scaling. Section 6 concludes the paper.

2. Preliminaries

Consider a scalar initial-value problem
u ( t ) = f ( t , u ( t ) ) , t [ 0 , T ] , u ( 0 ) = u 0 ,
where f : [ 0 , T ] × R R is continuous and the solution u is assumed unique on [ 0 , T ] . The scalar formulation is adopted for clarity of proofs; vector-valued systems are handled componentwise or by block-design matrices, and the same arguments remain valid with only notational modifications.
We assume that one has access to reference trajectory values at design times 0 = t 1 < t 2 < < t n T . These values may come from a trusted numerical solver, a high-fidelity simulator, or sufficiently accurate measurements. Denote the response vector by
y = ( y 1 , , y n ) , y i u ( t i ) ,
with the punctuation included here and below to make the displayed formulae part of the surrounding sentences. When noisy observations are used, one may write y i = u ( t i ) + ε i with mean-zero noise ε i . Since the focus of the present paper is confidence bands for the reconstructed trajectory itself, the clean-state setting is emphasized in the theory; noisy-response coverage can be handled by adding an independent noise term or by calibrating against observed responses instead of latent states.
The defining feature of the surrogate is that the initial condition is enforced exactly through the trial form
u ^ ( t ) = u 0 + t g ( t ) ,
where g is represented by a single-hidden-layer randomized neural network. Thus, regardless of how g is fitted, one always has u ^ ( 0 ) = u 0 .
For a hidden width m N and an activation function σ : R R , define a random feature map
ϕ ω ( t ) = σ ( a 1 t + b 1 ) , , σ ( a m t + b m ) ,
where ω = ( ( a 1 , b 1 ) , , ( a m , b m ) ) is sampled from a distribution Π on R 2 m . The kth ELM member uses an independent draw ω k and models
u ^ k ( t ) = u 0 + h k ( t ) β ^ k , h k ( t ) = t ϕ ω k ( t ) R m .
In all numerical experiments the physical time is first scaled to [ 0 , 1 ] before random features are formed. The default hidden-layer distribution is the product law
a j i . i . d . Unif [ 12 , 12 ] , b j i . i . d . Unif [ 3 , 3 ] , j = 1 , , m ,
with independent draws across hidden units and across ensemble members. A normal-sampling sensitivity test uses
a j i . i . d . N ( 0 , 3 2 ) , b j i . i . d . N ( 0 , 3 2 ) .
The selection criteria for Π are as follows: independent sampling across ensemble members, non-degenerate hidden features on the scaled time interval, and finite fourth moments of the resulting pointwise predictions after ridge fitting. For the bounded activation σ = tanh used here, both the uniform and normal choices satisfy these criteria automatically; the verification is given in Lemma 2.
With the design matrix
H k = h k ( t 1 ) h k ( t n ) R n × m ,
and centered response vector
y = y u 0 1 n ,
we compute the ridge-regression output weights by
β ^ k = ( H k H k + λ I m ) 1 H k y , λ > 0 .
The ridge parameter λ is included for stability and to avoid singularity when m > n or the sampled features are nearly collinear.
The ensemble contains M = 100 independent members throughout the main applied study, although the theory is stated for a generic positive integer M. The ensemble mean and empirical spread are defined pointwise by
u ¯ M ( t ) = 1 M k = 1 M u ^ k ( t ) , s M 2 ( t ) = 1 M 1 k = 1 M u ^ k ( t ) u ¯ M ( t ) 2 .
The quantity s M ( t ) is the primitive uncertainty score produced by the randomized ensemble. It measures the sensitivity of the reconstruction to the hidden-layer randomization and, as shown below, converges to the random-feature prediction variance when M grows.

3. Conformalized Ensemble-ELM Uncertainty Bands

A raw interval of the form
u ¯ M ( t ) ± z 1 α / 2 s M ( t ) ,
is easy to compute but has no universal coverage guarantee. In particular, the empirical spread only reflects the variability induced by the random feature draw; it may fail to account for model bias, heteroscedasticity, or local approximation error. To obtain a coverage statement that does not rely on a correct probabilistic model, we calibrate the spread by split conformal prediction.
We split the available design points into a training set I tr and a calibration set I cal , with cardinalities n tr and n cal , respectively. All M ELM members are trained using only the training set. Then, for each calibration point i I cal , we compute the nonconformity score
R i = y i u ¯ M ( t i ) s M ( t i ) + γ ,
where γ > 0 is a small denominator safeguard. Let R ( 1 ) R ( n cal ) be the order statistics of the calibration scores, and define
q 1 α = R ( n cal + 1 ) ( 1 α ) .
The proposed pointwise uncertainty band is then
C α ( t ) = u ¯ M ( t ) q 1 α s M ( t ) + γ , u ¯ M ( t ) + q 1 α s M ( t ) + γ .
The width adapts locally through s M ( t ) , while the conformal factor q 1 α corrects global under- or over-dispersion of the raw ensemble uncertainty.
The value of γ is a numerical regularization parameter for small-spread regions. It prevents a calibration residual from being divided by an empirical ensemble standard deviation that is close to zero. The experiments use γ = 5 × 10 3 in the response units of each benchmark, and Section 5.4 reports a sensitivity analysis over γ { 0 , 10 4 , 10 3 , 5 × 10 3 , 10 2 } and n cal { 10 , 15 , 20 , 30 } .
The training and calibration steps are therefore as follows. First, sample M = 100 independent hidden-layer parameter sets and fit the corresponding ELM output weights by (4). Second, evaluate the ensemble mean and spread at the calibration inputs. Third, form the normalized residuals (6) and compute the empirical conformal quantile (7). Finally, report the interval (8) on any desired time grid. The procedure is non-iterative at the ELM level, parallel across ensemble members, and agnostic to the particular ODE generating the trajectory data.
The conformal theorem in Section 3 is a pointwise marginal statement under exchangeability of the calibration pair and the future pair after the training split has been fixed. For deterministic high-fidelity ODE values sampled at randomized design points, this can be read as coverage over the randomized design-and-split mechanism. For observational time series with serially correlated measurement errors, the exchangeability condition becomes a modeling assumption that should be replaced by a block, trajectory-level, or other dependence-aware conformal construction. The present experiments use independent observation noise and random train/calibration splits, so the numerical study probes the stated pointwise calibration mechanism rather than simultaneous-in-time coverage of an entire dependent path.

4. Main Results

We now present the main results. The first lemma records the exact initial-condition property and the linear smoother form of each ensemble member. The next theorem gives stability estimates for the ensemble mean and spread. We then establish almost sure convergence of the empirical spread and the finite-sample coverage theorem for the conformalized interval. The section ends with two comparison propositions clarifying how the proposed uncertainty mechanism differs from ideal Bayesian prediction and Monte Carlo dropout.
Lemma 1. 
For each ensemble member k { 1 , , M } , the predictor (3)–(4) satisfies u ^ k ( 0 ) = u 0 . Moreover,
u ^ k ( t ) = u 0 + k ( t ) y , k ( t ) = H k ( H k H k + λ I m ) 1 h k ( t ) R n .
Hence each ELM member is a linear smoother in the responses.
Proof. 
Since h k ( t ) = t ϕ ω k ( t ) , we have h k ( 0 ) = 0 , and therefore from (3)
u ^ k ( 0 ) = u 0 + h k ( 0 ) β ^ k = u 0 .
This proves the initial-condition statement.
For the linear smoother representation, substitute (4) into (3):
u ^ k ( t ) = u 0 + h k ( t ) ( H k H k + λ I m ) 1 H k y .
The right-hand side is a scalar. Using the identity a B c = ( B a ) c and the symmetry of ( H k H k + λ I m ) 1 , we obtain
u ^ k ( t ) = u 0 + H k ( H k H k + λ I m ) 1 h k ( t ) y = u 0 + k ( t ) y ,
which is exactly (9). The dependence on the responses is therefore linear. This completes the proof. □
Theorem 1. 
Fix t [ 0 , T ] . For the kth ensemble member define
C k ( t ) = h k ( t ) 2 H k 2 λ .
Then for any two response vectors y , y ˜ R n with centered versions y , y ˜ , one has
u ^ k ( t ; y ) u ^ k ( t ; y ˜ ) C k ( t ) y y ˜ 2 .
Consequently,
u ¯ M ( t ; y ) u ¯ M ( t ; y ˜ ) 1 M k = 1 M C k ( t ) y y ˜ 2 ,
and
s M ( t ; y ) s M ( t ; y ˜ ) k = 1 M C k ( t ) 2 M 1 1 / 2 y y ˜ 2 .
Proof. 
Let
A k = ( H k H k + λ I m ) 1 H k .
Using (3), we write
u ^ k ( t ; y ) u ^ k ( t ; y ˜ ) = h k ( t ) A k ( y y ˜ ) .
Therefore,
u ^ k ( t ; y ) u ^ k ( t ; y ˜ ) h k ( t ) 2 A k 2 y y ˜ 2 .
Now
A k 2 = ( H k H k + λ I m ) 1 H k 2 ( H k H k + λ I m ) 1 2 H k 2 .
Since the smallest eigenvalue of H k H k + λ I m is at least λ , we have
( H k H k + λ I m ) 1 2 1 λ .
Combining the last three displays proves (10).
To obtain (11), average (10) over k = 1 , , M and use the following triangle inequality:
u ¯ M ( t ; y ) u ¯ M ( t ; y ˜ ) 1 M k = 1 M u ^ k ( t ; y ) u ^ k ( t ; y ˜ ) 1 M k = 1 M C k ( t ) y y ˜ 2 .
For the spread, let
v = ( u ^ 1 ( t ; y ) , , u ^ M ( t ; y ) ) , v ˜ = ( u ^ 1 ( t ; y ˜ ) , , u ^ M ( t ; y ˜ ) ) .
Let P = I M 1 M 1 M 1 M be the centering matrix. Then
s M ( t ; y ) = P v 2 M 1 , s M ( t ; y ˜ ) = P v ˜ 2 M 1 .
Hence,
s M ( t ; y ) s M ( t ; y ˜ ) 1 M 1 P ( v v ˜ ) 2 1 M 1 v v ˜ 2 ,
because P 2 1 . Using (10) componentwise gives
v v ˜ 2 2 = k = 1 M u ^ k ( t ; y ) u ^ k ( t ; y ˜ ) 2 k = 1 M C k ( t ) 2 y y ˜ 2 2 .
Taking square roots yields (12). The proof is complete.
Lemma 2 
(Finite-moment verification for the hidden-layer sampling). Fix a compact interval [ 0 , T ] , a finite training vector y , a ridge parameter λ > 0 , and the bounded activation σ = tanh . Then, for every fixed t [ 0 , T ] , the random prediction u ^ 1 ( t ) generated by (3)–(4) has finite fourth moment under both the uniform and normal hidden-parameter laws specified in Section 2.
Proof. 
For σ = tanh , each hidden feature satisfies | σ ( a j t + b j ) | 1 . Therefore h 1 ( t ) 2 T m and H 1 2 T n m for every realization of the hidden parameters. From (4),
β ^ 1 2 ( H 1 H 1 + λ I m ) 1 2 H 1 2 y 2 T n m λ y 2 .
Consequently,
| u ^ 1 ( t ) | | u 0 | + h 1 ( t ) 2 β ^ 1 2 | u 0 | + T 2 m n λ y 2 .
The final bound is deterministic and finite. Hence E ( | u ^ 1 ( t ) | 4 D tr ) < . The argument uses only the boundedness of the activation and the ridge parameter, so it applies equally to the stated uniform and normal laws for the hidden weights and biases. □
Theorem 2. 
Fix t [ 0 , T ] and condition on the training data. Suppose that the ensemble members u ^ 1 ( t ) , u ^ 2 ( t ) , are independent and identically distributed through the random hidden-layer draws, and that
E | u ^ 1 ( t ) | 4 D tr < .
Lemma 2 verifies this condition for the uniform and normal hidden-layer sampling laws used in the numerical experiments. Define
μ ( t ) = E u ^ 1 ( t ) D tr , v ( t ) = Var u ^ 1 ( t ) D tr .
Then, as M ,
u ¯ M ( t ) μ ( t ) almost surely ,
and
s M 2 ( t ) v ( t ) almost surely .
In particular, the empirical ensemble spread converges almost surely to the random-feature predictive standard deviation.
Proof. 
Conditional on the training data, the random variables u ^ 1 ( t ) , u ^ 2 ( t ) , are i.i.d. with finite first moment, because the assumed finite fourth moment implies finite first and second moments. By the strong law of large numbers,
1 M k = 1 M u ^ k ( t ) E u ^ 1 ( t ) D tr = μ ( t ) almost surely .
This is exactly (13).
Again, by the strong law of large numbers applied to the square, we have
1 M k = 1 M u ^ k ( t ) 2 E u ^ 1 ( t ) 2 D tr almost surely .
Recall the identity
s M 2 ( t ) = M M 1 1 M k = 1 M u ^ k ( t ) 2 1 M k = 1 M u ^ k ( t ) 2 .
Since M / ( M 1 ) 1 , the first average converges almost surely to E [ u ^ 1 ( t ) 2 D tr ] , and the second term converges almost surely to μ ( t ) 2 . Therefore,
s M 2 ( t ) E u ^ 1 ( t ) 2 D tr μ ( t ) 2 = Var u ^ 1 ( t ) D tr = v ( t ) almost surely .
This proves (14). The final statement follows by taking square roots, since the square-root map is continuous on [ 0 , ) . □
Theorem 3. 
Let D tr be fixed and train the ensemble predictor using only the training split. Suppose that the calibration pairs
{ ( t i , y i ) : i I cal }
and a future test pair ( t , y ) are exchangeable conditional on D tr . Define the calibration scores by (6) and the interval by (8). Then the conformalized ensemble interval satisfies the finite-sample marginal coverage guarantee
P y C α ( t ) D tr 1 α .
Consequently,
P y C α ( t ) 1 α .
Proof. 
Conditional on the training data, the fitted predictor t u ¯ M ( t ) and the spread function t s M ( t ) are deterministic because they depend only on the training split and on the sampled ensemble members. Therefore, the calibration scores
R i = | y i u ¯ M ( t i ) | s M ( t i ) + γ , i I cal ,
and the test score
R = | y u ¯ M ( t ) | s M ( t ) + γ
are exchangeable conditional on D tr , because they are obtained by applying the same measurable map to exchangeable input-response pairs.
Let N = n cal + 1 denote the total number of scores after adjoining R . By exchangeability, the rank of R among the N scores is uniformly distributed on { 1 , 2 , , N } conditional on D tr . The quantile definition (7) uses the index
r = ( n cal + 1 ) ( 1 α ) = N ( 1 α ) .
Hence
P { R q 1 α D tr } r N 1 α .
By the definition of R , the event R q 1 α is equivalent to
| y u ¯ M ( t ) | q 1 α ( s M ( t ) + γ ) ,
which is in turn equivalent to y C α ( t ) . Therefore
P y C α ( t ) D tr 1 α .
Taking expectations with respect to the training split proves the unconditional statement as well. □
Remark 1. 
Theorem 3 is formulated for future responses y . In ODE surrogate applications where the calibration labels are high-fidelity state values, the same theorem provides coverage for the latent trajectory. If the available labels are noisy observations, the theorem gives valid predictive bands for the observation process; a separate estimate of the noise level can then be used to convert predictive intervals into state intervals when appropriate.
Proposition 1. 
Consider a Bayesian neural surrogate in an ideal linear-Gaussian regime with deterministic feature map ψ : [ 0 , T ] R p , latent coefficient vector β N ( 0 , τ 2 I p ) , and observation model
y i = ψ ( t i ) β + ε i , ε i i . i . d . N ( 0 , σ 2 ) .
Let X R n × p have rows ψ ( t i ) , and let
Σ post = τ 2 I p + σ 2 X X 1 , μ post = σ 2 Σ post X y .
Then, for a new input t , the posterior predictive law of the future response is Gaussian with mean ψ ( t ) μ post and variance
ψ ( t ) Σ post ψ ( t ) + σ 2 .
Therefore the interval
ψ ( t ) μ post ± z 1 α / 2 ψ ( t ) Σ post ψ ( t ) + σ 2
has exact posterior predictive coverage 1 α under the assumed probabilistic model.
Proof. 
Since both the prior and the likelihood are Gaussian and the observation model is linear in β , the posterior distribution of β given ( X , y ) is Gaussian with the displayed mean and covariance. This is a standard conjugate computation obtained by completing the square in the exponent of the joint density.
Now let y = ψ ( t ) β + ε with ε N ( 0 , σ 2 ) independent of all observed data and independent of β conditional on the posterior. Since an affine transformation of a Gaussian vector is Gaussian, ψ ( t ) β X , y is normal with mean ψ ( t ) μ post and variance ψ ( t ) Σ post ψ ( t ) . Adding the independent Gaussian noise ε yields the predictive variance
ψ ( t ) Σ post ψ ( t ) + σ 2 .
Hence,
y ψ ( t ) μ post ψ ( t ) Σ post ψ ( t ) + σ 2 | X , y N ( 0 , 1 ) .
It follows immediately that the two-sided interval (16) contains y with probability 1 α conditional on X and y . This is the claimed exact posterior predictive coverage. □
Proposition 2. 
Let a dropout surrogate at a fixed input t be represented by
F d ( t ) = j = 1 p d j p 0 w j h j ( t ) ,
where d 1 , , d p are independent Bernoulli ( p 0 ) random variables with 0 < p 0 1 , and w j , h j ( t ) are deterministic. Then
E [ F d ( t ) ] = j = 1 p w j h j ( t ) ,
and
Var ( F d ( t ) ) = 1 p 0 p 0 j = 1 p w j 2 h j ( t ) 2 .
If the true response is Y ( t ) = u ( t ) + ε ( t ) with mean-zero noise variance σ ε 2 ( t ) and structural bias
b ( t ) = u ( t ) E [ F d ( t ) ] ,
then
E ( Y ( t ) F d ( t ) ) 2 = Var ( F d ( t ) ) + b ( t ) 2 + σ ε 2 ( t ) .
Consequently, intervals based only on the Monte Carlo estimate of (19) may under-cover whenever b ( t ) 2 + σ ε 2 ( t ) is not negligible.
Proof. 
Using linearity of expectation and the fact that E [ d j ] = p 0 , we obtain
E [ F d ( t ) ] = j = 1 p E [ d j ] p 0 w j h j ( t ) = j = 1 p w j h j ( t ) ,
which proves (18).
For the variance, independence of the d j implies that the cross-covariances vanish. Since Var ( d j ) = p 0 ( 1 p 0 ) , we have
Var ( F d ( t ) ) = j = 1 p Var d j p 0 w j h j ( t ) = j = 1 p w j 2 h j ( t ) 2 p 0 2 Var ( d j ) = 1 p 0 p 0 j = 1 p w j 2 h j ( t ) 2 ,
which is (19).
To prove (20), write
Y ( t ) F d ( t ) = u ( t ) E [ F d ( t ) ] + ε ( t ) F d ( t ) E [ F d ( t ) ] .
The first term is the deterministic bias b ( t ) . The second term has mean zero and variance σ ε 2 ( t ) . The third term has mean zero and variance Var ( F d ( t ) ) . Assuming the observation noise is independent of the dropout mask, the cross terms vanish after taking expectations. Therefore
E ( Y ( t ) F d ( t ) ) 2 = b ( t ) 2 + σ ε 2 ( t ) + Var ( F d ( t ) ) .
This proves (20). Since a naive dropout interval uses only the square root of (19), it ignores the bias and observation-noise contributions. When these missing terms are appreciable, the interval can be narrower than required for nominal coverage, and under-coverage follows. □
Remark 2. 
The comparison between Theorem 3, Proposition 1, and Proposition 2 is conceptually important. The conformalized ensemble-ELM band achieves finite-sample marginal coverage without requiring a correctly specified likelihood or prior. The Bayesian interval is exact only inside a fully specified probabilistic model. The dropout interval, unless explicitly supplemented by an observation-noise model or an external calibration step, quantifies only mask-induced randomness and therefore does not by itself provide a coverage guarantee.

5. Numerical Simulations and Discussion

This section reports an executed numerical study. The aim is threefold: to verify that the conformalized ensemble ELM produces reliable pointwise trajectory bands in sparse-data ODE reconstruction; to compare its calibration and sharpness against capacity-matched Bayesian and dropout baselines; and to quantify the sensitivity to calibration regularization, calibration-sample size, ensemble size, training time, noise level, and hidden-layer sampling law.

5.1. Experimental Protocol

We considered three benchmark dynamics: exponential decay, logistic growth, and an underdamped oscillator. For each problem, we generated 60 sparse observation times on the corresponding interval, forced the initial time t = 0 into the training set, and used a 20 / 20 / 20 split for training, calibration, and hold-out observations. The reported accuracy and coverage metrics were computed on a dense latent-state test grid of 400 equally spaced points. Independent Gaussian observation noise was added to the sparse samples, with standard deviations equal to 3 % , 3.5 % , and 4 % of the standard deviation of the exact trajectory for the exponential, logistic, and oscillatory benchmarks, respectively.
These three noise levels were chosen to provide a moderate-noise regime with slightly increasing difficulty across the three examples: the exponential problem is monotone and smooth, the logistic problem contains a nonlinear transition region, and the damped oscillator is phase-sensitive. Higher-noise behavior is evaluated separately in Section 5.6, where the noise level is varied over 2 % , 4 % , 8 % , and 12 % of the trajectory standard deviation.
The ensemble ELM used M = 100 members, hidden width m = 200 , hyperbolic tangent activation, ridge parameter λ = 10 4 , the hidden-parameter law described in Section 2, and the trial form u ^ ( t ) = u 0 + t g ( t ) so that the initial condition was satisfied exactly for every ensemble member. The split-conformal score used the normalized residual in (6) with γ = 5 × 10 3 . The aggregate numbers below are the averages over three independent random splits.
The two baselines were made capacity-matched to the ELM hidden layer. The Bayesian neural surrogate used the same one-hidden-layer m = 200 tanh random-feature architecture with a Gaussian output-layer prior β N ( 0 , τ 2 I m ) , τ = 1 , and a Gaussian likelihood using the observation-noise level specified above. Its predictive mean and variance were computed from the closed-form Bayesian linear posterior. The Monte Carlo dropout baseline used the same hidden width m = 200 , the same tanh features, ridge-trained output weights, keep probability p 0 = 0.9 , and 100 stochastic dropout forward passes. All three methods used the same initial-condition trial form. The supplied Python 3.14.6 script reproduces the figures and stores the numerical metrics used in the tables and plots.

5.2. Representative Trajectory Reconstructions

Figure 1 shows representative reconstructions for the three ODE classes using the conformalized ensemble ELM. The method tracks the exact trajectory closely for the monotone examples and remains calibrated for the oscillatory trajectory, where sparse observations make phase reconstruction more demanding. The uncertainty band widens in the nonlinear transition region of the logistic problem and around phase-sensitive portions of the damped oscillator.
For the oscillatory problem, Figure 2 shows the qualitative difference among the three uncertainty mechanisms. The Bayesian random-feature interval is sharp but under-covers when the sparse data induce phase bias. The dropout interval is very wide in this capacity-matched implementation because mask-induced variability in oscillatory extrapolation is large. The conformalized ELM produces an intermediate band with coverage close to the nominal level and a much lower Winkler score.

5.3. Aggregate Calibration and Sharpness

The full metric summary is reported in Table 1. Coverage probability (CP) is computed on the dense latent-state test grid at nominal level 0.95 ; AW is the average interval width; RMSE is the root mean squared error of the predictive mean; and the Winkler score rewards narrow intervals while penalizing missed coverage.
The conformalized ELM achieved CP values 0.987 ± 0.022 , 0.983 ± 0.029 , and 0.952 ± 0.024 on the exponential, logistic, and damped-oscillator benchmarks, respectively. The first two values are mildly conservative, while the oscillatory value is close to the target. The Bayesian random-feature baseline is highly effective on the two smooth monotone examples, achieving CP equal to 1.000 with competitive widths, but it under-covers on the oscillatory problem because the posterior variance is sharp relative to phase bias. The dropout baseline reaches or exceeds the nominal target in these experiments, while its widths are much larger, especially in the damped oscillator case. These results are consistent with the theory: model-based intervals can be sharp when the model captures the trajectory well, whereas conformal calibration directly corrects the empirical residual scale.
The coverage and sharpness trends are summarized visually in Figure 3 and Figure 4. Figure 3 shows the separation in empirical coverage. Figure 4 shows that the ELM intervals provide the lowest Winkler score on the exponential and damped-oscillator benchmarks and remain competitive on the logistic benchmark.

5.4. Denominator and Calibration-Size Ablation

To separate the influence of the denominator safeguard from the finite calibration split, we repeated the logistic-growth experiment for γ { 0 , 10 4 , 10 3 , 5 × 10 3 , 10 2 } and n cal { 10 , 15 , 20 , 30 } . Figure 5 reports the resulting coverage and average width. With only n cal = 10 calibration points, using γ = 0 yielded CP 0.925 and AW 0.068 , while γ = 5 × 10 3 yielded CP 1.000 and AW 0.051 . For n cal = 20 , the same change reduced AW from 0.350 to 0.083 while preserving CP at 0.995 1.000 . Thus the finite calibration quantile is the main source of discreteness and mild conservativeness, while the denominator safeguard regularizes small-spread calibration scores and prevents unstable interval inflation. Values between 10 3 and 10 2 produced similar conclusions in this benchmark.

5.5. Ensemble-Size Sensitivity and Training Time

To examine the role of the ensemble size itself, we repeated the logistic experiment for
M { 5 , 10 , 20 , 40 , 60 , 80 , 100 , 150 } .
Figure 6 shows that the accuracy and interval metrics stabilize once the ensemble reaches moderate size. In the executed Python implementation, the measured ELM training-and-prediction time increased approximately linearly from 0.0048 s at M = 5 to 0.097 s at M = 150 . The time at the main value M = 100 was 0.063 s for this split. This confirms that the additional ensemble members mainly add embarrassingly parallel ridge solves, while the calibration and evaluation steps remain inexpensive.

5.6. Noise Level and Hidden-Distribution Sensitivity

Figure 7 tests higher noise levels and the hidden-parameter distribution on the damped oscillator. The noise standard deviation was set to 2 % , 4 % , 8 % , and 12 % of the trajectory standard deviation, and the hidden features were sampled either from the default uniform law or from the normal law stated in Section 2. Uniform sampling produced mean CP values 0.983 , 0.994 , 1.000 , and 0.998 across the four noise levels, while normal sampling produced 0.953 , 0.941 , 0.984 , and 0.999 . The average widths increased with noise, as expected from calibration against noisier observations. This experiment verifies that the hidden-layer moment hypothesis used in Theorem 2 is compatible with the actual uniform and normal sampling schemes and that the method remains calibrated in substantially noisier regimes.

5.7. Limitations of the Numerical Study

The numerical study remains deliberately controlled. It uses scalar synthetic ODEs with known exact solutions, one-hidden-layer capacity-matched baselines, and three random splits for the aggregate table. The resulting evidence is therefore best interpreted as a focused validation of the coverage mechanism rather than as an exhaustive benchmark against every modern uncertainty-aware neural ODE architecture. In addition, the reported conformal bands are pointwise and marginal, exactly as in Theorem 3; simultaneous-in-time coverage would require a more conservative calibration rule. Finally, the ELM coverage in the monotone experiments is mildly conservative, which is useful for robustness in sparse settings and also motivates future work on adaptive safeguards and locally refined calibration rules to tighten the bands further.

6. Conclusions

This paper has introduced a conformalized ensemble extreme learning machine framework for uncertainty quantification in ordinary differential equations and has complemented the theory by an executed simulation study. The central mechanism is to train independently randomized ELM surrogates, use their ensemble mean as the reconstructed trajectory, and use the ensemble spread as a local uncertainty score. The resulting method preserves the main computational advantage of ELMs, namely, closed-form training of the output layer, while gaining a statistically meaningful uncertainty statement through split-conformal calibration.
The revised formulation makes explicit how the work differs from general ELM regression intervals and deep ensembles, specifies the hidden-layer sampling laws used in the experiments, verifies the finite-moment hypothesis for both uniform and normal sampling, clarifies the exchangeability condition behind the conformal theorem, and reports additional diagnostics for the denominator safeguard, calibration size, noise level, ensemble size, and training time.
The theoretical analysis established that each ensemble member satisfies the initial condition exactly, that the ensemble mean and spread are stable under perturbations of the response data, that the empirical spread converges almost surely to the random-feature predictive variance, and that the conformalized interval achieves finite-sample marginal coverage under exchangeability. The numerical study corroborated these statements in a concrete sparse-data regime. Across the exponential, logistic, and damped-oscillator benchmarks, the conformalized ensemble ELM attained near-nominal or mildly conservative pointwise coverage with competitive RMSE and favorable Winkler scores, especially on the phase-sensitive oscillatory example where model-based intervals can under-cover or become excessively wide.
For ODE trajectory reconstruction, these results place ensemble ELMs in a useful operating region: they are fast, parallel, mathematically transparent, and calibratable without committing to a fully correct probabilistic model. The most natural next steps are simultaneous-in-time bands, multivariate systems, adaptive random-feature distributions, block conformal calibration for serially dependent observations, and hybrid residual-penalized formulations that combine exact initial-condition enforcement with richer physics-informed structure.

Supplementary Materials

The following supporting information can be downloaded at https://www.mdpi.com/article/10.3390/math14142527/s1, Supplementary Python code used to generate all figures; generated metric files; and recreated figures corresponding to the results presented in this manuscript.

Author Contributions

Conceptualization, S.A.S. and L.A.W.; Methodology, S.A.S. and L.A.W.; Validation, L.A.W.; Formal analysis, S.A.S. and L.A.W.; Investigation, S.A.S. and L.A.W.; Writing—original draft, S.A.S. and L.A.W.; Writing—review and editing, S.A.S. and L.A.W.; Visualization, L.A.W.; Supervision, L.A.W. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Deanship of Scientific Research, Vice Presidency for Graduate Studies and Scientific Research, King Faisal University, Saudi Arabia [Grant No. KFU263757].

Data Availability Statement

The Python code used to generate all figures, together with generated metric files and recreated figures, is provided as Supplementary Material accompanying this manuscript.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ODEOrdinary differential equation
UQUncertainty quantification
ELMExtreme learning machine
BNNBayesian neural network
MCMonte Carlo
CPCoverage probability
AWAverage width
RMSERoot mean squared error

References

  1. Psaros, A.F.; Meng, X.; Zou, Z.; Guo, L.; Karniadakis, G.E. Uncertainty Quantification in Scientific Machine Learning: Methods, Metrics, and Comparisons. J. Comput. Phys. 2023, 477, 111902. [Google Scholar] [CrossRef]
  2. Schmid, N.; Fernandes del Pozo, D.; Waegeman, W.; Hasenauer, J. Assessment of Uncertainty Quantification in Universal Differential Equations. Philos. Trans. R. Soc. A 2025, 383, 20240444. [Google Scholar] [CrossRef]
  3. De Florio, M.; Zou, Z.; Schiavazzi, D.E.; Karniadakis, G.E. Quantification of Total Uncertainty in the Physics-Informed Reconstruction of CVSim-6 Physiology. Philos. Trans. R. Soc. A 2025, 383, 20240221. [Google Scholar] [CrossRef]
  4. Neal, R.M. Bayesian Learning for Neural Networks; Springer: New York, NY, USA, 1996. [Google Scholar]
  5. Gal, Y.; Ghahramani, Z. Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learning. In Proceedings of the 33rd International Conference on Machine Learning, New York, NY, USA, 19–24 June 2016; pp. 1050–1059. [Google Scholar]
  6. Lakshminarayanan, B.; Pritzel, A.; Blundell, C. Simple and Scalable Predictive Uncertainty Estimation Using Deep Ensembles. In Proceedings of the Advances in Neural Information Processing Systems, Long Beach, CA, USA, 4–9 December 2017; Volume 30, pp. 6402–6413. [Google Scholar]
  7. Ovadia, Y.; Fertig, E.; Ren, J.; Nado, Z.; Sculley, D.; Nowozin, S.; Dillon, J.V.; Lakshminarayanan, B.; Snoek, J. Can You Trust Your Model’s Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shift. In Proceedings of the Advances in Neural Information Processing Systems, Vancouver, BC, Canada, 8–14 December 2019; Volume 32, pp. 13991–14002. [Google Scholar]
  8. 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. Inf. Fusion 2021, 76, 243–297. [Google Scholar] [CrossRef]
  9. Huang, G.B.; Zhu, Q.Y.; Siew, C.K. Extreme Learning Machine: Theory and Applications. Neurocomputing 2006, 70, 489–501. [Google Scholar] [CrossRef]
  10. Huang, G.B.; Zhou, H.; Ding, X.; Zhang, R. Extreme Learning Machine for Regression and Multiclass Classification. IEEE Trans. Syst. Man. Cybern. Part B 2012, 42, 513–529. [Google Scholar] [CrossRef]
  11. Calabrò, F.; Fabiani, G.; Siettos, C. Extreme Learning Machine Collocation for the Numerical Solution of Elliptic PDEs with Sharp Gradients. Comput. Methods Appl. Mech. Eng. 2021, 387, 114188. [Google Scholar] [CrossRef]
  12. Wang, Y.; Dong, S. An Extreme Learning Machine-Based Method for Computational PDEs in Higher Dimensions. Comput. Methods Appl. Mech. Eng. 2024, 418, 116578. [Google Scholar] [CrossRef]
  13. Liu, X.; Yao, W.; Peng, W.; Zhou, W. Bayesian Physics-Informed Extreme Learning Machine for Forward and Inverse PDE Problems with Noisy Data. Neurocomputing 2023, 549, 126425. [Google Scholar] [CrossRef]
  14. Guignard, F.; Amato, F.; Kanevski, M. Uncertainty Quantification in Extreme Learning Machine: Analytical Developments, Variance Estimates and Confidence Intervals. Neurocomputing 2021, 456, 436–449. [Google Scholar] [CrossRef]
  15. Lee, J.; Oh, Y.; Kim, S.; Lim, D.Y. Continuum Dropout for Neural Differential Equations. Proc. AAAI Conf. Artif. Intell. 2026, 40, 22796–22804. [Google Scholar] [CrossRef]
  16. Vovk, V.; Gammerman, A.; Shafer, G. Algorithmic Learning in a Random World; Springer: New York, NY, USA, 2005. [Google Scholar]
  17. Lei, J.; G’Sell, M.; Rinaldo, A.; Tibshirani, R.J.; Wasserman, L. Distribution-Free Predictive Inference for Regression. J. Am. Stat. Assoc. 2018, 113, 1094–1111. [Google Scholar] [CrossRef]
Figure 1. Representative conformalized ensemble-ELM reconstructions for the exponential, logistic, and damped-oscillator benchmarks. Circles denote training observations and squares denote calibration observations.
Figure 1. Representative conformalized ensemble-ELM reconstructions for the exponential, logistic, and damped-oscillator benchmarks. Circles denote training observations and squares denote calibration observations.
Mathematics 14 02527 g001
Figure 2. Method comparison on a representative damped-oscillator reconstruction. The conformalized ensemble ELM balances point accuracy and calibrated interval width more effectively than the two native baselines on this phase-sensitive benchmark.
Figure 2. Method comparison on a representative damped-oscillator reconstruction. The conformalized ensemble ELM balances point accuracy and calibrated interval width more effectively than the two native baselines on this phase-sensitive benchmark.
Mathematics 14 02527 g002
Figure 3. Empirical coverage probability on the dense latent-state test grid. The dashed horizontal line marks the nominal 95 % target.
Figure 3. Empirical coverage probability on the dense latent-state test grid. The dashed horizontal line marks the nominal 95 % target.
Mathematics 14 02527 g003
Figure 4. Average interval width and average Winkler score. Lower Winkler values indicate a better balance between sharpness and calibration.
Figure 4. Average interval width and average Winkler score. Lower Winkler values indicate a better balance between sharpness and calibration.
Mathematics 14 02527 g004
Figure 5. Ablation over the denominator safeguard γ and calibration size n cal for logistic growth. The left panel reports empirical coverage and the right panel reports average width.
Figure 5. Ablation over the denominator safeguard γ and calibration size n cal for logistic growth. The left panel reports empirical coverage and the right panel reports average width.
Mathematics 14 02527 g005
Figure 6. Sensitivity of the conformalized ensemble ELM to the ensemble size M on a representative logistic-growth split. The fourth panel reports the measured training-and-prediction time in the supplied Python implementation.
Figure 6. Sensitivity of the conformalized ensemble ELM to the ensemble size M on a representative logistic-growth split. The fourth panel reports the measured training-and-prediction time in the supplied Python implementation.
Mathematics 14 02527 g006
Figure 7. Sensitivity to observation noise and hidden-layer sampling distribution on the damped oscillator. Uniform and normal hidden-parameter laws both preserve near-nominal or conservative coverage over the tested noise range.
Figure 7. Sensitivity to observation noise and hidden-layer sampling distribution on the damped oscillator. Uniform and normal hidden-parameter laws both preserve near-nominal or conservative coverage over the tested noise range.
Mathematics 14 02527 g007
Table 1. Average performance over three independent random splits. Coverage probability (CP) is reported on the dense latent-state test grid at nominal level 0.95 . The table is resized to the text width to avoid boundary overflow.
Table 1. Average performance over three independent random splits. Coverage probability (CP) is reported on the dense latent-state test grid at nominal level 0.95 . The table is resized to the text width to avoid boundary overflow.
ProblemMethodCPAWRMSEWinkler
Damped oscillatorBNN0.361 ± 0.0780.094 ± 0.0160.183 ± 0.1162.813 ± 1.223
Dropout0.987 ± 0.0229.204 ± 1.1910.304 ± 0.1279.231 ± 1.161
ELM0.952 ± 0.0240.418 ± 0.1810.179 ± 0.1120.480 ± 0.241
Exponential decayBNN1.000 ± 0.0000.085 ± 0.0360.009 ± 0.0020.085 ± 0.036
Dropout0.976 ± 0.0360.334 ± 0.0520.012 ± 0.0030.342 ± 0.065
ELM0.987 ± 0.0220.048 ± 0.0050.009 ± 0.0020.049 ± 0.006
Logistic growthBNN1.000 ± 0.0000.079 ± 0.0210.013 ± 0.0030.079 ± 0.021
Dropout0.950 ± 0.0250.366 ± 0.0850.018 ± 0.0040.370 ± 0.082
ELM0.983 ± 0.0290.072 ± 0.0150.013 ± 0.0030.073 ± 0.014
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Sheikh, S.A.; Wani, L.A. Ensemble Extreme Learning Machines for Uncertainty Quantification in Ordinary Differential Equations. Mathematics 2026, 14, 2527. https://doi.org/10.3390/math14142527

AMA Style

Sheikh SA, Wani LA. Ensemble Extreme Learning Machines for Uncertainty Quantification in Ordinary Differential Equations. Mathematics. 2026; 14(14):2527. https://doi.org/10.3390/math14142527

Chicago/Turabian Style

Sheikh, Sajad Ahmad, and Lateef Ahmad Wani. 2026. "Ensemble Extreme Learning Machines for Uncertainty Quantification in Ordinary Differential Equations" Mathematics 14, no. 14: 2527. https://doi.org/10.3390/math14142527

APA Style

Sheikh, S. A., & Wani, L. A. (2026). Ensemble Extreme Learning Machines for Uncertainty Quantification in Ordinary Differential Equations. Mathematics, 14(14), 2527. https://doi.org/10.3390/math14142527

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop