Next Article in Journal
RolEmo: A Role-Aware Commonsense-Augmented Contrastive Learning Framework for Emotion Classification
Previous Article in Journal
Automated Single-Slice Lumbar QCT HU Value Measurement with Clinical Workflow
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Polynomial Chaos Expanded Gaussian Process

1
Engineering and Computer Science, University of Applied Sciences Niederrhein, 47805 Krefeld, Germany
2
Chair of Dynamics and Control, University of Duisburg-Essen, 47057 Duisburg, Germany
*
Author to whom correspondence should be addressed.
Mach. Learn. Knowl. Extr. 2026, 8(3), 78; https://doi.org/10.3390/make8030078
Submission received: 9 February 2026 / Revised: 14 March 2026 / Accepted: 16 March 2026 / Published: 19 March 2026
(This article belongs to the Section Learning)

Abstract

In complex and unknown processes, global models are fitted over the entire input domain but often tend to perform poorly whenever the response surface exhibits non-stationary behavior and varying smoothness. A common approach is to use local models, which requires partitioning the input domain into subdomains and training multiple models, thereby adding significant complexity. Recognizing this limitation, this study addresses the need for models that represent the input–output relationship consistently over the full domain while still adapting to local variations in the response. It introduces a novel machine learning approach: the Polynomial Chaos Expanded Gaussian Process (PCEGP), leveraging polynomial chaos expansion to calculate input-dependent hyperparameters of the Gaussian process (GP). This provides a mathematically interpretable approach that incorporates non-stationary covariance functions and heteroscedastic noise estimation to generate locally adapted models. The model performance is compared to different algorithms in benchmark tests for regression tasks. The results demonstrate low prediction errors of the PCEGP, highlighting model performance that is often competitive with or better than previous methods. A key advantage of the presented model is its interpretable hyperparameters along with training and prediction runtimes comparable to those of a standard GP.

1. Introduction

System modeling of real processes occurs within a specific global experimental space. A widely used choice for modeling unknown system behavior is the Gaussian process (GP), introduced in [1]. The GP is often used with stationary covariance functions for regression tasks. This assumes that the smoothness of the response is constant over the experimental space. As demonstrated in [2], predicting a function with a varying smoothness using stationary covariance functions leads to increased prediction errors in areas with abrupt variations. To reduce the prediction errors, more experiments could be performed in those areas with abrupt variations, which lead to heterogeneous and non-uniform data point densities. According to [2], stationarity assumes an almost uniform input design. When non-stationary covariance functions are used, advantages have been demonstrated for data whose response surface exhibits input-dependent smoothness, e.g., in [2,3].
Therefore, models are needed that can handle non-uniform densities of training data and varying smoothness of the target function across the input domain. In addition, such models should be able to handle heteroscedastic noise, as presented, e.g., in [4,5].
One approach to account for heterogeneous data density across the input space in GPs is to use non-stationary covariance functions. Non-stationarity allows the input–output relationship to vary with the input location, enabling the GP to adapt its smoothness and variance locally in the input space [6].
In [7], a non-stationary version of the Matérn covariance function is presented, which allows non-stationary behavior to be modeled in data. A second-level GP is used in [6] to calculate the lengthscale parameters of the first-level GP in order to model non-stationary behavior. For the anisotropic case, this leads to a second-level GP for each input, which can be computationally expensive with an increasing number of inputs.
In [8], the use of deep Gaussian processes (DGPs), first introduced in [9], with Bayesian optimization (BO) is investigated. The non-stationarity of data is modeled by considering a functional composition of stationary GPs, providing a multiple-layer structure. The DGP approach has also shown promising results in learning surrogate models with as little data as possible, as presented in [10]. However, the DGP approach leads to a more difficult interpretability and is challenging for model training due to the nested structure.
Furthermore, there are approaches that use local experts to model non-stationary behavior, as presented in [11]. In [3], input partitioning with hierarchical hyperplane kernels (HHKs) for GPs is used to achieve non-stationarity. Such approaches require training of several different models.
In [12], the non-stationarity of GPs is achieved by using a deep neural network (DNN) for hyperparameter estimation of the GP depending on the input data. Typical DNNs are a type of black box learning, the training process of a DNN lacks transparency. While their training procedure is well understood, the internal representations and decision-making process of a trained network are difficult to interpret [13].
These approaches result in either a structural limitation of the model, a computationally expensive model, the need for different local models, or a model that is difficult to interpret. In this work, a mathematically interpretable method for parameterization of non-stationary covariance functions and heteroscedastic noise estimation is presented.
Here, the novel combination of polynomial chaos expansions (PCEs) and GPs, called the Polynomial Chaos Expanded Gaussian Process (PCEGP), is presented. The PCE is utilized to calculate input-dependent hyperparameters of the GP. This approach provides the ability to model the global and local behavior of a complex process with only one model and low computational cost since evaluating a polynomial function requires only basic arithmetic operations. As shown in [14], PCE-based models work well for machine learning (ML) regression on small datasets. In addition, the PCE representation allows the computation of statistical moments and sensitivities of the output with respect to the inputs [15,16].
This paper is structured as follows. First, a short introduction and further references to the PCE and GPs are given in Section 2. In Section 3, the ML approach with the novel combination of the PCE and GP is introduced. Then, the method to generate non-stationary covariance functions and the heteroscedastic noise estimation are introduced. After that, the hyperparameter optimization (HPO) strategy for the PCEGP is presented. The evaluation of the new ML approach using various benchmark datasets is described in Section 5. The results illustrate ability of the proposed approach to achieve low prediction errors across diverse applications, underscoring a model performance that competes with or surpasses previous methods. Finally, a summary and outlook for future work are given in Section 6.

2. Background and Related Work

In this section, the necessary components for the novel ML approach are presented. This includes the PCE and GP.

2.1. Polynomial Chaos Expansion

The PCE, presented in [17], is a popular method in uncertainty quantification (UQ) of models which are parameterized by independent random variables with extensions to dependent variables [18]. The term “chaos” in PCE originates from Wiener’s homogeneous chaos theory and denotes the representation of random quantities by orthogonal polynomial expansions in UQ [17,19]. By viewing the model as an input–output map, the effect of input to output uncertainties can be assessed in UQ [20]. The PCE allows the modeling of different data distributions with different kinds of polynomial bases.
In the case of UQ for high-fidelity models, a large number of simulations is required. To avoid the computational load, surrogate models can be used. One of the most widely used methods to build a surrogate model in UQ is generalized polynomial chaos. The PCE is well suited for the approximation of functions with random variables because of the orthogonality of the polynomial basis to the probability measure of the variables [21].
In general, the polynomial chaos expansion (PCE) is defined by
f ξ k α K α α k α Φ k α ξ ,
where f ξ R denotes the approximated function by the PCE, depending on the random variables ξ = ( ξ 1 , ξ 2 , , ξ n ξ ) . The coefficients of the expansion are α k α , and the polynomial basis functions are Φ k α ( ξ ) . The multi-index k α = ( k α , 1 , k α , 2 , , k α , n ξ ) is a vector of indices, where n ξ denotes the number of random input variables, and K α is a set of multi-indices.
The multivariate polynomial basis functions Φ k α ( ξ ) are constructed as products of univariate polynomials ϕ k α , i ( ξ i ) , which are orthogonal with respect to the marginal distribution of ξ i R , and are defined as
Φ k α ξ = i = 1 n ξ ϕ k α , i ξ i .
The orthogonality property of the polynomial basis functions Φ k α ξ with respect to the probability density function p ( ξ ) of the random variables ξ can be expressed as
Ω Φ k α ξ Φ j α ξ p ( ξ ) d ξ = γ k α , if k α = j α 0 , if k α j α ,
where p ( ξ ) is the joint probability density function of the random variables, γ k α is a normalization constant associated with the multi-index k α , and Ω denotes the domain over which the random variables ξ are defined. This domain Ω encompasses all possible values of ξ for which the probability density function p ( ξ ) is non-zero. This condition can also be compactly represented using the Kronecker delta δ k α j α
Ω Φ k α ξ Φ j α ξ p ( ξ ) d ξ = γ k α δ k α j α ,
where δ k α j α = 1 if k α = j α and 0 otherwise.
The orthogonality of the basis functions ensures that the PCE provides a stable and efficient representation of the target function f ( ξ ) . This orthogonality simplifies the computation of the expansion coefficients α k α by ensuring that each coefficient can be determined independently of the others, reducing the complexity of the optimization process.
The summation in the general definition runs over all possible multi-indices k α K α , the expansion is generally infinite. To limit the expansion to a finite number of terms, the infinite summation is truncated to a finite sum with a maximum polynomial degree q N 0
f ξ k α K α , q α k α Φ k α ξ ,
where K α , q = k α K α | i = 1 n ξ k α , i q is the set of multi-indices whose total degree i = 1 n ξ k α , i is less than or equal to the maximum degree q.
The choice of the polynomial basis function for each random variable ξ i depends on the distribution of ξ i . There exist several orthogonal polynomial bases and their corresponding probability density functions. For example, for a uniformly distributed random variable ξ i U ( 1 , 1 ) , the corresponding univariate orthogonal polynomials ϕ k α , i ( ξ i ) are given by the Legendre polynomials Le k α , i ( ξ i ) , which on the interval ξ i [ 1 , 1 ] can be defined as
ϕ k α ( ξ i ) = Le k α , i ( ξ i ) = 1 2 k α , i k α , i ! d k α , i d ξ i k α ξ i 2 1 k α .
with the associated probability density function
p ( ξ i ) = 1 2 , ξ i [ 1 , 1 ] ,
and p ( ξ i ) = 0 otherwise.
The number of coefficients N α depends on the maximum polynomial degree q and the number of random input variables n ξ . It can be calculated by
N α = n ξ + q q = ( n ξ + q ) ! n ξ ! q ! .
The number of coefficients N α grows rapidly with increasing polynomial degree q and the number of random input variables n ξ . Therefore, it is crucial to keep the polynomial degree moderate or to reduce the number of random input variables using techniques such as principal component analysis (PCA) [22], to manage the rapid increase in the number of coefficients and mitigate the computational complexity of the expansion.
Another method to reduce the number of coefficients and the computational complexity is the application of sparse polynomial chaos expansion (SPCE), as presented in [23]. One way to achieve sparsity in the PCE is to apply elastic net (EN) regularization [24], which combines both L1 (Lasso) and L2 (Ridge) penalties. Let α { α k α } k α K α R N α denote the vector of PCE coefficients. The elastic net optimization problem is then defined as
α * = arg min α R N α L ( α ) + λ β k α K α | α k α | + λ ( 1 β ) k α K α α k α 2 , x x x x x x x x L 1 ( Lasso ) penalty x x x x x x x L 2 ( Ridge ) penalty
where L ( α ) denotes the loss function (e.g., mean squared error), λ R + is the regularization parameter that controls the overall strength of regularization, and β [ 0 , 1 ] is a parameter that determines the balance between the L1 and L2 penalties. This approach encourages sparsity while maintaining some of the stability properties of ridge regression and helps to prevent overfitting, especially in cases where the polynomial degree is chosen too high.
The application of the PCE beyond its typical use case for UQ has been demonstrated in [14,25]. In [14], it is shown how the PCE can be used for ML regression. In [25], a combination of the PCE and GP for ML is presented, in which the PCE is used to describe the global behavior of the computational model while the GP describes the local variability of the model. This combination of the PCE and GP is completely different to the approach developed in this work.

2.2. Gaussian Process

The GP is a probabilistic ML approach using covariance structures [1]. The principle advantage over other covariance-based approaches is given by an uncertainty measurement of the predictions.
A GP is a collection of random variables. Each finite number of these random variables has a joint Gaussian distribution. In the following the GP is considered for regression, where the training data are denoted as D = { x i , y i } i = 1 N with x i R n x and y i R . The number of training points is denoted with N and the number of inputs is denoted with n x .
The mean function m ( x ) and the covariance function k ( x , x ) , also called kernel function, completely describe the GP
f ( x ) GP m ( x ) , k ( x , x ) ,
where x and x represent input data points. In contrast to the random input variables ξ used in the PCE construction, x denotes fixed input locations at which the GP is evaluated (i.e., realizations of ξ ). Most ML applications have a large number of input parameters, e.g., in chemical engineering [26], autonomous driving [27], and energy consumption forecasting [28]. This results in a high-dimensional feature space for the learning algorithm. For distance-based ML algorithms, this leads to the so-called curse of dimensionality [29]. To avoid this, unimportant features can be removed with automatic relevance determination (ARD) [30] or by techniques presented in [31]. For GPs, the ARD is realized by introducing a lengthscale parameter for each feature [32].
A common choice for the stationary covariance function of the GP is the squared exponential kernel; see [1]. It is defined by
k x , x = σ f 2 exp x x 2 2 l 2 ,
with the correlation lengthscale l R + and the signal variance σ f 2 R + . There exist also extensions of this covariance function, e.g., the squared exponential covariance function with ARD, which is defined by
k x , x = σ f 2 exp 1 2 x x L x x ,
with the lengthscale matrix L = diag l 1 l n x 2 . The lengthscale matrix includes one lengthscale parameter l i R + for each input. A further extension is presented in [4], where the authors used a non-stationary generalization of the squared exponential covariance function, defined as
k x , x = σ f x σ f x 2 l x l x l 2 x + l 2 x exp x x 2 l 2 x + l 2 x .
In this extension, the hyperparameters σ f x R + and l x R + are data point-dependent to model non-stationarity.
The hyperparameters are used to fit the model to the given data. In the following, all hyperparameters of the GP are summarized in θ R n x + 2 , which leads to the covariance matrix
K X , X , θ = K X , X , L , σ f + σ n 2 I .
The noise variance σ n 2 R + is used to model the noise in the data and also serves as hyperparameter of the GP.
In the following, K X , X R N × N denotes the covariance matrix depending on the training data, and K X , x * R N denotes the covariance vector depending on the training data and the next point x * to predict. The input training points of the whole dataset D are denoted as X R N × n x . The elements of the covariance matrix K X , X are calculated by the covariance function k x , x and are thus dependent on the training data D and the hyperparameters L , σ f , and σ n .
Usually, these hyperparameters are optimized by maximizing the log marginal likelihood (LML), which is given by
log p y | X = 1 2 y K X , X 1 y 1 2 log | K X , X | N 2 log 2 π
under the assumption that y N 0 , K X , X + σ n 2 I for the GP output. For the optimization of the hyperparameters with a gradient descent algorithm, the gradient of the LML is used and given by
θ i log p y | X , θ = 1 2 y K X , X 1 θ i K X , X 1 y 1 2 tr K X , X 1 K X , X θ i .
To predict an output based on a new input x * R n x and the given dataset D , the posterior distribution is defined by
μ x * = m x * + K X , x * K X , X 1 y m X ,
σ 2 x * = k x * , x * K X , x * K X , X 1 K X , x * ,
where μ x * R denotes the mean prediction, σ 2 x * R + is the uncertainty prediction of the point to evaluate x * , and m X = m ( x 1 ) , , m ( x N ) denotes the vector of mean function evaluations m ( x ) at the training inputs.

3. Polynomial Chaos Expanded Gaussian Processes

In this section, the novel ML approach as a combination of the PCE and GP is presented, where the PCE is used to calculate the hyperparameters of the GP. First, the general architecture and methodology of this approach is presented. After that, the hyperparameter optimization is described. Then, a runtime comparison is presented.

3.1. Architecture and Methodology

In the generic PCE formulation above, random variables are denoted by ξ , following the standard notation commonly used in uncertainty quantification. In the proposed PCEGP model, however, the GP inputs are denoted by x and are treated as deterministic input data. Accordingly, the PCE is not used here as a standalone random-variable model but is evaluated at the scaled inputs x s * to parameterize input-dependent GP hyperparameters.
The general architecture of the PCEGP is shown in Figure 1. It consists of data scaling of the input x * , data point-dependent hyperparameter calculation, and the prediction of the output y ^ PCEGP in R 2 , which includes the mean and uncertainty prediction. First, the given input data point x * is scaled to x s * with a scaler, e.g., the min–max scaler.
As illustrated in Figure 1, the scaled data point x s * is directly used as the input for the PCEs, which form the first processing stage after data scaling and are used to calculate the input-dependent hyperparameters of the GP. For each covariance function k 1 k n k , a separate PCE is used to predict the corresponding input-dependent lengthscale hyperparameters l ^ 1 x s * l ^ n k x s * , where n k N denotes the number of used covariance functions. The scaled data point x s * is also used as the input for the PCE that calculates the input-dependent heteroscedastic noise parameter σ ^ n x s * . The input-dependent lengthscale parameters l ^ i x s * predicted by the PCE are transformed to ensure that the lengthscale l ^ i , T x s * is in R + . Similarly, the predicted input-dependent noise parameter σ ^ n x s * is transformed to σ ^ n , T x s * to ensure that it remains in R + .
The choice of the PCE basis function depends on the input data. The approach of this study allows the combination of different polynomial bases for the calculation of the GP hyperparameters depending on the input data. This eliminates the choice of the polynomial basis, and the weighting of these becomes part of the HPO. As shown in Figure 1, the combination of different PCE basis functions is achieved by a linear combination of these bases.
Non-stationary covariance functions enable the model to dynamically adjust to functions characterized by varying degrees of smoothness and training point densities across the input space. For GPs, this can be achieved by the estimation of an input-dependent lengthscale parameter l x of a chosen covariance function. In this work, the PCE is used to calculate the lengthscale parameters as a function of the input data.
For this purpose, the stationary covariance functions have to be adapted to estimate a data point-dependent lengthscale l x . For example, the squared exponential covariance function
k x , x = σ f 2 exp x x 2 2 l 2 ,
is changed to
k x , x = σ f 2 exp l x x l x x 2 2 ,
which enables the possibility to calculate the lengthscale for each data point separately by the PCE. This construction follows the approach in [5,12], where the input-dependent lengthscale is learned with a DNN. In the present work this mapping is parameterized by a PCE. This makes it possible to transform any stationary covariance function into a non-stationary one. Here, l x is generally described as an input-dependent lengthscale. The lengthscale value calculated by the PCE is denoted with l ^ x . In Figure 1, the case l ^ x s * is shown, where the data point x s * is already scaled.
To avoid problems with the covariance calculation, an output scaling by standardization is used in the following, which also corresponds to the previously mentioned assumption of y N 0 , K X , X + σ n 2 I for the GP output.
The choice of the polynomial basis depends on the distribution of the input data. With
l ^ x = k α K α , l α l , k α Φ k α x ,
the lengthscale becomes an input-dependent hyperparameter for the covariance functions, estimated by the PCE. From this point onward, the optimizer’s task shifts from directly adjusting the lengthscale parameters to optimizing the N l , α N coefficients of the PCE for lengthscale calculation. In the case where the lengthscale parameter is calculated by a linear combination of b polynomial expansions, the number of parameters to optimize changes to
N l , α = b n x + q l q l = b ( n x + q l ) ! n x ! q l ! ,
where q l denotes the polynomial degree of the PCE for lengthscale estimation. The polynomial coefficients of the input-dependent lengthscale l ^ x are summarized in the vector α l R N l , α .
The superposition of the polynomial expansions is achieved by a linear combination of the polynomials, as demonstrated in Figure 1 with
l ^ x = k α K l , α α l , k α , 1 Φ k α , 1 x + k K l , α α l , k α , 1 Φ k α , 2 x + + k α K l , α α l , k α , b Φ k α , b x .
A separate PCE is also used to model the heteroscedastic noise parameter σ ^ n 2 x of the GP as a function of the input data. The estimation of the noise parameter is defined by
σ ^ n 2 x = k α K σ n , α α σ n , k α Φ k α x .
Assuming the noise variance σ n 2 ( x ) of real sensor data depends on the measurement range but usually does not exhibit highly complex behavior, the polynomial degree can be truncated to a significantly smaller value q σ n than for the lengthscale calculation. This also limits the number of parameters N σ n , α N to be optimized for modeling the noise variance
N σ n , α = n x + q σ n q σ n = ( n x + q σ n ) ! n x ! q σ n ! .
The coefficients for noise estimation by the PCE are summarized in α σ n R N σ n , α . In GP models, the lengthscale and noise parameters are critical in defining the covariance function that determines the covariance between input points. The lengthscale controls how quickly the correlation between data points decays with increasing distance, while the noise parameter represents the variance of the observed noise. For these hyperparameters to function correctly, they must satisfy certain constraints to ensure a valid covariance structure.
Ensuring that the lengthscale parameter l ^ ( x ) remains positive is essential as a non-positive lengthscale would violate the mathematical requirements for the GP. If the lengthscale is zero or negative, the covariance function may not properly represent the distance-dependent correlations between points, resulting in an invalid covariance matrix. A positive lengthscale ensures that the kernel function decreases smoothly as the distance between points increases, which is necessary to maintain a valid GP model and for the covariance matrix to remain positive semidefinite (PSD). This requirement means that for any non-trivial vector v R N , the condition
v K ( X , X ) v 0
must hold. Similarly, the noise variance σ ^ n 2 ( x ) must be non-negative. The noise variance contributes to the diagonal elements of the covariance matrix. If σ ^ n 2 ( x ) < 0 , the diagonal elements of the covariance matrix may become negative, which would violate the requirement for positive semidefiniteness. Negative noise variances do not make sense in a probabilistic model as variances cannot be negative. Thus, ensuring that σ ^ n 2 ( x ) 0 is crucial for maintaining the validity of the GP.
When using methods such as the PCE to estimate the lengthscale and noise variance of a GP, it is possible that the values generated may be zero or negative. The PCE can generate any real-valued output within its stochastic domain, including values that are not appropriate for parameters such as lengthscale and noise. A transformation is required to ensure that these hyperparameters satisfy the necessary constraints.
A transformation T is applied to map the estimated lengthscale l ^ ( x ) and noise σ ^ n 2 ( x ) to valid domains
l ^ T x = T l ^ x , σ ^ n , T 2 x = T σ ^ n 2 x .
In this setting, l ^ ( x ) and σ ^ n 2 ( x ) denote unconstrained PCE outputs, whereas the GP covariance function is evaluated only with the transformed quantities l ^ T ( x ) and σ ^ n , T 2 ( x ) . The resulting covariance matrix element of input x i and x j can be written as
K i j = k x i , x j ; l ^ T + δ i j σ ^ n , T 2 ( x i ) ,
so that only strictly positive lengthscales and noise variances enter the kernel.
A common choice for such a transformation is the softplus transformation, which maps any real number to R + . The softplus transformation is defined as
l ^ T x = log 1 + e l ^ x and σ ^ n , T 2 ( x ) = log 1 + e σ ^ n 2 x .
By applying this approach, both the lengthscale and the noise remain positive during the HPO process.
To perform versatile modeling tasks with this novel approach, different covariance functions are combined, and the influence of the respective covariance function is controlled by HPO. The combination of the covariance functions is realized by summation of the covariance functions with
k x , x = k 1 x , x + k 2 x , x + + k n k x , x .
The covariance matrix is then computed from the combined covariance function, and the prediction y ^ PCEGP , s is determined by combining this matrix with the estimated noise. Finally, the predictions are rescaled to the original range y ^ PCEGP . In Algorithm 1, the algorithm for model prediction is shown. In this work, the covariance functions and polynomial bases are chosen manually and are not part of the HPO. In Section 5, the setup of the model for the experiments carried out in this work is presented in detail.
Algorithm 1 PCEGP model prediction
  • Input: Input data x *
  • Output: Model prediction y ^ PCEGP
  • Specified in the model: Covariance functions k 1 x , x , , k n k x , x , combined covariance function k Σ x , x , polynomials for lengthscale l ^ i x , polynomials for noise variance σ ^ n 2 x , transformation T , transformed hyperparameters l ^ T X s and σ ^ n , T 2 X s at the training inputs, covariance matrix K X s , X s + σ ^ n , T 2 X s I depending on the training data, and model hyperparameters θ PCEGP
  1:
Step 1: Scale input and output data:
  2:
x s * Scale input data x *
  3:
Step 2: Calculate the point-dependent lengthscale (PCE output):
  4:
for  i = 1 n k  do
  5:
       l ^ i x s * k K l α l , i , k Φ k x s *
  6:
end for
  7:
Step 3: Transform the point-dependent lengthscale:
  8:
for  i = 1 n k  do
  9:
       l ^ i , T x s * T l ^ i x s *
10:
end for
11:
Step 4: Calculate point-dependent covariance for each training point and kernel, and sum to k Σ :
12:
for  j = 1 N  do
13:
       k Σ ( x s , j , x s * ) 0
14:
      for  i = 1 n k  do
15:
             k i ( x s , j , x s * ) l ^ i , T x s , j x s , j l ^ i , T x s * x s *
16:
             k Σ ( x s , j , x s * ) k Σ ( x s , j , x s * ) + k i ( x s , j , x s * )
17:
      end for
18:
end for
19:
Step 5: Summarize covariances into a vector:
20:
k Σ X s , x s * k Σ ( x s , 1 , x s * ) , , k Σ ( x s , N , x s * )
21:
Step 6: Compute point-dependent noise variance (PCE output):
22:
σ ^ n 2 x s * k K σ n α σ n , k Φ k x s *
23:
Step 7: Transform the point-dependent noise variance:
24:
σ ^ n , T 2 x s * T σ ^ n 2 x s *
25:
Step 8: Compute scaled output mean:
26:
y ^ PCEGP , s , m m ^ s x s * + k Σ X s , x s * K X s , X s + σ ^ n , T 2 X s I 1 y m ^ s X s
27:
Step 9: Compute scaled output variance:
28:
y ^ PCEGP , s , v k Σ x s * , x s * + σ ^ n , T 2 x s * k Σ X s , x s * K X s , X s + σ ^ n , T 2 X s I 1 k Σ X s , x s *
29:
Step 10: Rescale the output:
30:
y ^ PCEGP Rescale the output y ^ PCEGP , s of the PCEGP model

3.2. Hyperparameter Optimization

In this work, HPO was performed with the tree-structured Parzen estimator (TPE) [33] and the Nadam optimizer. The Nadam optimizer combines the adaptive learning rate strategy of Adam [34] with the Nesterov momentum and is introduced in [35]. The Nadam optimizer is preferred over the Adam optimizer because it achieves faster convergence through the Nesterov momentum, as described in [35], making it particularly suitable given the large number of PCE coefficients in the model. This optimizer is well suited for the PCEGP approach since the log-marginal likelihood of the model is non-convex, the number of trainable PCE coefficients for the non-stationary lengthscale, and the noise can be large.
In the proposed PCEGP model, the PCE is not trained separately and then combined with the Gaussian process afterwards. Instead, the PCE coefficients directly parameterize the input-dependent GP hyperparameters, in particular the non-stationary lengthscale and, if used, the heteroscedastic noise. These coefficients are therefore optimized jointly within the GP training procedure through the model loss based on the log-marginal likelihood. Consequently, the optimization is carried out with respect to the PCEGP parameter vector as a whole, rather than through separate optimization problems for the PCE and the GP. Adaptive learning rates reduce the need for manual step-size tuning across differently scaled coefficients, and the momentum term stabilizes the optimization in narrow valleys of the objective. On the outer level, a Bayesian hyperparameter search based on the TPE treats Nadam as a black-box inner optimizer and searches over all hyperparameters that are not directly learned by gradient descent. A schematic overview of the optimization loop is given in Algorithm 2. The first step is to investigate the data for the choice of a suitable input and output scaler, covariance functions, and polynomial bases. After that, the data are scaled. A termination criterion has to be selected for the optimization loop, i.e., the number of trials for hyperparameter optimization. Then, the hyperparameter optimization starts with the TPE as a Bayesian approach. First, initial hyperparameter combinations are placed with random search in the entire hyperparameter space. Afterwards, new hyperparameters are suggested via the TPE algorithm.
For the TPE, the objective function for hyperparameter optimization takes the hyperparameters of the model as inputs. This includes the selection of the polynomial degree q l for the lengthscale l ^ x and the polynomial degree q σ n for the heteroscedastic noise variance σ ^ n 2 x calculation. In addition, the scaling factors ϵ , the learning rate η , the number of gradient iterations n I , and the initial values of the PCE coefficients α 0 are suggested via the TPE. In the case that elastic net regularization is used, the regularization parameters β and λ are also used as hyperparameters for the Bayesian optimization. The hyperparameter space of the PCEGP therefore contains both continuous and discrete variables, such as learning rates, scaling factors, and polynomial degrees, which can be handled in a unified way by the TPE. The model loss serves as the objective function and is minimized during hyperparameter optimization. In this process, the trainable PCE coefficients are updated jointly with the remaining model parameters, where they directly determine the input-dependent GP hyperparameters entering the covariance matrix. A shuffled k-fold cross-validation is used to evaluate this loss, where k different models are trained with a gradient descent method and the hyperparameters of the PCEGP are updated over n I iterations.
In this work, Bayesian hyperparameter optimization based on the TPE ensures that the gradient descent procedure was performed with informative hyperparameter combinations. In contrast to grid search or pure random search, the TPE learns from poor hyperparameter combinations and reduces the probability of sampling new candidates in these regions. This property is particularly useful in the present setting since each trial is computationally expensive due to cross-validation and multiple gradient descent iterations, and a large part of the hyperparameter space corresponds to clearly suboptimal settings.
During gradient-based model hyperparameter optimization, the covariance matrix depends on the lengthscale PCE coefficients α l and the noise PCE coefficients α σ n and is described by
K X , X = K X , X + σ ^ n 2 X I .
Here, l ^ X R N denotes the prediction of the lengthscale parameters for each data point, obtained from the PCE as a function of the coefficients α l and the input X . These input-dependent lengthscales enter the covariance function and, together with the remaining kernel hyperparameters, parameterize the non-stationary covariance matrix K X , X . With σ ^ n 2 X R N , the prediction of the heteroscedastic noise, depending on the PCE coefficients α σ n and the input X , is denoted and contributes to the diagonal term σ ^ n 2 X I . The task of the optimizer therefore shifts from optimizing the lengthscale and noise directly to optimizing the polynomial coefficients of the PCE. The gradient from Equation (15) is evaluated with respect to these polynomial coefficients for hyperparameter optimization.
Algorithm 2 Hyperparameter optimization of PCEGP model
  • Input: Data D = { X , y } , number of trials n T , number of initial trials n IT , number of folds n F , number of gradient descent iterations n I
  • Output: Optimized model hyperparameters θ PCEGP = q l q σ n α l α σ n σ f 2 and training hyperparameters η , n I , β , λ , ϵ
  • Specified: Covariance function k Σ x , x , polynomials for lengthscale l ^ i x and noise variance σ ^ n 2 x
  1:
repeat
  2:
    Step 1: Suggest hyperparameters:
  3:
    if  t r i a l n IT  then
  4:
          Random Search for q l , q σ n , η , n I , λ , ϵ
  5:
    else
  6:
          TPE for q l , q σ n , η , n I , λ , ϵ
  7:
    end if
  8:
    Step 2: Data scaling:
  9:
     X s , y s Scale input and output data X , y with scaling parameters ϵ on D train
10:
    for  f o l d = 1 n F  do
11:
          Step 3: Cross-validation data split:
12:
           D train , D val k - fold split of data D .
13:
          Step 4: Setup PCEGP Model:
14:
          Define covariance function k Σ x , x , polynomials l ^ i x and σ ^ n 2 x
15:
          Step 5: Optimize model parameters on training data
16:
          for  i = 1 N I  do
17:
               Compute gradient: g i θ PCEGP L ( θ PCEGP , i 1 )
18:
               Update first moment estimate:
19:
                m i κ i m i 1 + ( 1 κ i ) g i
20:
               Update second moment estimate:
21:
                v i ν v i 1 + ( 1 ν ) g i 2
22:
               Compute bias-corrected estimates:
23:
         
24:
                m ^ i κ i + 1 m i 1 j = 1 i + 1 κ j + ( 1 κ i ) g i 1 j = 1 i κ j , v ^ i v i 1 ν i
25:
               Update parameters: θ PCEGP , i θ PCEGP , i 1 η v ^ i + ζ m ^ i
26:
          end for
27:
          Step 6: Compute validation loss:  L val θ PCEGP , D val
28:
    end for
29:
    Step 7: Compute average loss across folds:
30:
     L ¯ val 1 n F f o l d = 1 n F L val θ PCEGP , D val
31:
    Step 8: Update best model and training hyperparameters:
32:
    if  L ¯ val < L ¯ val , best  then
33:
           θ PCEGP , best θ PCEGP
34:
           η best , n I , best , λ best , ϵ best η , n I , λ , ϵ
35:
    end if
36:
     t r i a l t r i a l + 1
37:
until  t r i a l = n T

3.3. Time Complexity of the PCEGP Algorithm

In this section, the time complexity of the proposed ML approach is analyzed. The analysis covers two main aspects, namely, the time complexity of the training process, which entails fitting the model to the data, and the time complexity of the prediction process, which requires making predictions using the trained model. The following subsections provide detailed explanations of these two components. In addition, the runtime of the PCEGP implementation in the Python 3.8.18 framework is analyzed experimentally and compared to a standard GP implementation in GPyTorch 1.11.

3.3.1. Time Complexity for Training

The time complexity of the PCEGP algorithm is composed of several components, each representing different aspects of the training process. First, the time complexity of the standard GP is examined, followed by an introduction to the PCE component, and finally the combined PCEGP time complexity.
For the GP, the time complexity arises from two main computational steps. The first step involves the computation of the covariance matrix between all training points, which depends on the number of training points N. The covariance matrix K X , X requires a constant number of operations for each entry, resulting in a time complexity of O ( N 2 ) for this step [1]. The next step is the Cholesky factorization of the covariance matrix, which is required to make predictions and to compute the LML of the model for optimizing the hyperparameters. This step has a time complexity of O ( N 3 ) and scales cubically with the number of training points N. The dominant term in the time complexity of the standard GP is O ( N 3 ) [1].
In contrast, PCE time complexity is defined by the evaluation and calculation of the polynomial terms. Before the training process begins, the polynomial values for the PCE are precomputed and remain constant throughout the entire training phase. For the PCE itself, the PCE coefficients are multiplied by the corresponding polynomial values and then summed for each training point. The number of multiplications is therefore the product of the number of PCE coefficients N α and the number of training points N, which leads to a complexity of O ( N N α ) for this step. In classical Big-O notation it is common practice to omit constant factors and to treat model-size parameters such as N α as fixed. However, in this work N α can become very large, and configurations with N N α occur. Therefore, the dependence on both N and N α is made explicit in the term O ( N N α ) .
The combined time complexity of the PCEGP algorithm is obtained by adding the GP complexity O ( N 2 + N 3 ) to the PCE complexity O ( N N α ) . In this combined view, the cubic term O ( N 3 ) , arising from the GP, dominates for sufficiently large N, while for small N and very large N α the PCE term can become relevant. The per-iteration training complexity of the PCEGP can be summarized as
T PCEGP , train ( N , N α ) = O N 3 + N N α .
For comparison, the per-iteration training time complexity of a standard GP can be written as
T GP , train ( N ) = O ( N 3 ) .
This analytical comparison shows that the PCEGP has the same cubic scaling in N as a standard GP and adds an additional term of order O ( N N α ) , which represents the cost of evaluating the PCE-based hyperparameters.
The crossover between both regimes can be understood by comparing the two terms. A rough crossover point is obtained by equating the contributions of the two terms
N 3 = N N α ,
which yields
N 2 = N α N = N α .
For N N α , the cubic term dominates and the training complexity of the PCEGP is asymptotically equivalent to that of a standard GP as T PCEGP , train ( N , N α ) = O ( N 3 ) for fixed N α . For theoretical analysis, the time complexity of the PCEGP for different N α is compared with the time complexity of the standard GP and analyzed as a function of N. In Figure 2, the theoretical training and prediction time complexity of the GP and PCEGP is illustrated. The left-hand subplot shows the training complexity for different N α . It can be observed that N α has a significant impact on the runtime for small datasets. For N 10 , the difference between 120 and 11,440 coefficients in the PCEGP is clearly visible. As N increases, the cubic growth rate of the GP part dominates the scaling, and the curves for the PCEGP and GP become nearly parallel when both axes are plotted on a logarithmic scale. The influence of N α is primarily reflected in a vertical offset between the curves rather than in a different asymptotic order.

3.3.2. Time Complexity for Prediction

The time complexity of the PCEGP during the evaluation or prediction phase is composed of two distinct components that contribute to the overall complexity. The first component represents the time complexity to apply the trained GP for making predictions. After training, the Cholesky factor of K ( X , X ) and the vector α Cholesky = K ( X , X ) 1 y are available. For a standard GP, computing the predictive mean and variance for M test points requires O ( M N 2 ) operations in total, dominated by triangular solves and matrix–vector multiplications [1]. Thus, the prediction complexity of a standard GP is
T GP , pred ( N , M ) = O ( M N 2 ) .
The second component in the PCEGP arises from the computation of the PCE polynomial values at the evaluation points. For each of the M test points, the PCE is evaluated as a linear combination of N α basis functions, which requires O ( N α ) operations per test point. For M test points, this contribution scales as O ( M N α ) . Combining these two components, the total prediction complexity of the PCEGP becomes
T PCEGP , pred ( N , N α , M ) = O M ( N 2 + N α ) .
Again, the crossover between both regimes can be seen by comparing the two terms. A crossover point is obtained by equating
N 2 = N α ,
which yields
N = N α .
For N N α , the quadratic term in N dominates, and the prediction complexity is asymptotically equivalent to that of a standard GP, that is, O ( N 2 ) in N for fixed M. For small N and large N α , the PCE evaluation dominates, which leads to an almost constant runtime in N that scales linearly with N α .
In Figure 2, the theoretical training and prediction time complexity of the GP and PCEGP are illustrated as a function of the number of training points N. The right-hand subplot displays the prediction complexity for a fixed number of test points M and shows the increasing influence of N α for small N, followed by convergence towards the GP scaling as N grows.

3.4. Runtime Comparison of PCEGP and GP

In this section, a runtime comparison between the standard GP from GPyTorch [36] and the PCEGP is presented. Three scenarios with N α 100 , N α 1000, and N α 10,000 for the PCEGP were generated, where three different PCEs were used. For all experiments of the runtime comparison, the squared exponential covariance function was used. The non-stationary lengthscale parameters were calculated with a Legendre polynomial and a uniform distribution in 1 , 1 .
The first configuration was implemented with n x = 7 and q l = 3 , resulting in N α = 120 . To achieve N α = 1001 , a configuration with n x = 10 and q l = 4 was employed. The third configuration was implemented with n x = 9 and q l = 7 , which resulted in N α = 11,440. For the standard GP, the model training and predictions were performed with n x = 7 . For all inputs, equidistantly spaced data between 0 and 1 were generated. The output was the simple test function tanh x , where x was generated by summarizing each input x i . The experiments were carried out for N = 10 up to N = 5000 with a step size of 50. All experiments were repeated ten times for statistical validation. Each model was trained over 100 gradient descent iterations, with the training time averaged per iteration. The prediction times were calculated by averaging the time required to make predictions for M = 100 test data points. The PCEGP model was implemented using the base elements of the GPyTorch library 1.11 for kernel implementations and the SciPy library 1.10.1 [37] for the implementation of the PCE. The standard GP was implemented using the GPyTorch library. The experiments were conducted on a QEMU virtual CPU with 64 virtual CPUs, 32 GB of RAM, and a clock speed of 2.50 GHz. In Figure 3, the runtime comparison for training and prediction of the PCEGP and GP is illustrated. The PCEGP approach exhibits training runtimes slightly above the standard GP from GPyTorch per gradient descent iteration. This behavior is consistent with the theoretical analysis in Figure 2 because both methods are dominated by the cubic GP term in N, while the PCEGP has an additional O ( N N α ) term and a more complex kernel evaluation, which increases the constant factor and shifts the curves upwards. In Figure 3, faster prediction times of the PCEGP model compared to the standard GP from GPyTorch are shown, even for the largest configuration with N α = 11,440. This behavior is different from what the theoretical prediction complexity in Figure 2 suggests, where the PCEGP has an additional O ( N α ) term. This difference is explained by implementation-specific constant factors that are not visible in the Big-O notation. The theoretical curves assume identical constant factors for all models and isolate only the dependence on N and N α . In practice, the generic GPyTorch implementation of the standard GP returns a full multivariate normal distribution and includes additional features such as lazy tensor handling and caching, which introduce substantial overhead per prediction. In contrast, the PCEGP implementation is tailored to this application and computes only the quantities required for mean and variance prediction, which avoids unnecessary computations. It should be noted that the theoretical curves in Figure 2 describe the asymptotic behavior as N becomes large and neglect constant and lower-order terms. In the experimental setting in Figure 3, a considerable part of the runtime for small and moderate training set sizes is spent in operations that do not scale with N, such as Python and library overhead, memory allocation, and kernel setup. In addition, optimized linear algebra routines use blocked and multi-threaded implementations whose efficiency depends on the matrix size. These effects lead to a slower increase of the measured runtimes for small N, so that the characteristic steep growth of the cubic and quadratic terms becomes visible only for larger training set sizes.
As a result, the constant factor in front of the O ( N 2 ) term is significantly larger for the standard GP than for the PCEGP, and this difference dominates the additional O ( N α ) cost of the PCE evaluation in the considered range of N and N α . The PCEGP model therefore remains competitive and even faster in prediction, despite its slightly higher theoretical complexity. It can also be observed that the prediction runtime for the PCEGP with N α = 11,440 only increases slowly, which indicates a higher overhead of the PCE given the high number of coefficients. However, predicting a data point still takes only about one millisecond and remains faster than the standard GP from GPyTorch as N increases.

4. Experiments for Modeling Non-Stationarity

This section demonstrates how effectively the PCEGP approach models non-stationary behavior and how its interpretability can be leveraged for deeper insights. This interpretability advantage sets the PCEGP apart from nested model structures like the DGP and approaches based on local models such as the HHK GP [3], which do not provide the same level of transparency in capturing locally varying smoothness. To demonstrate the capability of the proposed PCEGP approach to model non-stationarity, a one-dimensional benchmark example based on the Higdon function is used. This function has also been employed by [10] to evaluate DGPs, highlighting its suitability for testing non-stationary modeling methods. The input x is defined on the interval x [ 0 , 1 ] , where the function has two different behaviors for x < 0.48 and x 0.48 . The input data are scaled using the min–max scaler to the range [ 0.5 , 0.5 ] . This scaling is necessary because the used Legendre polynomials are defined on [ 1 , 1 ] and tend to exhibit high function values near the boundaries of this interval. For the outputs, standardization is applied, aligning with the Gaussian process assumption y N 0 , K X , X + σ n 2 , I . Data scaling was performed using the scikit-learn library [38]. The PCEGP model is implemented using GPyTorch [36] for kernel computations and SciPy [37] for the PCE. The Nadam optimizer for gradient descent is implemented by Torch [39].
The Higdon function is defined as
f ( x ) = 2 sin ( 4 π x ) + 0.4 cos ( 16 π x ) , for x < 0.48 2 x 1 , for x 0.48 .
A polynomial degree of q l = 10 with Legendre polynomials is chosen for the PCE component, which for the one-dimensional input results in N l , α = 11 coefficients. The PCE values are transformed by the softplus function. The covariance function used for both the PCEGP and the comparison standard GP is the squared exponential covariance function. In Figure 4, the model setup for the example experiments is illustrated.
In Figure 5, the prediction results are shown. On the left of Figure 5, the original Higdon function is shown with 30 equally spaced training points. To evaluate the model performance, 200 equally spaced test points are used. The middle plot presents the prediction of the PCEGP, which includes the mean prediction and the 95 % confidence interval (CI) to represent the prediction uncertainty.
The PCEGP effectively captures the non-stationary behavior and locally varying smoothness in the output due to the adaptive lengthscale calculated by the PCE. In contrast, the standard GP prediction, shown on the right, is trained and evaluated on the same data. The GP exhibits stationary smoothness and fails to adapt to the local changes in the Higdon function.
In Table 1, the error metrics used to evaluate the model performance on the test data are presented. The PCEGP approach shows better performance in capturing the non-stationary behavior compared to the GP, as reflected in the metrics.
To further demonstrate the ability of the proposed PCEGP approach to model non-stationary behavior and provide insights into input sensitivity, the Higdon function is extended to two dimensions. The first dimension, x 1 , retains the original Higdon function, while a simple linear function is introduced for the second dimension, x 2 , resulting in f ( x 1 , x 2 ) as
f ( x 1 , x 2 ) = 2 sin ( 4 π x 1 ) + 0.4 cos ( 16 π x 1 ) + x 2 , for x 1 < 0.48 2 x 1 1 + x 2 , for x 1 0.48 .
The function is defined over the interval x 1 , x 2 [ 0 , 1 ] . In this experiment, 200 training data points were randomly sampled from a uniform distribution over this domain, and 1000 test points were used to evaluate the model performance. The configuration of the PCEGP and GP model was the same as in the first experiment.
This example emphasizes the interpretability advantage of the PCEGP in capturing non-stationary behavior in the output due to varying lengthscale parameters. In the PCEGP, the input-dependent lengthscale field is represented by a finite PCE with coefficient vector α and N l , α = 66 , so that the contribution of individual inputs and their interactions to the variability of the lengthscale can be read off directly from these coefficients. Based on the PCE representation, statistical moments of the lengthscale l ^ ( x ) can in principle be obtained, which would allow a more detailed analysis of how the input space shapes the non-stationarity. Such a detailed analysis is, however, beyond the scope of this work and is not pursued further here.
Such a coefficient-based interpretation is not available for nested model structures like the DGP or for approaches consisting of different local models such as the HHK GP [3], where non-stationarity emerges implicitly from the composition of several latent layers or experts. This makes the PCEGP approach particularly useful for understanding and analyzing locally varying smoothness in the model output. A detailed sensitivity analysis based on the PCE coefficients is considered a promising direction for future work.
In Figure 6, the results are shown. In the top left plot, the extended Higdon function is shown together with the training data. The top middle plot shows the function along x 1 with x 2 = 0 , and the top right plot shows the function along x 2 with x 1 = 0.5 . The lower right plot shows the GP mean prediction, which struggles to represent the non-stationary behavior in x 1 . The PCEGP mean prediction is shown in the lower middle plot, and the PCE calculated lengthscale parameters are shown in the lower left plot, over the scaled input range [ 0.5 , 0.5 ] .
The lengthscale values calculated by the PCE indicate stronger variations along x 1 , suggesting that x 1 is the input responsible for the non-stationary behavior, while x 2 exhibits stationary behavior. In particular, the stronger increase of the learned lengthscale for decreasing values of x 1 indicates that the non-stationary behavior is mainly driven by this input dimension. Such a pronounced trend is not visible for x 2 , which directly suggests that the variation in local smoothness is primarily associated with x 1 rather than with x 2 . This observation can be quantified by calculating the variance of the lengthscale parameter across the input space for x 1 and x 2 , normalized by the total variance over the entire domain. Specifically, for each fixed value of x 2 , the variance along the x 1 -axis is determined, and similarly, for each fixed value of x 1 , the variance along the x 2 -axis is calculated. This can be expressed as
Var x 1 ( l ^ x ) = 1 M j = 1 M l ^ x 1 , x 2 , j 1 M k = 1 M l ^ x 1 , x 2 , k 2 ,
Var x 2 ( l ^ x ) = 1 M i = 1 M l ^ x 1 , i , x 2 1 M k = 1 M l ^ x 1 , k , x 2 2 ,
where M N denotes the number of points evaluated across each axis. Here, Var x 1 l ^ x represents the average variance over the values of x 1 , evaluated for each fixed x 2 , j , and similarly, Var x 2 l ^ x reflects the average variance over x 2 , evaluated for each fixed x 1 , i .
These variance components are then normalized to determine the relative importance of each input in driving the non-stationary behavior
Total variance : Var total = Var x 1 l ^ x + Var x 2 l ^ x ,
Normalized variance for x 1 : Var x 1 , N = Var x 1 l ^ x Var total = 0.922 ,
Normalized variance for x 2 : Var x 2 , N = Var x 2 l ^ x Var total = 0.078 .
These metrics Var x 1 , N and Var x 2 , N represent the normalized variances for x 1 and x 2 , indicating the relative contributions of each input to the non-stationarity in the output. The analysis shows that x 1 contributes more significantly to the non-stationary behavior due to its higher variance, as calculated from the lengthscale parameters. In Table 2, the error metrics used to assess the model performance on the test data are presented. The PCEGP approach outperforms the GP across all metrics, confirming its ability to model non-stationarity.

5. Benchmark Experiments

The presented approach was applied to six different regression benchmark datasets from the UCI machine learning repository (https://archive.ics.uci.edu/ml/index.php, accessed on 11 March 2026). The PCEGP model performance was evaluated against three stationary and two non-stationary GP-based approaches, which are presented in the following. All data were scaled in the same way for model training. The inputs were scaled to a standard range of [ 1 , 1 ] using a min–max scaler for all compared methods, except for the PCEGP model, where the inputs were scaled to the range [ 0.5 , 0.5 ] . This slightly shrunken domain lies strictly inside the Legendre support [ 1 , 1 ] and avoids evaluations close to ± 1 , where higher-degree Legendre polynomials attain large absolute values and steep gradients, which in practice led to numerical instabilities in the optimization of the PCE coefficients. The scaling factors were computed from the training inputs only and subsequently applied to both training and test sets. For the outputs, standardization of data was applied as this corresponds to the assumption y N 0 , K X , X + σ n 2 , I for GPs. For data scaling the scikit-learn library [38] was used.
The experimental results were generated using a ten-fold cross-validation. All datasets were segmented into ten equally sized, non-overlapping subsamples through random selection. One of these subsamples was assigned as validation data, while the remaining nine subsamples were utilized as training data. This process was iterated ten times, with each subsample taking on the role of the validation set once. For statistical validation, the experiments were repeated ten times. A different random seed was selected in each repetition. The aim was to achieve the smallest possible mean prediction error across all repetitions. The experiments were run on a QEMU virtual CPU with 64 virtual CPUs and 32 GB RAM at 2.50 GHz.

5.1. PCEGP Model Setup

The PCEGP model was implemented using the GPyTorch library [36] for kernel implementations and the SciPy library [37] for the implementation of the PCE. The TPE was implemented using the Optuna library [40], and the gradient descent optimizer Nadam was implemented using the Torch library [39]. All experiments were carried out with the same model structure, which is illustrated in Figure 7. The lengthscale parameters l ^ i x of each covariance function were calculated by the Legendre polynomials with a uniform distribution between 1 and 1 and a fixed polynomial degree q l = 5 . For the experiments, no hyperparameter transformation was used for the lengthscale as this turned out to be the best setup for the UCI datasets. Hence, the methodical investigation of the hyperparameter transformation is not part of this work. Here, the covariance structure consists of the squared exponential, absolute exponential, Matérn3/2, Matérn5/2, and rational quadratic covariance function for the GP. This covariance structure has shown good results in [12]. The noise variance σ ^ n 2 x is homoscedastic.
In this work, the TPE was used to suggest the PCE coefficients α 0 for each covariance function before the gradient descent optimization, which represents the mean value of the non-stationary lengthscale. This minimizes the risk of getting trapped in local minima. In addition, the learning rate η and the number of gradient descent iterations n I , which are crucial for a highly parametric model, were suggested by the TPE. For all datasets, the HPO was performed with random search of 100 HP combinations, followed by the use of the TPE for further 100 HP combinations with a ten-fold cross validation for the gradient descent optimization. The evaluation criterion for the Bayesian HPO is the mean root mean squared error (RMSE) of the ten validation datasets. The best combination of α 0 , η , and n I was used for all repetitions in the following ten-fold cross validation. In Table 3, the parameter bounds for HPO are shown. These bounds were used for all datasets, except the wine quality dataset. For the wine quality dataset, the maximum number of gradient iterations was limited to 500 as training often failed for higher values due to a non-positive semidefinite covariance matrix.

5.2. Compared Methods

In the following, the compared methods of this work are presented. All used methods were implemented with homoscedastic noise.
Gaussian Process (GP) [1]: This method employs a stationary model with a squared exponential covariance function and utilizes the Adam optimizer from Torch [39] for gradient descent optimization with η = 0.1 and n I = 100 . The model is implemented using the GPyTorch library [36].
Gaussian Process with ARD (GP-ARD) [1]: This stationary GP model also employs a squared exponential covariance function, with a separate lengthscale parameter for each input to adjust for input relevance. The Adam optimizer from Torch [39] is employed for gradient descent optimization with η = 0.1 and n I = 100 . This model is also implemented using the GPyTorch library [36].
Deep Gaussian Process (DGP) [9]: The DGP is a non-stationary model that applies a squared exponential covariance function to each of its two layers, using 50 inducing points. For each layer the number of nodes matches the number of inputs in the training data. As demonstrated in [10], this configuration, consisting of two layers with a number of nodes matching the input dimension, performed well in [10]. The Adam optimizer from Torch [39] is utilized for gradient descent optimization with η = 0.001 and n I = 5000 . In this work, mini-batch training was not used for this approach as it has not shown any advantages in preliminary tests and is significantly more time-consuming. The DGP is implemented using the GPyTorch library [36].
Hierarchical Hyperplane Kernel for GPs [3]: This method is non-stationary and uses hyperplanes to partition the input space, with latent GPs applied to each partition. Each latent GP has a squared exponential covariance function, with four latent GPs balancing complexity and performance. In the case that the approach with four latent GPs does not converge, two latent GPs are used. The L-BFGS optimizer [41] from TensorFlow [42] is used for gradient descent optimization, and the method is implemented using the Python-based HHK library (https://github.com/boschresearch/Hierarchical-Hyperplane-Kernels, accessed on 11 March 2026).
GPBoost [43]: The GPBoost approach combines tree boosting and a stationary GP model using an absolute exponential covariance function. A combination of grid search and gradient descent is utilized for hyperparameter optimization, with grid search applied to parameters such as the tree structure, number of boosting iterations, learning rate, minimum number of data per leaf, and maximum tree depth, while gradient descent is used for further optimization of the GPs parameters. The HPO is carried out in an inner loop four-fold cross-validation for each fold of the outer loop ten-fold cross-validation with the same HP grid as shown in [43]. In [43], the GPBoost model was optimized differently for spatial datasets such as Boston housing. An out-of-sample evaluation was performed there for the HPO. In this work, the GPBoost model was trained on all datasets with the same HPO, which means that the results do not correspond to those of [43]. The method is implemented using the Python package of the GPBoost library (https://github.com/fabsig/GPBoost, accessed on 11 March 2026). In Table 4, the compared approaches are summarized, highlighting their main characteristics and main limitations relevant for the subsequent numerical experiments.

5.3. Results and Discussion

In this section, the results of the model performances on the benchmark tests are presented. The model performances are evaluated using five different error metrics. The following discussion focuses specifically on the root mean squared error (RMSE) shown in Figure 8 and Figure 9. In Table 5, an overview of the datasets used in this work is given, summarizing the number of data points N, input variables n x , number of PCE coefficients N α per covariance function, and outputs for each dataset. These datasets cover a wide range of data sizes and input dimensions, allowing for a comprehensive evaluation of the GP-based models. For the UCI benchmark datasets, no complete visualization of the learned lengthscale function is provided. Although the learned lengthscale is scalar-valued, it depends on multiple input variables. For the considered datasets, with input dimensionalities ranging from 5 to 13, a complete representation over the full input space is therefore not practical and would be of limited interpretability.
In the upper left of Figure 8, the explanation of the result plots is illustrated. Each violin plot is combined with a box plot to provide a detailed representation of the RMSE distribution. Individual points indicate the mean RMSE values from each ten-fold cross-validation repetition, while a distinct marker highlights the overall mean across all repetitions. The horizontal line within each box plot denotes the median RMSE, with the first and third quartiles, as well as the minimum and maximum values, also displayed. The violin plot itself visualizes the overall distribution of RMSE values, offering insights into variability and spread in model performance. In Table 6, a comprehensive tabular overview of the model performances for six commonly used error metrics is given. The best error metrics are highlighted in dark green and the worst in green-yellow. The darker the shade of green, the better the error metric. If no color is highlighted, there is no convergence for the model on the corresponding dataset. The colors represent the relative performance of the models, ranging from Best for the model with the highest performance (leftmost cell) to Worst for the model with the lowest performance (rightmost cell). Intermediate colors represent performances ranked between these extremes. In Figure 8 and Figure 9, the performances of the GP-based models on benchmark datasets are shown, considering the RMSE. Analyzing the RMSE results, the proposed PCEGP approach outperforms all other approaches in five out of nine benchmarks.
On all other datasets, the PCEGP performs comparably to the non-stationary HHK GP approach which is the second-best approach in the comparison. It should be noted that the HHK GP approach on the Airfoil Self Noise and Wine Quality Red datasets does not converge with four latent GPs, and in these two cases the model structure is set to two latent GPs to achieve convergence. It should also be noted that the HHK GP approach on the Wine Quality White dataset does not converge with either eight, four, or two latent GPs. Similarly, the GPBoost approach fails to converge on the Wine Quality Red and Wine Quality White dataset. The PCEGP approach, on the other hand, achieves convergence and good results on all datasets with the same model structure. Another advantage of the PCEGP approach is that its repeatability is in most cases better than that of the HHK GP approach, as can be seen from the distributions in the result plots.
The PCEGP consistently outperforms the standard GP, the GP with ARD, and the state-of-the-art method GPBoost. The non-stationary DGP is outperformed on eight of nine benchmarks. These results demonstrate the robustness and adaptability of the PCEGP across diverse real-world datasets, including small and large datasets as well as low- and high-dimensional feature spaces. This highlights its potential as an effective tool for modeling complex systems. One aspect that needs to be improved is the uncertainty estimation of the PCEGP model as the Test NLL metric does not yield consistent good results across all datasets, and outliers sometimes appear.

6. Summary and Outlook

This paper presents a novel ML approach for modeling regression tasks. The Polynomial Chaos Expanded Gaussian Process is introduced to model the global and local behavior of data in one model through non-stationarity. This is achieved by calculating the lengthscale parameters of the GP’s covariance functions as a function of input data using the PCE. In addition, heteroscedastic noise estimation based on the PCE is introduced.
The novel approach proved to be competitive on various benchmark datasets for regression and outperforms previous stationary and non-stationary GP-based approaches. The hyperparameters obtained from the PCE are expressed analytically as polynomials. This characteristic enhances model interpretability, especially when compared to other non-stationary GP-based methods such as DGP and HHK GP. Furthermore, by analyzing the variation in the functional values of the PCE, it is possible to identify which input variables are responsible for inducing non-stationary behavior in the output, particularly in low-dimensional settings where the learned lengthscale behavior can be inspected directly. A more systematic interpretability analysis for higher-dimensional PCEGP structures remains part of ongoing and follow-up research. This capability highlights an additional strength of the proposed method, providing valuable insights into input–output relationships in complex systems. In addition, the PCEGP combines global GP modeling with locally adaptive hyperparameters in a single coherent surrogate so that no explicit partitioning of the input domain is required to capture local effects.
In terms of computational cost, the proposed approach retains the cubic scaling in the number of training points that is characteristic for exact GPs, while the additional PCE evaluations contribute a linear term in the number of PCE coefficients. Theoretical and empirical analyses of training and prediction runtimes show that this overhead remains moderate and that the overall time complexity is comparable to that of a standard GP for the configurations studied in this work.
The algorithm currently also has limitations as expert knowledge is required to search for the optimal parameters to restrict the search space of these parameters. It is also necessary to manually select a suitable data scaler, polynomial basis, and covariance function for the data. Additionally, as the number of inputs increases, the number of coefficients also grows, which can cause challenges in the optimization process.
Further research is needed on the automation of the selection of the data scaler, polynomial bases, and covariance functions. Another point for future research is the investigation of the transformations for the lengthscale and noise variance and what influence these have on the model performance. The suitability of PCEs for small datasets makes an investigation and comparison of model performance on adaptive learning tasks another point for future work. In addition, future work will investigate the performance of the PCEGP for time series forecasting and modeling of dynamic systems.

Author Contributions

The contributions of the authors to this work are as follows: Conceptualization, D.P., T.K., E.A. and D.S., with E.A. serving as the primary initiator; methodology, D.P., T.K., E.A. and D.S.; software, D.P.; writing—original draft preparation, D.P.; validation, D.P., E.A. and D.S.; writing—original draft, D.P.; writing—review and editing, D.P., E.A. and D.S.; visualization, D.P.; supervision, E.A. and D.S.; project administration, E.A. and D.S. All authors have read and agreed to the published version of the manuscript.

Funding

This work has been partially sponsored by the German Federal Ministry of Education and Research in the funding program “Forschung an Fachhochschulen”, project I2DACH (grant no. 13FH557KX0, https://www.hs-niederrhein.de/i2dach, accessed on 11 March 2026).

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Acknowledgments

The authors would like to thank Fabio Sigrist for his help in applying the GPBoost algorithm [43]. The authors acknowledge the use of ChatGPT (version 5, https://chat.openai.com) by OpenAI for initial text refinement and stylistic improvements. The tool was employed to save time and partly enhance the quality of writing. All generated outputs were subsequently reviewed and corrected to ensure accuracy and alignment with the intended statements. Furthermore, the authors acknowledge the use of DeepL (https://www.deepl.com) for optimizing the phrasing and clarity of the text, particularly in refining the English formulations of technical content. All translations and suggestions provided by DeepL were carefully reviewed and, where necessary, adjusted to ensure correctness and fidelity of the original meaning.

Conflicts of Interest

The authors declare no conflicts of interests.

References

  1. Rasmussen, C.; Williams, C. Gaussian Process for Machine Learning; The MIT Press: London, UK, 2006. [Google Scholar]
  2. Marmin, S.; Ginsbourger, D.; Baccou, J.; Liandrat, J. Warped Gaussian Processes and Derivative-Based Sequential Designs for Functions with Heterogeneous Variations. SIAM/ASA J. Uncertain. Quantif. 2018, 6, 991–1018. [Google Scholar] [CrossRef] [Scilit]
  3. Bitzer, M.; Meister, M.; Zimmer, C. Hierarchical-Hyperplane Kernels for Actively Learning Gaussian Process Models of Nonstationary Systems. In Proceedings of the 26th International Conference on Artificial Intelligence and Statistics, Valencia, Spain, 25–27 April 2023; Volume 206, pp. 7897–7912. [Google Scholar]
  4. Heinonen, M.; Mannerström, H.; Rousu, J.; Kaski, S.; Lähdesmäki, H. Non-Stationary Gaussian Process Regression with Hamiltonian Monte Carlo. In Proceedings of the 19th International Conference on Artificial Intelligence and Statistics, Cadiz, Spain, 9–11 May 2016; Gretton, A., Robert, C.C., Eds.; Proceedings of Machine Learning Research: Cambridge, MA, USA, 2016; Volume 51, pp. 732–740. [Google Scholar]
  5. Cremanns, K. Probabilistic Machine Learning for Pattern Recognition and Design Exploration. Ph.D. Thesis, RWTH Aachen University, Aachen, Germany, 2021. [Google Scholar]
  6. Plagemann, C.; Kersting, K.; Burgard, W. Nonstationary Gaussian Process Regression Using Point Estimates of Local Smoothness. In Proceedings of the Machine Learning and Knowledge Discovery in Databases, Antwerp, Belgium, 15–19 September 2008; Daelemans, W., Goethals, B., Morik, K., Eds.; Springer: Berlin/Heidelberg, Germany, 2008; pp. 204–219. [Google Scholar]
  7. Paciorek, C.J.; Schervish, M.J. Nonstationary Covariance Functions for Gaussian Process Regression. In Proceedings of the 16th International Conference on Neural Information Processing Systems, NIPS’03, Vancouver, BC, Canada, 8–13 December 2003; MIT Press: Cambridge, MA, USA, 2003; pp. 273–280. [Google Scholar]
  8. Hebbal, A.; Brevault, L.; Balesdent, M.; Talbi, E.G.; Melab, N. Bayesian Optimization Using Deep Gaussian Processes with Applications to Aerospace System Design. Optim. Eng. 2021, 22, 321–361. [Google Scholar]
  9. Damianou, A.; Lawrence, N.D. Deep Gaussian Processes. In Proceedings of the 16th International Conference on Artificial Intelligence and Statistics, Scottsdale, AZ, USA, 29 April–1 May 2013; Carvalho, C.M., Ravikumar, P., Eds.; Proceedings of Machine Learning Research: Cambridge, MA, USA, 2013; Volume 31, pp. 207–215. [Google Scholar]
  10. Sauer, A.; Gramacy, R.B.; Higdon, D. Active Learning for Deep Gaussian Process Surrogates. Technometrics 2023, 65, 4–18. [Google Scholar] [CrossRef] [Scilit]
  11. Trapp, M.; Peharz, R.; Pernkopf, F.; Rasmussen, C.E. Deep Structured Mixtures of Gaussian Processes. In Proceedings of the 23rd International Conference on Artificial Intelligence and Statistics, Online, 26–28 August 2020; Chiappa, S., Calandra, R., Eds.; Proceedings of Machine Learning Research (PMLR): Cambridge, MA, USA, 2020; Volume 108, pp. 2251–2261. [Google Scholar]
  12. Cremanns, K.; Roos, D. Deep Gaussian Covariance Network. 2017. Available online: http://arxiv.org/pdf/1710.06202v2 (accessed on 11 March 2026).
  13. Liang, Y.; Li, S.; Yan, C.; Li, M.; Jiang, C. Explaining the Black-box Model: A Survey of Local Interpretation Methods for Deep Neural Networks. Neurocomputing 2021, 419, 168–182. [Google Scholar] [CrossRef] [Scilit]
  14. Torre, E.; Marelli, S.; Embrechts, P.; Sudret, B. Data-driven Polynomial Chaos Expansion for Machine Learning Regression. J. Comput. Phys. 2019, 388, 601–623. [Google Scholar] [CrossRef] [Scilit]
  15. Wan, H.P.; Ren, W.X.; Todd, M.D. Arbitrary Polynomial Chaos Expansion Method for Uncertainty Quantification and Global Sensitivity Analysis in Structural Dynamics. Mech. Syst. Signal Process. 2020, 142, 106732. [Google Scholar] [CrossRef] [Scilit]
  16. Mara, T.A.; Becker, W.E. Polynomial Chaos Expansion for Sensitivity Analysis of Model Output With Dependent Inputs. Reliab. Eng. Syst. Saf. 2021, 214, 107795. [Google Scholar] [CrossRef] [Scilit]
  17. Ghanem, R.G.; Spanos, P.D. Stochastic Finite Elements: A Spectral Approach; Springer: New York, NY, USA, 1991. [Google Scholar]
  18. Rahman, S. A Polynomial Chaos Expansion in Dependent Random Variables. J. Math. Anal. Appl. 2018, 464, 749–775. [Google Scholar] [CrossRef] [Scilit]
  19. Xiu, D.; Karniadakis, G.E. The Wiener–Askey Polynomial Chaos for Stochastic Differential Equations. SIAM J. Sci. Comput. 2002, 24, 619–644. [Google Scholar]
  20. Sudret, B.; Marelli, S.; Wiart, J. Surrogate Models for Uncertainty Quantification: An Overview. In Proceedings of the 2017 11th European Conference on Antennas and Propagation (EUCAP), Paris, France, 19–24 March 2017; IEEE: New York, NY, USA, 2017; pp. 793–797. [Google Scholar]
  21. Jakeman, J.D.; Franzelin, F.; Narayan, A.; Eldred, M.; Pflüger, D. Polynomial Chaos Expansions for Dependent Random Variables. Comput. Methods Appl. Mech. Eng. 2019, 351, 643–666. [Google Scholar] [CrossRef] [Scilit]
  22. Greenacre, M.; Groenen, P.J.F.; Hastie, T.; D’Enza, A.I.; Markos, A.; Tuzhilina, E. Principal Component Analysis. Nat. Rev. Methods Prim. 2022, 2, 100. [Google Scholar] [CrossRef] [Scilit]
  23. Lüthen, N.; Marelli, S.; Sudret, B. Sparse Polynomial Chaos Expansions: Literature Survey and Benchmark. SIAM/ASA J. Uncertain. Quantif. 2021, 9, 593–649. [Google Scholar] [CrossRef] [Scilit]
  24. Tian, Y.; Zhang, Y. A Comprehensive Survey on Regularization Strategies in Machine Learning. Inf. Fusion 2022, 80, 146–166. [Google Scholar] [CrossRef] [Scilit]
  25. Schöbi, R.; Sudret, B.; Wiart, J. Polynomial-Chaos-based Kriging. Int. J. Uncertain. Quantif. 2015, 5, 171–193. [Google Scholar]
  26. Li, J.; Pan, L.; Suvarna, M.; Wang, X. Machine Learning Aided Supercritical Water Gasification for H2-rich Syngas Production with Process Optimization and Catalyst Screening. Chem. Eng. J. 2021, 426, 131285. [Google Scholar] [CrossRef] [Scilit]
  27. Kiran, B.R.; Sobh, I.; Talpaert, V.; Mannion, P.; Sallab, A.A.A.; Yogamani, S.; Pérez, P. Deep Reinforcement Learning for Autonomous Driving: A Survey. IEEE Trans. Intell. Transp. Syst. 2022, 23, 4909–4926. [Google Scholar]
  28. Somu, N.; Raman, G.; Ramamritham, K. A Deep Learning Framework for Building Energy Consumption Forecast. Renew. Sustain. Energy Rev. 2021, 137, 110591. [Google Scholar] [CrossRef] [Scilit]
  29. Keogh, E.; Mueen, A. Curse of Dimensionality. In Encyclopedia of Machine Learning; Springer: Boston, MA, USA, 2011; pp. 257–258. [Google Scholar]
  30. Neal, R.M. Bayesian Learning for Neural Networks. In Lecture Notes in Statistics; Springer: New York, NY, USA, 1996; Volume 118. [Google Scholar]
  31. Varunram, T.N.; Shivaprasad, M.B.; Aishwarya, K.H.; Balraj, A.; Savish, S.V.; Ullas, S. Analysis of Different Dimensionality Reduction Techniques and Machine Learning Algorithms for an Intrusion Detection System. In Proceedings of the 2021 IEEE 6th International Conference on Computing, Communication and Automation (ICCCA), Arad, Romania, 17–19 December 2021; pp. 237–242. [Google Scholar]
  32. Paananen, T.; Piironen, J.; Andersen, M.R.; Vehtari, A. Variable Selection for Gaussian Processes via Sensitivity Analysis of the Posterior Predictive Distribution. In Proceedings of the 22nd International Conference on Artificial Intelligence and Statistics, Naha, Japan, 16–18 April 2019; Chaudhuri, K., Sugiyama, M., Eds.; Proceedings of Machine Learning Research (PMLR): Cambridge, MA, USA, 2019; Volume 89, pp. 1743–1752. [Google Scholar]
  33. Ozaki, Y.; Tanigaki, Y.; Watanabe, S.; Onishi, M. Multiobjective tree-structured parzen estimator for computationally expensive optimization problems. In Proceedings of the 2020 Genetic and Evolutionary Computation Conference, Online, 8–12 July 2020; Coello Coello, C.A., Ed.; ACM: New York, NY, USA, 2020; pp. 533–541. [Google Scholar]
  34. Kingma, D.P.; Ba, J. Adam: A Method for Stochastic Optimization. In Proceedings of the 3rd International Conference for Learning Representations, San Diego, CA, USA, 7–9 May 2015. [Google Scholar]
  35. Dozat, T. Incorporating Nesterov Momentum into Adam. In Proceedings of the 4th International Conference on Learning Representations, Workshop Track, San Juan, PR, USA, 2–4 May 2016; pp. 1–4. [Google Scholar]
  36. Gardner, J.; Pleiss, G.; Weinberger, K.Q.; Bindel, D.; Wilson, A.G. GPyTorch: Blackbox Matrix-Matrix Gaussian Process Inference with GPU Acceleration. In Proceedings of the Advances in Neural Information Processing Systems, Montréal, QC, Canada, 2–8 December 2018; Bengio, S., Wallach, H., Larochelle, H., Grauman, K., Cesa-Bianchi, N., Garnett, R., Eds.; Curran Associates, Inc.: Red Hook, NY, USA, 2018; Volume 31. [Google Scholar]
  37. Virtanen, P.; Gommers, R.; Oliphant, T.E.; Haberland, M.; Reddy, T.; Cournapeau, D.; Burovski, E.; Peterson, P.; Weckesser, W.; Bright, J.; et al. SciPy 1.0: Fundamental Algorithms for Scientific Computing in Python. Nat. Methods 2020, 17, 261–272. [Google Scholar] [PubMed]
  38. Pedregosa, F.; Varoquaux, G.; Gramfort, A.; Michel, V.; Thirion, B.; Grisel, O.; Blondel, M.; Müller, A.; Nothman, J.; Louppe, G.; et al. Scikit-learn: Machine Learning in Python. J. Mach. Learn. Res. 2011, 12, 2825–2830. [Google Scholar]
  39. Novik, M. Torch-Optimizer—Collection of Optimization Algorithms for PyTorch. 2020. Available online: https://github.com/jettify/pytorch-optimizer (accessed on 11 March 2026).
  40. Akiba, T.; Sano, S.; Yanase, T.; Ohta, T.; Koyama, M. Optuna: A Next-generation Hyperparameter Optimization Framework. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, Anchorage, AK, USA, 4–8 August 2019; Teredesai, A., Kumar, V., Li, Y., Rosales, R., Terzi, E., Karypis, G., Eds.; ACM: New York, NY, USA, 2019; pp. 2623–2631. [Google Scholar]
  41. Bottou, L.; Curtis, F.E.; Nocedal, J. Optimization Methods for Large-Scale Machine Learning. SIAM Rev. 2018, 60, 223–311. [Google Scholar] [CrossRef] [Scilit]
  42. Abadi, M.; Barham, P.; Chen, J.; Chen, Z.; Davis, A.; Dean, J.; Devin, M.; Ghemawat, S.; Irving, G.; Isard, M.; et al. TensorFlow: A System for Large-Scale Machine Learning. In Proceedings of the 12th USENIX Symposium on Operating Systems Design and Implementation (OSDI 16), Savannah, GA, USA, 2–4 November 2016; pp. 265–283. [Google Scholar]
  43. Sigrist, F. Gaussian Process Boosting. J. Mach. Learn. Res. 2022, 23, 1–46. [Google Scholar]
Figure 1. Evaluation of the Polynomial Chaos Expanded Gaussian Process with data scaling, point-dependent hyperparameter calculation, hyperparameter transformation, and output prediction.
Figure 1. Evaluation of the Polynomial Chaos Expanded Gaussian Process with data scaling, point-dependent hyperparameter calculation, hyperparameter transformation, and output prediction.
Make 08 00078 g001
Figure 2. Theoretical training (left) and prediction (right) time complexity of the GP and PCEGP as a function of the number of training points N.
Figure 2. Theoretical training (left) and prediction (right) time complexity of the GP and PCEGP as a function of the number of training points N.
Make 08 00078 g002
Figure 3. Runtime comparison for training (top) and prediction (bottom) of PCEGP and GP.
Figure 3. Runtime comparison for training (top) and prediction (bottom) of PCEGP and GP.
Make 08 00078 g003
Figure 4. Polynomial Chaos Expanded Gaussian Process setup for non-stationary examples.
Figure 4. Polynomial Chaos Expanded Gaussian Process setup for non-stationary examples.
Make 08 00078 g004
Figure 5. Comparison of PCEGP and GP prediction quality for modeling the non-stationary Higdon function.
Figure 5. Comparison of PCEGP and GP prediction quality for modeling the non-stationary Higdon function.
Make 08 00078 g005
Figure 6. Comparison of PCEGP and GP prediction quality for modeling the extended non-stationary Higdon function.
Figure 6. Comparison of PCEGP and GP prediction quality for modeling the extended non-stationary Higdon function.
Make 08 00078 g006
Figure 7. Polynomial Chaos Expanded Gaussian Process setup for experiments.
Figure 7. Polynomial Chaos Expanded Gaussian Process setup for experiments.
Make 08 00078 g007
Figure 8. RMSE for UCI datasets of the compared methods and PCEGP.
Figure 8. RMSE for UCI datasets of the compared methods and PCEGP.
Make 08 00078 g008
Figure 9. RMSE for UCI datasets of the compared methods and PCEGP.
Figure 9. RMSE for UCI datasets of the compared methods and PCEGP.
Make 08 00078 g009
Table 1. Error metrics for PCEGP and GP model performance on test data of Higdon function.
Table 1. Error metrics for PCEGP and GP model performance on test data of Higdon function.
ModelMAEMedAEMSERMSER2
PCEGP0.0590.0440.0060.0790.995
GP0.1610.0950.0530.2310.953
Table 2. Error metrics for PCEGP and GP model performance on test data of the extended Higdon function.
Table 2. Error metrics for PCEGP and GP model performance on test data of the extended Higdon function.
ModelMAEMedAEMSERMSER2
PCEGP0.1100.0470.0370.1920.970
GP0.1940.1200.0770.2770.937
Table 3. Hyperparameter bounds for Bayesian HPO.
Table 3. Hyperparameter bounds for Bayesian HPO.
ParameterValues
Learning rate η 0.001, 0.0025, 0.005, 0.01, 0.05, 0.1
Gradient descent iterations n I 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000
PCE coefficient α 0 0.1 to 2.0 (step size: 0.1)
Table 4. Simplified schematic of compared surrogate models.
Table 4. Simplified schematic of compared surrogate models.
ModelCharacteristicLimitations
PCEGPNon-stationary lengthscale via PCEPCE basis selection, scalability in high-dimensional n x
GPSimplicityStationary
GP-ARDAnisotropic input weightingStationary
Deep GPHierarchical structureNested inference and tuning
GPBoostGradient boosting combined with GPJoint tuning of tree, boosting, and GP
HHK GPHyperplane partitions with local GP expertsComplex joint optimization
Table 5. Overview of the datasets.
Table 5. Overview of the datasets.
DatasetBostonConcreteEnergyAirfoilYachtWineSlump
N506103076815033086497103
n x 138856117
N α per cov. fcn.8568128712872524624368792
Outputs1121123
Table 6. Results of the model performances on the UCI datasets.
Table 6. Results of the model performances on the UCI datasets.
Dataset/MetricGPGP ARDDGPGPBoostHHK GPPCEGP
Boston Housing
MAE 9.231 ± 0.043 2.108 ± 0.033 2.143 ± 0.070 2.407 ± 0.038 1.997 ± 0.081 2.024 ± 0.053
MedAE 1.556 ± 0.049 1.492 ± 0.044 1.560 ± 0.040 1.726 ± 0.041 1.372 ± 0.059 1.427 ± 0.076
MSE 10.381 ± 0.271 9.698 ± 0.346 10.108 ± 0.737 12.883 ± 0.643 9.3606 ± 1.150 8.936 ± 0.579
RMSE 3.158 ± 0.046 3.047 ± 0.053 3.081 ± 0.087 3.492 ± 0.099 2.979 ± 0.173 2.930 ± 0.051
R2 0.871 ± 0.008 0.879 ± 0.008 0.869 ± 0.024 0.838 ± 0.013 0.882 ± 0.017 0.887 ± 0.010
NLL 5.724 ± 0.036 2.684 ± 0.006 7.346 ± 0.104 2.780 ± 0.045 2.508 ± 0.065 3.767 ± 0.007
Concrete Compressive
MAE 17.771 ± 0.032 18.051 ± 0.035 4.112 ± 0.149 2.838 ± 0.047 2.317 ± 0.064 2.401 ± 0.065
MedAE 3.796 ± 0.033 3.158 ± 0.057 3.107 ± 0.172 1.956 ± 0.068 1.409 ± 0.039 1.340 ± 0.038
MSE 41.975 ± 0.554 31.110 ± 0.515 30.769 ± 1.793 17.583 ± 0.869 14.311 ± 0.802 17.034 ± 1.185
RMSE 6.456 ± 0.045 5.556 ± 0.045 5.509 ± 0.169 4.149 ± 0.104 3.723 ± 0.105 4.054 ± 0.129
R2 0.847 ± 0.003 0.886 ± 0.003 0.888 ± 0.007 0.936 ± 0.003 0.948 ± 0.003 0.938 ± 0.005
NLL 6.453 ± 0.014 6.616 ± 0.015 7.606 ± 0.295 2.881 ± 0.020 2.672 ± 0.030 4.467 ± 0.002
Yacht
MAE 13.817 ± 0.095 13.594 ± 0.087 0.445 ± 0.012 0.324 ± 0.028 0.196 ± 0.025 0.219 ± 0.011
MedAE 2.173 ± 0.048 0.735 ± 0.033 0.291 ± 0.011 0.134 ± 0.010 0.044 ± 0.006 0.105 ± 0.008
MSE 22.765 ± 0.628 6.814 ± 0.308 0.582 ± 0.037 0.466 ± 0.132 0.278 ± 0.083 0.175 ± 0.002
RMSE 4.632 ± 0.045 2.474 ± 0.040 0.709 ± 0.022 0.609 ± 0.059 0.455 ± 0.069 0.392 ± 0.025
R2 0.894 ± 0.008 0.970 ± 0.002 0.997 ± 0.000 0.998 ± 0.001 0.999 ± 0.001 0.999 ± 0.000
NLL 6.350 ± 0.043 6.422 ± 0.039 46.554 ± 0.410 0.865 ± 0.079 0.643 ± 0.215 34.981 ± 21.954
Energy Heating Load
MAE 11.083 ± 0.020 11.099 ± 0.017 0.522 ± 0.040 0.561 ± 0.039 0.200 ± 0.007 0.289 ± 0.008
MedAE 1.056 ± 0.030 0.928 ± 0.021 0.382 ± 0.034 0.425 ± 0.044 0.126 ± 0.005 0.193 ± 0.006
MSE 4.761 ± 0.105 2.471 ± 0.084 0.521 ± 0.069 0.587 ± 0.070 0.107 ± 0.011 0.190 ± 0.012
RMSE 2.170 ± 0.022 1.555 ± 0.023 0.700 ± 0.050 0.751 ± 0.044 0.316 ± 0.015 0.429 ± 0.013
R2 0.952 ± 0.001 0.975 ± 0.001 0.995 ± 0.001 0.994 ± 0.001 0.999 ± 0.000 0.998 ± 0.000
NLL 6.435 ± 0.013 6.416 ± 0.012 40.127 ± 1.332 1.143 ± 0.059 0.621 ± 0.249 19.976 ± 38.420
Energy Cooling Load
MAE 10.506 ± 0.020 10.581 ± 0.020 1.168 ± 0.011 0.799 ± 0.064 0.313 ± 0.018 0.445 ± 0.019
MedAE 0.697 ± 0.026 0.284 ± 0.012 0.620 ± 0.014 0.689 ± 0.079 0.196 ± 0.015 0.308 ± 0.013
MSE 2.101 ± 0.061 0.445 ± 0.048 2.997 ± 0.049 1.036 ± 0.121 0.272 ± 0.045 0.426 ± 0.060
RMSE 1.439 ± 0.020 0.656 ± 0.032 1.721 ± 0.015 0.999 ± 0.065 0.502 ± 0.037 0.637 ± 0.040
R2 0.977 ± 0.001 0.995 ± 0.001 0.967 ± 0.001 0.988 ± 0.001 0.997 ± 0.001 0.995 ± 0.001
NLL 50.292 ± 0.154 243.651 ± 1.954 16.024 ± 0.074 1.435 ± 0.085 31.004 ± 2.048 0.458 ± 0.063
Airfoil Self Noise
MAE 7.252 ± 0.008 7.381 ± 0.005 1.252 ± 0.019 1.247 ± 0.033 0.757 ± 0.082 0.681 ± 0.061
MedAE 1.646 ± 0.021 1.336 ± 0.012 0.922 ± 0.021 0.897 ± 0.027 0.491 ± 0.072 0.437 ± 0.013
MSE 8.473 ± 0.113 6.182 ± 0.100 2.976 ± 0.088 3.173 ± 0.127 1.479 ± 0.419 1.133 ± 0.139
RMSE 2.902 ± 0.018 2.476 ± 0.017 1.717 ± 0.025 1.769 ± 0.034 1.1411 ± 0.108 1.046 ± 0.047
R2 0.819 ± 0.003 0.868 ± 0.002 0.937 ± 0.002 0.932 ± 0.003 0.968 ± 0.009 0.976 ± 0.003
NLL 4.868 ± 0.007 5.436 ± 0.006 9.640 ± 0.191 2.107 ± 0.026 1.442 ± 0.060 3.740 ± 0.057
Wine Quality Red
MAE 0.473 ± 0.001 0.476 ± 0.002 0.486 ± 0.001 No convergence 0.418 ± 0.078 0.373 ± 0.006
MedAE 0.366 ± 0.004 0.374 ± 0.004 0.388 ± 0.003 0.258 ± 0.030 0.216 ± 0.011
MSE 0.385 ± 0.002 0.389 ± 0.002 0.395 ± 0.002 0.595 ± 0.655 0.333 ± 0.007
RMSE 0.619 ± 0.002 0.623 ± 0.002 0.628 ± 0.002 0.646 ± 0.160 0.578 ± 0.006
R2 0.406 ± 0.004 0.399 ± 0.004 0.389 ± 0.004 0.016 ± 0.184 0.484 ± 0.010
NLL 1.443 ± 0.003 1.451 ± 0.002 1.377 ± 0.002 8792 ± 18,881 1.522 ± 0.002
Wine Quality White
MAE 0.501 ± 0.001 0.520 ± 0.001 0.544 ± 0.001 No convergenceNo convergence 0.393 ± 0.008
MedAE 0.394 ± 0.003 0.415 ± 0.003 0.441 ± 0.003 0.211 ± 0.004
MSE 0.439 ± 0.003 0.456 ± 0.002 0.488 ± 0.002 0.396 ± 0.005
RMSE 0.662 ± 0.002 0.675 ± 0.001 0.698 ± 0.002 0.629 ± 0.004
R2 0.439 ± 0.004 0.418 ± 0.003 0.376 ± 0.004 0.494 ± 0.007
NLL 1.531 ± 0.001 1.556 ± 0.002 1.457 ± 0.002 1.610 ± 0.001
Concrete Slump Test Slump
MAE 5.480 ± 0.178 4.993 ± 0.131 4.221 ± 0.135 5.574 ± 0.150 5.086 ± 0.235 5.063 ± 0.114
MedAE 4.253 ± 0.349 3.704 ± 0.255 3.044 ± 0.183 4.373 ± 0.193 3.453 ± 0.349 3.688 ± 0.204
MSE 52.397 ± 3.007 46.440 ± 2.638 33.924 ± 3.504 54.221 ± 2.582 53.774 ± 3.901 48.683 ± 1.638
RMSE 7.025 ± 0.208 6.612 ± 0.158 5.603 ± 0.239 7.142 ± 0.225 7.017 ± 0.315 6.748 ± 0.128
R2 0.036 ± 0.154 0.177 ± 0.158 0.334 ± 0.171 0.050 ± 0.173 0.150 ± 0.101 0.083 ± 0.200
NLL 3.408 ± 0.029 3.322 ± 0.038 4.461 ± 0.125 3.429 ± 0.029 5.485 ± 0.290 3.901 ± 0.002
Make 08 00078 i001
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Polke, D.; Kösters, T.; Ahle, E.; Söffker, D. Polynomial Chaos Expanded Gaussian Process. Mach. Learn. Knowl. Extr. 2026, 8, 78. https://doi.org/10.3390/make8030078

AMA Style

Polke D, Kösters T, Ahle E, Söffker D. Polynomial Chaos Expanded Gaussian Process. Machine Learning and Knowledge Extraction. 2026; 8(3):78. https://doi.org/10.3390/make8030078

Chicago/Turabian Style

Polke, Dominik, Tim Kösters, Elmar Ahle, and Dirk Söffker. 2026. "Polynomial Chaos Expanded Gaussian Process" Machine Learning and Knowledge Extraction 8, no. 3: 78. https://doi.org/10.3390/make8030078

APA Style

Polke, D., Kösters, T., Ahle, E., & Söffker, D. (2026). Polynomial Chaos Expanded Gaussian Process. Machine Learning and Knowledge Extraction, 8(3), 78. https://doi.org/10.3390/make8030078

Article Metrics

Back to TopTop