arXiv:2611.09579stat.CONov 2026

Manuscript Offprint

arXiv:2611.09579

Locally Adaptive Conformal Prediction for Polynomial Chaos Expansions

Dimitrios Loukrezis, Arthur Hatstatt, Bruno Sudret, Dimitris G. Giovanis

Dimitrios Loukrezis

Scientific Computing Group

Centrum Wiskunde & Informatica

Amsterdam, The Netherlands

d.loukrezis@cwi.nl

Arthur Hatstatt

Chair of Risk, Safety and Uncertainty Quantification

ETH Zürich

Zürich, Switzerland

arthur.hatstatt@ibk.baug.ethz.ch

Bruno Sudret

Chair of Risk, Safety and Uncertainty Quantification

ETH Zürich

Zürich, Switzerland

sudret@ethz.ch

Dimitris G. Giovanis

Dpt. of Civil & Systems Engineering

Dpt. of Applied Mathematics and Statistics

Johns Hopkins University

Baltimore, MD, US

dgiovan1@jhu.edu

ABSTRACT

Polynomial chaos expansions are widely used as surrogate models, but do not provide metrics that quantify the uncertainty in their predictions. Conformal prediction offers such metrics in the form of prediction intervals with finite-sample coverage guarantees under the sole assumption of data exchangeability. Existing combinations of conformal prediction with polynomial chaos expansions do not adapt the prediction interval width to the local prediction uncertainty, although the prediction error of a surrogate is typically input-dependent. To address this limitation, this work develops a locally adaptive jackknife+ conformal prediction framework for polynomial chaos expansions. Therein, the non-conformity scores are normalized with an auxiliary polynomial chaos expansion trained on the log-transformed leave-one-out residuals of the base model. We show that the coverage guarantee of jackknife+ conformal prediction carries over to the adaptive intervals if the leave-one-out auxiliary models are trained on nested leave-one-out residuals. For fixed-basis polynomial chaos expansions fitted by ordinary least squares, all required quantities are derived in closed form and the guarantee-preserving adaptive intervals are obtained from a single model fit, without any model retraining. For sparse polynomial chaos expansions, where multiple model fits are necessary, we propose a heuristic simplification that limits the computational overhead of adaptivity at the cost of the formal coverage guarantee. Numerical experiments on an academic benchmark with known heteroscedastic noise and on an engineering simulation dataset show that the suggested method attains the target coverage while providing intervals that adapt to local prediction uncertainty, therefore being considerably more statistically efficient. These advantages are particularly prominent in high-uncertainty regions of the input space, where the performance of non-adaptive methods degrades substantially.

Keywords Adaptive prediction intervals · Conformal prediction · Jackknife+ · Local uncertainty · Machine learning regression · Polynomial chaos expansion · Uncertainty quantification

1 Introduction

Surrogate models have become indispensable for enabling and accelerating parametric studies that require repeated model evaluations, for example, by replacing computationally expensive simulation models in time- and resource-demanding studies. Example surrogate-assisted tasks include optimization [1], uncertainty quantification (UQ) [2], or combined tasks such as optimization under uncertainty [3, 4]. Owing to the advances in the field of machine learning (ML), data-driven surrogates based on ML techniques have enjoyed increased popularity in recent years [5, 6]. However, the predictive capability of a data-driven surrogate model is governed by a number of factors, such as its model form and the available training data. Its predictions are therefore subject to uncertainty, for example due to approximation errors or the intrinsic variability of the observed output in the case of noisy observations. For surrogate-based results to be trustworthy, prediction uncertainty must be quantified reliably.

Among the numerous available surrogate modeling techniques, polynomial chaos expansions (PCEs) [7, 8] are particularly popular in the field of UQ, because their spectral structure gives direct access to statistical moments and sensitivity indices [9]. Moreover, regression-based PCEs are commonly employed as data-driven ML models [10]. The accuracy of a PCE is typically assessed with global generalization error metrics, for example based on the leave-one-out (LOO) error [11] or using a separate validation dataset. However, these metrics provide a single number for the entire input space and do not indicate how reliable an individual prediction is. In contrast to probabilistic surrogates such as Gaussian processes (GPs) [12] or Bayesian neural networks [13], standard PCEs do not provide metrics that quantify the model's predictive uncertainty, such as prediction, confidence, or credibility intervals. Such intervals can be obtained by combining PCEs with bootstrapping [14] or ensemble modeling [15, 16]. However, the spread of bootstrap or ensemble predictions mainly reflects the variability of the estimated model with respect to the training data, largely neglecting the impact of noise or systematic approximation errors. Other options include hybrid GP-PCE models [17, 18, 19, 20] or Bayesian PCE formulations [21, 22, 23], where interval validity largely depends on the underlying modeling assumptions, e.g., covariance kernel, prior distributions, or noise model. Moreover, none of these approaches guarantees that the resulting intervals contain the true output with a prescribed probability for a finite amount of data.

Conformal prediction (CP) methods [24] offer such guarantees and can additionally be combined with any regression model. Under the assumption of data exchangeability and for any finite number of data points, CP produces prediction intervals with marginal coverage guarantees, meaning that, on average, the intervals contain the true output with a prescribed probability. This probability is commonly called the target coverage and denoted by (1−α)(1 - \alpha), where α∈(0,1)\alpha \in (0, 1) is the corresponding significance level. The original full (or transductive) CP variant [24] uses all available data for both training and interval calibration, but requires retraining the regression model for each test input and for multiple candidate output values. This is computationally prohibitive in general and becomes tractable only for specific models [25]. The most widely used variant is split (or inductive) CP [26, 27], where the model is trained once and the intervals are calibrated on a held-out dataset. Although computationally efficient, split CP reduces the amount of data available for training, which can be detrimental to model accuracy if only limited data are available. Cross CP [28] mitigates this drawback by calibrating the prediction intervals via kk-fold cross validation (CV), at the cost of training kk models and only approximate interval validity, i.e., without offering a coverage guarantee. For the limit-case of k=Mk = M, MM being the size of the training dataset, cross CP becomes jackknife CP [27], where LOO CV is used for interval calibration. In particular, the jackknife+ variant [29] offers a (1−2α)(1 - 2\alpha) finite-sample coverage guarantee. While this is weaker than the (1−α)(1 - \alpha) coverage guarantee provided by full and split CP, it is still favorable compared to the only approximate interval validity of standard jackknife CP. Moreover, the empirical coverage of jackknife+ CP is typically on par with the target coverage [29].

To the best of our knowledge, two works have considered the combination of CP with PCEs so far. Loukrezis and Giovanis [30] combined jackknife and jackknife+ CP with total-degree PCEs fitted by ordinary least squares (OLS). In this case, LOO residuals and LOO model predictions can be computed with closed-form expressions and the CP intervals are obtained at practically no additional cost compared to the PCE fit itself. Hatstatt et al. [31] combined full and jackknife+ CP with both total-degree OLS-fitted PCEs and sparse PCEs based on a hybrid least angle regression (LAR) method [11]. In the former case, jackknife+ CP intervals are again computed via closed-form expressions. Full CP intervals are also computed with very low computational overhead, through an exact computation of the interval limits that exploits the linearity of the OLS solution with respect to the model outputs. For sparse PCEs, Hatstatt et al. show that reusing the basis selected on the full training dataset violates the symmetry requirement of CP and leads to a severe performance degradation. The adaptation of full CP to sparse PCEs was made possible by exploiting the linearity of the LAR solution path and solving equations to determine the prediction interval bounds. In contrast, jackknife+ CP was adapted through repeated LOO refitting of the sparse PCE model, taking advantage of the considered small-data regime, for which the computational cost remains manageable.

The aforementioned CP-PCE combinations use absolute residuals as non-conformity scores, which measure the discrepancy between the model prediction and the true output. For jackknife or jackknife+ CP, this results in intervals of nearly constant width over the entire input space. In contrast, the prediction error of a surrogate model is often heteroscedastic, i.e., input-dependent. For example, this is the case in settings with input-dependent noise, localized nonlinearities, or unevenly distributed training data. Full CP intervals do vary in width, however, this variation stems only from the position of the test input relative to the training data, similar to a GP with stationary kernel and homoscedastic noise. In either case, intervals that do not account for the local prediction uncertainty of the model are typically too conservative in regions of the input space characterized by low predictive uncertainty and, conversely, too narrow in high-uncertainty regions. The target coverage may still be satisfied on average by over-covering low-uncertainty outputs, while simultaneously under-covering high-uncertainty ones, which however is not the desired behavior. In fact, reliable prediction intervals are needed primarily for regions of the input space where the prediction uncertainty is high.

Locally adaptive CP addresses this issue by normalizing the non-conformity scores with an estimate of the local prediction uncertainty [32, 33, 34], commonly obtained with an auxiliary regression model trained on the residuals of the base model. Alternatively, adaptive intervals can be obtained by conformalized quantile regression models [35]. For split CP, non-conformity score normalization is straightforward, as long as the auxiliary model is trained independently of the calibration data. For jackknife-based CP, the auxiliary model must be trained in a LOO fashion as well. As also discussed in this work, simply training it on the LOO residuals of the base model violates the symmetry requirement on which the coverage guarantee of jackknife+ CP relies. Interval adaptivity is considerably more demanding for the full CP variant [36], where the exact computation of the interval limits exploited by Hatstatt et al. [31] no longer applies. Due to its impractical computational cost, adaptive full CP is not pursued in this work. An adaptive variant of the standard jackknife CP method is also not pursued, as it offers no finite-sample coverage guarantee and is typically less robust than the jackknife+ variant [29].

To address the aforementioned limitations, this work develops an adaptive jackknife+ CP framework for PCE regression, which complements PCE predictions with locally adaptive prediction intervals. Within the suggested approach, the local uncertainty estimator utilizes an auxiliary PCE model trained on the log-transformed LOO residuals of the base PCE. We show that the (1−2α)(1-2\alpha) coverage guarantee of jackknife+ CP transfers to the adaptive intervals if the LOO auxiliary models are trained on nested LOO residuals, i.e., residuals of base models that omit two training data points at a time. For fixed-basis, OLS-fitted PCEs, the nested LOO residuals and the LOO auxiliary model predictions can be computed with closed-form expressions. The guarantee-preserving adaptive CP intervals are then obtained from a single OLS fit of the base model, without any model retraining. For sparse PCEs, however, the guarantee-preserving approach becomes computationally prohibitive. To mitigate the computational demand, we suggest a heuristic simplification that limits the overhead substantially, but forgoes the formal coverage guarantee. Nonetheless, we demonstrate empirically that the resulting models attain the target coverage, at least in the use cases considered in this work.

The suggested adaptive jackknife+ CP-PCE method is compared against its non-adaptive counterpart, as well as against adaptive and non-adaptive split CP-PCEs, first on a benchmark with known heteroscedastic noise, and subsequently on an engineering simulation dataset. The numerical results show clearly that adaptive jackknife+ CP-PCEs attain the prescribed coverage levels, while simultaneously adapting the prediction intervals according to the local prediction uncertainty. Importantly, adaptive jackknife+ CP-PCEs attain an empirical coverage close to the target level also in the high-uncertainty regions of the input space, where the coverage of the non-adaptive variants drops substantially. Moreover, adaptive jackknife+ CP-PCEs perform on par with adaptive split CP-PCEs calibrated on very large datasets, and outperform them when the available data must be shared between training and calibration.

The remainder of this paper is organized as follows. Section 2 recalls the main components of CP for regression models, focusing on the CP variants employed in this work. Section 3 discusses briefly the regression-based PCE method. Section 4 presents the suggested methodology for integrating jackknife+ CP into PCEs, so that their predictions are complemented with locally adaptive, input-dependent CP intervals. Numerical experiments demonstrating the applicability of the method to both an academic benchmark and an engineering use case are presented in Section 5. Finally, the findings of this work are summarized in Section 6.

References (49)