Introduction
Many problems in physics and engineering, such as weather prediction, aerodynamics, and financial modeling, are governed by partial differential equations (PDEs). Classical numerical solvers are accurate but computationally expensive, often scaling poorly with the dimensionality of the data. AI-based surrogate models have emerged as a promising alternative, providing fast approximations of PDE solutions. Prominent examples include physics-informed neural networks (PINNs) [29 ] , DeepONets [22 ] , and Neural Operators [20 , 21 ] .
Despite these advances, surrogate models still lack principled mechanisms for uncertainty quantification, which are vital, as model predictions often inform safety-critical decisions in science and engineering. Conformal prediction (CP) [33 ] provides a principled framework, producing distribution-free uncertainty sets with guaranteed marginal coverage. These guarantees, however, rely on exchangeability between calibration and test samples, a condition that is frequently violated in time-dependent PDEs.
Non-stationarity in time-dependent PDEs Let u t u_t u t denote the solution of a time-dependent PDE at time t t t . In practice, we are interested in predicting u t + δ u_{t+\delta} u t + δ for several time steps δ > 0 \delta> 0 δ > 0 , beyond the available training and calibration data. Unless u t u_t u t is a stationary process, test samples follow a different distribution than observed calibration samples, breaking the exchangeability assumption required by conformal prediction (see Figure E.1). This type of non-stationarity is ubiquitous: sudden shocks (e.g., stock market crashes), long-term structural changes (e.g., climate trends), and limited development windows (e.g., laboratory testing) all produce systematic shifts in the data distribution (see Figure 1 ).
Figure 1. Examples of different types of non-stationarity that can arise in time-dependent systems. (a ) Sudden distribution shift due to external shocks, illustrated by a stock market crash. (b ) Long-term structural changes, as in climate time series. (c ) Limited observation window during system development, where calibration and testing occur on different parts of the trajectory.
Preprint.
Why existing methods fall short Existing CP approaches for time-dependent settings either rely on assumptions like mixing, which generally fail for PDE dynamics, or relax to asymptotic guarantees that average coverage over time and cannot guarantee per-step coverage [9 , 10 ] . In theory, weighted conformal prediction (WCP) [32 , 3 ] provides finite-sample coverage under distribution shift, but it requires likelihood ratios p t e s t / p c a l p_{\mathrm{test}}/p_{\mathrm{cal}} p test / p cal that are generally unavailable for PDE surrogates. As a result, no current approach provides finite-sample coverage at every future time step. This raises a structural question: when can CP guarantees hold for time-dependent PDEs, and how should CP be applied to obtain them? We answer with theoretical limits and practical guidelines.
Our contributions
We show that in function-space, already for the heat equation with Gaussian initial conditions, the total variation (TV) distance between solutions at any two distinct times is maximal. This rules out non-exchangeable CP guarantees on the function-space view common in the neural operator literature.
We show that for discretized PDEs the TV distance often approaches 1 exponentially fast with the grid granularity. This gives a practical guideline: rather than calibrating on the full prediction grid, we should restrict to a coarser grid or the spatial subregion of interest, as we do in our real-world experiments.
We identify assumptions under which closed-form likelihood ratios and finite-sample WCP guarantees at every future time step exist in the discretized setting and further lift this discrete guarantee to the true continuous solution.
We empirically validate these results on synthetic PDEs and three real-world datasets.
Related work
CP for PDEs is closely related to conformal prediction for time series. Existing approaches can be roughly categorized as follows:
Access to exchangeable data Some work treats entire solution trajectories as exchangeable units (e.g., Ma et al. [23 ] for Neural Operators, Moya et al. [25 ] for DeepONets, or Gray et al. [13 ] and Gopakumar et al. [12 , 11 ] for general surrogate models). These approaches fail when extrapolated to future time steps beyond the observed trajectory, as the distribution of the solution changes with time.
Relaxing to asymptotic guarantees Instead of requiring marginal coverage at every time step, asymptotic coverage provides guarantees on average over time. The seminal work on adaptive conformal prediction [9 ] tightens or loosens conformal bands based on past miscoverage. Several refinements have been proposed [e.g., 1, 37, 10]. For non-critical tasks and slowly drifting time series, this can be a viable approach. In many PDE problems, however, undercoverage at a single time step can be fatal and it is a priori unknown how fast changes appear.
Exploiting additional properties To extend CP beyond exchangeability, some work assumes additional properties on the data. For example, stationarity, (strong) mixing of the process or residuals, or requirements on the accuracy of the predictive model [e.g., 27, 37, 2, 38, 36]. Depending on the assumptions, both asymptotic and per-time-step guarantees can be obtained.
Distributional assumptions Generally, CP is distribution-free, but when certain properties of the distribution are known, they can be exploited to obtain coverage guarantees without exchangeability. In full generality, Barber et al. [3 ] show that coverage can be lower bounded in terms of the total variation (TV) distance between calibration and test distributions. Farinhas et al. [8 ] extend this to conformal risk control. Under covariate or label shift, more specialized approaches achieve marginal coverage when the distribution shift can be quantified [32 , 28 ] . In practice, these methods are rarely used in a principled way, as the required density ratios are typically unknown. A related approach comes from Harris and Liu [15 ] , which replaces global exchangeability with a local assumption across nearby time points.
Background
Conformal prediction
Conformal prediction (CP) is a framework for constructing prediction sets with marginal finite-sample coverage guarantees [33 ] . In the standard split setting, a model is trained on a dataset D t r a i n \mathcal{D}_{\mathrm{train}} D train and calibrated on a dataset D c a l \mathcal{D}_{\mathrm{cal}} D cal , yielding a set-valued predictor C \mathcal{C} C such that, for a test sample ( x t e s t , y t e s t ) (x_{\mathrm{test}}, y_{\mathrm{test}}) ( x test , y test ) ,
P ( y t e s t ∈ C ( x t e s t ) ) ≥ 1 − α , \mathbb{P}\left(y_{\mathrm{test}} \in\mathcal{C}(x_{\mathrm{test}})\right) \ge1-\alpha, P ( y test ∈ C ( x test ) ) ≥ 1 − α ,
where α \alpha α denotes the miscoverage level. This guarantee relies on exchangeability of calibration and test samples, meaning that their joint distribution is invariant under permutations. When exchangeability is violated, coverage may fail.
Conformal prediction beyond exchangeability When calibration and test distributions differ but are related through a likelihood ratio, weighted conformal prediction (WCP) provides a natural extension of standard CP [32 ] . A canonical example is covariate shift , where calibration samples ( x i , y i ) (x_i,y_i) ( x i , y i ) for i ∈ { 1 , … , n } i \in\{1,\ldots,n\} i ∈ { 1 , … , n } are drawn from P X × P Y ∣ X \mathcal{P}_X \times\mathcal{P}_{Y\mid X} P X × P Y ∣ X , while test samples ( x t e s t , y t e s t ) (x_{\mathrm{test}},y_{\mathrm{test}}) ( x test , y test ) follow Q X × P Y ∣ X \mathcal{Q}_X \times\mathcal{P}_{Y\mid X} Q X × P Y ∣ X , i.e., the conditional distribution of Y Y Y given X X X remains unchanged. In this setting, valid coverage guarantees can be recovered by reweighting the calibration quantiles according to the density ratio
w i ∝ p t e s t ( x i ) p c a l ( x i ) , ∀ x i ∈ D c a l ∪ { x t e s t } , ∑ i w i = 1 , (1) w_i \propto\frac{p_{\mathrm{test}}(x_i)}{p_{\mathrm{cal}}(x_i)}, \qquad\forall x_i \in\mathcal{D}_{\mathrm{cal}} \cup\{x_{\mathrm{test}}\}, \qquad\sum_i w_i = 1, \tag*{(1)} w i ∝ p cal ( x i ) p test ( x i ) , ∀ x i ∈ D cal ∪ { x test } , i ∑ w i = 1 , (1)
where p c a l p_{\mathrm{cal}} p cal and p t e s t p_{\mathrm{test}} p test denote the densities of P X \mathcal{P}_X P X and Q X \mathcal{Q}_X Q X (see Appendix § 14 for more details).
In the most general case, Barber et al. [3 ] and, similarly, Farinhas et al. [8 ] provide corrections for the conformal guarantees based on the TV distance between calibration and test distribution:2
P ( y t e s t ∈ C ( x t e s t ) ) ≥ 1 − α − ∑ i = 1 n w ~ i d T V ( z , z i ) , (2) \mathbb{P}\left(y_{\mathrm{test}} \in\mathcal{C}(x_{\mathrm{test}})\right) \ge1-\alpha-\sum_{i=1}^{n}\widetilde{w}_i\,d_{\mathrm{TV}}(z,z^i), \tag*{(2)} P ( y test ∈ C ( x test ) ) ≥ 1 − α − i = 1 ∑ n w i d TV ( z , z i ) , (2)
where w ~ i = w i / ( w 1 + ⋯ + w n + 1 ) \widetilde{w}_i = w_i/(w_1+\cdots+w_n+1) w i = w i / ( w 1 + ⋯ + w n + 1 ) , with w i ∈ [ 0 , 1 ] w_i \in[0,1] w i ∈ [ 0 , 1 ] , z = ( ( x 1 , y 1 ) , … , ( x n , y n ) , ( x t e s t , y t e s t ) ) z=((x_1,y_1),\ldots,(x_n,y_n),(x_{\mathrm{test}},y_{\mathrm{test}})) z = (( x 1 , y 1 ) , … , ( x n , y n ) , ( x test , y test )) and z i z^i z i arises from permuting the test pair in z z z with the i i i th calibration pair. These approaches are rarely used in a principled way because they require knowing the corresponding distributions. We show when and how they can be used on PDE problems to regain coverage over time.
PDEs as operator mappings
Many dynamical systems in physics and engineering can be described by evolution equations of the form
∂ u ∂ t ( x , t ) = L x u ( x , t ) , \frac{\partial u}{\partial t}(x,t)=\mathcal{L}_x u(x,t), ∂ t ∂ u ( x , t ) = L x u ( x , t ) ,
where u : Ω × [ 0 , ∞ ) → R u : \Omega\times[0,\infty) \to\mathbb{R} u : Ω × [ 0 , ∞ ) → R is the state variable, x x x denotes spatial coordinates on a bounded domain Ω ⊂ R d \Omega\subset\mathbb{R}^{d} Ω ⊂ R d , t ≥ 0 t \ge0 t ≥ 0 is the time, and L x \mathcal{L}_{x} L x is a (possibly nonlinear) differential operator acting on the spatial variable x x x . In this paper, we are interested in the Cauchy-type problem, where we consider boundary conditions on Ω ‾ \overline{\Omega} Ω and initial conditions u ( x , 0 ) u(x,0) u ( x , 0 ) from some Banach space of functions ( A , ∥ ⋅ ∥ A ) (\mathcal{A}, \|\cdot\|_{\mathcal{A}}) ( A , ∥ ⋅ ∥ A ) and are interested in a solution u ( x , t ) u(x,t) u ( x , t ) in some Banach space of functions ( U t , ∥ ⋅ ∥ U t ) (\mathcal{U}_{t}, \|\cdot\|_{\mathcal{U}_{t}}) ( U t , ∥ ⋅ ∥ U t ) . We will further only consider well-posed problems with a time-invariant differential operator, where we can define solution operators G t : A → U t \mathcal{G}_{t} : \mathcal{A} \to\mathcal{U}_{t} G t : A → U t , G t ( a ) = u ( ⋅ , t ) \mathcal{G}_{t}(a) = u(\cdot,t) G t ( a ) = u ( ⋅ , t ) that uniquely map an initial condition to a solution function u ( x , t ) u(x,t) u ( x , t ) and the map t ↦ G t t \mapsto\mathcal{G}_{t} t ↦ G t is continuous in t t t . In the rest of the paper, we will assume that all functions come from the same space, so A = U t \mathcal{A} = \mathcal{U}_{t} A = U t for all t ≥ 0 t \ge0 t ≥ 0 , to simplify the notation, but the results apply more generally.
WCP for time-dependent PDEs
We begin by specifying the conformal setup, followed by the main theoretical contributions which we summarize in Figure 2 .
Figure 2. Overview of the theoretical results. The colors differentiate between function space (blue) and discretized space (yellow).
Problem setting
From initial conditions to solutions To apply CP in the PDE setting, we first specify the underlying distributions. Let u ( x , t ) u(x,t) u ( x , t ) be the solution of a PDE and S δ : U → U S_{\delta} : \mathcal{U} \to\mathcal{U} S δ : U → U be the solution operator mapping u ( x , t ) u(x,t) u ( x , t ) to u ( x , t + δ ) u(x,t+\delta) u ( x , t + δ ) for any t ≥ 0 t \ge0 t ≥ 0 . We may assume the initial condition (or in practice: our initial measurement) is distributed according to u ( x , 0 ) ∼ P 0 u(x,0) \sim\mathcal{P}_{0} u ( x , 0 ) ∼ P 0 . Then, S δ S_{\delta} S δ induces a pushforward measure2 ^{2} 2 P δ : = ( S δ ) # P 0 \mathcal{P}_{\delta} := (S_{\delta})_{\#}\mathcal{P}_{0} P δ := ( S δ ) # P 0 . If we now consider consecutive time points, our distribution changes over time:
P 0 → S δ P δ → S δ P 2 δ → S δ ⋯ \mathcal{P}_{0} \xrightarrow{S_{\delta}} \mathcal{P}_{\delta} \xrightarrow{S_{\delta}} \mathcal{P}_{2\delta} \xrightarrow{S_{\delta}} \cdots P 0 S δ P δ S δ P 2 δ S δ ⋯
Thus, we obtain a sequence of probability distributions { P k δ } k ∈ N \{\mathcal{P}_{k\delta}\}_{k \in\mathbb{N}} { P k δ } k ∈ N on the same function space, evolving under the PDE dynamics. Calibration and test data drawn from different P t \mathcal{P}_{t} P t are therefore not exchangeable : although they live in the same function space, their distributions shift with time.
Datasets Datasets of size n n n typically consist of pairs ( u i ( x , t ) , u i ( x , t + δ ) ) (u_{i}(x,t), u_{i}(x,t+\delta)) ( u i ( x , t ) , u i ( x , t + δ )) , for i ∈ { 1 , … , n } i \in\{1,\ldots,n\} i ∈ { 1 , … , n } , generated from initial conditions u i ( x , 0 ) ∼ P 0 u_{i}(x,0) \sim\mathcal{P}_{0} u i ( x , 0 ) ∼ P 0 . In practice, the u i u_{i} u i can stem from measurements or numerical simulations. In both simulations and real-world settings, the states u i ( x , t ) u_{i}(x,t) u i ( x , t ) are discretized on a grid with p p p points, yielding vectors in R p \mathbb{R}^{p} R p . In this case, we omit the spatial dependence and denote the discretized solution at time t t t by u i t : = ( u i ( x 0 , t ) , … , u i ( x p − 1 , t ) ) T ∈ R p \mathbf{u}_{i}^{t} := (u_{i}(x_{0},t), \ldots, u_{i}(x_{p-1},t))^{T} \in\mathbb{R}^{p} u i t := ( u i ( x 0 , t ) , … , u i ( x p − 1 , t ) ) T ∈ R p (bold font). Nevertheless, since neural operators can generalize across grids, the function-space viewpoint remains relevant and is commonly adopted in the literature [15 , 13 , 24 ] . Accordingly, we consider both the functional representation (§ 4.2 ) and the discretized setting (§ 4.3 ). Throughout the paper we assume that our calibration dataset consists of pairs ( u c a l , i ( x , t c a l ) , u c a l , i ( x , t c a l + δ ) ) (u_{\mathrm{cal},i}(x,t_{\mathrm{cal}}), u_{\mathrm{cal},i}(x,t_{\mathrm{cal}}+\delta)) ( u cal , i ( x , t cal ) , u cal , i ( x , t cal + δ )) from some time t c a l t_{\mathrm{cal}} t cal and our test dataset consists of pairs ( u t e s t , i ( x , t ) , u t e s t , i ( x , t + δ ) ) (u_{\mathrm{test},i}(x,t), u_{\mathrm{test},i}(x,t+\delta)) ( u test , i ( x , t ) , u test , i ( x , t + δ )) for some t ≥ t c a l t \ge t_{\mathrm{cal}} t ≥ t cal . We omit the subscripts c a l cal c a l and t e s t test t es t for notational simplicity.
Distribution shifts in function spaces
We will now consider CP on PDEs, starting with the function-space perspective, where the data points u i ( x , t ) u_i(x,t) u i ( x , t ) are elements of a suitable function space. As the data is not exchangeable, we must resort to a more general CP method. WCP is not suitable because the function-space densities4 cannot be evaluated, but if the TV distance between the distributions at times t t t and t + δ t+\delta t + δ were moderate, CP coverage guarantees for the prediction at t + δ t+\delta t + δ could still be recovered using the approach from Equation (2) . The following theorem shows that even for simple problems, like the heat equation with Gaussian initial distribution, the TV distance between the solution distributions P t , P t + δ P_t,P_{t+\delta} P t , P t + δ at different time points t , t + δ t,t+\delta t , t + δ is always maximal d T V ( P t , P t + δ ) = 1 d_{\mathrm{TV}}(P_t,P_{t+\delta})=1 d TV ( P t , P t + δ ) = 1 , for all t ≥ 0 , δ > 0 t\geq0,\delta>0 t ≥ 0 , δ > 0 . This is representative of a broader phenomenon that “[...] measures in infinite-dimensional spaces have a strong tendency of being mutually singular.” [14 ] . As a direct consequence, regular CP and any method requiring distributional similarity between calibration and test fails. In particular, exact WCP via Equation (1) is inapplicable.
Theorem 4.1. Consider the one-dimensional heat equation ∂ t u = ∂ x x u \partial_t u=\partial_{xx}u ∂ t u = ∂ xx u on the domain Ω = ( 0 , 1 ) \Omega=(0,1) Ω = ( 0 , 1 ) with Dirichlet boundary conditions, t ≥ 0 t\geq0 t ≥ 0 . Suppose the initial condition u 0 ( x ) u_0(x) u 0 ( x ) is sampled from a Gaussian random field P 0 = N ( 0 , ( I − Λ ) − 1 ) P_0=\mathcal{N}(0,(I-\Lambda)^{-1}) P 0 = N ( 0 , ( I − Λ ) − 1 ) , where Λ \Lambda Λ is the Laplace operator on Ω \Omega Ω . Then, the TV distance between the solution distributions at any two time points is maximal:
d T V ( P t , P t + δ ) = 1 , ∀ t ≥ 0 , δ > 0. d_{\mathrm{TV}}(P_t,P_{t+\delta})=1,\qquad\forall\ t\geq0,\ \delta>0. d TV ( P t , P t + δ ) = 1 , ∀ t ≥ 0 , δ > 0.
Proof sketch: The proof uses the Feldman–Hájek theorem [6 ] , which shows that two Gaussian measures on a Hilbert space are either equivalent or mutually singular. We then calculate the Cameron–Martin spaces of both measures and show they differ, which tells us that the measures cannot be equivalent. The full proof is provided in Appendix § 15 .§ 1 .
We will now discuss how, despite the issue above, coverage guarantees can be achieved in practice.
Coverage guarantees in practice
Theorem 4.1 shows that a pure function-space perspective renders TV-based corrections vacuous, even for arbitrarily close time points. This is not a contradiction to practical CP on PDE surrogate models: in practice, we always observe or simulate on a finite number of degrees of freedom. Therefore, we shift the perspective to the discretized state u i t ∈ R p u_i^t\in\mathbb{R}^p u i t ∈ R p . As we still consider the non-exchangeable setting, we either need additional inductive biases or rely on TV-based corrections. We will consider both approaches, starting with the former.
While CP is inherently distribution-free, related methods such as WCP [32 , 8 ] give up this property in exchange for relaxing the exchangeability assumption. We will now identify a setting relevant to time-dependent PDEs where closed-form likelihood ratios are available so that WCP can be applied.
First, note that in physics, Gaussianity is often assumed for the initial distribution, because the aggregate effect of many small independent perturbations forming the initial condition is approximately Gaussian by the central limit theorem. This is well supported by the literature [21 , 30 , 12 , 39 , 11 ] .
Second, observe that when considering linear PDEs solved with standard numerical schemes, the time evolution is affine u i t + δ = A δ u i t + b δ u_i^{t+\delta}=A_\delta u_i^t+b_\delta u i t + δ = A δ u i t + b δ , with A δ ∈ R p × p A_\delta\in\mathbb{R}^{p\times p} A δ ∈ R p × p and b δ ∈ R p b_\delta\in\mathbb{R}^p b δ ∈ R p . If the initial condition is Gaussian, u i 0 ∼ N ( μ 0 , Σ 0 ) u_i^0\sim\mathcal{N}(\mu_0,\Sigma_0) u i 0 ∼ N ( μ 0 , Σ 0 ) , then u i t u_i^t u i t remains Gaussian for all t ≥ 0 t\geq0 t ≥ 0 , with mean μ t \mu_t μ t and covariance Σ t \Sigma_t Σ t evolving explicitly. Consequently, for linear PDEs with Gaussian initial distribution the calibration and test distributions admit closed-form likelihood ratios, enabling WCP.
Proposition 4.2. Consider a linear evolution equation on a bounded domain with linear boundary conditions and a deterministic source term. If the calibration dataset at time t c a l t_{\mathrm{cal}} t cal and a test sample u t e s t t u_{\mathrm{test}}^t u test t at time t ≥ t c a l t\geq t_{\mathrm{cal}} t ≥ t cal are generated from the same affine numerical scheme on independent initial conditions sampled from a Gaussian distribution, then we can construct a likelihood-weighted conformal predictor such that
P ( u t e s t t + δ ∈ C t + δ W C P ( u t e s t t ) ) ≥ 1 − α . \mathbb{P}\left(u_{\mathrm{test}}^{t+\delta}\in C_{t+\delta}^{\mathrm{WCP}}\left(u_{\mathrm{test}}^t\right)\right)\geq1-\alpha. P ( u test t + δ ∈ C t + δ WCP ( u test t ) ) ≥ 1 − α .
Proof sketch: As the initial distribution is Gaussian and the PDE linear, we can show that the solution at each time step is Gaussian with known mean and covariance. With this, we calculate the exact weights for WCP. The full proof is provided in Appendix § 15 .§ 2 .
Remark 4.3 (Other initial distributions). This result extends to any other initial distribution that is closed under affine transformations (e.g., Cauchy, Laplace, and Logistic). We include additional experiments sampling from different initial distributions, including heavy-tailed Cauchy initial conditions, in Appendix § 19 .
We only know the input-time distribution, not the prediction-time one (Gaussian with unknown moments), so the distribution itself cannot be used to infer uncertainty directly .
Even though WCP is theoretically attainable in the setting we just identified, the resulting conformal bands can become too large in practice to provide useful information. In the next section, we present a way to alleviate this: We show that the grid granularity is a powerful lever for controlling the TV distance and conformal band size, and with this, the applicability of WCP.
Effect of grid granularity
So far we worked with u i t u_i^t u i t at arbitrary granularity. Refining the grid recovers the function-space limit, where Theorem 4.1 gives d T V = 1 d_{\mathrm{TV}}=1 d TV = 1 , raising the question of how granularity affects CP. We analyze this question for the drift PDE which represents slight non-stationary behavior. The following proposition shows that for this PDE, the TV distance approaches 1 exponentially fast in the grid size, so standard CP approaches become inapplicable even under slight drifts.
Proposition 4.4. Consider the drift PDE ∂ t u ( x , t ) = c \partial_t u(x,t)=c ∂ t u ( x , t ) = c , with x ∈ ( 0 , 1 ) x\in(0,1) x ∈ ( 0 , 1 ) , t ≥ 0 t\geq0 t ≥ 0 , c ∈ R c\in\mathbb{R} c ∈ R , and compatible boundary conditions. Define z z z and z i z^i z i as in Equation (2) with n n n calibration pairs at times ( t 1 , t 1 + δ ) (t_1,t_1+\delta) ( t 1 , t 1 + δ ) and a test pair at time ( t 2 , t 2 + δ ) (t_2,t_2+\delta) ( t 2 , t 2 + δ ) from an affine scheme on a grid with p p p points and Gaussian initial conditions. Then, the total variation distance between the laws of z z z and z i z^i z i is
d T V ( z , z i ) = 2 Φ ( 2 p c 2 ∣ t 1 − t 2 ∣ 2 ) − 1 , d_{\mathrm{TV}}(z,z^i)=2\Phi\left(\frac{\sqrt{2pc^2}\lvert t_1-t_2\rvert}{2}\right)-1, d TV ( z , z i ) = 2Φ ( 2 2 p c 2 ∣ t 1 − t 2 ∣ ) − 1 , where Φ \Phi Φ is the cumulative distribution function of the standard normal distribution. Hence, d T V ( z , z i ) → 1 d_{\mathrm{TV}}(z,z^i)\to1 d TV ( z , z i ) → 1 exponentially fast in the grid size p p p and with it, the coverage guarantee from Barber et al. [3 ] vanishes exponentially.
Moreover, for likelihood-ratio weighting as in Equation (7) evaluated at the distribution centers x t e s t : = E [ u n + 1 t 1 ] x_{\mathrm{test}} := \mathbb{E}[u_{n+1}^{t_1}] x test := E [ u n + 1 t 1 ] and x c a l : = E [ u i t 2 ] x_{\mathrm{cal}} := \mathbb{E}[u_i^{t_2}] x cal := E [ u i t 2 ] , the test weight satisfies
w t e s t = 1 − O ( n e − p c 2 ( t 1 − t 2 ) 2 ) , w c a l = O ( e − p c 2 ( t 1 − t 2 ) 2 ) . w_{\mathrm{test}} = 1 - O\left(ne^{-pc^2(t_1-t_2)^2}\right), \qquad w_{\mathrm{cal}} = O\left(e^{-pc^2(t_1-t_2)^2}\right). w test = 1 − O ( n e − p c 2 ( t 1 − t 2 ) 2 ) , w cal = O ( e − p c 2 ( t 1 − t 2 ) 2 ) .
Hence, the weighted conformal bands become infinite at an exponential rate.
Proof sketch: The TV distance follows from Theorem 4.5 with w = 1 \mathbf{w}=1 w = 1 and Σ 0 = I p \Sigma_0=I_p Σ 0 = I p , and for the weights, we calculate the explicit density ratio. The full proof is provided in Appendix § 15 .§ 6 .
We visualize Proposition 4.4 in Figure 3 a. The drift example provides a good heuristic that a slight non-stationarity can lead to exponential decay of the coverage guarantees for general (non)linear PDEs. We extend this result to general linear PDEs in Proposition G.1 .
Figure 3. Visualization for Proposition 4.4 and Proposition 4.7. (a ) Coverage decays exponentially with grid granularity for the baselines, while WCP grows infinite bands (dotted lines). The theoretical lower bound follows Barber et al. [3 ] . (b ) Coverage of the analytical solution of the backward heat equation with numerical conformal bands. With finer granularity, coverage over the analytic solution converges to the target as the reconstruction error vanishes. Also here, the coverage decline effect of (a ) would start dominating at higher granularity. More in Appendix § 16 .§ 4 .
The exponential growth in p p p relies on white-noise initial conditions, where every grid point carries independent information about the drift. In real data, neighboring grid points are usually correlated, which requires a more general statement. The following theorem replaces the grid size p p p by an effective dimension p e f f p_{\mathrm{eff}} p eff , which is small when the drift points along directions of high initial variance. Restricting CP to a subregion of the domain reduces the effective dimension and thereby improves the CP guarantees, though other approaches can be more suitable depending on the covariance structure of the data.
Theorem 4.5. Consider the drift PDE on a grid with p p p points, ∂ t u t = c w \partial_t u^t = c\mathbf{w} ∂ t u t = c w with t ≥ 0 t \ge0 t ≥ 0 , drift strength c ∈ R c \in\mathbb{R} c ∈ R , and drift profile w ∈ R p \mathbf{w} \in\mathbb{R}^p w ∈ R p (e.g., w = 1 \mathbf{w}=1 w = 1 for a constant drift), and let the initial conditions be non-degenerate Gaussian, u 0 ∼ N ( μ 0 , Σ 0 ) u^0 \sim\mathcal{N}(\mu_0,\Sigma_0) u 0 ∼ N ( μ 0 , Σ 0 ) . For z z z and z i z^i z i as in Proposition 4.4,
d T V ( z , z i ) = 2 Φ ( 2 p e f f c 2 ∣ t 1 − t 2 ∣ 2 ) − 1 , with p e f f : = w T Σ 0 − 1 w . d_{\mathrm{TV}}(z,z^i)=2\Phi\left(\frac{\sqrt{2p_{\mathrm{eff}}c^2}\lvert t_1-t_2\rvert}{2}\right)-1,\qquad\text{with }p_{\mathrm{eff}}:=\mathbf{w}^{\mathsf{T}}\Sigma_0^{-1}\mathbf{w}. d TV ( z , z i ) = 2Φ ( 2 2 p eff c 2 ∣ t 1 − t 2 ∣ ) − 1 , with p eff := w T Σ 0 − 1 w . Proof sketch: Whitening the covariance reduces the statement to the equal-covariance identity used for Proposition 4.4. The full proof is provided in Appendix § 15 .§ 5 .
For w = 1 \mathbf{w}=1 w = 1 and Σ 0 = I p \Sigma_0=I_p Σ 0 = I p , we have p e f f = p p_{\mathrm{eff}}=p p eff = p , which recovers Proposition 4.4. Thus, the TV distance is dependent on the smoothness of the initial state and how the PDE drifts relative to it, even approaching 1 1 1 exponentially fast in the grid size.
Knowing that many PDEs of interest are non-stationary, and that fine grids are often required for accurate predictions, it may seem futile to apply non-exchangeable CP on PDEs at all. However, while the full grid is usually necessary for prediction, we often do not need uncertainty quantification over the whole space. Referencing our real-world examples in § 5 , we may find that the temperature of Lake Maggiore is most relevant at depths where certain fish are living, or that bleaching of the FRAP target is most interesting in the middle of the plate where the laser is focused. In such cases, Theorem 4.5 tells us to restrict CP to coherent regions of interest, such as the center of the bleach spot or a few neighboring depths in the lake, and leverage the more favorable properties of the marginal distribution. We demonstrate this in our experiments.
Applications and extensions of the framework
The previous theorem showed that non-exchangeable CP should only be applied to a subset of the grid to avoid exponential decay of the coverage guarantees and uninformative conformal bands. While WCP methods “only” suffer from vacuous prediction intervals instead of undercoverage, they face additional practical challenges: For numerical data, we can evolve the exact mean and covariance from the initial distribution. For real-world measurements, however, the true mean and covariance must be estimated from data, introducing additional uncertainty. While it is common in CP literature that some assumptions cannot be checked on real-world data (e.g., [32 , 3 ] ), we nonetheless want to give a theoretical outlook on how to account for this estimation uncertainty and recover coverage guarantees when additional assumptions can be made.
Proposition 4.6 (Robust WCP under Gaussian distributions). *Under the assumptions of Proposition 4.2, suppose we additionally observe independent estimation samples { u j t c a l } j = 1 n c a l \{u_j^{t_{\mathrm{cal}}}\}_{j=1}^{n_{\mathrm{cal}}} { u j t cal } j = 1 n cal and { u j t } j = 1 n \{u_j^t\}_{j=1}^n { u j t } j = 1 n
with m k > p m_k > p m k > p for k ∈ { 0 , 1 } k \in\{0,1\} k ∈ { 0 , 1 } , and fix an arbitrary estimation uncertainty η > 0 \eta> 0 η > 0 . Then, we can construct a conformal prediction set C t + δ r o b C_{t+\delta}^{\mathrm{rob}} C t + δ rob with coverage guarantee
P ( u t e s t t + δ ∈ C t + δ r o b ( u t e s t t ) ) ≥ 1 − η − α . \mathbb{P}\left(u_{\mathrm{test}}^{t+\delta} \in C_{t+\delta}^{\mathrm{rob}}(u_{\mathrm{test}}^t)\right) \ge1-\eta-\alpha. P ( u test t + δ ∈ C t + δ rob ( u test t ) ) ≥ 1 − η − α .
Smaller η \eta η will usually correspond to wider bands.
Proof sketch: We use the sample distributions of the estimated means and covariances to construct a 1 − η 1-\eta 1 − η confidence region over the true means and covariances. Then, we take the worst case quantiles over these regions. The full proof can be found in Appendix § 15 .§ 3 .
Without additional structure on the covariance, this procedure is intractable in practice, and only of theoretical value. Exploring tractable problem classes (e.g., with covariances diagonal in Fourier space) is left for future work. Empirically, such corrections are often unnecessary, as mean and covariance estimates converge rapidly with the number of samples. In particular, we find that constructing prediction bands from estimated mean and covariance yields consistent coverage, whereas estimating the full distribution shift, as the original WCP does, often leads to undercoverage.
Recovering guarantees for the true solution
While we saw in § 4.2 that function-space coverage is generally intractable, numerical schemes typically come with deterministic error bounds of order O ( h k ) O(h^k) O ( h k ) in the grid size h h h . The following proposition lifts a discrete CP set C h C_h C h to a conformal set on the true solution by inflating C h C_h C h with this error: the convergence rate carries over (even though unknown constants typically prevent computing C C C explicitly), and depends only on the prediction granularity rather than that used for C h C_h C h . See Figure 3 b for an empirical demonstration.
Proposition 4.7. Let u ( ⋅ , t ) u(\cdot,t) u ( ⋅ , t ) be a PDE solution in some function space ( U , ∥ ⋅ ∥ U ) (U,\lVert\cdot\rVert_U) ( U , ∥ ⋅ ∥ U ) and u t u^t u t be its approximation via some numerical scheme on grid size h h h . Let C h C_h C h be a conformal prediction set for the discretized state with coverage 1 − α 1-\alpha 1 − α and assume that an error bound ∥ u ( ⋅ , t ) − I h u t ∥ U ≤ ε h , t ( u 0 ) \lVert u(\cdot,t)-I_hu^t\rVert_U \le\varepsilon_{h,t}(u_0) ∥ u ( ⋅ , t ) − I h u t ∥ U ≤ ε h , t ( u 0 ) is available via some reconstruction operator I h : R p → U I_h:\mathbb{R}^p \to U I h : R p → U (e.g., piecewise interpolation). Then we can define a conformal set for the function-space setting, C ⊂ U C \subset U C ⊂ U , with P ( u ( ⋅ , t ) ∈ C ) ≥ 1 − α \mathbb{P}(u(\cdot,t) \in C) \ge1-\alpha P ( u ( ⋅ , t ) ∈ C ) ≥ 1 − α by
C : = { v ∈ U : ∃ z ∈ C h with ∥ v − I h z ∥ U ≤ ε h , t ( u 0 ) } . (3) C := \{v \in U : \exists z \in C_h \text{ with } \lVert v-I_hz\rVert_U \le\varepsilon_{h,t}(u_0)\}. \tag*{(3)} C := { v ∈ U : ∃ z ∈ C h with ∥ v − I h z ∥ U ≤ ε h , t ( u 0 )} . (3)
Proof sketch: We use the error bound to extend the conformal set for the numerical solution using the triangle inequality. The full proof is given in Appendix § 15 .§ 4 and a visualization in Figure 3 b.
Experiments
We demonstrate our theoretical results on both synthetic and real-world data, in particular the coverage of WCP with Gaussian likelihood ratio.
Experimental setup For the synthetic case, we choose the general second-order PDE framework, which covers many well-known PDEs u t = a u x x + b u x + c u u_t = au_{xx} + bu_x + cu u t = a u xx + b u x + c u , x ∈ ( 0 , 2 π ) x \in(0,2\pi) x ∈ ( 0 , 2 π ) , t ≥ 0 t \ge0 t ≥ 0 where a , b , c ∈ R a,b,c \in\mathbb{R} a , b , c ∈ R are tunable parameters and u 0 u_0 u 0 is sampled from a multivariate Gaussian. We target setups where the PDE becomes more unstable over time (a < 0 a < 0 a < 0 ). Otherwise, the PDE smooths out over time, leading to trivial coverage at future time steps. Hence, we consider a ∈ { − 0.005 , − 0.0075 , − 0.01 } a \in\{-0.005,-0.0075,-0.01\} a ∈ { − 0.005 , − 0.0075 , − 0.01 } and for the remaining parameters we choose b , c ∈ { − 0.5 , 0 , 0.5 } b,c \in\{-0.5,0,0.5\} b , c ∈ { − 0.5 , 0 , 0.5 } . See Figure H.1 for exemplary data. For real-world scenarios , we use pulsed-thermography measurements from Wei et al. [34 ] , diffusion dynamics from FRAP-microscopy (Fluorescence recovery after photobleaching) [35 ] , and heat-diffusion from sensors in Lake Maggiore under seasonal drift [31 ] (details in Appendices § 17 .§ 1 , § 17 .§ 2 , and § 17 .§ 3 ). We consider the following tasks, targeting 90% coverage:5 (1) Recalibration case: Starting from t 0 = 0 t_0=0 t 0 = 0 , we generate states at time steps t i = t 0 + i δ t_i=t_0+i\delta t i = t 0 + i δ . We use pairs ( t i , t i + 1 ) (t_i,t_{i+1}) ( t i , t i + 1 ) for calibration and test on ( t i + 1 , t i + 2 ) (t_{i+1},t_{i+2}) ( t i + 1 , t i + 2 ) for i ∈ { 0 , … , 18 } i \in\{0,\ldots,18\} i ∈ { 0 , … , 18 } (we also include the calibration time coverage as the first step). The inverse scenario is obtained by reversing time. (2) General case: Above, but no recalibration is allowed after t 0 t_0 t 0 , corresponding to deployment at an unknown future time.
Baselines We define four baselines for our experiments. The first is a naïve implementation (Supr.) which depends on exchangeability [7 ] . Secondly, we use WCP with learned weights, as described in Tibshirani et al. [32 ] (WCP Learned), which serves as our main baseline. Thirdly, we use the LSCI method [15 ] , a novel approach for CP on PDEs (note Appendix § 12 ). Finally, we use Dynamically-Tuned Adaptive Conformal Inference (DtACI) by Gibbs and Candès [10 ] , an updated version of the original Adaptive CP [9 ] with automatic parameter selection. However, as adaptive CP requires an evaluation of the error at every step, this method is only applicable to the recalibration task. We compare these to our WCP method (WCP Gauss), which only estimates mean and covariance for each model input to construct the weights. In cases where the distributional dissimilarity of u t u_t u t and u t + δ u_{t+\delta} u t + δ is too large, the WCP methods predict infinite bands. We report the fraction of these samples as n ∞ n_{\infty} n ∞ . A band is wider the larger the likelihood ratio of its test sample, and infinite once the normalized test weight exceeds α \alpha α (Appendix § 18 .§ 3 ). Note that in safety-critical applications, reporting trivial bands is often a more valuable result than delivering bands with undercoverage.
Additional experiments To demonstrate the effect of our derived results, Figure 3 provides visualizations of Proposition 4.4 and Proposition 4.7. More details in Appendix § 16 .§ 4 . We additionally include an ablation study in Appendix § 16 .§ 3 that stress-tests WCP Gauss under reduced sample sizes and increased dimensionality. As expected, when the number of samples is insufficient relative to the problem dimensionality, instability in covariance estimation can lead to undercoverage. Coverage is stable across random calibration/test splits and, for the pulsed-thermography data, across plate assignments with retrained surrogates (Appendix § 18 .§ 1 ).
Results Exemplary figures for synthetic and real-world coverage results can be seen in Figure 4 and Figure 12 respectively. Results for all remaining parameter combinations (incl. tables) are provided in Appendix § 19 .6 Across both synthetic and real-world tasks, WCP Gauss is the only method that consistently attains the target coverage. In general, WCP Gauss can estimate the weights more easily than WCP Learned, and DtACI would require longer time windows to adapt (which may require costly measurements). This does not mean that coverage with other methods is impossible. While other methods can achieve coverage in specific settings or with careful tuning or more expressive models (e.g., for WCP Learned), this behavior does not generalize reliably. In practice, small changes such as grid resolution, PDE parameters, or evaluation time steps can already lead to undercoverage. This issue is often hidden in smoothing forward problems, where residuals shrink over time, but becomes apparent in inverse problems, unstable dynamics, or blow-up regimes. Overall, WCP is the only method providing formal guarantees, and we can see empirically that this is a clear advantage as soon as our system exhibits significant dynamics.
Figure 4. Coverages for varying a a a and fixed b = 0 b = 0 b = 0 , c = 0.5 c = 0.5 c = 0.5 on the recalibration task. The 90% target is marked by a black dashed line. For WCP Gauss and WCP Learned, the fraction of samples with infinite bandwidth n ∞ n_{\infty} n ∞ is indicated by green and pink dotted lines, respectively. Coverage holds for some parameters, but small variations induce undercoverage at later time steps. Only WCP Gauss meets the target throughout.
Limitations
The convergence results for increasing grid granularity (Proposition 4.4) should be read as a heuristic for (non)linear PDEs: with increasing granularity, even small drifts can cause the TV distance to deteriorate rapidly. Of course, one can construct PDEs with no drift at all, which may exhibit more favorable TV behavior. Similar considerations apply to the vacuous TV bound in function spaces. Identifying the conditions under which these effects occur more generally is left for future work. Finally, while the lifting proposition (Proposition 4.7) is independent of the choice of PDE, the proposed WCP method (Proposition 4.2 together with Proposition 4.6 ) relies strictly on linearity and loses its coverage guarantees for nonlinear PDEs, where coverage depends on the PDE parameters (Appendix § 18 .§ 2 ).
Discussion
Conformal prediction for time-dependent physical phenomena is often constrained by non-exchangeable data. In this work, we investigated whether coverage guarantees can be maintained beyond the exchangeability assumption and show that this depends strongly on the problem representation. On function spaces, measures are typically mutually singular, making coverage guarantees unattainable. On discretized domains, however, we derived how weighted CP can be applied to linear PDEs to obtain coverage guarantees. We further show that these guarantees can be preserved for real-world measurements, and that CP should be restricted to a coarse, low-dimensional grid to provide meaningful guarantees. A natural next step is to extend these results to specific classes of (non)linear PDEs.
Acknowledgments and Disclosure of Funding
The authors gratefully acknowledge the computational and data resources provided by the Leibniz Supercomputing Centre (LRZ). JS acknowledges funding from the Munich Center for Machine Learning (MCML), as well as the support he received from the METEOR Research Training Group, which is sponsored by the German Research Foundation. AS is supported by the DAAD programme Konrad Zuse Schools of Excellence in Artificial Intelligence, sponsored by the Federal Ministry of Research, Technology and Space. The authors declare no competing interests.
LLM disclaimer
Large language models (LLMs) were used to support the development and execution of this project. They contributed to improving the clarity and readability of the manuscript, suggesting alternative phrasings, helping with the code, offering feedback on mathematical arguments, and providing ideas throughout the research and coding process. All research contributions, results, and final formulations were manually verified.
Licenses of external assets
All external assets used in this work are publicly available. The pulsed-thermography dataset of Wei et al. [34 ] is released under CC-BY 4.0 and hosted on Kaggle.7 The Lake Maggiore thermistor data of Scheu et al. [31 ] is archived on Zenodo under CC-BY 4.0.8 The FRAP dataset and reference code of Wåhlstrand Skärström et al. [35 ] are archived on Zenodo under CC-BY 4.0.9
Example: a Gaussian random field on a function space
A probability distribution on a function space is very similar to a distribution on R p \mathbb{R}^{p} R p . Where a draw from a multivariate Gaussian N ( μ , Σ ) \mathcal{N}(\mu,\Sigma) N ( μ , Σ ) on R p \mathbb{R}^{p} R p produces a vector of p p p numbers, a draw from a distribution on L 2 ( Ω ) L^{2}(\Omega) L 2 ( Ω ) produces an entire function u : Ω → R u:\Omega\to\mathbb{R} u : Ω → R . Each sample is a function over Ω \Omega Ω , and different draws give different functions.
The simplest and most common such distributions are Gaussian random fields (GRFs), the infinite-dimensional analogue of multivariate Gaussians. Like a Gaussian on R p \mathbb{R}^{p} R p , a GRF is determined by two ingredients: a mean function m ∈ L 2 ( Ω ) m\in L^{2}(\Omega) m ∈ L 2 ( Ω ) playing the role of μ \mu μ , and a covariance operator C C C playing the role of Σ \Sigma Σ . The covariance operator C : L 2 ( Ω ) → L 2 ( Ω ) C:L^{2}(\Omega)\to L^{2}(\Omega) C : L 2 ( Ω ) → L 2 ( Ω ) must be positive, symmetric, and trace class [14 ] . The trace-class condition is what makes the infinite sum of variances finite, ensuring samples actually lie in L 2 ( Ω ) L^{2}(\Omega) L 2 ( Ω ) . We write u ∼ N ( m , C ) u\sim\mathcal{N}(m,C) u ∼ N ( m , C ) .
The most useful way to picture a sample is via its Karhunen–Loève expansion . If ( μ n , e n ) n ≥ 1 (\mu_n,e_n)_{n\ge1} ( μ n , e n ) n ≥ 1 are the eigenvalues and eigenfunctions of C C C (so C e n = μ n e n Ce_n=\mu_ne_n C e n = μ n e n ), then a draw u ∼ N ( 0 , C ) u\sim\mathcal{N}(0,C) u ∼ N ( 0 , C ) can be written as
u ( x ) = ∑ n = 1 ∞ μ n ξ n e n ( x ) , ξ n ∼ i i d N ( 0 , 1 ) , (4) u(x)=\sum_{n=1}^{\infty}\sqrt{\mu_n}\,\xi_ne_n(x),\qquad\xi_n\overset{\mathrm{iid}}{\sim}\mathcal{N}(0,1), \tag*{(4)} u ( x ) = n = 1 ∑ ∞ μ n ξ n e n ( x ) , ξ n ∼ iid N ( 0 , 1 ) , (4)
i.e., a random superposition of the basis functions e n e_n e n with independent Gaussian coefficients whose variances μ n \mu_n μ n are set by C C C . The decay rate of μ n \mu_n μ n controls how rough or smooth the samples look: fast decay suppresses high-frequency e n e_n e n and gives smooth samples, slow decay gives rough ones.
For Theorem 4.1, we take Ω = ( 0 , 1 ) \Omega=(0,1) Ω = ( 0 , 1 ) , m = 0 m=0 m = 0 , and C = ( I − Λ ) − 1 C=(I-\Lambda)^{-1} C = ( I − Λ ) − 1 with Λ \Lambda Λ the Laplace operator under homogeneous Dirichlet boundary conditions. The eigenfunctions e n ( x ) = 2 sin ( n π x ) e_n(x)=\sqrt{2}\sin(n\pi x) e n ( x ) = 2 sin ( nπ x ) are sine modes of increasing frequency, and the eigenvalues μ n = 1 / ( 1 + ( n π ) 2 ) \mu_n=1/(1+(n\pi)^2) μ n = 1/ ( 1 + ( nπ ) 2 ) decay like 1 / n 2 1/n^2 1/ n 2 . The trace condition ∑ n μ n < ∞ \sum_n\mu_n<\infty ∑ n μ n < ∞ holds, so N ( 0 , C ) \mathcal{N}(0,C) N ( 0 , C ) is a well-defined GRF on L 2 ( Ω ) L^2(\Omega) L 2 ( Ω ) . Each sample is a continuous function on ( 0 , 1 ) (0,1) ( 0 , 1 ) that vanishes at the endpoints (because all e n e_n e n do), with most of its energy in the low-frequency modes.
Validating local exchangeability
To have formal guarantees with the LSCI approach from [15 ] , it is required that the model’s residuals r t r_t r t are locally exchangeable. Considering this for the simplest setup of two time points t t t and t + δ t+\delta t + δ for some δ > 0 \delta>0 δ > 0 , this means that it must hold that
d T V ( ( r t r t + δ ) , ( r t + δ r t ) ) ≤ d ( t , t + δ ) d_{\mathrm{TV}}\left(\begin{pmatrix}r_t\\r_{t+\delta}\end{pmatrix},\begin{pmatrix}r_{t+\delta}\\r_t\end{pmatrix}\right)\le d(t,t+\delta) d TV ( ( r t r t + δ ) , ( r t + δ r t ) ) ≤ d ( t , t + δ )
for a pre-metric d d d on the time domain. Note, however, that since we do not have access to the laws of the random vectors above, we cannot reason about their TV distance. Even though in Proposition 4.2 we derive the laws of the solutions u t u_t u t , it is not clear how to reason about the above left-hand side without further assumptions (like independence of the residuals over time, which is not plausible as the solution has a clear time-dependence in all non-stationary PDEs).
Additional figures
Figure E.1. CP bands of the backward heat equation calibrated at t = 0 t = 0 t = 0 . Each panel shows one time point of the solution u ( x , t ) u(x,t) u ( x , t ) and CP bands over the spatial domain x x x . While at time t = δ t = \delta t = δ , the solution is properly covered, coverage is lost at later time steps.
Weighted conformal prediction formula
For completeness, we recall the explicit form of the weighted split conformal predictor of Tibshirani et al. [32 ] that underlies our WCP Gauss method (Proposition 4.2).
Given a calibration set D c a l = { ( x i , y i ) } i = 1 n \mathcal{D}_{\mathrm{cal}} = \{(x_i,y_i)\}_{i=1}^{n} D cal = {( x i , y i ) } i = 1 n , a fixed score function S S S , and unnormalized weights w i w_i w i on D c a l ∪ { x t e s t } \mathcal{D}_{\mathrm{cal}} \cup\{x_{\mathrm{test}}\} D cal ∪ { x test } (e.g., Equation (1) or, in our case, Equation (7) ), define the normalized weights
w ~ i : = w i ∑ j = 1 n w j + w t e s t , i = 1 , … , n , w ~ n + 1 : = w t e s t ∑ j = 1 n w j + w t e s t . (5) \widetilde{w}_i := \frac{w_i}{\sum_{j=1}^{n} w_j + w_{\mathrm{test}}}, \quad i = 1,\ldots,n, \qquad\widetilde{w}_{n+1} := \frac{w_{\mathrm{test}}}{\sum_{j=1}^{n} w_j + w_{\mathrm{test}}}. \tag*{(5)} w i := ∑ j = 1 n w j + w test w i , i = 1 , … , n , w n + 1 := ∑ j = 1 n w j + w test w test . (5)
where w t e s t w_{\mathrm{test}} w test is the weight evaluated at x t e s t x_{\mathrm{test}} x test . Writing S i : = S ( x i , y i ) S_i := S(x_i,y_i) S i := S ( x i , y i ) for the calibration scores, the weighted split conformal prediction set at level 1 − α 1-\alpha 1 − α is
C W C P ( x t e s t ) : = { y ∈ R : S ( x t e s t , y ) ≤ Q 1 − α ( ∑ i = 1 n w ~ i δ S i + w ~ n + 1 δ + ∞ ) } . (6) C^{\mathrm{WCP}}(x_{\mathrm{test}}) := \left\{y \in\mathbb{R} : S(x_{\mathrm{test}},y) \le Q_{1-\alpha}\left(\sum_{i=1}^{n} \widetilde{w}_i \delta_{S_i} + \widetilde{w}_{n+1}\delta_{+\infty}\right)\right\}. \tag*{(6)} C WCP ( x test ) := { y ∈ R : S ( x test , y ) ≤ Q 1 − α ( i = 1 ∑ n w i δ S i + w n + 1 δ + ∞ ) } . (6)
where δ a \delta_a δ a denotes a point mass at a a a and Q 1 − α ( μ ) Q_{1-\alpha}(\mu) Q 1 − α ( μ ) the ( 1 − α ) (1-\alpha) ( 1 − α ) -quantile of the discrete measure μ \mu μ . The atom at + ∞ +\infty + ∞ forces C W C P = R C^{\mathrm{WCP}} = \mathbb{R} C WCP = R whenever w ~ n + 1 > α \widetilde{w}_{n+1} > \alpha w n + 1 > α , i.e., whenever the test point is so unlike the calibration set that no finite quantile carries enough mass. This corresponds to the infinite bands reported as n ∞ n_\infty n ∞ in our experiments. With weights set to the true density ratio between test and calibration distributions, the predictor satisfies P ( y t e s t ∈ C W C P ( x t e s t ) ) ≥ 1 − α \mathbb{P}(y_{\mathrm{test}} \in C^{\mathrm{WCP}}(x_{\mathrm{test}})) \ge1-\alpha P ( y test ∈ C WCP ( x test )) ≥ 1 − α [32 ] . Standard split CP (§ 3.1 ) is recovered by setting w i ≡ 1 w_i \equiv1 w i ≡ 1 , which collapses all normalized weights to 1 / ( n + 1 ) 1/(n+1) 1/ ( n + 1 ) .
Gaussian WCP algorithm Algorithm 1 below instantiates the WCP set in Equation (6) using Gaussian density estimates at calibration and prediction times, with covariance estimated by the Ledoit–Wolf shrinkage estimator [19 ] for stability in the high-dimensional regime. We list the algorithm with different sets for calibration and test. In practice, it should be common to use the same trajectories at different time points for calibration and testing. We show both in our real-world tasks, where the pulsed-thermography and FRAP datasets use the same trajectories, but Lake Maggiore splits the data (at least it splits them into early-spring and late-spring).
Algorithm 1: WCP for time-dependent PDEs.
Input: calibration pairs { ( u i t c a l , u i t c a l + δ ) } i = 1 n \{(u_i^{t_{\mathrm{cal}}},u_i^{t_{\mathrm{cal}}+\delta})\}_{i=1}^{n} {( u i t cal , u i t cal + δ ) } i = 1 n , test-time inputs { u ~ j t } j = 1 m + 1 \{\tilde{u}_j^t\}_{j=1}^{m+1} { u ~ j t } j = 1 m + 1 at time t ≥ t c a l t \ge t_{\mathrm{cal}} t ≥ t cal (with u ~ m + 1 t \tilde{u}_{m+1}^t u ~ m + 1 t the query), nonconformity score S S S , miscoverage level α \alpha α .
Output: prediction set C t + δ W C P ( u ~ m + 1 t ) C_{t+\delta}^{\mathrm{WCP}}(\tilde{u}_{m+1}^t) C t + δ WCP ( u ~ m + 1 t ) .
D t c a l ← { u i t c a l } i = 1 n \mathcal{D}_{t_{\mathrm{cal}}} \leftarrow\{u_i^{t_{\mathrm{cal}}}\}_{i=1}^{n} D t cal ← { u i t cal } i = 1 n , D t ← { u ~ j t } j = 1 m \mathcal{D}_t \leftarrow\{\tilde{u}_j^t\}_{j=1}^{m} D t ← { u ~ j t } j = 1 m
for τ ∈ { t c a l , t } \tau\in\{t_{\mathrm{cal}},t\} τ ∈ { t cal , t } do
μ ^ τ ← 1 ∣ D τ ∣ ∑ u ∈ D τ u \hat{\mu}_{\tau} \leftarrow\frac{1}{|\mathcal{D}_{\tau}|}\sum_{u\in\mathcal{D}_{\tau}}u μ ^ τ ← ∣ D τ ∣ 1 ∑ u ∈ D τ u // sample mean
Σ ^ τ ← LedoitWolf ( D τ ) \hat{\Sigma}_{\tau} \leftarrow\operatorname{LedoitWolf}(\mathcal{D}_{\tau}) Σ ^ τ ← LedoitWolf ( D τ ) // Ledoit–Wolf shrinkage
for i = 1 , … , n i=1,\ldots,n i = 1 , … , n do
w i ← φ ( u i t c a l ; μ ^ t , Σ ^ t ) / φ ( u i t c a l ; μ ^ t c a l , Σ ^ t c a l ) w_i \leftarrow\varphi(u_i^{t_{\mathrm{cal}}};\hat{\mu}_t,\hat{\Sigma}_t)/\varphi(u_i^{t_{\mathrm{cal}}};\hat{\mu}_{t_{\mathrm{cal}}},\hat{\Sigma}_{t_{\mathrm{cal}}}) w i ← φ ( u i t cal ; μ ^ t , Σ ^ t ) / φ ( u i t cal ; μ ^ t cal , Σ ^ t cal ) // importance weight
S i ← S ( u i t c a l , u i t c a l + δ ) S_i \leftarrow S(u_i^{t_{\mathrm{cal}}},u_i^{t_{\mathrm{cal}}+\delta}) S i ← S ( u i t cal , u i t cal + δ ) // calibration score
w m + 1 ← φ ( u ~ m + 1 t ; μ ^ t , Σ ^ t ) / φ ( u ~ m + 1 t ; μ ^ t c a l , Σ ^ t c a l ) w_{m+1} \leftarrow\varphi(\tilde{u}_{m+1}^t;\hat{\mu}_t,\hat{\Sigma}_t)/\varphi(\tilde{u}_{m+1}^t;\hat{\mu}_{t_{\mathrm{cal}}},\hat{\Sigma}_{t_{\mathrm{cal}}}) w m + 1 ← φ ( u ~ m + 1 t ; μ ^ t , Σ ^ t ) / φ ( u ~ m + 1 t ; μ ^ t cal , Σ ^ t cal ) // test weight
w ~ i ← w i / ( ∑ j w j + w m + 1 ) \tilde{w}_i \leftarrow w_i/(\sum_j w_j+w_{m+1}) w ~ i ← w i / ( ∑ j w j + w m + 1 ) , w ~ n + 1 ← w m + 1 / ( ∑ j w j + w m + 1 ) \tilde{w}_{n+1} \leftarrow w_{m+1}/(\sum_j w_j+w_{m+1}) w ~ n + 1 ← w m + 1 / ( ∑ j w j + w m + 1 ) // normalize, cf. (5)
q ^ 1 − α ← Q 1 − α ( ∑ i = 1 n w ~ i δ S i + w ~ n + 1 δ + ∞ ) \hat{q}_{1-\alpha} \leftarrow Q_{1-\alpha}(\sum_{i=1}^{n}\tilde{w}_i\delta_{S_i}+\tilde{w}_{n+1}\delta_{+\infty}) q ^ 1 − α ← Q 1 − α ( ∑ i = 1 n w ~ i δ S i + w ~ n + 1 δ + ∞ )
return C t + δ W C P ( u ~ m + 1 t ) = { y : S ( u ~ m + 1 t , y ) ≤ q ^ 1 − α } C_{t+\delta}^{\mathrm{WCP}}(\tilde{u}_{m+1}^t)=\{y:S(\tilde{u}_{m+1}^t,y)\leq\hat{q}_{1-\alpha}\} C t + δ WCP ( u ~ m + 1 t ) = { y : S ( u ~ m + 1 t , y ) ≤ q ^ 1 − α }
Proofs
Proof of Theorem 4.1
Theorem 4.1. Consider the one-dimensional heat equation ∂ t u = ∂ x x u \partial_tu=\partial_{xx}u ∂ t u = ∂ xx u on the domain Ω = ( 0 , 1 ) \Omega=(0,1) Ω = ( 0 , 1 ) with Dirichlet boundary conditions, t ≥ 0 t\geq0 t ≥ 0 . Suppose the initial condition u 0 ( x ) u_0(x) u 0 ( x ) is sampled from a Gaussian random field P 0 = N ( 0 , ( I − Λ ) − 1 ) \mathcal{P}_0=\mathcal{N}(0,(I-\Lambda)^{-1}) P 0 = N ( 0 , ( I − Λ ) − 1 ) , where Λ \Lambda Λ is the Laplace operator on Ω \Omega Ω . Then, the TV distance between the solution distributions at any two time points is maximal:
d T V ( P t , P t + δ ) = 1 , ∀ t ≥ 0 , δ > 0. d_{\mathrm{TV}}(\mathcal{P}_t,\mathcal{P}_{t+\delta})=1,\qquad\forall t\geq0,\ \delta>0. d TV ( P t , P t + δ ) = 1 , ∀ t ≥ 0 , δ > 0.
Proof. Notice that our whole setup is on a Hilbert space. We begin by showing that ( I − Λ ) − 1 (I-\Lambda)^{-1} ( I − Λ ) − 1 is a well-defined covariance operator on L 2 ( Ω ) L^2(\Omega) L 2 ( Ω ) . For this, according to [14 Proposition 4.17] , the operator must be positive, symmetric and trace class. As both I I I and − Λ -\Lambda − Λ are positive and symmetric, so is their sum. As − Λ -\Lambda − Λ is positive, it follows that ( I − Λ ) (I-\Lambda) ( I − Λ ) is invertible, due to strictly positive eigenvalues. Further, the eigenvalues of − Λ -\Lambda − Λ with Dirichlet boundary conditions are given by λ n = ( n π ) 2 \lambda_n=(n\pi)^2 λ n = ( nπ ) 2 , with corresponding eigenfunctions e n ( x ) = 2 sin ( n π x ) e_n(x)=\sqrt{2}\sin(n\pi x) e n ( x ) = 2 sin ( nπ x ) , which form an orthonormal basis of L 2 ( Ω ) L^2(\Omega) L 2 ( Ω ) . Therefore, the eigenvalues of ( I − Λ ) − 1 (I-\Lambda)^{-1} ( I − Λ ) − 1 are given by μ n = 1 / ( 1 + ( n π ) 2 ) \mu_n=1/(1+(n\pi)^2) μ n = 1/ ( 1 + ( nπ ) 2 ) and as
∑ n = 1 ∞ μ n < ∞ , \sum_{n=1}^{\infty}\mu_n<\infty, n = 1 ∑ ∞ μ n < ∞ ,
we conclude that ( I − Λ ) − 1 (I-\Lambda)^{-1} ( I − Λ ) − 1 is a trace class operator and thus defines a Gaussian measure on L 2 ( Ω ) L^2(\Omega) L 2 ( Ω ) .
Now our proof will be based on the Feldman–Hájek theorem [6 Theorem 2.23] , which gives a characterization of when two Gaussian measures on a Hilbert space are either equivalent or mutually singular. We will briefly state the whole chain of reasoning, and then provide the necessary details.
We will show that our measure at all times is Gaussian. By the Feldman–Hájek theorem, two Gaussian measures N ( m 1 , C 1 ) \mathcal{N}(m_1,C_1) N ( m 1 , C 1 ) and N ( m 2 , C 2 ) \mathcal{N}(m_2,C_2) N ( m 2 , C 2 ) on a Hilbert space are either equivalent or mutually singular. A necessary condition for equivalence is that the Cameron–Martin spaces, as given by C 1 1 / 2 C_1^{1/2} C 1 1/2 , of the two measures are equal as sets [6 Theorem 2.23] . Thus, if the ranges of the covariance operators C 1 1 / 2 C_1^{1/2} C 1 1/2 and C 2 1 / 2 C_2^{1/2} C 2 1/2 are not equal, then the measures are mutually singular and their TV distance is 1 1 1 .
Calculating the covariance operators Starting with a measure μ 0 \mu_0 μ 0 of the initial distribution, the heat equation induces a semigroup S ( t ) = exp ( t Λ ) \mathcal{S}(t)=\exp(t\Lambda) S ( t ) = exp ( t Λ ) , which maps the initial condition u 0 u_0 u 0 to the solution at time t t t , i.e., u ( ⋅ , t ) = S ( t ) u 0 u(\cdot,t)=\mathcal{S}(t)u_0 u ( ⋅ , t ) = S ( t ) u 0 . Therefore, the measure μ t \mu_t μ t of u ( ⋅ , t ) u(\cdot,t) u ( ⋅ , t ) is induced by the pushforward of μ 0 \mu_0 μ 0 under S ( t ) S(t) S ( t ) , i.e., μ t = S ( t ) # μ 0 \mu_t = S(t)\#\mu_0 μ t = S ( t ) # μ 0 . As S ( t ) S(t) S ( t ) is linear, μ t \mu_t μ t is also a Gaussian measure with mean 0 and covariance operator
C t = S ( t ) ( I − Λ ) − 1 S ( t ) ∗ = exp ( t Λ ) ( I − Λ ) − 1 exp ( t Λ ) . C_t = S(t)(I-\Lambda)^{-1}S(t)^* = \exp(t\Lambda)(I-\Lambda)^{-1}\exp(t\Lambda). C t = S ( t ) ( I − Λ ) − 1 S ( t ) ∗ = exp ( t Λ ) ( I − Λ ) − 1 exp ( t Λ ) .
where S ( t ) ∗ S(t)^* S ( t ) ∗ denotes the adjoint of S ( t ) S(t) S ( t ) [14 Chap. 4.3] . As we have seen above, the eigenvalues of ( I − Λ ) − 1 (I-\Lambda)^{-1} ( I − Λ ) − 1 are given by μ n = 1 / ( 1 + ( n π ) 2 ) \mu_n = 1/(1+(n\pi)^2) μ n = 1/ ( 1 + ( nπ ) 2 ) , with corresponding eigenfunctions e n ( x ) e_n(x) e n ( x ) . Further, the eigenfunctions of Λ \Lambda Λ are also given by e n ( x ) e_n(x) e n ( x ) , with corresponding eigenvalues λ n = − ( n π ) 2 \lambda_n = -(n\pi)^2 λ n = − ( nπ ) 2 . Lastly, by functional calculus, the eigenfunctions of exp ( t Λ ) \exp(t\Lambda) exp ( t Λ ) are also given by e n ( x ) e_n(x) e n ( x ) with corresponding eigenvalues ν n = exp ( − t ( n π ) 2 ) \nu_n = \exp(-t(n\pi)^2) ν n = exp ( − t ( nπ ) 2 ) . With this, we can compute
C t e n = exp ( t Λ ) ( I − Λ ) − 1 exp ( t Λ ) e n = ( exp ( − t ( n π ) 2 ) ) ( 1 1 + ( n π ) 2 ) ( exp ( − t ( n π ) 2 ) e n ) = exp ( − 2 t ( n π ) 2 ) 1 + ( n π ) 2 e n . \begin{aligned}
C_t e_n = \exp(t\Lambda)(I-\Lambda)^{-1}\exp(t\Lambda)e_n \\
&= \left(\exp(-t(n\pi)^2)\right)\left(\frac{1}{1+(n\pi)^2}\right)\left(\exp(-t(n\pi)^2)e_n\right) = \frac{\exp(-2t(n\pi)^2)}{1+(n\pi)^2}e_n.
\end{aligned} C t e n = exp ( t Λ ) ( I − Λ ) − 1 exp ( t Λ ) e n = ( exp ( − t ( nπ ) 2 ) ) ( 1 + ( nπ ) 2 1 ) ( exp ( − t ( nπ ) 2 ) e n ) = 1 + ( nπ ) 2 exp ( − 2 t ( nπ ) 2 ) e n .
Thus, the eigenvalues of C t C_t C t are given by λ n ( t ) = ν n 2 μ n = exp ( − 2 t ( n π ) 2 ) / ( 1 + ( n π ) 2 ) \lambda_n(t)=\nu_n^2\mu_n=\exp(-2t(n\pi)^2)/(1+(n\pi)^2) λ n ( t ) = ν n 2 μ n = exp ( − 2 t ( nπ ) 2 ) / ( 1 + ( nπ ) 2 ) , with corresponding eigenfunctions e n ( x ) e_n(x) e n ( x ) .
Calculating the Cameron–Martin spaces The functions e n ( x ) e_n(x) e n ( x ) form an orthonormal basis of L 2 ( Ω ) L^2(\Omega) L 2 ( Ω ) , so we can express every element f ∈ L 2 ( Ω ) f\in L^2(\Omega) f ∈ L 2 ( Ω ) as
f = ∑ n = 1 ∞ c n e n , ∑ n = 1 ∞ c n 2 < ∞ . f=\sum_{n=1}^{\infty}c_ne_n,\qquad\sum_{n=1}^{\infty}c_n^2<\infty. f = n = 1 ∑ ∞ c n e n , n = 1 ∑ ∞ c n 2 < ∞.
The Cameron–Martin space H t H_t H t of P t \mathcal{P}_t P t is given by the range of C t 1 / 2 C_t^{1/2} C t 1/2 , which is given by
Ran ( C t 1 / 2 ) = { C t 1 / 2 f ∣ f ∈ L 2 ( Ω ) } = { ∑ n = 1 ∞ λ n ( t ) c n e n ∣ f ∈ L 2 ( Ω ) } . \operatorname{Ran}(C_t^{1/2})=\left\{C_t^{1/2}f\mid f\in L^2(\Omega)\right\}=\left\{\sum_{n=1}^{\infty}\sqrt{\lambda_n(t)}c_ne_n\mid f\in L^2(\Omega)\right\}. Ran ( C t 1/2 ) = { C t 1/2 f ∣ f ∈ L 2 ( Ω ) } = { n = 1 ∑ ∞ λ n ( t ) c n e n ∣ f ∈ L 2 ( Ω ) } .
Therefore, g ∈ H t g\in H_t g ∈ H t if and only if g g g can be expressed as
g = ∑ n = 1 ∞ d n e n , ∑ n = 1 ∞ d n 2 λ n ( t ) < ∞ . g=\sum_{n=1}^{\infty}d_ne_n,\qquad\sum_{n=1}^{\infty}\frac{d_n^2}{\lambda_n(t)}<\infty. g = n = 1 ∑ ∞ d n e n , n = 1 ∑ ∞ λ n ( t ) d n 2 < ∞.
Inserting the expression for λ n ( t ) \lambda_n(t) λ n ( t ) , we see that g ∈ H t g\in H_t g ∈ H t if and only if
∑ n = 1 ∞ d n 2 1 + ( n π ) 2 exp ( − 2 t ( n π ) 2 ) < ∞ . \sum_{n=1}^{\infty}d_n^2\frac{1+(n\pi)^2}{\exp(-2t(n\pi)^2)}<\infty. n = 1 ∑ ∞ d n 2 exp ( − 2 t ( nπ ) 2 ) 1 + ( nπ ) 2 < ∞.
Showing that the Cameron–Martin spaces are not equal Now it is easy to see that for any t ≥ 0 t\geq0 t ≥ 0 , δ > 0 \delta>0 δ > 0 , the Cameron–Martin spaces H t H_t H t and H t + δ H_{t+\delta} H t + δ are not equal. For example, the function
h ( x ) = ∑ n = 1 ∞ exp ( − ( t + δ ) ( n π ) 2 ) e n ( x ) h(x)=\sum_{n=1}^{\infty}\exp(-(t+\delta)(n\pi)^2)e_n(x) h ( x ) = n = 1 ∑ ∞ exp ( − ( t + δ ) ( nπ ) 2 ) e n ( x )
is an element of H t H_t H t , as
∑ n = 1 ∞ ( exp ( − ( t + δ ) ( n π ) 2 ) ) 2 1 + ( n π ) 2 exp ( − 2 t ( n π ) 2 ) = ∑ n = 1 ∞ ( 1 + ( n π ) 2 ) exp ( − 2 δ ( n π ) 2 ) < ∞ , \sum_{n=1}^{\infty}\left(\exp(-(t+\delta)(n\pi)^2)\right)^2\frac{1+(n\pi)^2}{\exp(-2t(n\pi)^2)}=\sum_{n=1}^{\infty}(1+(n\pi)^2)\exp(-2\delta(n\pi)^2)<\infty, n = 1 ∑ ∞ ( exp ( − ( t + δ ) ( nπ ) 2 ) ) 2 exp ( − 2 t ( nπ ) 2 ) 1 + ( nπ ) 2 = n = 1 ∑ ∞ ( 1 + ( nπ ) 2 ) exp ( − 2 δ ( nπ ) 2 ) < ∞ ,
but it is not an element of H t + δ H_{t+\delta} H t + δ , as
∑ n = 1 ∞ ( exp ( − ( t + δ ) ( n π ) 2 ) ) 2 1 + ( n π ) 2 exp ( − 2 ( t + δ ) ( n π ) 2 ) = ∑ n = 1 ∞ ( 1 + ( n π ) 2 ) = ∞ . \sum_{n=1}^{\infty}\left(\exp(-(t+\delta)(n\pi)^2)\right)^2\frac{1+(n\pi)^2}{\exp(-2(t+\delta)(n\pi)^2)}=\sum_{n=1}^{\infty}(1+(n\pi)^2)=\infty. n = 1 ∑ ∞ ( exp ( − ( t + δ ) ( nπ ) 2 ) ) 2 exp ( − 2 ( t + δ ) ( nπ ) 2 ) 1 + ( nπ ) 2 = n = 1 ∑ ∞ ( 1 + ( nπ ) 2 ) = ∞.
Therefore, by the Feldman–Hájek theorem, the measures P t \mathcal{P}_t P t and P t + δ \mathcal{P}_{t+\delta} P t + δ are mutually singular, and their TV distance is 1.
Proof of Proposition 4.2
Proposition 4.2. Consider a linear evolution equation on a bounded domain with linear boundary conditions and a deterministic source term. If the calibration dataset at time t c a l t_{\mathrm{cal}} t cal and a test sample u t e s t t u_{\mathrm{test}}^{t} u test t at time t ≥ t c a l t \ge t_{\mathrm{cal}} t ≥ t cal are generated from the same affine numerical scheme on independent initial conditions sampled from a Gaussian distribution, then we can construct a likelihood-weighted conformal predictor such that
P ( u t e s t t + δ ∈ C t + δ W C P ( u t e s t t ) ) ≥ 1 − α . \mathbb{P}\left(u_{\mathrm{test}}^{t+\delta} \in C_{t+\delta}^{\mathrm{WCP}}\left(u_{\mathrm{test}}^{t}\right)\right) \ge1-\alpha. P ( u test t + δ ∈ C t + δ WCP ( u test t ) ) ≥ 1 − α .
Proof. By assumption, the numerical time-δ \delta δ map is affine: there exist a matrix A ∈ R p × p A \in\mathbb{R}^{p \times p} A ∈ R p × p and vector b ∈ R p b \in\mathbb{R}^{p} b ∈ R p such that
u t + δ = A u t + b . u^{t+\delta}=Au^t+b. u t + δ = A u t + b .
Iterating yields for k ∈ N k \in\mathbb{N} k ∈ N ,
u t c a l + k δ = A k u t c a l + ∑ j = 0 k − 1 A j b , u^{t_{\mathrm{cal}}+k\delta}=A^k u^{t_{\mathrm{cal}}}+\sum_{j=0}^{k-1}A^j b, u t cal + k δ = A k u t cal + j = 0 ∑ k − 1 A j b ,
and in particular each u t u^t u t is an affine function of u 0 u^0 u 0 . Since u 0 ∼ N ( μ 0 , Σ 0 ) u^0 \sim\mathcal{N}(\mu_0,\Sigma_0) u 0 ∼ N ( μ 0 , Σ 0 ) and the multivariate normal family is closed under affine transformations, we have for every $t \ge 0
u t ∼ N ( μ t , Σ t ) u^t \sim\mathcal{N}(\mu_t,\Sigma_t) u t ∼ N ( μ t , Σ t )
for some mean μ t \mu_t μ t and covariance Σ t \Sigma_t Σ t (e.g., μ t = M t μ 0 + c t \mu_t=M_t\mu_0+c_t μ t = M t μ 0 + c t and Σ t = M t Σ 0 M t ⊤ \Sigma_t=M_t\Sigma_0M_t^\top Σ t = M t Σ 0 M t ⊤ for the corresponding affine representation u t = M t u 0 + c t u^t=M_tu^0+c_t u t = M t u 0 + c t ). Hence the calibration and test laws admit Lebesgue densities p t c a l p_{t_{\mathrm{cal}}} p t cal and p t p_t p t on R p \mathbb{R}^p R p and the likelihood ratio
r ( x ) : = p t ( x ) p t c a l ( x ) (7) r(x):=\frac{p_t(x)}{p_{t_{\mathrm{cal}}}(x)} \tag*{(7)} r ( x ) := p t cal ( x ) p t ( x ) (7)
is available in closed form. In particular, weighting by Equation (7) corresponds to importance weights proportional to p t / p t c a l p_t/p_{t_{\mathrm{cal}}} p t / p t cal .
Now apply likelihood-weighted split conformal prediction (weighted CP) with these weights to any fixed score function. The standard validity theorem for weighted split CP (under covariate shift with known likelihood ratio) implies that the resulting predictor C t + δ W C P C_{t+\delta}^{\mathrm{WCP}} C t + δ WCP satisfies
P ( u t e s t t + δ ∈ C t + δ W C P ) ≥ 1 − α \mathbb{P}\left(u_{\mathrm{test}}^{t+\delta} \in C_{t+\delta}^{\mathrm{WCP}}\right) \ge1-\alpha P ( u test t + δ ∈ C t + δ WCP ) ≥ 1 − α
for each target time index t ≥ t c a l t \ge t_{\mathrm{cal}} t ≥ t cal . This proves the claim. □ \square □
Proof of Proposition 4.6
Proposition 4.6 (Robust WCP under Gaussian distributions). ** Under the assumptions of Proposition 4.2, suppose we additionally observe independent estimation samples { u j t c a l } j = 1 m 0 \{u_j^{t_{\mathrm{cal}}}\}_{j=1}^{m_0} { u j t cal } j = 1 m 0 and { u j t } j = 1 m 1 \{u_j^t\}_{j=1}^{m_1} { u j t } j = 1 m 1 with m k > p m_k>p m k > p for k ∈ { 0 , 1 } k\in\{0,1\} k ∈ { 0 , 1 } , and fix an arbitrary estimation uncertainty η > 0 \eta>0 η > 0 . Then, we can construct a conformal prediction set C t + δ r o b C_{t+\delta}^{\mathrm{rob}} C t + δ rob with coverage guarantee
P ( u t e s t t + δ ∈ C t + δ r o b ( u t e s t t ) ) ≥ 1 − η − α . \mathbb{P}\left(u_{\mathrm{test}}^{t+\delta}\in C_{t+\delta}^{\mathrm{rob}}\left(u_{\mathrm{test}}^t\right)\right)\ge1-\eta-\alpha. P ( u test t + δ ∈ C t + δ rob ( u test t ) ) ≥ 1 − η − α . Smaller η \eta η will usually correspond to wider bands.
Proof. As this proof is purely statistical, we will use random variables X i X_i X i instead of PDE-solutions u i t u_i^t u i t to ease the notation with more familiar symbols. In particular, we will use Z i ( 0 ) Z_i^{(0)} Z i ( 0 ) and Z i ( 1 ) Z_i^{(1)} Z i ( 1 ) for the estimation samples of the calibration and test distribution, respectively.
The proof extends WCP [32 ] to use worst case weights over a confidence region. Specifically, we know that we can construct a valid conformal set with the true parameters θ ⋆ = ( μ 0 , Σ 0 , μ 1 , Σ 1 ) \theta^\star=(\mu_0,\Sigma_0,\mu_1,\Sigma_1) θ ⋆ = ( μ 0 , Σ 0 , μ 1 , Σ 1 ) using WCP. Now we construct a ( 1 − η ) (1-\eta) ( 1 − η ) confidence region Θ \Theta Θ for the unknown true parameters θ ⋆ \theta^\star θ ⋆ using the covariate-only samples. The robust construction then takes a worst-case weighted conformal threshold (meaning the threshold that yields the largest conformal set over Θ \Theta Θ ) computed using the WCP weights
p i , θ ( x ) = w θ ( X i ) ∑ j = 1 n w θ ( X j ) + w θ ( x ) , i = 1 , … , n , p n + 1 , θ ( x ) = w θ ( x ) ∑ j = 1 n w θ ( X j ) + w θ ( x ) . p_{i,\theta}(x)=\frac{w_\theta(X_i)}{\sum_{j=1}^{n}w_\theta(X_j)+w_\theta(x)},\quad i=1,\ldots,n,\qquad p_{n+1,\theta}(x)=\frac{w_\theta(x)}{\sum_{j=1}^{n}w_\theta(X_j)+w_\theta(x)}. p i , θ ( x ) = ∑ j = 1 n w θ ( X j ) + w θ ( x ) w θ ( X i ) , i = 1 , … , n , p n + 1 , θ ( x ) = ∑ j = 1 n w θ ( X j ) + w θ ( x ) w θ ( x ) .
where w θ = d P 1 θ / d P 0 θ w_\theta=\mathrm{d}P_1^\theta/\mathrm{d}P_0^\theta w θ = d P 1 θ / d P 0 θ is the covariate likelihood ratio of normal distributions with parameters θ \theta θ , X i X_i X i are calibration samples and x x x is the test sample. On the event { θ ⋆ ∈ Θ } \{\theta^\star\in\Theta\} { θ ⋆ ∈ Θ } , the robust set contains the oracle WCP set. The stated coverage then follows by a union bound.
Throughout, φ ( ⋅ ; μ , Σ ) \varphi(\cdot;\mu,\Sigma) φ ( ⋅ ; μ , Σ ) denotes the p p p -variate Gaussian density with mean μ \mu μ and covariance Σ ≻ 0 \Sigma\succ0 Σ ≻ 0 .
Getting the ( 1 − η ) (1-\eta) ( 1 − η ) confidence region for θ ⋆ \theta^\star θ ⋆ From the covariate-only samples { Z j ( k ) } j = 1 m k \{Z_j^{(k)}\}_{j=1}^{m_k} { Z j ( k ) } j = 1 m k for k ∈ { 0 , 1 } k\in\{0,1\} k ∈ { 0 , 1 } , define the sample mean and sample covariance
μ ^ k : = 1 m k ∑ j = 1 m k Z j ( k ) , Σ ^ k : = 1 m k − 1 ∑ j = 1 m k ( Z j ( k ) − μ ^ k ) ( Z j ( k ) − μ ^ k ) ⊤ . \widehat{\mu}_k:=\frac{1}{m_k}\sum_{j=1}^{m_k}Z_j^{(k)},\qquad\widehat{\Sigma}_k:=\frac{1}{m_k-1}\sum_{j=1}^{m_k}(Z_j^{(k)}-\widehat{\mu}_k)(Z_j^{(k)}-\widehat{\mu}_k)^\top. μ k := m k 1 j = 1 ∑ m k Z j ( k ) , Σ k := m k − 1 1 j = 1 ∑ m k ( Z j ( k ) − μ k ) ( Z j ( k ) − μ k ) ⊤ .
Since m k > p m_k>p m k > p and the data are Gaussian, Σ ^ k \widehat{\Sigma}_k Σ k is positive definite almost surely [26 Thm. 3.1.4] .
Fix numbers η 1 , η 2 , η 3 , η 4 > 0 \eta_1,\eta_2,\eta_3,\eta_4>0 η 1 , η 2 , η 3 , η 4 > 0 with η 1 + η 2 + η 3 + η 4 ≤ η \eta_1+\eta_2+\eta_3+\eta_4\leq\eta η 1 + η 2 + η 3 + η 4 ≤ η .
Mean confidence sets. By Härdle and Simar [17 Cor. 5.3] , for each k ∈ { 0 , 1 } k\in\{0,1\} k ∈ { 0 , 1 } , the Hotelling T 2 T^2 T 2 statistic
T k 2 : = m k ( μ ^ k − μ k ) ⊤ Σ ^ k − 1 ( μ ^ k − μ k ) T_k^2:=m_k(\widehat{\mu}_k-\mu_k)^\top\widehat{\Sigma}_k^{-1}(\widehat{\mu}_k-\mu_k) T k 2 := m k ( μ k − μ k ) ⊤ Σ k − 1 ( μ k − μ k )
satisfies
m k − p p ( m k − 1 ) T k 2 ∼ F p , m k − p . \frac{m_k-p}{p(m_k-1)}T_k^2\sim F_{p,m_k-p}. p ( m k − 1 ) m k − p T k 2 ∼ F p , m k − p .
Let c k ( μ ) c_k^{(\mu)} c k ( μ ) be the ( 1 − η 3 + k ) (1-\eta_{3+k}) ( 1 − η 3 + k ) quantile of p ( m k − 1 ) m k − p F p , m k − p \frac{p(m_k-1)}{m_k-p}F_{p,m_k-p} m k − p p ( m k − 1 ) F p , m k − p and define
M k : = { μ ∈ R p : m k ( μ ^ k − μ ) ⊤ Σ ^ k − 1 ( μ ^ k − μ ) ≤ c k ( μ ) } . \mathcal{M}_k:=\left\{\mu\in\mathbb{R}^p:m_k(\widehat{\mu}_k-\mu)^\top\widehat{\Sigma}_k^{-1}(\widehat{\mu}_k-\mu)\leq c_k^{(\mu)}\right\}. M k := { μ ∈ R p : m k ( μ k − μ ) ⊤ Σ k − 1 ( μ k − μ ) ≤ c k ( μ ) } .
Then M k \mathcal{M}_k M k is compact and P ( μ k ∈ M k ) ≥ 1 − η 3 + k \mathbb{P}(\mu_k\in\mathcal{M}_k)\geq1-\eta_{3+k} P ( μ k ∈ M k ) ≥ 1 − η 3 + k . Notice that M k \mathcal{M}_k M k is an ellipsoid around the sample mean.
Covariance confidence sets. For the sample covariance matrix, we know W k = ( m k − 1 ) Σ ^ k ∼ Wishart p ( Σ k , m k − 1 ) W_k=(m_k-1)\widehat{\Sigma}_k\sim\operatorname{Wishart}_p(\Sigma_k,m_k-1) W k = ( m k − 1 ) Σ k ∼ Wishart p ( Σ k , m k − 1 ) [17 Thm. 5.7 (c)] . The eigenvalues of Σ k − 1 / 2 Σ ^ k Σ k − 1 / 2 \Sigma_k^{-1/2}\widehat{\Sigma}_k\Sigma_k^{-1/2} Σ k − 1/2 Σ k Σ k − 1/2 have a distribution independent of Σ k \Sigma_k Σ k [17 Thm. 5.5] . Choose constants 0 < a k < b k < ∞ 0<a_k<b_k<\infty 0 < a k < b k < ∞ such that
P ( a k I ⪯ Σ k − 1 / 2 Σ ^ k Σ k − 1 / 2 ⪯ b k I ) ≥ 1 − η k + 1 . \mathbb{P}\left(a_k I\preceq\Sigma_k^{-1/2}\widehat{\Sigma}_k\Sigma_k^{-1/2}\preceq b_k I\right)\geq1-\eta_{k+1}. P ( a k I ⪯ Σ k − 1/2 Σ k Σ k − 1/2 ⪯ b k I ) ≥ 1 − η k + 1 .
This is well-defined, as the eigenvalues of Σ k − 1 / 2 Σ ^ k Σ k − 1 / 2 \Sigma_k^{-1/2}\widehat{\Sigma}_k\Sigma_k^{-1/2} Σ k − 1/2 Σ k Σ k − 1/2 are almost surely strictly positive and finite. Hence L k : = λ min ( Σ k − 1 / 2 Σ ^ k Σ k − 1 / 2 ) L_k:=\lambda_{\min}(\Sigma_k^{-1/2}\widehat{\Sigma}_k\Sigma_k^{-1/2}) L k := λ m i n ( Σ k − 1/2 Σ k Σ k − 1/2 ) and U k : = λ max ( Σ k − 1 / 2 Σ ^ k Σ k − 1 / 2 ) U_k:=\lambda_{\max}(\Sigma_k^{-1/2}\widehat{\Sigma}_k\Sigma_k^{-1/2}) U k := λ m a x ( Σ k − 1/2 Σ k Σ k − 1/2 ) are well-defined random variables with support on a subset of ( 0 , ∞ ) (0,\infty) ( 0 , ∞ ) .
Define
S k : = { Σ ∈ S + + p : 1 b k Σ ^ k ⪯ Σ ⪯ 1 a k Σ ^ k } . \mathcal{S}_k:=\left\{\Sigma\in\mathbb{S}_{++}^{p}:\frac{1}{b_k}\widehat{\Sigma}_k\preceq\Sigma\preceq\frac{1}{a_k}\widehat{\Sigma}_k\right\}. S k := { Σ ∈ S ++ p : b k 1 Σ k ⪯ Σ ⪯ a k 1 Σ k } .
Each set S k \mathcal{S}_k S k is compact. Indeed, S k \mathcal{S}_k S k is bounded since, for any Σ ∈ S k \Sigma\in\mathcal{S}_k Σ ∈ S k , its spectral norm satisfies
∥ Σ ∥ 2 = λ max ( Σ ) , \lVert\Sigma\rVert_2=\lambda_{\max}(\Sigma), ∥ Σ ∥ 2 = λ m a x ( Σ ) ,
which is bounded above by the largest eigenvalue allowed by the defining inequality of S k \mathcal{S}_k S k .
Closedness follows as well. Let ( Σ n ) n ∈ N ⊂ S k (\Sigma_n)_{n\in\mathbb{N}}\subset\mathcal{S}_k ( Σ n ) n ∈ N ⊂ S k be a convergent sequence with limit Σ ∞ \Sigma_\infty Σ ∞ . By definition of S k \mathcal{S}_k S k , for every n n n and every vector z ∈ R p z\in\mathbb{R}^p z ∈ R p ,
z ⊤ ( 1 a k Σ ^ k − Σ n ) z ≥ 0. z^\top\left(\frac{1}{a_k}\widehat{\Sigma}_k-\Sigma_n\right)z\geq0. z ⊤ ( a k 1 Σ k − Σ n ) z ≥ 0.
By continuity of the quadratic form, passing to the limit yields
z ⊤ ( 1 a k Σ ^ k − Σ ∞ ) z ≥ 0 for all z ∈ R p . z^\top\left(\frac{1}{a_k}\widehat{\Sigma}_k-\Sigma_\infty\right)z\geq0\quad\text{for all }z\in\mathbb{R}^p. z ⊤ ( a k 1 Σ k − Σ ∞ ) z ≥ 0 for all z ∈ R p .
An analogous argument applies to the lower bound in the definition of S k \mathcal{S}_k S k . Hence Σ ∞ ∈ S k \Sigma_\infty\in\mathcal{S}_k Σ ∞ ∈ S k , and S k \mathcal{S}_k S k is closed.
Since S k \mathcal{S}_k S k is both closed and bounded in the space of symmetric matrices, it is compact. Moreover, under the stated assumptions, the matrices in S k \mathcal{S}_k S k are almost surely bounded away from singularity.
Define the joint confidence region
Θ : = M 0 × S 0 × M 1 × S 1 . \Theta:= \mathcal{M}_0 \times\mathcal{S}_0 \times\mathcal{M}_1 \times\mathcal{S}_1. Θ := M 0 × S 0 × M 1 × S 1 .
By a union bound,
P ( θ ⋆ ∈ Θ ) ≥ 1 − η . (8) \mathbb{P}(\theta^\star\in\Theta) \ge1-\eta. \tag*{(8)} P ( θ ⋆ ∈ Θ ) ≥ 1 − η . (8)
Let E : = { θ ⋆ ∈ Θ } E := \{\theta^\star\in\Theta\} E := { θ ⋆ ∈ Θ } .
Defining the weights and quantiles For θ = ( μ 0 , Σ 0 , μ 1 , Σ 1 ) ∈ Θ \theta= (\mu_0, \Sigma_0, \mu_1, \Sigma_1) \in\Theta θ = ( μ 0 , Σ 0 , μ 1 , Σ 1 ) ∈ Θ , define the Gaussian likelihood ratio
w θ ( x ) : = φ ( x ; μ 1 , Σ 1 ) φ ( x ; μ 0 , Σ 0 ) . w_\theta(x) := \frac{\varphi(x;\mu_1,\Sigma_1)}{\varphi(x;\mu_0,\Sigma_0)}. w θ ( x ) := φ ( x ; μ 0 , Σ 0 ) φ ( x ; μ 1 , Σ 1 ) .
For a test covariate value x ∈ R p x \in\mathbb{R}^p x ∈ R p , define the associated WCP weights
p i , θ ( x ) : = w θ ( X i ) ∑ j = 1 n w θ ( X j ) + w θ ( x ) , i = 1 , … , n , p n + 1 , θ ( x ) : = w θ ( x ) ∑ j = 1 n w θ ( X j ) + w θ ( x ) . p_{i,\theta}(x) := \frac{w_\theta(X_i)}{\sum_{j=1}^{n} w_\theta(X_j) + w_\theta(x)}, \qquad i=1,\ldots,n,\qquad p_{n+1,\theta}(x) := \frac{w_\theta(x)}{\sum_{j=1}^{n} w_\theta(X_j) + w_\theta(x)}. p i , θ ( x ) := ∑ j = 1 n w θ ( X j ) + w θ ( x ) w θ ( X i ) , i = 1 , … , n , p n + 1 , θ ( x ) := ∑ j = 1 n w θ ( X j ) + w θ ( x ) w θ ( x ) .
Then p i , θ ( x ) ≥ 0 p_{i,\theta}(x) \ge0 p i , θ ( x ) ≥ 0 and ∑ i = 1 n + 1 p i , θ ( x ) = 1 \sum_{i=1}^{n+1}p_{i,\theta}(x)=1 ∑ i = 1 n + 1 p i , θ ( x ) = 1 .
Let θ ⋆ \theta^\star θ ⋆ denote the true parameters and w ⋆ : = w θ ⋆ w^\star:= w_{\theta^\star} w ⋆ := w θ ⋆ . The oracle WCP set is the WCP set obtained by using w ⋆ w^\star w ⋆ in the weights above, and we denote it by C ^ θ ⋆ \widehat{C}_{\theta^\star} C θ ⋆ below.
Fix x ∈ R p x \in\mathbb{R}^p x ∈ R p and a candidate label y ∈ R y \in\mathbb{R} y ∈ R . Let S i S_i S i , i = 1 , … , n i=1,\ldots,n i = 1 , … , n , be the nonconformity scores for the sample ( X i , Y i ) (X_i,Y_i) ( X i , Y i ) .
For each θ ∈ Θ \theta\in\Theta θ ∈ Θ and test point ( x , y ) (x,y) ( x , y ) with score S n + 1 S_{n+1} S n + 1 , define the discrete probability measure on [ 0 , ∞ ] [0,\infty] [ 0 , ∞ ] ,
ν ^ θ ( x , y ) : = ∑ i = 1 n p i , θ ( x ) δ S i + p n + 1 , θ ( x ) δ ∞ , (9) \widehat{\nu}_{\theta}^{(x,y)} := \sum_{i=1}^{n} p_{i,\theta}(x)\,\delta_{S_i} + p_{n+1,\theta}(x)\,\delta_\infty, \tag*{(9)} ν θ ( x , y ) := i = 1 ∑ n p i , θ ( x ) δ S i + p n + 1 , θ ( x ) δ ∞ , (9)
and define the corresponding CDF on R \mathbb{R} R by
F θ ( t ; x , y ) : = ν ^ θ ( x , y ) ( ( − ∞ , t ] ) = ∑ i = 1 n p i , θ ( x ) 1 { S i ≤ t } , t ∈ R , F_\theta(t;x,y) := \widehat{\nu}_{\theta}^{(x,y)}((-\infty,t]) = \sum_{i=1}^{n} p_{i,\theta}(x)\mathbf{1}\{S_i \le t\}, \qquad t \in\mathbb{R}, F θ ( t ; x , y ) := ν θ ( x , y ) (( − ∞ , t ]) = i = 1 ∑ n p i , θ ( x ) 1 { S i ≤ t } , t ∈ R ,
since the atom at ∞ \infty ∞ contributes no mass to ( − ∞ , t ] (-\infty,t] ( − ∞ , t ] for finite t t t .
Define the ( 1 − α ) (1-\alpha) ( 1 − α ) weighted quantile as
q θ ( x , y ) : = inf { t ∈ R : F θ ( t ; x , y ) ≥ 1 − α } . (10) q_\theta(x,y) := \inf\left\{t \in\mathbb{R}: F_\theta(t;x,y) \ge1-\alpha\right\}. \tag*{(10)} q θ ( x , y ) := inf { t ∈ R : F θ ( t ; x , y ) ≥ 1 − α } . (10)
Equivalently, q θ ( x , y ) q_\theta(x,y) q θ ( x , y ) is the quantile of level 1 − α 1-\alpha 1 − α under the discrete law ν ^ θ ( x , y ) \widehat{\nu}_{\theta}^{(x,y)} ν θ ( x , y ) in Equation (9) .
Robust threshold and robust prediction set Define the robust threshold as the worst-case quantile over Θ \Theta Θ :
q r o b ( x , y ) : = sup θ ∈ Θ q θ ( x , y ) . (11) q_{\mathrm{rob}}(x,y) := \sup_{\theta\in\Theta} q_\theta(x,y). \tag*{(11)} q rob ( x , y ) := θ ∈ Θ sup q θ ( x , y ) . (11)
Define the robust WCP prediction set by
C ^ r o b ( x ) : = { y ∈ R : S n + 1 ≤ q r o b ( x , y ) } . (12) \widehat{C}_{\mathrm{rob}}(x) := \left\{y \in\mathbb{R}: S_{n+1} \le q_{\mathrm{rob}}(x,y)\right\}. \tag*{(12)} C rob ( x ) := { y ∈ R : S n + 1 ≤ q rob ( x , y ) } . (12)
Also, define for any fixed θ ∈ Θ \theta\in\Theta θ ∈ Θ , the WCP set
C ^ θ ( x ) : = { y ∈ R : S n + 1 ≤ q θ ( x , y ) } . \widehat{C}_{\theta}(x) := \left\{y \in\mathbb{R}: S_{n+1} \le q_{\theta}(x,y)\right\}. C θ ( x ) := { y ∈ R : S n + 1 ≤ q θ ( x , y ) } .
In particular, C ^ θ ⋆ \widehat{C}_{\theta^\star} C θ ⋆ is the oracle WCP set.
On the event E = { θ ⋆ ∈ Θ } E = \{\theta^\star\in\Theta\} E = { θ ⋆ ∈ Θ } , we have for all ( x , y ) (x,y) ( x , y ) ,
q r o b ( x , y ) = sup θ ∈ Θ q θ ( x , y ) ≥ q θ ⋆ ( x , y ) , q_{\mathrm{rob}}(x,y) = \sup_{\theta\in\Theta} q_\theta(x,y) \ge q_{\theta^\star}(x,y), q rob ( x , y ) = θ ∈ Θ sup q θ ( x , y ) ≥ q θ ⋆ ( x , y ) ,
and therefore, for all x x x ,
C ^ r o b ( x ) ⊇ C ^ θ ⋆ ( x ) on E . (13) \widehat{C}_{\mathrm{rob}}(x) \supseteq\widehat{C}_{\theta^\star}(x) \qquad\text{on } E. \tag*{(13)} C rob ( x ) ⊇ C θ ⋆ ( x ) on E . (13)
Robust coverage Let F : = { Y n + 1 ∉ C ^ r o b ( X n + 1 ) } F := \{Y_{n+1} \notin\widehat{C}_{\mathrm{rob}}(X_{n+1})\} F := { Y n + 1 ∈ / C rob ( X n + 1 )} . By Equation (13) ,
F ∩ E ⊆ { Y n + 1 ∉ C ^ θ ⋆ ( X n + 1 ) } ∩ E . F \cap E \subseteq\{Y_{n+1} \notin\widehat{C}_{\theta^\star}(X_{n+1})\} \cap E. F ∩ E ⊆ { Y n + 1 ∈ / C θ ⋆ ( X n + 1 )} ∩ E .
Hence,
P ( F ) ≤ P ( Y n + 1 ∉ C ^ θ ⋆ ( X n + 1 ) ) + P ( E c ) . \mathbb{P}(F) \le\mathbb{P}\left(Y_{n+1} \notin\widehat{C}_{\theta^\star}(X_{n+1})\right) + \mathbb{P}(E^{c}). P ( F ) ≤ P ( Y n + 1 ∈ / C θ ⋆ ( X n + 1 ) ) + P ( E c ) .
By the oracle WCP guarantee (i.e., the covariate-shift WCP coverage result applied with the true likelihood ratio w ⋆ = w θ ⋆ w^\star= w_{\theta^\star} w ⋆ = w θ ⋆ ),
P ( Y n + 1 ∈ C ^ θ ⋆ ( X n + 1 ) ) ≥ 1 − α , \mathbb{P}\left(Y_{n+1} \in\widehat{C}_{\theta^\star}(X_{n+1})\right) \ge1-\alpha, P ( Y n + 1 ∈ C θ ⋆ ( X n + 1 ) ) ≥ 1 − α ,
so P ( Y n + 1 ∉ C ^ θ ⋆ ( X n + 1 ) ) ≤ α \mathbb{P}(Y_{n+1} \notin\widehat{C}_{\theta^\star}(X_{n+1})) \le\alpha P ( Y n + 1 ∈ / C θ ⋆ ( X n + 1 )) ≤ α . Also, by Equation (8) , P ( E c ) ≤ η \mathbb{P}(E^{c}) \le\eta P ( E c ) ≤ η . Therefore,
P ( Y n + 1 ∈ C ^ r o b ( X n + 1 ) ) ≥ 1 − η − α . \mathbb{P}\left(Y_{n+1} \in\widehat{C}_{\mathrm{rob}}(X_{n+1})\right) \ge1-\eta-\alpha. P ( Y n + 1 ∈ C rob ( X n + 1 ) ) ≥ 1 − η − α .
Proof of Proposition 4.7
Proposition 4.7. Let u ( ⋅ , t ) u(\cdot,t) u ( ⋅ , t ) be a PDE solution in some function space ( U , ∥ ⋅ ∥ U ) (\mathcal{U},\|\cdot\|_{\mathcal{U}}) ( U , ∥ ⋅ ∥ U ) and be its approximation via some numerical scheme on grid size h h h . Let C h C_h C h be a conformal prediction set for the discretized state with coverage 1 − α 1-\alpha 1 − α and assume that an error bound ∥ u ( ⋅ , t ) − I h u t ∥ U ≤ ε h , t ( u 0 ) \|u(\cdot,t)-I_hu^t\|_{\mathcal{U}} \le\varepsilon_{h,t}(u_0) ∥ u ( ⋅ , t ) − I h u t ∥ U ≤ ε h , t ( u 0 ) is available via some reconstruction operator I h : R p → U I_h:\mathbb{R}^p\to\mathcal{U} I h : R p → U (e.g., piecewise interpolation). Then we can define a conformal set for the function-space setting, C ⊂ U C\subset\mathcal{U} C ⊂ U , with P ( u ( ⋅ , t ) ∈ C ) ≥ 1 − α \mathbb{P}(u(\cdot,t)\in C)\ge1-\alpha P ( u ( ⋅ , t ) ∈ C ) ≥ 1 − α by
C : = { v ∈ U : ∃ z ∈ C h with ∥ v − I h z ∥ U ≤ ε h , t ( u 0 ) } . (14) C := \left\{v \in\mathcal{U} : \exists z \in C_h \text{ with } \|v-I_hz\|_{\mathcal{U}} \le\varepsilon_{h,t}(u_0)\right\}. \tag*{(14)} C := { v ∈ U : ∃ z ∈ C h with ∥ v − I h z ∥ U ≤ ε h , t ( u 0 ) } . (14)
Proof. Let ( Ω , F , P ) (\Omega,\mathcal{F},\mathbb{P}) ( Ω , F , P ) be an underlying probability space supporting the random initial condition u 0 : Ω → U u_0:\Omega\to\mathcal{U} u 0 : Ω → U and hence the (random) PDE solution at time t t t ,
u ( ⋅ , t ) : Ω → U , u(\cdot,t):\Omega\to\mathcal{U}, u ( ⋅ , t ) : Ω → U ,
as well as the random numerical state
u t : Ω → R p . u^t:\Omega\to\mathbb{R}^p. u t : Ω → R p .
Assume I h : R p → U I_h:\mathbb{R}^p\to\mathcal{U} I h : R p → U is measurable and that the deterministic error bound assumed in Proposition 4.7 holds for all ω ∈ Ω \omega\in\Omega ω ∈ Ω ,
∥ u ( ⋅ , t ) ( ω ) − I h u t ( ω ) ∥ U ≤ ε h , t ( u 0 ( ω ) ) . (15) \|u(\cdot,t)(\omega)-I_hu^t(\omega)\|_{\mathcal{U}}\le\varepsilon_{h,t}(u_0(\omega)). \tag*{(15)} ∥ u ( ⋅ , t ) ( ω ) − I h u t ( ω ) ∥ U ≤ ε h , t ( u 0 ( ω )) . (15)
Let C h ⊂ R p C_h\subset\mathbb{R}^p C h ⊂ R p be a (measurable) prediction set such that
P ( u t ∈ C h ) ≥ 1 − α . \mathbb{P}(u^t\in C_h)\ge1-\alpha. P ( u t ∈ C h ) ≥ 1 − α .
Define the lifted set C ⊂ U C\subset\mathcal{U} C ⊂ U by Equation (3), i.e.
C : = { u ( ⋅ , t ) ∈ U : ∃ z ∈ C h s.t. ∥ u ( ⋅ , t ) − I h z ∥ U ≤ ε h , t ( u 0 ) } , C := \left\{u(\cdot,t)\in\mathcal{U} : \exists z\in C_h\ \text{s.t.}\ \|u(\cdot,t)-I_hz\|_{\mathcal{U}}\le\varepsilon_{h,t}(u_0)\right\}, C := { u ( ⋅ , t ) ∈ U : ∃ z ∈ C h s.t. ∥ u ( ⋅ , t ) − I h z ∥ U ≤ ε h , t ( u 0 ) } ,
where the right-hand side is interpreted pointwise in ω \omega ω through the random radius ε h , t ( u 0 ( ω ) ) \varepsilon_{h,t}(u_0(\omega)) ε h , t ( u 0 ( ω )) .
Consider the event E : = { ω : u t ( ω ) ∈ C h } ∈ F E:=\{\omega:u^t(\omega)\in C_h\}\in\mathcal{F} E := { ω : u t ( ω ) ∈ C h } ∈ F . Fix ω ∈ E \omega\in E ω ∈ E . Then z : = u t ( ω ) ∈ C h z:=u^t(\omega)\in C_h z := u t ( ω ) ∈ C h . By the pathwise bound Equation (15) ,
∥ u ( ⋅ , t ) ( ω ) − I h z ∥ U = ∥ u ( ⋅ , t ) ( ω ) − I h u t ( ω ) ∥ U ≤ ε h , t ( u 0 ( ω ) ) . \|u(\cdot,t)(\omega)-I_hz\|_{\mathcal{U}}=\|u(\cdot,t)(\omega)-I_hu^t(\omega)\|_{\mathcal{U}}\le\varepsilon_{h,t}(u_0(\omega)). ∥ u ( ⋅ , t ) ( ω ) − I h z ∥ U = ∥ u ( ⋅ , t ) ( ω ) − I h u t ( ω ) ∥ U ≤ ε h , t ( u 0 ( ω )) .
Hence, by definition of C C C , we have u ( ⋅ , t ) ( ω ) ∈ C u(\cdot,t)(\omega)\in C u ( ⋅ , t ) ( ω ) ∈ C . Since ω ∈ E \omega\in E ω ∈ E was arbitrary, this proves the event inclusion
{ ω : u t ( ω ) ∈ C h } ⊆ { ω : u ( ⋅ , t ) ( ω ) ∈ C } . \{\omega:u^t(\omega)\in C_h\}\subseteq\{\omega:u(\cdot,t)(\omega)\in C\}. { ω : u t ( ω ) ∈ C h } ⊆ { ω : u ( ⋅ , t ) ( ω ) ∈ C } .
Taking probabilities yields
P ( u ( ⋅ , t ) ∈ C ) ≥ P ( u t ∈ C h ) ≥ 1 − α , \mathbb{P}(u(\cdot,t)\in C)\ge\mathbb{P}(u^t\in C_h)\ge1-\alpha, P ( u ( ⋅ , t ) ∈ C ) ≥ P ( u t ∈ C h ) ≥ 1 − α ,
which is the desired marginal coverage statement.
Proof of Theorem 4.5
Theorem 4.5. Consider the drift PDE on a grid with p p p points, ∂ t u t = c w \partial_t u^t = c\,w ∂ t u t = c w with t ≥ 0 t \ge0 t ≥ 0 , drift strength c ∈ R c \in\mathbb{R} c ∈ R , and drift profile w ∈ R p w \in\mathbb{R}^p w ∈ R p (e.g., w = 1 w = 1 w = 1 for a constant drift), and let the initial conditions be non-degenerate Gaussian, u 0 ∼ N ( μ 0 , Σ 0 ) u^0 \sim\mathcal{N}(\mu_0, \Sigma_0) u 0 ∼ N ( μ 0 , Σ 0 ) . For z z z and z i z^i z i as in Proposition 4.4,
d T V ( z , z i ) = 2 Φ ( 2 p e f f c 2 ∣ t 1 − t 2 ∣ 2 ) − 1 , with p e f f : = w ⊤ Σ 0 − 1 w . d_{\mathrm{TV}}(z,z^i) = 2\Phi\left(\frac{\sqrt{2p_{\mathrm{eff}}c^2|t_1-t_2|}}{2}\right)-1,\qquad\text{with }p_{\mathrm{eff}}:=w^\top\Sigma_0^{-1}w. d TV ( z , z i ) = 2Φ ( 2 2 p eff c 2 ∣ t 1 − t 2 ∣ ) − 1 , with p eff := w ⊤ Σ 0 − 1 w .
Proof. We write v : = c w v := c\,w v := c w for the drift vector. In addition to the TV distance, we derive the weights for likelihood-ratio weighting, which we use in the proof of Proposition 4.4. The drift PDE ∂ t u t = v \partial_t u^t = v ∂ t u t = v has the solution
u t = u 0 + t v . u^t = u^0 + tv. u t = u 0 + t v .
Since u 0 ∼ N ( μ 0 , Σ 0 ) u^0 \sim\mathcal{N}(\mu_0,\Sigma_0) u 0 ∼ N ( μ 0 , Σ 0 ) , we have for every t ≥ 0 t \ge0 t ≥ 0 ,
u t ∼ N ( m t , Σ 0 ) , m t : = μ 0 + t v , u^t \sim\mathcal{N}(m_t,\Sigma_0),\qquad m_t:=\mu_0+tv, u t ∼ N ( m t , Σ 0 ) , m t := μ 0 + t v ,
i.e., the drift shifts the mean and leaves the covariance unchanged.
Reduction to TV distance on inputs For m ∈ { 1 , 2 } m \in\{1,2\} m ∈ { 1 , 2 } , each pair ( u i t m , u i t m + δ ) (u_i^{t_m},u_i^{t_m+\delta}) ( u i t m , u i t m + δ ) can be written as
( u i t m , u i t m + δ ) = ( u i t m , G δ ( u i t m ) ) (u_i^{t_m},u_i^{t_m+\delta})=(u_i^{t_m},\mathcal{G}_{\delta}(u_i^{t_m})) ( u i t m , u i t m + δ ) = ( u i t m , G δ ( u i t m ))
for some solution operator G δ \mathcal{G}_{\delta} G δ . Consequently, the joint distribution of ( u i t m , u i t m + δ ) (u_i^{t_m},u_i^{t_m+\delta}) ( u i t m , u i t m + δ ) is supported on a p p p -dimensional submanifold of R 2 p \mathbb{R}^{2p} R 2 p . This is easiest to see in the case p = 1 p=1 p = 1 , where the joint distribution is concentrated on the graph of G δ ( x ) \mathcal{G}_{\delta}(x) G δ ( x ) in the x x x –y y y plane.
The only difference between the joint distributions of ( u i t 1 , u i t 1 + δ ) (u_i^{t_1},u_i^{t_1+\delta}) ( u i t 1 , u i t 1 + δ ) and ( u i t 2 , u i t 2 + δ ) (u_i^{t_2},u_i^{t_2+\delta}) ( u i t 2 , u i t 2 + δ ) lies in how probability mass is distributed along this graph. In particular, any measurable set either has probability zero under both joint distributions (if it does not intersect the graph), or its probability is entirely determined by the corresponding subset of x x x -values.
Define
ξ m : = L ( u i t m ) and ν m : = L ( u i t m , u i t m + δ ) , m ∈ { 1 , 2 } , \xi_m:=\mathcal{L}(u_i^{t_m})\quad\text{and}\quad\nu_m:=\mathcal{L}(u_i^{t_m},u_i^{t_m+\delta}),\qquad m\in\{1,2\}, ξ m := L ( u i t m ) and ν m := L ( u i t m , u i t m + δ ) , m ∈ { 1 , 2 } ,
where L \mathcal{L} L denotes the law of a random variable, and define the mapping
T ( x ) : = ( x , G δ ( x ) ) . T(x):=(x,\mathcal{G}_{\delta}(x)). T ( x ) := ( x , G δ ( x )) .
Then ν m = T # ξ m \nu_m=T_{\#}\xi_m ν m = T # ξ m . Since T T T is injective, with inverse given by projection onto the first component restricted to graph ( G δ ) \operatorname{graph}(\mathcal{G}_{\delta}) graph ( G δ ) , it follows that
∥ ν 1 − ν 2 ∥ T V = ∥ ξ 1 − ξ 2 ∥ T V . \|\nu_1-\nu_2\|_{\mathrm{TV}}=\|\xi_1-\xi_2\|_{\mathrm{TV}}. ∥ ν 1 − ν 2 ∥ TV = ∥ ξ 1 − ξ 2 ∥ TV .
From here on, we will use z ^ : = ( u 1 t 1 , … , u n t 1 , u n + 1 t 2 ) \hat{z}:=(u_1^{t_1},\ldots,u_n^{t_1},u_{n+1}^{t_2}) z ^ := ( u 1 t 1 , … , u n t 1 , u n + 1 t 2 ) and z ^ i \hat{z}^i z ^ i for z ^ \hat{z} z ^ when the i i i th and last entry are swapped.
Exact TV distance for equal-covariance Gaussians As each u i t u_i^t u i t is multivariate normal and independent of the others, the joint distributions of z ^ \hat{z} z ^ and z ^ i \hat{z}^i z ^ i are again multivariate normal with the same block-diagonal covariance I n + 1 ⊗ Σ 0 ∈ R p ( n + 1 ) × p ( n + 1 ) I_{n+1}\otimes\Sigma_0\in\mathbb{R}^{p(n+1)\times p(n+1)} I n + 1 ⊗ Σ 0 ∈ R p ( n + 1 ) × p ( n + 1 ) . The mean of z ^ \hat{z} z ^ is μ ˉ : = ( m t 1 , … , m t 1 , m t 2 ) ∈ R p ( n + 1 ) \bar{\mu}:=(m_{t_1},\ldots,m_{t_1},m_{t_2})\in\mathbb{R}^{p(n+1)} μ ˉ := ( m t 1 , … , m t 1 , m t 2 ) ∈ R p ( n + 1 ) , consisting of n n n blocks m t 1 m_{t_1} m t 1 followed by one block m t 2 m_{t_2} m t 2 . The mean μ ˉ i \bar{\mu}^i μ ˉ i of z ^ i \hat{z}^i z ^ i equals μ ˉ \bar{\mu} μ ˉ with the i i i th and last block swapped.
TV distance is invariant under bijective measurable maps, so we may apply the whitening map x ↦ ( I n + 1 ⊗ Σ 0 − 1 / 2 ) x x\mapsto(I_{n+1}\otimes\Sigma_0^{-1/2})x x ↦ ( I n + 1 ⊗ Σ 0 − 1/2 ) x to both distributions, which turns the covariance into I p ( n + 1 ) I_{p(n+1)} I p ( n + 1 ) . For identity covariances we use the following identity, which is used in various papers (e.g., He and Goldfeld [16 ] , Karageorgiou and Prodromidis [18 ] ) and attributed to Barsov and Ul’yanov [4 ] (as we cannot find access to the original source we use the citation directly from other papers that used the identity).
d T V ( z , z i ) = d T V ( z ^ , z ^ i ) = d T V ( N ( μ 1 , I p ( n + 1 ) ) , N ( μ 2 , I p ( n + 1 ) ) ) = 2 Φ ( ∥ μ 1 − μ 2 ∥ 2 2 ) − 1 d_{\mathrm{TV}}(z,z^i)=d_{\mathrm{TV}}(\hat{z},\hat{z}^i)=d_{\mathrm{TV}}\left(\mathcal{N}(\mu_1,I_{p(n+1)}),\mathcal{N}(\mu_2,I_{p(n+1)})\right)=2\Phi\left(\frac{\|\mu_1-\mu_2\|_2}{2}\right)-1 d TV ( z , z i ) = d TV ( z ^ , z ^ i ) = d TV ( N ( μ 1 , I p ( n + 1 ) ) , N ( μ 2 , I p ( n + 1 ) ) ) = 2Φ ( 2 ∥ μ 1 − μ 2 ∥ 2 ) − 1
Together with the whitening, it gives
d T V ( z , z i ) = d T V ( z ^ , z ^ i ) = 2 Φ ( ∥ ( I n + 1 ⊗ Σ 0 − 1 / 2 ) ( μ ˉ − μ ˉ i ) ∥ 2 2 ) − 1. d_{\mathrm{TV}}(z,z^{i})=d_{\mathrm{TV}(\hat{z},\hat{z}^{i})=2\Phi\left(\frac{\left\|\left(I_{n+1}\otimes\Sigma_{0}^{-1/2}\right)(\bar{\mu}-\bar{\mu}^{i})\right\|_{2}}{2}\right)-1.} d TV ( z , z i ) = d TV ( z ^ , z ^ i ) = 2Φ ( 2 ( I n + 1 ⊗ Σ 0 − 1/2 ) ( μ ˉ − μ ˉ i ) 2 ) − 1.
The vector μ ˉ − μ ˉ i \bar{\mu}-\bar{\mu}^{i} μ ˉ − μ ˉ i is zero except for the i i i th block, m t 1 − m t 2 = ( t 1 − t 2 ) v m_{t_{1}}-m_{t_{2}}=(t_{1}-t_{2})v m t 1 − m t 2 = ( t 1 − t 2 ) v , and the last block, ( t 2 − t 1 ) v (t_{2}-t_{1})v ( t 2 − t 1 ) v . Hence
∥ ( I n + 1 ⊗ Σ 0 − 1 / 2 ) ( μ ˉ − μ ˉ i ) ∥ 2 2 = 2 ( t 1 − t 2 ) 2 v T Σ 0 − 1 v \left\|\left(I_{n+1}\otimes\Sigma_{0}^{-1/2}\right)(\bar{\mu}-\bar{\mu}^{i})\right\|_{2}^{2}=2(t_{1}-t_{2})^{2}v^{\mathsf{T}}\Sigma_{0}^{-1}v ( I n + 1 ⊗ Σ 0 − 1/2 ) ( μ ˉ − μ ˉ i ) 2 2 = 2 ( t 1 − t 2 ) 2 v T Σ 0 − 1 v
and
d T V ( z , z i ) = 2 Φ ( 2 v T Σ 0 − 1 v ∣ t 1 − t 2 ∣ 2 ) − 1. d_{\mathrm{TV}}(z,z^{i})=2\Phi\left(\frac{\sqrt{2v^{\mathsf{T}}\Sigma_{0}^{-1}v}\lvert t_{1}-t_{2}\rvert}{2}\right)-1. d TV ( z , z i ) = 2Φ 2 2 v T Σ 0 − 1 v ∣ t 1 − t 2 ∣ − 1.
Moreover, since 1 − Φ ( z ) ≤ e − z 2 / 2 1-\Phi(z)\leq e^{-z^{2}/2} 1 − Φ ( z ) ≤ e − z 2 /2 , we get
1 − d T V ( z , z i ) = 2 ( 1 − Φ ( 2 v T Σ 0 − 1 v ∣ t 1 − t 2 ∣ 2 ) ) ≤ 2 exp ( − ( t 1 − t 2 ) 2 v T Σ 0 − 1 v 4 ) , 1-d_{\mathrm{TV}}(z,z^{i})=2\left(1-\Phi\left(\frac{\sqrt{2v^{\mathsf{T}}\Sigma_{0}^{-1}v}\lvert t_{1}-t_{2}\rvert}{2}\right)\right)\leq2\exp\left(-\frac{(t_{1}-t_{2})^{2}v^{\mathsf{T}}\Sigma_{0}^{-1}v}{4}\right), 1 − d TV ( z , z i ) = 2 1 − Φ 2 2 v T Σ 0 − 1 v ∣ t 1 − t 2 ∣ ≤ 2 exp ( − 4 ( t 1 − t 2 ) 2 v T Σ 0 − 1 v ) ,
so d T V ( z , z i ) → 1 d_{\mathrm{TV}}(z,z^{i})\to1 d TV ( z , z i ) → 1 exponentially fast in ( t 1 − t 2 ) 2 v T Σ 0 − 1 v (t_{1}-t_{2})^{2}v^{\mathsf{T}}\Sigma_{0}^{-1}v ( t 1 − t 2 ) 2 v T Σ 0 − 1 v . With v = c w v=cw v = c w , we have v T Σ 0 − 1 v = c 2 p e f f v^{\mathsf{T}}\Sigma_{0}^{-1}v=c^{2}p_{\mathrm{eff}} v T Σ 0 − 1 v = c 2 p eff , which gives Theorem 4.5.
Likelihood ratio at the centers Let p t p_t p t denote the density of N ( m t , Σ 0 ) \mathcal{N}(m_t,\Sigma_0) N ( m t , Σ 0 ) and Δ : = m t 2 − m t 1 = ( t 2 − t 1 ) v \Delta:=m_{t_2}-m_{t_1}=(t_2-t_1)v Δ := m t 2 − m t 1 = ( t 2 − t 1 ) v . The Gaussian likelihood ratio is
r ( x ) : = p t 2 ( x ) p t 1 ( x ) = exp ( Δ T Σ 0 − 1 x − 1 2 ( m t 2 T Σ 0 − 1 m t 2 − m t 1 T Σ 0 − 1 m t 1 ) ) . r(x):=\frac{p_{t_2}(x)}{p_{t_1}(x)}=\exp\left(\Delta^{\mathsf{T}}\Sigma_{0}^{-1}x-\frac{1}{2}\left(m_{t_2}^{\mathsf{T}}\Sigma_{0}^{-1}m_{t_2}-m_{t_1}^{\mathsf{T}}\Sigma_{0}^{-1}m_{t_1}\right)\right). r ( x ) := p t 1 ( x ) p t 2 ( x ) = exp ( Δ T Σ 0 − 1 x − 2 1 ( m t 2 T Σ 0 − 1 m t 2 − m t 1 T Σ 0 − 1 m t 1 ) ) .
Evaluating at x t e s t : = m t 2 x_{\mathrm{test}}:=m_{t_2} x test := m t 2 and x c a l : = m t 1 x_{\mathrm{cal}}:=m_{t_1} x cal := m t 1 gives
log r ( m t 2 ) = 1 2 Δ T Σ 0 − 1 Δ , log r ( m t 1 ) = − 1 2 Δ T Σ 0 − 1 Δ . \log r(m_{t_2})=\frac{1}{2}\Delta^{\mathsf{T}}\Sigma_{0}^{-1}\Delta,\qquad\log r(m_{t_1})=-\frac{1}{2}\Delta^{\mathsf{T}}\Sigma_{0}^{-1}\Delta. log r ( m t 2 ) = 2 1 Δ T Σ 0 − 1 Δ , log r ( m t 1 ) = − 2 1 Δ T Σ 0 − 1 Δ.
Since Δ T Σ 0 − 1 Δ = ( t 1 − t 2 ) 2 v T Σ 0 − 1 v = : κ \Delta^{\mathsf{T}}\Sigma_{0}^{-1}\Delta=(t_1-t_2)^2v^{\mathsf{T}}\Sigma_{0}^{-1}v=:\kappa Δ T Σ 0 − 1 Δ = ( t 1 − t 2 ) 2 v T Σ 0 − 1 v =: κ , we obtain
r ( x t e s t ) = e κ / 2 , r ( x c a l ) = e − κ / 2 . r(x_{\mathrm{test}})=e^{\kappa/2},\qquad r(x_{\mathrm{cal}})=e^{-\kappa/2}. r ( x test ) = e κ /2 , r ( x cal ) = e − κ /2 .
Normalized weights If the calibration set contains n n n points with ratio r ( x c a l ) r(x_{\mathrm{cal}}) r ( x cal ) and we normalize over these n n n points plus the test point, then
w t e s t = r ( x t e s t ) n r ( x c a l ) + r ( x t e s t ) = e κ n + e κ = 1 − O ( n e − κ ) , w_{\mathrm{test}}=\frac{r(x_{\mathrm{test}})}{nr(x_{\mathrm{cal}})+r(x_{\mathrm{test}})}=\frac{e^{\kappa}}{n+e^{\kappa}}=1-O(ne^{-\kappa}), w test = n r ( x cal ) + r ( x test ) r ( x test ) = n + e κ e κ = 1 − O ( n e − κ ) ,
and for any such calibration point,
w c a l = r ( x c a l ) n r ( x c a l ) + r ( x t e s t ) = 1 n + e κ = O ( e − κ ) . w_{\mathrm{cal}}=\frac{r(x_{\mathrm{cal}})}{nr(x_{\mathrm{cal}})+r(x_{\mathrm{test}})}=\frac{1}{n+e^{\kappa}}=O(e^{-\kappa}). w cal = n r ( x cal ) + r ( x test ) r ( x cal ) = n + e κ 1 = O ( e − κ ) .
Proof of Proposition 4.4
Proposition 4.4. Consider the drift PDE ∂ t u ( x , t ) = c \partial_tu(x,t)=c ∂ t u ( x , t ) = c , with x ∈ ( 0 , 1 ) x\in(0,1) x ∈ ( 0 , 1 ) , t ≥ 0 t\geq0 t ≥ 0 , c ∈ R c\in\mathbb{R} c ∈ R , and compatible boundary conditions. Define z z z and z i z^{i} z i as in (2) with n n n i.i.d. calibration pairs at times ( t 1 , t 1 + δ ) (t_1,t_1+\delta) ( t 1 , t 1 + δ ) and a test pair at time ( t 2 , t 2 + δ ) (t_2,t_2+\delta) ( t 2 , t 2 + δ ) from an affine scheme on a grid with p p p points and Gaussian initial conditions. Then, the total variation distance between the laws of z z z and z i z^{i} z i is
d T V ( z , z i ) = 2 Φ ( 2 p c 2 ∣ t 1 − t 2 ∣ 2 ) − 1 , d_{\mathrm{TV}}(z,z^{i})=2\Phi\left(\frac{\sqrt{2pc^{2}}\lvert t_1-t_2\rvert}{2}\right)-1, d TV ( z , z i ) = 2Φ ( 2 2 p c 2 ∣ t 1 − t 2 ∣ ) − 1 , where Φ \Phi Φ is the cumulative distribution function of the standard normal distribution. Hence, d T V ( z , z i ) → 1 d_{\mathrm{TV}}(z,z^{i})\to1 d TV ( z , z i ) → 1 exponentially fast in the grid size p p p and with it, the coverage guarantee from Barber et al. [3 ] vanishes exponentially.
Moreover, for likelihood-ratio weighting as in Equation (7) evaluated at the distribution centers x t e s t : = E [ u n + 1 t 2 ] x_{\mathrm{test}}:=\mathbb{E}[u_{n+1}^{t_2}] x test := E [ u n + 1 t 2 ] and x c a l : = E [ u i t 1 ] x_{\mathrm{cal}}:=\mathbb{E}[u_i^{t_1}] x cal := E [ u i t 1 ] , the test weight satisfies
w t e s t = 1 − O ( n e − p c 2 ( t 1 − t 2 ) 2 ) , w c a l = O ( e − p c 2 ( t 1 − t 2 ) 2 ) . w_{\mathrm{test}}=1-O\left(ne^{-pc^{2}(t_1-t_2)^{2}}\right),\qquad w_{\mathrm{cal}}=O\left(e^{-pc^{2}(t_1-t_2)^{2}}\right). w test = 1 − O ( n e − p c 2 ( t 1 − t 2 ) 2 ) , w cal = O ( e − p c 2 ( t 1 − t 2 ) 2 ) . Hence, the weighted conformal bands become infinite at an exponential rate.
Proof. Proposition 4.4 is the special case w = 1 w=1 w = 1 and Σ 0 = I p \Sigma_0=I_p Σ 0 = I p of the proof in Appendix G.5. Then p e f f = p p_{\mathrm{eff}}=p p eff = p and κ = p c 2 ( t 1 − t 2 ) 2 \kappa=pc^{2}(t_1-t_2)^{2} κ = p c 2 ( t 1 − t 2 ) 2 , which gives the TV distance, its exponential convergence in p p p , and the weights.
General TV distance bound
Proposition G.1 (Extension of Proposition 4.4). Consider a linear partial differential equation discretized on a spatial grid with p p p points. Let u t 1 , u t 2 ∈ R p u^{t_1},u^{t_2} \in\mathbb{R}^{p} u t 1 , u t 2 ∈ R p be the Gaussian numerical solutions N ( μ t 1 , Σ t 1 ) \mathcal{N}(\boldsymbol{\mu}_{t_1},\boldsymbol{\Sigma}_{t_1}) N ( μ t 1 , Σ t 1 ) and N ( μ t 2 , Σ t 2 ) \mathcal{N}(\boldsymbol{\mu}_{t_2},\boldsymbol{\Sigma}_{t_2}) N ( μ t 2 , Σ t 2 ) at two distinct time steps.
Suppose there exist uniform spectral bounds 0 < λ ≤ λ ‾ < ∞ 0 < \lambda\le\overline{\lambda} < \infty 0 < λ ≤ λ < ∞ such that for t ∈ { t 1 , t 2 } t \in\{t_1,t_2\} t ∈ { t 1 , t 2 } , the eigenvalues of the covariance matrices satisfy λ ( Σ t ) ∈ [ λ , λ ‾ ] \lambda(\boldsymbol{\Sigma}_t) \in[\lambda,\overline{\lambda}] λ ( Σ t ) ∈ [ λ , λ ] . Then the total variation distance between the laws of the numerical solutions satisfies
d T V ( u t 1 , u t 2 ) ≤ 1 2 p ( λ ‾ λ − 1 + log λ ‾ λ ) + ∥ μ t 1 − μ t 2 ∥ 2 λ . d_{\mathrm{TV}}(u^{t_1},u^{t_2}) \le\frac{1}{2}\sqrt{p\left(\frac{\overline{\lambda}}{\lambda}-1+\log\frac{\overline{\lambda}}{\lambda}\right)+\frac{\lVert\boldsymbol{\mu}_{t_1}-\boldsymbol{\mu}_{t_2}\rVert^2}{\lambda}}. d TV ( u t 1 , u t 2 ) ≤ 2 1 p ( λ λ − 1 + log λ λ ) + λ ∥ μ t 1 − μ t 2 ∥ 2 . For a consistent discretization of a smooth Gaussian random field, λ → 0 \lambda\to0 λ → 0 as p p p grows, so the uniform spectral bounds only hold for a fixed range of grid sizes.
Proof. The result follows by bounding the Kullback–Leibler (KL) divergence and applying Pinsker’s inequality. Let P = N ( μ t 1 , Σ t 1 ) P = \mathcal{N}(\boldsymbol{\mu}_{t_1},\boldsymbol{\Sigma}_{t_1}) P = N ( μ t 1 , Σ t 1 ) and Q = N ( μ t 2 , Σ t 2 ) Q = \mathcal{N}(\boldsymbol{\mu}_{t_2},\boldsymbol{\Sigma}_{t_2}) Q = N ( μ t 2 , Σ t 2 ) . By Pinsker’s inequality,
d T V ( P , Q ) ≤ 1 2 KL ( P ∥ Q ) . d_{\mathrm{TV}}(P,Q) \le\sqrt{\frac{1}{2}\operatorname{KL}(P\mathbin{\|}Q)}. d TV ( P , Q ) ≤ 2 1 KL ( P ∥ Q ) .
The KL divergence for p p p -dimensional Gaussian measures is well known as
KL ( P ∥ Q ) = 1 2 [ tr ( Σ t 2 − 1 Σ t 1 ) − p + log det Σ t 2 det Σ t 1 + ( μ t 1 − μ t 2 ) T Σ t 2 − 1 ( μ t 1 − μ t 2 ) ] . \operatorname{KL}(P\mathbin{\|}Q) = \frac{1}{2}\left[\operatorname{tr}\left(\boldsymbol{\Sigma}_{t_2}^{-1}\boldsymbol{\Sigma}_{t_1}\right)-p+\log\frac{\det\boldsymbol{\Sigma}_{t_2}}{\det\boldsymbol{\Sigma}_{t_1}}+(\boldsymbol{\mu}_{t_1}-\boldsymbol{\mu}_{t_2})^{\mathsf{T}}\boldsymbol{\Sigma}_{t_2}^{-1}(\boldsymbol{\mu}_{t_1}-\boldsymbol{\mu}_{t_2})\right]. KL ( P ∥ Q ) = 2 1 [ tr ( Σ t 2 − 1 Σ t 1 ) − p + log det Σ t 1 det Σ t 2 + ( μ t 1 − μ t 2 ) T Σ t 2 − 1 ( μ t 1 − μ t 2 ) ] .
First, we bound the terms related to the covariance structure. Under the assumption that the eigenvalues of Σ t 1 \boldsymbol{\Sigma}_{t_1} Σ t 1 and Σ t 2 \boldsymbol{\Sigma}_{t_2} Σ t 2 are bounded by λ \lambda λ and λ ‾ \overline{\lambda} λ , the trace of the product satisfies
tr ( Σ t 2 − 1 Σ t 1 ) ≤ p ⋅ λ max ( Σ t 2 − 1 ) λ max ( Σ t 1 ) ≤ p λ ‾ λ . \operatorname{tr}\left(\boldsymbol{\Sigma}_{t_2}^{-1}\boldsymbol{\Sigma}_{t_1}\right) \le p\cdot\lambda_{\max}\left(\boldsymbol{\Sigma}_{t_2}^{-1}\right)\lambda_{\max}\left(\boldsymbol{\Sigma}_{t_1}\right) \le p\frac{\overline{\lambda}}{\lambda}. tr ( Σ t 2 − 1 Σ t 1 ) ≤ p ⋅ λ m a x ( Σ t 2 − 1 ) λ m a x ( Σ t 1 ) ≤ p λ λ .
where the first inequality follows from von Neumann’s trace inequality as the matrices are symmetric and positive definite.
Similarly, the log-determinant ratio is bounded by the sum of the logs of the eigenvalue ratios:
log det Σ t 2 det Σ t 1 = ∑ i = 1 p log λ i ( Σ t 2 ) λ i ( Σ t 1 ) ≤ p log λ ‾ λ . \log\frac{\det\boldsymbol{\Sigma}_{t_2}}{\det\boldsymbol{\Sigma}_{t_1}}=\sum_{i=1}^{p}\log\frac{\lambda_i(\boldsymbol{\Sigma}_{t_2})}{\lambda_i(\boldsymbol{\Sigma}_{t_1})}\le p\log\frac{\overline{\lambda}}{\lambda}. log det Σ t 1 det Σ t 2 = i = 1 ∑ p log λ i ( Σ t 1 ) λ i ( Σ t 2 ) ≤ p log λ λ .
Next, the quadratic form involving the mean shift is bounded using the spectral norm of the inverse covariance matrix:
( μ t 1 − μ t 2 ) T Σ t 2 − 1 ( μ t 1 − μ t 2 ) ≤ λ max ( Σ t 2 − 1 ) ∥ μ t 1 − μ t 2 ∥ 2 ≤ ∥ μ t 1 − μ t 2 ∥ 2 λ . (\boldsymbol{\mu}_{t_1}-\boldsymbol{\mu}_{t_2})^{\mathsf{T}}\boldsymbol{\Sigma}_{t_2}^{-1}(\boldsymbol{\mu}_{t_1}-\boldsymbol{\mu}_{t_2})\le\lambda_{\max}\left(\boldsymbol{\Sigma}_{t_2}^{-1}\right)\lVert\boldsymbol{\mu}_{t_1}-\boldsymbol{\mu}_{t_2}\rVert^2\le\frac{\lVert\boldsymbol{\mu}_{t_1}-\boldsymbol{\mu}_{t_2}\rVert^2}{\lambda}. ( μ t 1 − μ t 2 ) T Σ t 2 − 1 ( μ t 1 − μ t 2 ) ≤ λ m a x ( Σ t 2 − 1 ) ∥ μ t 1 − μ t 2 ∥ 2 ≤ λ ∥ μ t 1 − μ t 2 ∥ 2 .
Substituting these bounds into the KL divergence expression, we obtain
KL ( P ∥ Q ) ≤ 1 2 [ p ( λ ‾ λ − 1 + log λ ‾ λ ) + ∥ μ t 1 − μ t 2 ∥ 2 λ ] . \operatorname{KL}(P\mathbin{\|}Q)\le\frac{1}{2}\left[p\left(\frac{\overline{\lambda}}{\lambda}-1+\log\frac{\overline{\lambda}}{\lambda}\right)+\frac{\lVert\boldsymbol{\mu}_{t_1}-\boldsymbol{\mu}_{t_2}\rVert^2}{\lambda}\right]. KL ( P ∥ Q ) ≤ 2 1 [ p ( λ λ − 1 + log λ λ ) + λ ∥ μ t 1 − μ t 2 ∥ 2 ] .
Applying the square root from Pinsker’s inequality yields the stated bound.
Experimental details
We tracked our results with Weights & Biases [5 ] .
Methods
Supr. The Supr. method follows the suggestion by Diquigiovanni et al. [7 ] . We calculate the scores at calibration time as the maximum over the spatial dimension x x x . Then, at test time the respective quantile of these scores is added to each spatial location of the test prediction to generate the conformal interval. No further fine-tuning is necessary.
Figure H.1. Exemplary coverage plots for the methods (from left to right) Supr., LSCI, WCP Learned, and WCP Gauss (Ours) for a sample at time step 10 with parameters a = − 0.0075 a=-0.0075 a = − 0.0075 , b = 0 b=0 b = 0 , c = 0.5 c=0.5 c = 0.5 .
LSCI The LSCI method is difficult to fine-tune. In particular, we have four different parameters: λ \lambda λ , the embedding dimension, the metric, and the number of samples to use for the conformal bands. As the computational burden is high for this method, we opted for a mid-range setup, and chose (following the original work) λ = 3 \lambda=3 λ = 3 , embedding dimension 20, the supremum norm, and varied the number of samples between 500 and 1000, depending on what gave the closest to the target coverage for the first time step. This fine-tuning would not be feasible in practice, but as it favors the baseline we compare against, it does not harm the validity of our method.
DtACI To showcase adaptive methods, we use Dynamically-Tuned Adaptive Conformal Inference (DtACI) by Gibbs and Candès [10 ] . They dynamically adjust their α \alpha α value according to previous miscoverage to satisfy the original 1 − α 1-\alpha 1 − α guarantee. In comparison to previous methods [e.g., 9], this method does not need manual tuning of the correction parameter, and the paper suggests calculation for some default parameters which we followed. For the rest of the free parameters, we followed the examples from their paper and chose 8 agents with γ \gamma γ one of [ 0.001 , 0.002 , 0.004 , 0.008 , 0.016 , 0.032 , 0.064 , 0.128 ] [0.001, 0.002, 0.004, 0.008, 0.016, 0.032, 0.064, 0.128] [ 0.001 , 0.002 , 0.004 , 0.008 , 0.016 , 0.032 , 0.064 , 0.128 ] and a window size of 5 (due to the short time frame we observe).
WCP Learned The WCP Learned method is a WCP method according to the original proposal of Tibshirani et al. [32 ] . There, they suggest estimating the (unknown) weights by the probabilistic output of a classifier. We experimented with multiple versions of LogisticRegression, Random Forests, and Support Vector Machines. We found gradient boosting to yield the best results in our experiments (n_estimators=50, max_depth=3, learning_rate=0.1). There might be better models, e.g., certain deep learning models could model the underlying distributions better. However, the quality of a model depends on the data, i.e., a working model on one dataset might undercover on another. Also, as the models need to be trained at every prediction step, large deep learning models are practically infeasible.
WCP Gauss Our proposed method is also based on Tibshirani et al. [32 ] . However, instead of estimating the weights, we use the knowledge of the underlying distribution to calculate them precisely. The mean and covariance are always estimated from the data using the average for the mean and Ledoit–Wolf [19 ] for the covariance.
Data generation
We generated multiple synthetic datasets from a general second-order formulation for periodic PDEs, each discretized with finite-difference schemes with exact exponential matrix evolution. Initial conditions were sampled from Gaussian processes with covariance 625 ( − ∂ x 2 + 25 I ) − 2 625(-\partial_x^2+25I)^{-2} 625 ( − ∂ x 2 + 25 I ) − 2 to provide smooth but nontrivial trajectories. Each dataset is stored as a compressed .npz file containing ( n s a m p l e s , n t + 1 , n x ) (n_{\mathrm{samples}}, n_t+1,n_x) ( n samples , n t + 1 , n x ) trajectories together with grid and metadata. The PDE looks as follows
u t ( x , t ) = a u ( x , t ) x x + b u ( x , t ) x + c u ( x , t ) , x ∈ ( 0 , 2 π ) , t ≥ 0 , u_t(x,t)=a u(x,t)_{xx}+b u(x,t)_x+c u(x,t),\quad x\in(0,2\pi),\ t\geq0, u t ( x , t ) = a u ( x , t ) xx + b u ( x , t ) x + c u ( x , t ) , x ∈ ( 0 , 2 π ) , t ≥ 0 ,
u ( x , 0 ) = u 0 ( x ) , x ∈ ( 0 , 2 π ) , u(x,0)=u_0(x),\quad x\in(0,2\pi), u ( x , 0 ) = u 0 ( x ) , x ∈ ( 0 , 2 π ) ,
with periodic boundary conditions, and where a , b , c ∈ R a,b,c\in\mathbb{R} a , b , c ∈ R are tunable parameters. We sampled data from all combinations of a ∈ { − 0.005 , − 0.0075 , − 0.01 } a\in\{-0.005,-0.0075,-0.01\} a ∈ { − 0.005 , − 0.0075 , − 0.01 } , b ∈ { − 0.5 , 0 , 0.5 } b\in\{-0.5,0,0.5\} b ∈ { − 0.5 , 0 , 0.5 } , and c ∈ { − 0.5 , 0 , 0.5 } c\in\{-0.5,0,0.5\} c ∈ { − 0.5 , 0 , 0.5 } . Note that we focused on negative values for a a a , as positive values tend to smooth the trajectory over time which leads to trivial coverage even for naïve CP. We sampled 21 time steps (incl. initial condition) between 0 and 1 (for the recalibration task, we extended the time to 2, as otherwise all methods cover too easily) and sampled 5000 trajectories for training, 500 for validation, 5000 for calibration, and 1000 for testing, and use a spatial resolution of n x = 48 n_x = 48 n x = 48 . As surrogate, we train a 1D Fourier Neural Operator [21 ] (3 layers, 12 Fourier modes, 32 hidden channels) to predict one time step ahead, using AdamW (learning rate 10 − 3 10^{-3} 1 0 − 3 , cosine schedule) on the MSE loss for 5 epochs.
Ablation study
The critical part of the WCP Gauss method is the accurate estimation of the covariance. If the dimensionality increases or the number of samples for estimation drops, we expect instability in the covariance estimation and, therefore, instability in the coverage results. In Figure H.2 we see an example of the synthetic experiment when we increase grid granularity (i.e., the dimensionality of the problem) or reduce the number of calibration samples. The same would hold for reducing the number of test samples, but we omit this from further plots so as not to overload the appendix. We can see that a higher granularity results in an earlier onset of infinite bands (as suggested in Proposition 4.4) and that the method becomes unstable when the number of estimation samples is too low for the dimensionality of the problem.
Visualizations of theoretical results
Proposition 4.7 We use the backward heat equation to visualize this proposition. As we do not know the exact approximation error, we cannot construct conformal sets as described in the proposition. It is, however, reasonable to assume that the miscoverage should decrease as the approximation error drops (because what we would theoretically add to the numerical conformal intervals will get smaller with finer granularity). Therefore, we sampled numerical trajectories for the backward heat equation (with parameter ν = − 0.001 \nu= -0.001 ν = − 0.001 and the granularities seen in the figure) as described in Appendix § 16 .§ 2 . For each granularity, we used the sampled initial conditions to generate the analytic solution from its Fourier representation using 16 modes for sine and cosine each. We then proceeded as in the synthetic case (general task), calibrated with the numerical data, predicted from numerical input, and checked coverage with the analytical output. The depicted coverages come from the first time step after the calibration (at later time steps, the negative effect from Proposition 4.4 reduced the observed effect, and the methods started undercovering or getting infinite bandwidth).
Proposition 4.4 To show that a higher granularity implies a higher TV distance and faster infinite bandwidth, we sampled from the PDE in the proposition (with drift parameter 1 and the granularities seen in the figure) as described in Appendix § 16 .§ 2 . For each granularity, we calculated the coverage as in the synthetic case (general task). The depicted time step is 10, as this was the time step where the effect for our chosen PDE was best visible (earlier time steps would need higher granularity to drop in coverage, and later ones dropped too quickly). The theoretical lower bound was calculated as described in Barber et al. [3 ] as 1 − α − ∑ i = 1 n w ~ i TV ( z , z i ) 1-\alpha-\sum_{i=1}^{n}\tilde{w}_i\operatorname{TV}(z,z^i) 1 − α − ∑ i = 1 n w ~ i TV ( z , z i ) with equal weights w i w_i w i . Here, z z z and z i z^i z i are described in Proposition 4.4.
Correlated initial conditions Figure H.3 evaluates the TV distance of Theorem 4.5 for the constant drift ν = 1 \nu= 1 ν = 1 under correlated initial conditions. If the initial field and the drift are smooth, neighboring grid points are strongly correlated and ν T Σ − 1 ν \nu^{\mathsf{T}}\Sigma^{-1}\nu ν T Σ − 1 ν stays bounded as the grid is refined, so the TV distance levels off below 1. A drift that is rougher than the initial field, such as a step, still drives the TV distance to 1.
Real-world examples
Pulsed-thermography data
The dataset of Wei et al. [34 ] contains 19 samples of 2D surfaces measured over 1810 time steps. We allocate 3 samples for training a Fourier Neural Operator [21 ] , 1 for validation, 13 for calibration and testing. 2 samples were excluded due to large outlier noise. We crop the borders of the measurement data, since they correspond to non-heated background regions (see Figure I.Figure 1 ). We then determine the time frame where cooling begins, by finding the frame with the largest temperature and use the 20 following time frames as the dataset. As we consider an inverse problem, we flip the time axis. For the recalibration task, we additionally use a time stride (i.e., we remove every second frame from the data), because otherwise all methods always covered (as they provide temporally very fine-grained data). Because the dataset is small, we divide each surface into square patches of size 10 × 10 10 \times10 10 × 10 and treat them as identically distributed samples (to mitigate dependency between the patches, we leave an empty space of size 5 to all neighboring patches). While this induces some dependency between patches, and the variations in the metal plates (e.g., differently drilled backside holes) introduce slight distribution shifts, both effects are minor for a real-world measurement dataset and have a negligible impact on CP performance. We further do not split the trajectories into different calibration and test sets. We calibrate at an earlier time than we test, but for the same trajectories. This also introduces dependency structures, but again mitigates the low dataset size and mirrors the real-world setting, where the same processes are observed over time. We can see in Figure I.Figure 2 that WCP Gauss is the only method with consistent coverage over time.
Lake Maggiore thermistor data
The Lake Maggiore thermistor dataset of Scheu et al. [31 ] 10 contains 1-minute-resolution thermistor chain measurements at multiple depths in Pallanza Bay. We use 50 nights in early spring for calibration and 14 nights in late spring for testing. A 1D Fourier Neural Operator [21 ] (3 layers, 3 Fourier modes, 32 hidden channels) is trained on 15 further early-spring nights (and validated on 5) to predict one time step ahead, for up to 200 epochs with early stopping. We subsample to 30-minute resolution across 7 depth sensors and extract nighttime windows as independent trajectories of vertical heat diffusion without solar forcing, which fits the linear-PDE setting of Proposition 4.2. We z-scored with the global mean and standard deviation of the training nights. As for the pulsed-thermography data, we frame the prediction as an inverse problem and reverse the time axis. Following the discussion after Theorem 4.5, we restrict CP to the middle depth sensors (27, 30, and 35 m above bed) rather than the full water column, exploiting the more favorable marginal distribution. Figure I.Figure 3 shows the resulting coverages for both tasks: WCP Gauss again maintains the target coverage almost everywhere (note that with a test size of 14, single-step deviations from 90% are statistically expected).
FRAP data
The FRAP dataset of Wåhlstrand Skärström et al. [35 ] 11 contains fluorescence-recovery-after-photobleaching experiments on 32 wt% sucrose solutions, whose post-bleach intensity field obeys the standard diffusion equation and again fits Proposition 4.2. We train a 2D Fourier Neural Operator [21 ] on 400 frame pairs from 20 simulated recovery fields of size 256 × 256 256 \times256 256 × 256 pixels, and use 20 real experiments for calibration and test (we use different time steps for calibration and test, not different trajectories). The training fields are produced by a spectral diffusion simulator with randomly sampled diffusion coefficient, bleach depth, additive-noise level, and bleach radius according to the original paper. Real recoveries are computed as Δ F / F 0 \Delta F/F_0 Δ F / F 0 relative to the per-pixel pre-bleach mean, percentile-and-MAD clipped to suppress imaging outliers, Gaussian-smoothed with σ = 0.6 \sigma=0.6 σ = 0.6 px, and per-trajectory z-scored before training. The 5 × 5 5 \times5 5 × 5 box filter is applied only at CP score extraction and is not seen by the FNO. From every 256 × 256 256 \times256 256 × 256 frame we extract a 3 × 3 3 \times3 3 × 3 grid of pixels around the bleach center, spaced 5 pixels apart and each smoothed with a 5 × 5 5 \times5 5 × 5 box filter, yielding a 9-dimensional time series. The time axis is then truncated, time-strided, and reversed to frame the problem as an inverse one. Following the discussion after Theorem 4.5, restricting CP to the center of the bleach region (where the laser is focused and the recovery dynamics are concentrated) rather than to the full 256 × 256 256 \times256 256 × 256 field exploits the more favorable marginal distribution. Figure I.Figure 4 shows the resulting coverages together with sample recovery snapshots. Only WCP Gauss attains non-trivial target coverage at every time step on both tasks (with the same test-size caveat as above).
Robustness experiments
Multi-seed stability
Figure J.1 repeats the general task of the synthetic experiment (Figure K.5, a = − 0.0075 a=-0.0075 a = − 0.0075 ) over 10 reshuffled calibration/test splits and the pulsed-thermography experiment over 10 plate-level reshuffles of the train/validation/calibration/test assignment, each with a retrained surrogate. Since each seed uses a different plate assignment and surrogate, the pulsed-thermography curves differ from those in Figure I.Figure 2 . The standard deviation across seeds is small and the ranking of the methods is the same as in the single-seed figures. LSCI is omitted due to its computational cost.
Nonlinear PDEs
We add a cubic reaction term to the synthetic PDE, u t = a u x x + c u − γ u 3 u_t = au_{xx} + cu - \gamma u^3 u t = a u xx + c u − γ u 3 with a = − 0.0075 a=-0.0075 a = − 0.0075 and b = 0 b=0 b = 0 , where γ = 0 \gamma=0 γ = 0 recovers the linear PDE. For γ > 0 \gamma>0 γ > 0 , the solutions are no longer Gaussian and Proposition 4.2 does not apply. Figure J.2 shows that coverage then depends on the PDE parameters: for c = 0.5 c=0.5 c = 0.5 , WCP Gauss attains the target for all γ \gamma γ , while for c = 3 c=3 c = 3 the solutions saturate into a bimodal distribution and at γ = 10 \gamma=10 γ = 10 the coverage of WCP Gauss drops to about 0.5. Coverage on nonlinear PDEs is therefore not guaranteed and can be lost by changing the parameters.
Bandwidths
The bandwidth of WCP Gauss is determined by the likelihood ratio of the test sample. A test sample that is likely under the test distribution but unlikely under the calibration distribution has a large weight w ~ n + 1 \widetilde{w}_{n+1} w n + 1 , which moves the weighted quantile in Equation (6) upwards. Once w ~ n + 1 > α \widetilde{w}_{n+1}>\alpha w n + 1 > α , the band is infinite. Figure J.3 shows this for the synthetic PDE: the width increases monotonically with the likelihood ratio, and infinite bands occur exactly for the samples with w ~ n + 1 > α \widetilde{w}_{n+1}>\alpha w n + 1 > α .
Other initial distributions
We further show results when starting sampling from other initial distributions. In Figure K.7, we can see coverages when initially sampling from a Laplace distribution and in Figure K.8 when sampling from a Logistic distribution. As the results are almost equivalent to those with Gaussian initial conditions, we only show the graphs for b = 0 b=0 b = 0 and refrain from further plots or tables. In Figure K.9, we show coverages of WCP Gauss (with Cauchy instead of Gaussian likelihood-ratio weights) when sampling from heavy-tailed Cauchy initial conditions over multiple seeds. The method stays stable over the seed distribution.
Additional results on synthetic data
We present the additional results (plots and tables) for the synthetic experiments. For the recalibration task, we find them in Figure K.1 and Table K.1 for b = − 0.5 b=-0.5 b = − 0.5 , in Figure K.2 and Table K.2 for b = 0 b=0 b = 0 , and in Figure K.3 and Table K.3 for b = 0.5 b=0.5 b = 0.5 . For the general task, we find them in Figure K.4 and Table K.4 for b = − 0.5 b=-0.5 b = − 0.5 , in Figure K.5 and Table K.5 for b = 0 b=0 b = 0 , and in Figure K.6 and Table K.6 for b = 0.5 b=0.5 b = 0.5 .
All results show similar structures. If the parameter set yields a simple dynamic, all methods cover even far beyond the calibration points. But when the dynamics get rougher, all but the WCP Gauss method undercover. WCP Gauss refrains from false predictions and instead yields infinite bands. DtACI yields worse results than is usually seen in the literature. The reason is that we observe only a short prediction horizon. When using adaptive CP on stock market data for example, thousands of time steps are available and changes happen slowly.
Computing resources
All the experiments were conducted on a mix of CPUs and GPUs (A40, A100, H100), based on the availability of our academic cluster. Most runs are comfortably executed on CPUs, but for the image data, GPUs speed up the process. No run takes longer than a few minutes. For the LSCI method, it is highly advised to use the computation cache that JAX provides. Otherwise, these calculations can take far longer, even on GPUs. Memory and storage do not exceed 10 GB per dataset. The full research project required more compute than the experiments reported in the paper, due to failed runs, parameter tuning, or experiments that were not relevant enough for the final cut.
Table K.1. Coverage and mean bandwidth for the recalibration task for varying a a a , c c c and fixed b = − 0.5 b=-0.5 b = − 0.5 . We also report the fraction of samples where infinite bands were reported n ∞ n_\infty n ∞ . The mean bandwidth is taken over finite bands only. The gray font is chosen for better readability.
Table K.2. Coverage and mean bandwidth for the recalibration task for varying a a a , c c c and fixed b = 0.0 b=0.0 b = 0.0 . We also report the fraction of samples where infinite bands were reported n ∞ n_{\infty} n ∞ . The mean bandwidth is taken over finite bands only. The gray font is chosen for better readability.
Figure H.2. Ablation study for method stability. We use data from the synthetic task (no recalibration) with parameters a = − 0.0075 a=-0.0075 a = − 0.0075 , b = 0 b=0 b = 0 , c = 0 c=0 c = 0 . From top to bottom, the rows correspond to 5000, 4000, 3000, 2000, and 1000 calibration samples. Each plot reports coverage (left) and the fraction of infinite conformal bands (right) over time, where color corresponds to grid granularity. We see that higher granularity leads to earlier onset of infinite bands, which aligns with Proposition 4.4. When the number of samples is insufficient relative to the dimensionality, covariance estimation degrades and undercoverage can occur.
Figure H.3. TV distance of Theorem 4.5 at ∣ t 1 − t 2 ∣ = 0.5 |t_1-t_2| = 0.5 ∣ t 1 − t 2 ∣ = 0.5 over the grid granularity. For the constant drift v = 1 v = 1 v = 1 under white noise and the covariance of the granularity experiment in Figure 3a, 1 ⊤ ∑ 0 − 1 = p 1^\top\sum_{0}^{-1} = p 1 ⊤ ∑ 0 − 1 = p and both curves coincide. For the smooth Gaussian random field N ( 0 , 625 ( − ∂ x 2 + 25 I ) − 2 ) \mathcal{N}(0, 625(-\partial_x^2 + 25I)^{-2}) N ( 0 , 625 ( − ∂ x 2 + 25 I ) − 2 ) on ( 0 , 2 π ) (0, 2\pi) ( 0 , 2 π ) , evaluated on the grid, the TV distance levels off below 1 for the constant drift, but tends to 1 for a step drift (v j = 1 v_j = 1 v j = 1 on the left half of the domain, 0 otherwise).
Figure I.1. Exemplary frames from the real-world pulsed-thermography dataset. The left image shows a raw data frame from the beginning of the cooling period. The middle image shows how we cropped the frames to remove the background. The right image shows how the data looks after 100 time steps.
Figure I.2. Coverages for the pulsed-thermography dataset for the recalibration task (left) and the general task (right). The 90% coverage target and, for WCP Gauss (resp. Learned), the fraction of samples with infinite bandwidth n ∞ n_\infty n ∞ are marked as a black dashed line and a green (resp. pink) dashed line, respectively. We see that all methods achieve target coverage at first, but only WCP Gauss can preserve coverage over time.
Figure I.3. Coverages for the Lake Maggiore nighttime cooling dataset for the recalibration task (left) and the general task (right). The 90% target is marked by a black dashed line. For WCP Gauss (resp. Learned), the fraction of samples with infinite bandwidth n ∞ n_{\infty} n ∞ is shown as a green (resp. pink) dotted line. WCP Gauss and LSCI maintain the target coverage on both tasks. Deviations at single time steps are statistically expected given the test size of 14.
Figure I.4. (Top) Coverages for the FRAP dataset for the recalibration task (left) and the general task (right). The 90% target is marked by a black dashed line. For WCP Gauss (resp. Learned), the fraction of samples with infinite bandwidth n ∞ n_{\infty} n ∞ is shown as a green (resp. pink) dotted line. (Bottom) Recovery field snapshots from a real FRAP experiment on 32 wt% sucrose solution, showing the normalized fluorescence change Δ F / F 0 \Delta F/F_0 Δ F / F 0 just after photobleaching (t = 0 t = 0 t = 0 ) and after partial recovery (t = 5 t = 5 t = 5 ). The dashed circle marks the bleach center. WCP Gauss is the only method that provides non-trivial target coverage for every time step on both tasks, where WCP Learned immediately provides trivial bands.
Figure J.1. Multi-seed stability. (a) Coverages for the general task of the synthetic PDE (a = − 0.0075 a = -0.0075 a = − 0.0075 , b = 0 b = 0 b = 0 ) for c ∈ { − 0.5 , 0 , 0.5 } c \in\{-0.5, 0, 0.5\} c ∈ { − 0.5 , 0 , 0.5 } , mean ± \pm ± one standard deviation over 10 reshuffled calibration/test splits. (b) Coverages for the pulsed-thermography dataset for the recalibration task (left) and the general task (right), mean ± \pm ± one standard deviation over 10 plate-level reshuffles with a retrained surrogate per seed. The 90% target is marked by a black dashed line. For WCP Gauss (resp. Learned), the fraction of samples with infinite bandwidth n ∞ n_{\infty} n ∞ is shown as a green (resp. pink) dotted line.
Figure J.2. Nonlinear ablation for u t = a u x x + c u − γ u 3 u_t = au_{xx} + cu - \gamma u^3 u t = a u xx + c u − γ u 3 (a = − 0.0075 a = -0.0075 a = − 0.0075 , b = 0 b = 0 b = 0 ). (a) Coverages, mean ± \pm ± one standard deviation over 10 reshuffled calibration/test splits, for c = 0.5 c = 0.5 c = 0.5 (top row) and c = 3 c = 3 c = 3 (bottom row). The 90% target is marked by a black dashed line. For WCP Gauss (resp. Learned), the fraction of samples with infinite bandwidth n ∞ n_\infty n ∞ is shown as a green (resp. pink) dotted line. (b) Marginal distribution of the middle grid point at t = 1 t = 1 t = 1 for c = 3 c = 3 c = 3 with a Gaussian fit.
Figure J.3. Bandwidth of WCP Gauss per test sample against the test log likelihood-ratio log r ( x t e s t ) \log r(x_{\mathrm{test}}) log r ( x test ) for the synthetic PDE (a = − 0.0075 a = -0.0075 a = − 0.0075 , b = 0 b = 0 b = 0 , c = 0.5 c = 0.5 c = 0.5 , general task) at the first time steps with infinite bands. Infinite bands are marked by triangles at the top of each panel.
Figure K.1. Coverages for the recalibration task for varying a a a , c c c and fixed b = − 0.5 b=-0.5 b = − 0.5 across increasing prediction horizon. The 90% coverage target is marked as black dashed line and the fraction of samples with infinite bandwidth n ∞ n_{\infty} n ∞ for WCP Learned and WCP Gauss as dotted line in their respective color.
Figure K.2. Coverages for the recalibration task for varying a a a , c c c and fixed b = 0 b = 0 b = 0 across increasing prediction horizon. The 90% coverage target is marked as black dashed line and the fraction of samples with infinite bandwidth n ∞ n_{\infty} n ∞ for WCP Learned and WCP Gauss as dotted line in their respective color.
Figure K.3. Coverages for the recalibration task for varying a a a , c c c and fixed b = 0.5 b = 0.5 b = 0.5 across increasing prediction horizon. The 90% coverage target is marked as black dashed line and the fraction of samples with infinite bandwidth n ∞ n_{\infty} n ∞ for WCP Learned and WCP Gauss as dotted line in their respective color.
Table K.3. Coverage and mean bandwidth for the recalibration task for varying a a a , c c c and fixed b = 0.5 b=0.5 b = 0.5 . We also report the fraction of samples where infinite bands were reported n ∞ n_{\infty} n ∞ . The mean bandwidth is taken over finite bands only. The gray font is chosen for better readability.
Figure K.4. Mean coverages for the general task (no recalibration) for varying a a a , c c c and fixed b = − 0.5 b=-0.5 b = − 0.5 across an increasing prediction horizon. The 90% coverage target is marked as black dashed line and the fraction of samples with infinite bandwidth n ∞ n_{\infty} n ∞ for WCP Learned and WCP Gauss as dotted line in their respective color.
Figure K.5. Mean coverages for the general task (no recalibration) for varying a a a , c c c and fixed b = 0 b = 0 b = 0 across increasing prediction horizon. The 90% coverage target is marked as black dashed line and the fraction of samples with infinite bandwidth n ∞ n_\infty n ∞ for WCP Learned and WCP Gauss as dotted line in their respective color.
Figure K.6. Mean coverages for the general task (no recalibration) for varying a a a , c c c and fixed b = 0.5 b = 0.5 b = 0.5 across increasing prediction horizon. The 90% coverage target is marked as black dashed line and the fraction of samples with infinite bandwidth n ∞ n_{\infty} n ∞ for WCP Learned and WCP Gauss as dotted line in their respective color.
Table K.4. Coverage and mean bandwidth for the general task (no recalibration) for varying a a a , c c c and fixed b = − 0.5 b=-0.5 b = − 0.5 . We also report the fraction of samples where infinite bands were reported n ∞ n_{\infty} n ∞ . The mean bandwidth is taken over finite bands only. A dash (–) marks cells where every band was infinite. The gray font is chosen for better readability.
Table K.5. Coverage and mean bandwidth for the general task (no recalibration) for varying a a a , c c c and fixed b = 0.0 b=0.0 b = 0.0 . We also report the fraction of samples where infinite bands were reported n ∞ n_{\infty} n ∞ . The mean bandwidth is taken over finite bands only. A dash (–) marks cells where every band was infinite. The gray font is chosen for better readability.
Table K.6. Coverage and mean bandwidth for the general task (no recalibration) for varying a a a , c c c and fixed b = 0.5 b=0.5 b = 0.5 . We also report the fraction of samples where infinite bands were reported n ∞ n_{\infty} n ∞ . The mean bandwidth is taken over finite bands only. A dash (–) marks cells where every band was infinite. The gray font is chosen for better readability.
Figure K.7. Coverages for the general task for varying a a a , c c c and fixed b = 0 b=0 b = 0 with Laplace initial distribution across increasing prediction horizon. The 90% coverage target is marked as black dashed line and the fraction of samples with infinite bandwidth n ∞ n_\infty n ∞ for WCP Learned and WCP Gauss as dotted line in their respective color.
Figure K.8. Coverages for the general task for varying a a a , c c c and fixed b = 0 b = 0 b = 0 with Logistic initial distribution across increasing prediction horizon. The 90% coverage target is marked as black dashed line and the fraction of samples with infinite bandwidth n ∞ n_{\infty} n ∞ for WCP Learned and WCP Gauss as dotted line in their respective color.
Figure K.9. Coverages of WCP with Cauchy likelihood-ratio weights for the general task for varying a a a , c c c and fixed b = 0 b = 0 b = 0 with heavy-tailed elliptical Cauchy initial distribution, mean ± \pm ± one standard deviation over 10 reshuffled calibration/test splits. The 90% coverage target is marked as black dashed line and the fraction of samples with infinite bandwidth n ∞ n_{\infty} n ∞ as dotted line. The Cauchy likelihood ratios stay bounded, so no infinite bands occur. The heavy tails increase the variance of the coverage across splits, and for c = − 0.5 c = -0.5 c = − 0.5 the mean coverage falls slightly below the target at late time steps.