domain: math stat stat.ml

text:
Léonard Torossian
email: leonard.torossian@inra.fr

Victor Picheny
email: victor@prowler.io

Robert Faivre
email: robert.faivre@inra.fr

Aurélien Garivier
email: aurelien.garivier@ens-lyon.fr

A REVIEW ON QUANTILE REGRESSION FOR STOCHASTIC COMPUTER EXPERIMENTS

We report on an empirical study of the main strategies for quantile regression in the context of stochastic computer experiments. To ensure adequate diversity, six metamodels are presented, divided into three categories based on order statistics, functional approaches, and those of Bayesian inspiration. The metamodels are tested on several problems characterized by the size of the training set, the input dimension, the signal-to-noise ratio and the value of the probability density function at the targeted quantile. The metamodels studied reveal good contrasts in our set of experiments, enabling several patterns to be extracted. Based on our results, guidelines are proposed to allow users to select the best method for a given problem.

Introduction

Computer simulation models are now essential for performance evaluation, quality control and uncertainty quantification to assess decisions in complex systems. These computer simulators generally model systems depending on multiple input variables that can be divided into two categories: the controllable variables and the uncontrollable variables.

For example, in pharmacology, the optimal drug dosage depends on the drug formulation but also on the targeted individual (genetics, age, sex) and environmental interactions. The shelf life and performance of a manufacturing device depend on its design, but also on its environment and on some uncertainties due to the manufacturing process. The plant growth and yield depend on the genes of the plant and on the gardening techniques but also on the weather and potential diseases.

Evaluating the influence of the controllable and uncontrollable variables directly on the real-life problems can be costly and tedious. One solution is to encapsulate the systems into a computer simulation model which would reduce the cost and the time required for each test (see [START_REF] Herwig | Computational modeling of drug response with applications to neuroscience[END_REF] and reference therein for computer experiments applied to clinical trials, see [START_REF] Gijo | Product design by application of taguchi's robust engineering using computer simulation[END_REF] for a computer simulation model applied to industrial design and [START_REF] Van Maanen | Modelling plant disease epidemics[END_REF][START_REF] Casadebaig | Sunflo, a model to simulate genotype-specific performance of the sunflower crop in contrasting environments[END_REF] for computer experiments applied to crop production).

In such computer simulation models, the links between the inputs and outputs may be too complex to be fully understood or to be formulated in a closed form. In this case, the system can be considered as a black box and formalized by an unknown function: Ψ : X × Ω → R, where X ⊂ R d denotes the compact space of controllable variables, and Ω denotes a probability space representing the uncontrollable variables. Note that some black boxes have their outputs in a multidimensional space but this aspect is beyond the scope of the present paper.

Based on the standard constraints encountered in computer experiments, throughout this paper, we assume that the function is only accessible through pointwise evaluations Ψ(x, ω); no structural information is available regarding Ψ; in addition, we take into account the fact that evaluations may be expensive, which drastically limits the number of possible calls to Ψ.

If the space Ω is small enough (or highly structured), it may be possible to work directly on the space X × Ω (see [START_REF] Janusevskis | Simultaneous kriging-based estimation and optimization of mean response[END_REF] for example). Often, however, Ω is too complex and working on the joint space is intractable. This is the case for intrinsic stochastic simulators (see [START_REF] Lei | Stochastic modeling in systems biology[END_REF][START_REF] Ludkovski | Optimal dynamic policies for influenza management[END_REF] for examples of biological systems, where the stochasticity is driven by stochastic equations such as the Fokker-Planck or the chemical Langevin equations), or for simulators associated with a very large space Ω (see [START_REF] Casadebaig | Sunflo, a model to simulate genotype-specific performance of the sunflower crop in contrasting environments[END_REF] for the crop model SUNFLO that considers 5 weather indicators on 130 days, i.e Ω is a space of dimension 650).

In this paper we consider the case where Ω is too complex. We assume that Ω has any structure and its contribution is considered as random. In contrast to deterministic systems, for any fixed x, Ψ(x, •) is considered as a random variable of distribution P x ; hence, such systems are often referred to as stochastic black boxes. In order to understand the behavior of the system of interest or to take optimal decisions, information is needed about the output distribution. An intuitive approach is to use a simple Monte-Carlo technique and to evaluate Ψ(x, ω 1 ), . . . , Ψ(x, ω n ) to extract statistical moments, the empirical cumulative distribution function, etc. Unfortunately, such a stratified approach is not efficient when evaluating Ψ is expensive.

Instead, we focus on surrogate models (also referred to as metamodels or statistical emulators), which are appropriate approaches in small data settings [START_REF] Storlie | Multiple predictor smoothing methods for sensitivity analysis: Description of techniques[END_REF][START_REF] Villa-Vialaneix | A comparison of eight metamodeling techniques for the simulation of N 2 O fluxes and N leaching from corn crops[END_REF]. Among the vast choice of surrogate models, the most popular ones include regression trees, Gaussian processes, support vector machines and neural networks. In the framework of stochastic black boxes, the standard approach consists in estimating the conditional expectation of Ψ. This case has been extensively treated in the literature and many applications, including Bayesian optimization [START_REF] Shahriari | Taking the human out of the loop: A review of bayesian optimization[END_REF], have been developed. However the conditional expectation is risk-neutral, as it does not provide information about the variability of the output, whereas pharmacologists, manufacturers, asset managers, data scientists and agronomists may need to quantify potential losses associated with their decisions.

Risk information can be introduced via heteroscedastic Gaussian processes [START_REF] Kersting | Most likely heteroscedastic gaussian process regression[END_REF][START_REF] Lázaro | Variational heteroscedastic gaussian process regression[END_REF] in which the unknown distribution is estimated by a surrogate expectation-variance model. However, such approaches usually imply that the shape of the distribution (e.g. normal) is the same for all x ∈ X . Another possible approach would be to learn the unknown distribution with no strong structural hypotheses [START_REF] Moutoussamy | Emulators for stochastic simulation codes[END_REF][START_REF] Hall | Cross-validation and the estimation of conditional probability densities[END_REF][START_REF] Efromovich | Dimension reduction and adaptation in conditional density estimation[END_REF], but this requires a large number of evaluations of Ψ.

Here, we focus on the conditional quantile estimation of order τ , a flexible way to tackle cases in which the distribution of Ψ(x, .) varies markedly in spread and shape with respect to x ∈ X , and a classical risk-aware tool in decision theory [START_REF] Rostek | Quantile maximization in decision theory[END_REF].

Paper Overview

Many metamodels originally designed to estimate conditional expectations have been adapted to estimate the conditional quantile. However, despite extensive literature on estimating the quantile in the presence of spatial structure, few studies have reported on the constraints associated with stochastic black boxes. The performance of a metamodel with high dimension input is treated in insufficient details, performance based on the number of points has rarely been tackled and, to our knowledge, dependence on specific aspects of the quantile functions has never been studied. The aim of the present paper is to review quantile regression methods under standard constraints related to the stochastic black box framework, so as to provide information on the performance of the selected methods, and to recommend which metamodel to use depending on the characteristics of the computer simulation model and the data.

A comprehensive review of quantile regression is of course beyond the scope of the present work. We limit our review to the approaches that are best suited for our framework, while ensuring the necessary diversity of metamodels. In particular, we have chosen six metamodels that are representative of three main categories: approaches based on statistical order (K-nearest neighbors [KN] regression [START_REF] Pallab | Kernel and nearest-neighbor estimation of a conditional quantile[END_REF] and random forest [RF] regression [START_REF] Meinshausen | Quantile regression forests[END_REF]), functional or frequentist approaches (neural networks [NN] regression [START_REF] Cannon | Quantile regression neural networks: Implementation in r and application to precipitation downscaling[END_REF] and regression in reproducing kernel Hilbert space [RK] [START_REF] Takeuchi | Nonparametric quantile estimation[END_REF]), and Bayesian approaches based on Gaussian processes (Quantile Kriging [QK] [START_REF] Plumlee | Building accurate emulators for stochastic simulations via quantile kriging[END_REF] and the variational Bayesian [VB] regression [START_REF] Abeywardana | Variational inference for nonparametric bayesian quantile regression[END_REF]). Each category has some specificities in terms of theoretical basis, implementation and complexity. We begin this presentation by describing the methods in full in sections 3, 4 and 5.

In order to identify the relevant areas of expertise of the different metamodels, an original benchmark system is designed based on four toy functions and an agronomical model [START_REF] Casadebaig | Sunflo, a model to simulate genotype-specific performance of the sunflower crop in contrasting environments[END_REF]. The dimension of the problems ranges from 1 to 9 and the number of observations from 40 to 2000. Particular attention is paid to the performance of each metamodel according to the size of the learning set, the value of the probability density function at the targeted quantile f (., q τ ) and the dimension of the problem. Sections 6 and 7 describe the benchmark system and detail its implementation, with particular focus on the tuning of the hyperparameters of each method. Full results and discussion are to be found in Sections 8 and 9, respectively.

Quantile emulators and design of experiments

We first provide the necessary definitions, objects and properties related to the quantile. The quantile of order τ ∈ (0, 1) of a random variable Y can be defined either as the (generalized) inverse of a cumulative distribution function (CDF), or as the solution to an optimization problem:

q τ = min q ∈ R : F (q) ≥ τ = arg min q∈R E l τ (Y -q) , (1)
F (•) is the CDF of Y and l τ (ξ) = (τ -1 (ξ<0) )ξ, ξ ∈ R (2) is the so-called pinball loss [START_REF] Koenker | Regression quantiles[END_REF] (Figure 1). In the following, we only consider situations in which F is strictly increasing and continuous. Given a finite observation set Y n = (y 1 , ..., y n ) composed of i.i.d samples of Y , the empirical estimator of q τ can thus be introduced in two different ways:

qτ = min y i ∈ Y n : F (y i ) ≥ τ (3)
or

qτ = arg min q∈R 1 n n i=1 l τ (y i -q), (4)
where F denotes an estimator of the CDF function. In (3) qτ coincides with an order statistic. For example, if F is the empirical CDF function then qτ = y ([nτ ]) , where [nτ ] represents the smallest integer greater than or equal to nτ and

y (k) = Y n (k)
is the k-th smallest value in the sample {y 1 , . . . , y n }. The estimators ( 4) and (3) may coincide, but are in general not equivalent.

Similarly to (1), the conditional quantile of order τ ∈ (0, 1) can be defined in two equivalent ways:

q τ (x) = min q : F (q|X = x) ≥ τ = arg min q∈R E l τ (Y x -q) , (5)
where Y x is a random variable of distribution P x and F (.

|X = x) is the CDF of Y x .
In a quantile regression context, one only has access to a finite observation set

D n = (x 1 , y 1 ), . . . , (x n , y n ) = (X n , Y n ) with X n a n × d matrix.
Estimators for [START_REF] Franc | Parametric estimation of covariance function in Gaussian-process based Kriging models[END_REF] are either based on the order statistic as in (3) (section 3), or on a minimizer of the pinball loss as in (4) (sections 4 and 5). Throughout this work, the observation set D n is fixed (we do not consider a dynamic or sequential framework). Following the standard approach used in computer experiments, the training points x i are chosen according to a space-filling design [START_REF] Cavazzuti | Design of experiments[END_REF] over a hyperrectangle. In particular, we assume that there are no repeated experiments: x i = x j , ∀i = j; most of the methods chosen in this survey (KN, RF, RK, NN, VB) work under that setting.

However, as a baseline approach, one may decide to use a stratified experimental design D n ,r with r i.i.d samples for a given x i , i = 1, .., n , extract pointwise quantile estimates using (3) and fit a standard metamodel to these estimates. The immediate drawback is that for the same budget (n × r = n) such experimental designs cover much less of the design space than a design with no repetition. The QK method is based on this approach.

Methods based on order statistics

A simple way to compute a quantile estimate is to take an order statistic of an i.i.d. sample. A possible approach is to emulate such a sample by selecting all the data points in the neighborhood of the query point x, and then by taking the order statistic of this subsample as an estimator for the conditional quantile. One may simply choose a subsample of D n based on a distance defined on X : this is what the K-nearest neighbors approach does. It is common to use KN based on the Euclidean distance but of course any other distance can be used, such as Mahalanobis [START_REF] Verdier | Adaptive mahalanobis distance and k-nearest neighbor rule for fault detection in semiconductor manufacturing[END_REF] or weighted Euclidean distance [START_REF] Sahibsingh | The distance-weighted k-nearest-neighbor rule[END_REF]. Alternatively, one may define a notion of neighborhood using some space partitioning of X . That includes all the decision tree methods [START_REF] Breiman | Classification and regression trees[END_REF], in particular regression trees, bagging or random forest [START_REF] Meinshausen | Quantile regression forests[END_REF].

K-nearest neighbors

The K-nearest neighbors method was first proposed for the estimation of conditional expectations [START_REF] Charles | Nearest neighbor estimators of a nonlinear regression function[END_REF][START_REF] Charles | Consistent nonparametric regression[END_REF]. Its extension to the conditional quantile estimation can be found in [START_REF] Pallab | Kernel and nearest-neighbor estimation of a conditional quantile[END_REF].

Quantile regression implementation

Define X test as the set of query points. KN works as follows: for each x * ∈ X test define X K (x * ) the subset of X n containing the K points that are the closest to the query point x * . Define Y x * K the associated outputs, and define F K (y|X = x * ) as the associated empirical CDF. Following (3), the conditional quantile of order τ can be defined as the statistical order qτ (

x * ) = Y x * K ([Kτ ]). (6)
Algorithm 1 details the implementation of the KN method.

Algorithm 1 K-nearest neighbors 1: Inputs:

D n , τ , K, X test 2: for each point in x * ∈ X test do 3:
Compute all the distances between x * and X n

4:

Sort the computed distances 5:

Select the K-nearest points from x * 6:

qτ (x * ) = Y x * K ([Kτ ]) 7: end for 3.1.

Computational complexity

For a naive implementation of such an estimator, one needs to compute n×N new distances, where N new is the number of query points, hence for a cost in O(nN new d). Moreover, sorting n distances in order to extract the K nearest points has a cost in O(nN new log n). Combining the two operations implies a complexity of order

O(nN new d) + O(nN new log n).
Note that some algorithms have been proposed in order to reduce the computational time, for example by using GPUs [START_REF] Garcia | Fast k nearest neighbor search using gpu[END_REF] or by using tree search algorithms [START_REF] Arya | An optimal algorithm for approximate nearest neighbor searching fixed dimensions[END_REF].

Random forests

Random forests were introduced by Breiman [START_REF] Breiman | Random forests[END_REF] for the estimation of conditional expectations. They have been used successfully for classification and regression, especially with problems where the number of variables is much larger than the number of observations [START_REF] Díaz-Uriarte | Gene selection and classification of microarray data using random forest[END_REF].

Overview

The basic element of random forests is the regression tree T , a simple regressor built via a binary recursive partitioning process. Starting with all data in the same partition i.e X , the following sequential process is applied. At each step, the data is split into two, so that X is partitioned in a way that it can be represented by a tree as it is presented Figure 2.

Several splitting criteria can be chosen (see [START_REF] Ishwaran | The effect of splitting on random forests[END_REF]). In [START_REF] Meinshausen | Quantile regression forests[END_REF], the splitting point x S is the data point that minimizes

C(x s ) = xi≤xs (y i -ȲL ) 2 + xj >xs (y j -ȲR ) 2 , (7)
where ȲL and ȲR are the mean of the left and right sub-populations, respectively. Equation ( 7) applies when the x's are real-valued. In the multidimensional case, the dimension d S in which the split is performed has to be selected. The split then goes through x S and perpendicularly to the direction d S . There are several rules to stop the expansion of T . For instance, the process can be stopped when the population of each cell is inferior to a minimal size nodesize: then, each node becomes a terminal node or leaf. The result of the process is a partition of the input space into hyperrectangles R(T ). Like the KN method, the tree-based estimator is constant on each neighborhood. The hope is that the regression trees automatically build neighborhoods from the data that should be adapted to each problem.

Despite their simplicity of construction and interpretation, regression trees are known to suffer from a certain rigidity and a high variance (see [START_REF] Breiman | Bias, variance, and arcing classifiers[END_REF] for more details). To overcome this drawback, regression trees can be used with ensemble methods like bagging. Instead of using only one tree, bagging creates a set of tree T N = T 1 , .., T N based on a bootstrap version D N,n = (x 1t , y 1t ), ..., (x nt , y nt ) N t=1 of D n . Then the final model is created by averaging the results among all the trees. Bagging reduces the variance of the predictor, as the splitting criterion has to be optimized over all the input dimensions, but computing [START_REF] Pallab | Kernel and nearest-neighbor estimation of a conditional quantile[END_REF] for each possible split is costly when the dimension is large. The random forest algorithm, a variant of bagging, constructs an ensemble of weak learners based on D N,n and aggregates them. Unlike plain bagging, at each node evaluation, the algorithm uses only a subset of d covariables for the choice of the split dimensions. Because the d covariables are randomly chosen, the result of the process is a random partition R(t) of X constructed by the random tree T t .

Quantile prediction

We present the extension proposed in [START_REF] Meinshausen | Quantile regression forests[END_REF] for conditional quantile regression. Let us define (x * , t) the leaf obtained from the tree t containing a query point x * and

ω i (x * , t) = 1 {xi∈ (x * ,t)} #{j : x j ∈ (x * , t)} , i = 1, ..., n ωi (x * ) = 1 N N t=1 ω i (x * , t) .
The ωi (x * )'s represent the weights illustrating the "proximity" between x * and x i . In the classical regression case, the estimator of the expectation is:

μ(x * ) = n i=1 ωi (x * )y i . (8)
In [START_REF] Meinshausen | Quantile regression forests[END_REF] the conditional quantile of order τ is defined as in (3) with the CDF estimator defined as

F (y|X = x * ) = n i=1 ωi (x * )1 {yi≤y} . (9)
Algorithm 2 details the implementation of the RF method. Uniformly sample with replacement n points in Dn to create Dt,n.

5:

Consider the cell R = X . 6:

while any cell of the tree contains more that m s observations do 7:

for the cells containing more than m s observations do

8:

Uniformly sample without remplacement d covariables in 1, ..., d.

9:

Compute the cell point among the d covariables that minimizes [START_REF] Pallab | Kernel and nearest-neighbor estimation of a conditional quantile[END_REF]. 10:

Split the cell at this point perpendicularly to the selected covariable.

F (y|X = x * ) = n i=1 ωi (x * )1 {yi≤y} 19:
qτ (x * ) = inf y i : F (y i |X = x * ) ≥ τ 20: end for

Computational complexity

Assuming that the value of (7) can be computed sequentially for consecutive thresholds, the RF computation burden lies in the search of the splitting point that implies sorting the data. Sorting n variables has a complexity in O(n log n). Thus, at each node the algorithm finds the best splitting points considering only d ≤ d covariables (classically d = d/3). This implies a complexity of O dn log n per node. In addition, the depth of a tree is generally upper bounded by log n. Then the computational cost of building a forest containing N trees under the criterion [START_REF] Pallab | Kernel and nearest-neighbor estimation of a conditional quantile[END_REF] is [START_REF] Louppe | Understanding random forests: From theory to practice[END_REF][START_REF] Ian H Witten | Data Mining: Practical machine learning tools and techniques[END_REF]. One may observe that RF are easy to parallelize and that contrary to KN the prediction time is very small once the forest is built.

O N dn log 2 (n)

Approaches based on functional analysis

Functional methods search directly for the function mapping the input to the output in a space fixed beforehand by the user. With this framework, estimating any functional S of the conditional distribution implies selecting a loss l (associated to S) and a function space H. Thus, the estimator Ŝ ∈ H is obtained as the minimizer of the empirical risk R e associated to l, i.e.

Ŝ ∈ arg min s∈H R e [s] = arg min s∈H 1 n n i=1 l y i -s(x i ) . ( 10
)
The functional space H must be chosen flexible enough to extract some signal from the data. In addition, H needs to have enough structure to make the optimization procedure feasible (at least numerically). In the literature, several formalisms such as linear regression [START_REF] George | Linear regression analysis[END_REF], spline regression [START_REF] Lawrence | Spline regression models[END_REF], support vector machine [START_REF] Vapnik | The nature of statistical learning theory[END_REF], neural networks [START_REF] Christopher | Neural networks for pattern recognition[END_REF] or deep neural networks [START_REF] Schmidt-Hieber | Nonparametric regression using deep neural networks with relu activation function[END_REF] use structured functional spaces with different levels of flexibility.

However, using a too large H can lead to overfitting, i.e. return predictors that are good only on the training set and generalize poorly. Overcoming overfitting requires some regularization (see [START_REF] Schölkopf | The kernel trick for distances[END_REF][START_REF] Zhao | On model selection consistency of lasso[END_REF][START_REF] Zou | Regularization and variable selection via the elastic net[END_REF] for instance), defining for example the regularized risk

R r,e [s] = 1 n n i=1 l(y i -s(x i )) + λ s β , (11)
where λ ∈ R + is a penalization factor, β ∈ R + and . is either a norm for some methods (Section 4.2) or a measure of variability for others (Section 4.1). The parameter λ plays a major role, as it allows to tune the balance between bias and variance.

Classically, squared loss is used: it is perfectly suited to the estimation of the conditional expectation. Using the pinball loss (Eq. 2) instead allows to estimate quantiles. In this section we present two approaches based on Equation [START_REF] George | Bayesian inference in statistical analysis[END_REF] with the pinball loss. The first one is regression using artificial neural networks (NN), a rich and versatile class of functions that has shown a high efficiency in several fields. The second approach is the generalized linear regression in reproducing kernel Hilbert spaces (RK). RK is a non-parametric regression method that has been much studied in the last decades (see [START_REF] Steinwart | Support vector machines[END_REF]) since it appeared in the core of learning theory in the 1990's [START_REF] Schölkopf | The kernel trick for distances[END_REF][START_REF] Vapnik | The nature of statistical learning theory[END_REF].

Neural Networks

Artificial neural networks have been successfully used for a large variety of tasks such as classification, computer vision, music generation, and regression [START_REF] Christopher | Neural networks for pattern recognition[END_REF]. In the regression setting, feed-forward neural networks have shown outstanding achievements. Here we present quantile regression neural network [START_REF] Cannon | Quantile regression neural networks: Implementation in r and application to precipitation downscaling[END_REF] which is an adaptation of the traditional feed-forward neural network.

Overview

A feed-forward neural network is defined by its number of hidden layers H, its numbers of neurons per layer J h , 1 ≤ h ≤ H, and its activation functions g h , h = 1, . . . , H. Given an input vector x ∈ R d the information is fed to the hidden layer 1 composed of a fixed number of neurons J 1 . For each neuron N

i , i = 1, .., J 1 , a scalar product (noted . , . ) is computed between the input vector x = (x 1 , ..., x d ) ∈ R d and the weights w ∈ R is added to the result of the scalar product. The result is composed with the activation function g 1 (linear or non-linear) which is typically the sigmoid or the ReLu function [START_REF] Schmidt-Hieber | Nonparametric regression using deep neural networks with relu activation function[END_REF] and the result is given to the next layer where the same operation is processed until the information comes out from the outpout layer. For example, the output of a 3-layers NN at x * is given by

s(x * ) = g 3   J2 j=1 g 2 J1 i=1 g 1 w (1) i , x * + b (1) i w (2) j,i + b (2) j w (3) 1,j + b (3)   . (12)
The corresponding architecture can be found in Figure 3.

The architecture of the NN defines H. Finding the right architecture is a very difficult problem which will not be treated in this paper. However a classical implementation procedure consists of creating a network large enough (able to overfit) and then using techniques such as early stopping, dropout, bootstrapping or risk regularization to avoid overfitting [START_REF] Srivastava | Dropout: a simple way to prevent neural networks from overfitting[END_REF]. In [START_REF] Cannon | Quantile regression neural networks: Implementation in r and application to precipitation downscaling[END_REF], the following regularized risk is used:

R r,e [s] = 1 n n i=1 l y i -s(x i ) + λ H j=1 Jj z=1 w (j) z 2 . (13)

Quantile regression

Minimizing Equation [START_REF] Mikio | Accurate error bounds for the eigenvalues of the kernel matrix[END_REF] (with respect to all the weights and biases) is in general challenging, as R r,e is a highly multimodal function. It is mostly tackled using derivative-based algorithms and multi-starts (i.e launching the optimization procedure M s times with different starting points). In the case of quantile estimation, the loss function is January 19, 2020 b (1) x i1

x i2

x id Input Layer

b (2) N (1) 1 N (1) 2 N
(1) 3

N (1) J1 Hidden Layer 1 b (3) N (2) 1 N (2) 2 N (2) 3 N (2) J2
Hidden Layer 2

N

(3) 1

Layer 3 (Output layer) . . . . . . . . . non-differentiable at the origin, which may cause problems to some numerical optimization procedures. To address this issue, [START_REF] Cannon | Quantile regression neural networks: Implementation in r and application to precipitation downscaling[END_REF] introduced a smooth version of the pinball loss function, defined as:

l η τ (ξ) = h η (ξ)(τ -1 ξ<0 ), where h η (ξ) =      ξ 2 2η if 0 ≤ |ξ| ≤ η |ξ| - η 2 if |ξ| ≥ η. (14)
Note that if the optimizer is based on a first order method such as [START_REF] Diederik | Adam: A method for stochastic optimization[END_REF], then the transfer function does not require continuous derivatives. But using a second order method as it is done in the original paper implies the loss function to be twice differentiable with respect to the weights of the neural network. Then transfer functions such as logistic or hyperbolic tangent functions should be used over piecewise linear ones such as the ReLu or the PReLU functions [START_REF] Ramachandran | Searching for activation functions[END_REF].

Let us define w the list containing the weights and bias of the network. To find w * , a minimizer of R r,e , the idea is to solve a series of problems using the smoothed loss instead of the pinball one with a sequence E K corresponding to K decreasing values of η. The process begins with the optimization with the larger value η 1 . Once the optimization converges, the optimal weights are used as the initialization for the optimization with η 2 , and so on. The process stops when the weights based on l η K τ are obtained. Finally, qτ (x * ) is given by the evaluation of the optimal network at x * . Algorithm 3 details the implementation of the NN method.

Computational complexity

In [START_REF] Cannon | Quantile regression neural networks: Implementation in r and application to precipitation downscaling[END_REF] the optimization is based on a Newton method. Thus, the procedure needs to inverse a Hessian matrix. Without sophistication, its cost is O(s 3 pb ) with s pb the size of the problem i.e the number of parameters to optimize. Note that using a high order method makes sense here because NN has few parameters (in contrast to deep learning methods). Moreover providing an upper bound on the number of iterations needed to reach an optimal point may be really hard in practice because of the non convexity of (13). In the non-convex case, there is no optimality guaranty and the optimization could be stuck in a local minima. However, it can be shown that the convergence near a local optimal point is at least super linear (see [START_REF] Boyd | Convex optimization[END_REF] Eq. (9.33)) and may be quadratic (if the gradient is small). It implies, for each η, the number of iterations until R η r,e (w) -R η r,e (w * ) ≤ is bounded above by

R η r,e (w 0 ) -R η r,e (w * ) γ + log 2 log 2 ( 0 / ),
with γ the minimal decreasing rate, 0 = 2M 3 η /L 2 η , M η the strong convexity constant of R η r,e near w * and L η the Hessian Lipschitz constant (see [START_REF] Boyd | Convex optimization[END_REF] page 489). As log 2 log 2 ( 0 / ) increases very slowly with respect to , it is

Algorithm 3 Neural network 1: Training 2: Inputs: D n , τ , λ, H, (J 1 , . . . , J H ), (g 1 , . . . , g H ), E K 3: Initialize:
Fix w 0 as the list containing the initial weights and biases. 4: for t = 1 to K do 5:

← E K [t] 6:
Starting the optimization procedure with w 0 and define

w * τ = arg min w 1 n n t=1 l τ (y i -qw (x i )) + λ H j=1 J i=1 w (j) i 2
with qw (•) the output of the network with the weights w. Define qτ (x * ) = qw * τ (x * ). 13: end for possible to bound the number of iterations N typically by

R η r,e (w 0 ) -R η r,e (w * ) γ + 6.
That means, near an optimal point, the complexity is O(L η n(Jd) 3 ), with J the total number of neurons. Then using a multistart procedure implies a complexity of

O(M s L η * n(Jd) 3 ),
with L η * = max η1,...,η K L η .

Regression in RKHS

Regression in RKHS was introduced for classification via Support Vector Machine by [START_REF] Cortes | Support-vector networks[END_REF][START_REF] Hearst | Support vector machines[END_REF], and has been naturally extended for the estimation of the conditional expectation [START_REF] Drucker | Support vector regression machines[END_REF][START_REF] Rosipal | Kernel partial least squares regression in reproducing kernel hilbert space[END_REF]. Since, many applications have been developed (see [START_REF] Steinwart | Support vector machines[END_REF][START_REF] Schölkopf | The kernel trick for distances[END_REF] for some examples), here we present the quantile regression in RKHS [START_REF] Takeuchi | Nonparametric quantile estimation[END_REF][START_REF] Sangnier | Joint quantile regression in vector-valued rkhss[END_REF].

RKHS introduction and formalism

Under the linear regression framework, S is assumed to be under the form S(x) = x T α, with α in R d . To stay in the same vein while creating non-linear responses, one can map the input space X to a space of higher dimension H (named the feature space), thanks to a feature map Φ. Nevertheless, although large dimensional spaces enable more flexibility, it may introduce difficulties during the estimation procedure. A good trade-off can be found by combining regularized empirical risk

R r,e [s] = 1 n n i=1 l(y i -s(x i )) + λ 2 s 2 H , (15)
and the RKHS formalism that is based on the representer theorem and the so-called kernel trick. Define H as a R-Hilbert functional space and let us assume there exists a symmetric definite positive function k :

X × X → R such that: k(x, x ) = Φ(x ), Φ(x) H . (16)
Under this setting, H is a RKHS with the reproducing kernel k, that means Φ(x) = k(., x) ∈ H for all x ∈ X and the reproducing property

s(x) = s, k(., x) H (17)
holds for all s ∈ H and all x ∈ X . It can be shown that working with a fixed kernel k is equivalent to work with its associated functional Hilbert space. Note that the kernel choice is based on kernel properties or assumptions made on the functional space. See for instance [START_REF] Steinwart | Support vector machines[END_REF], chapter 4, for some kernel definitions and properties. In the following, H θ and k θ denote respectively a RKHS and its kernel associated to the hyperparameters vector θ. K θ x,x ∈ R n×n is the kernel matrix obtained via K θ

x,x (i, j) = k θ (x i , x j ).

From a theoretical point of view, the representer theorem implies that the minimizer Ŝ of ( 15) lives in

H θ |X = span{Φ(x i ) : i = 1, ..., n} with s 2 H |X = n i=1 n j=1 α i α j k θ (x j , x i ).
Combining this result to the definition ( 16) and the reproducing property [START_REF] Browne | Stochastic simulators based optimization by gaussian process metamodels-application to maintenance investments planning issues[END_REF], it is possible to write Ŝ as:

Ŝ(x) = n i=1 α i k θ (x, x i ).
Hence, the estimation procedure becomes an optimization problem over

n coefficients α = (α 1 , α 2 , ..., α n ) ∈ R n .
More precisely, finding Ŝ is equivalent to minimize with respect to α the quantity

1 n n i=1 l y i - n j=1 α j k θ (x i , x j ) + λ 2 n i=1 n j=1 α i α j k θ (x j , x i ). (18)

Quantile regression

Quantile regression in RKHS was introduced by [START_REF] Takeuchi | Nonparametric quantile estimation[END_REF], followed by several authors [START_REF] Li | Quantile regression in reproducing kernel hilbert spaces[END_REF][START_REF] Steinwart | Estimating conditional quantiles with the help of the pinball loss[END_REF][START_REF] Christmann | Consistency of kernel-based quantile regression[END_REF][START_REF] Christmann | How svms can estimate quantiles and the median[END_REF][START_REF] Sangnier | Joint quantile regression in vector-valued rkhss[END_REF]. Quantile regression has two specificities compared to the general case. Firstly the loss l is defined as the pinball. Secondly, to ensure the quantile property, the intercept is not regularized. More precisely, we assume that q τ (x) = g(x) + b with g ∈ H θ with b ∈ R, and we consider the empirical regularized risk

R r,e [q] := 1 n n i=1 l τ y i -q(x i ) + λ 2 g 2 H |X . (19)
Thus, the representer theorem implies that qτ can be written under the form

qτ (x * ) = n i=1 α i k θ (x * , x i ) + b,
for a new query point x * . Since ( 19) cannot be minimized analytically, a numerical minimization procedure is used. [START_REF] Cortes | Support-vector networks[END_REF] followed by [START_REF] Takeuchi | Nonparametric quantile estimation[END_REF] introduced non-negative variables ξ ( * ) ∈ R + to transform the original problem into

R r,e [q] := 1 n n i=1 τ ξ i + (1 -τ )ξ * i + λ 2 n i=1 n j=1 α i α j k θ (x j , x i ),
subject to

y i -   n j=1 α j k θ (x i , x j ) + b   ≤ ξ i and n j=1 α j k θ (x i , x j ) + b -y i ≤ ξ * i , where ξ i , ξ * i ≥ 0.
Using a Lagrangian formulation, it can be shown (see [START_REF] Steinwart | Support vector machines[END_REF] for instance) that minimizing R r,e is equivalent to the problem:

min α∈R n 1 2 α T K θ x,x α -α T y (20)
s.t. 1 λn (τ -1) ≤ α i ≤ 1 λn τ, ∀ 1 ≤ i ≤ n and n i=1 α i = 0.
It is a quadratic optimization problem under linear constraint, for which many efficient solvers exist.

The value of b may be obtained from the Karush-Kuhn-Tucker slackness condition or fixed independently of the problem. A simple way to do so is to choose b as the τ -quantile of y i -n j=1 α j k θ (x i , x j ) 1≤i≤n . Algorithm 4 details the implementation of the RK method.

Algorithm 4 RKHS regression 1: Training 2: Inputs: D n ,τ , λ, k θ 3: Initialize: Compute the n × n matrix K θ x,x 4: Optimization: Select α * as α * = arg min α∈R n 1 2 α T K θ x,x α -α T y s.t 1 λn (τ -1) ≤ α i ≤ 1 λn τ, ∀ 1 ≤ i ≤ n and n i=1 α i = 0 5: Define b as the τ -quantile of y i - n j=1 α j k θ (x i , x j ) 1≤i≤n 6: Prediction 7: Inputs: X test , α * , k θ 8: for each point in x * ∈ X test do 9: compute K θ x * ,x 10: qτ (x test ) = K θ x * ,x α * + b 11: end for 4.2.

Computational complexity

Let us notice two things. Firstly, the minimal upper bound complexity for solving [START_REF] Cavazzuti | Design of experiments[END_REF] is O(n 3 ). Indeed solving [START_REF] Cavazzuti | Design of experiments[END_REF] without the constraints is easier and it needs O(n 3 ). Secondly the optimization problem ( 20) is convex, thus the optimum is global.

There are two main approaches for solving [START_REF] Cavazzuti | Design of experiments[END_REF], the interior point method [START_REF] Boyd | Convex optimization[END_REF] and the iterative methods like libSVM [START_REF] Chang | Libsvm: a library for support vector machines[END_REF]. The interior point method is based on the Newton algorithm, one method is the barrier method (see [START_REF] Boyd | Convex optimization[END_REF] page 590). It is shown that the number of iterations N for reaching a solution with precision is O( √ n log( n )). Moreover each iteration of a Newton type algorithm costs O(n 3 ) because it needs to inverse a Hessian. Thus, the complexity of an interior point method for finding a global solution with precision is

O n 7/2 log(n/ ) .
On another hand, iterative methods like libSVM transform the main problem into a smaller one. At each iteration the algorithm solves a subproblem in O(n). Contrary to the interior point methods, the number of iterations depends explicitly on the matrix K θ x,x . [START_REF] List | Svm-optimization and steepest-descent line search[END_REF] shows that the number of iterations is

O n 2 κ(K θ x,x ) log(1/ ) , where κ(K θ x,x ) = λ max (K θ x,x )/λ min (K θ x,x
). Note that κ(K θ x,x ) depends on the type of the kernel, it evolves in O(n s ) with s > 1 an increasing value of the regularity of k θ [START_REF] Chang | On eigenvalues of differentiable positive definite kernels[END_REF]. For more information about the eigenvalues of K θ

x,x one can consult [START_REF] Mikio | Accurate error bounds for the eigenvalues of the kernel matrix[END_REF].

To summarize, it implies that the complexity of the libSVM method has an upper bound higher than the interior point algorithm. However, these algorithms are known to converge pretty fast. In practice, the upper bound is almost never reached, and thus the most important factor is the cost per iteration, rather than the number of iterations needed. This is the reason why libSVM is popular in this setting.

Bayesian formalism has been used for a wide class of problems such as classification and regression [START_REF] Edward | Gaussian processes for machine learning[END_REF], model averaging [START_REF] George | Bayesian inference in statistical analysis[END_REF] and model selection [START_REF] Raftery | Bayesian model selection in social research[END_REF]. The first Bayesian quantile regression model was introduced in [START_REF] Yu | Bayesian quantile regression[END_REF] where the authors worked under linear frameworks combined with improper uniform priors. Nevertheless the linear hypothesis may be too restrictive to treat the stochastic black box setting. As an alternative [START_REF] Matthew | A bayesian nonparametric approach to inference for quantile regression[END_REF] introduced a mixture modeling framework called Dirichlet process to perform nonlinear quantile regression. However the inference is performed with MCMC methods (see [START_REF] Walter R Gilks | Markov chain Monte Carlo in practice[END_REF][START_REF] Gamerman | Markov chain Monte Carlo: stochastic simulation for Bayesian inference[END_REF] for instance), a procedure that is often costly. A possibility to overcome that drawback is the use of Gaussian process (GP). GPs are powerful in a Bayesian context because of their flexibility and their tractability (GPs are only characterized by their mean m and covariance k θ ). Using GPs, a possible approach is to use a joint modeling of the mean and variance, assuming that the distribution is Gaussian everywhere, and then to extract the quantiles of interest as it is done in [START_REF] Kersting | Most likely heteroscedastic gaussian process regression[END_REF][START_REF] Lázaro | Variational heteroscedastic gaussian process regression[END_REF]. Nevertheless this strategy may introduce a high bias when the true output distribution is not Gaussian.

In this section we present QK and VB, two approaches that use GP as a prior for q τ . Contrary to the joint modelling approach, here the GP prior for q τ does not imply any structure on the output distribution, which allows the creation of very flexible quantile models.

Kriging

Kriging is based on the hypothesis that

S(x) ∼ GP m(x), k θ (x, x ) . ( 21
)
Which means for every finite set

(x 1 , • • • , x T ), the output S(x 1 ), • • • , S(x T ) is multivariate Gaussian.
Here m is the mean of the process and k θ is a kernel function also known as the covariance function. Note that in the sequel we take m = 0 in order to simplify the computations and notations. The covariance function conveys many properties of the process, so its choice should depend on the assumptions made on S. A first classical assumption is that the GP is stationary, i.e the correlation between two inputs does not depends on the location but only on the distance between the points. Then, different class of stationary kernels produce GPs with different regularities. The class of Matérn kernels is very convenient because it depends on a regularity hyperparameter that enables the end user to adapt its prior to his regularity assumptions (see [START_REF] Edward | Gaussian processes for machine learning[END_REF] for more details). For example, the Matérn 5/2 kernel is defined as

k θ (x, x ) = ρ 2 1 + √ 5 x -x θ + 5 3 x -x 2 θ exp(- √ 5 x -x θ , (22)
where ρ > 0 and x -x

2 θ = (x -x ) T Λ θ (x -x ), with Λ θ a diagonal matrix with diagonal terms the inverses of the d squared length scales θ i , i = 1, • • • , d.
In addition to the assumption 21, let us assume y i is observed with noise such that

y i = S(x i ) + ε i (23)
with

ε i ∼ N (0, σ 2 i ). As a consequence the associated likelihood is Gaussian, i.e. p Y n |X n ) = N 0, K θ x,x + diag(σ 2 ) , (24)
with σ = (σ 1 , • • • , σ n ). Because Y n , S(x * )
T is a Gaussian vector of zero mean and covariance

K = K θ x,x + diag(σ 2 ) K θ x,x * K θ x * ,x K θ x * ,x * , ( 25
)
the distribution of S(x * ) knowing Y n is still Gaussian (see [START_REF] Edward | Gaussian processes for machine learning[END_REF] appendix A.2 for more details). Thus, it is possible to provide the distribution a posteriori for Kriging regression as

S(x * ) ∼ N S(x * ), V S (x * ) (26)
with

S(x * ) = K θ x * ,x (K θ x,x + diag(σ 2 )) -1 Y n , V S (x * ) = k θ (x * , x * ) -K θ x * ,x (K θ x,x + diag(σ 2 )) -1 K θ x,x * .
As in Section 4.2, the covariance functions are usually chosen among a set of predefined ones (for example the Matérn 5/2 see Eq. [START_REF] Chang | On eigenvalues of differentiable positive definite kernels[END_REF], that depend on a set of hyperparameters θ ∈ R d+1 . The best hyperparameter θ * can be selected as the maximizer of the marginal likelihood. More precisely it follows (see [START_REF] Edward | Gaussian processes for machine learning[END_REF] for instance) that

p(Y n |X n , θ, σ) = - 1 2 Y T n (K θ x,x + B) -1 Y n (27) - 1 2 log |(K θ x,x + B)| - n 2 log(2π),
where |K| is the determinant of the matrix K. Maximizing this likelihood with respect to θ is usually done using derivative-based algorithms, although the problem is non-convex and known to have several local maxima.

Different estimators of S may be extracted based on [START_REF] Arthur P Dempster | Maximum likelihood from incomplete data via the em algorithm[END_REF]. Here Ŝ is fixed as Sθ * . Note that this classical choice is made because the maximum a posteriori of a Gaussian distribution coincides with its mean.

Quantile kriging

Algorithm 5 Quantile kriging 1: Training 2: Inputs:

D n ,r ,τ , k θ 3: Initialize: Compute the n × n matrix K θ x,x
Define the local estimators of the τ -quantile 4: for i = 1 to n' do

5: qτ (x i ) ← y i,([rτ ]) 6:
Estimate σ i by bootstrap 7: end for

8: Define B = Diag(σ 2 1 , . . . , σ 2 n ) and compute (K θ x,x + B) -1 9:
Define the kernel hyperparameters θ * as arg max θ of

- 1 2 Q T n (K θ x,x + B) -1 Q n - 1 2 log |K θ x,x + B| - n 2 log(2π) 10:
Inputs:

X test , Q n , θ * , B 11:
for each point in x * ∈ X test do

12: compute K θ * x * ,x 13: qθ * τ (x * ) = K θ * x * ,x (K θ * x,x + B) -1 qτ 14:
end for

As q τ is a latent quantity, the solution proposed in [START_REF] Plumlee | Building accurate emulators for stochastic simulations via quantile kriging[END_REF] is to consider the sample D n ,r corresponding to a design of experiments with n different points that are repeated r times in order to obtain quantile observations. For each

x i ∈ X , 1 ≤ i ≤ n , let us define: y i,r = (y i,1 , .., y i,r ) and D n ,τ,r = x 1 , qτ (x 1 ) , ..., x n , qτ (x n ) , with qτ (x i ) = y i,([rτ ]) .
Following [START_REF] Plumlee | Building accurate emulators for stochastic simulations via quantile kriging[END_REF], let us assume that qτ (

x i ) = q τ (x i ) + ε i , with ε i ∼ N (0, σ 2 i ). (28)
Note that from a statistical point of view Assumption ( 28) is wrong because the distribution is asymetric around the quantile but asymptotically consistent as illustrated by the central limit theorem for sample quantiles. The resulting estimator is

qτ (x * ) = K θ x * ,x (K θ x,x + B) -1 Q n , (29)
with

Q n = qτ (x 1 ), • • • , qτ (x n ) and B = diag(σ 2 1 , . . . , σ 2 n ).
There are several possibilities to evaluate the noise variances σ 2

i . Here we choose to use a bootstrap technique (that is, generate bootstrapped samples of y i,r , compute the corresponding qτ (x i ) values and take the variance over those values as the noise variance) but it is possible to use the central limit theorem as it is presented in [START_REF] Franc | Parametric estimation of covariance function in Gaussian-process based Kriging models[END_REF]. The hyperparameters are selected based on [START_REF] Díaz-Uriarte | Gene selection and classification of microarray data using random forest[END_REF] changing Y n by Q n . Algorithm 5 details the implementation of the QK method.

Computational complexity

Optimizing [START_REF] Díaz-Uriarte | Gene selection and classification of microarray data using random forest[END_REF] with a Newton type algorithm implies to inverse a (d + 1) × (d + 1) matrix. In addition, for each θ, obtaining the partial derivatives of ( 27) requires the computation of (K θ x,x + B) -1 [START_REF] Edward | Gaussian processes for machine learning[END_REF]. Thus, at each step of the algorithm the complexity is O(n 3 + d 3 ). Assuming the starting point θ start is close to an optimal θ * , based on the same analysis as in section 4.1.3, the complexity to find θ * is O L(d 3 + n 3 ) , with L the Hessian Lipschitz constant.

Finally, obtaining qθ * τ from (29) implies inversing the matrix K θ x,x + B that is in O(n 3 ). So the whole complexity is O L(d 3 + n 3 ) + n 3 .

Bayesian variational regression

Quantile kriging requires repeated observations to obtain direct observations of the quantile and make the hypothesis of Gaussian errors acceptable. Variational approaches allow us to remove this critical constraint, while setting a more realistic statistical hypothesis on ε. Starting from the decomposition of Eq.23, ε(x) is now assumed to follow a Laplace asymmetric distribution [START_REF] Yu | A three-parameter asymmetric laplace distribution and its extension[END_REF][START_REF] Lum | Spatial quantile multiple regression using the asymmetric laplace process[END_REF], implying:

p y|q, τ, σ, x = τ (1 -τ ) σ exp - l τ (y -q(x)) σ , (30)
with the priors on q and σ that has to be fixed. Note that such assumption may be justified by the fact that at σ fixed, minimizing the empirical risk associated to the pinball loss is equivalent to maximizing the asymmetric Laplace likelihood, which is given by

p Y n |q τ , X n , θ = n i=1 τ (1 -τ ) σ exp - l τ (y i -q τ (x i )) σ . (31)
According to the Bayes formula, the posterior on q τ can be written as

p q τ |D n = p Y n |X n , q τ p(q τ ) p Y n |X n .
As the normalizing constant is independent of q τ , considering only the likelihood and the prior is enough. We obtain

p(q τ |D n ) ∝ p Y n |X n , q τ p(q τ ). (32)
Because of the Laplace asymetric likelihood, contrary to the classical kriging model, here the posterior distribution [START_REF] Fang | Design and modeling for computer experiments[END_REF] is not Gaussian anymore. Thus, it is not possible to provide an analytical expression for the regression model. To overcome this problem, [START_REF] Boukouvalas | Gaussian process quantile regression using expectation propagation[END_REF] used a variational approach with an expectation-propagation (EP) algorithm [START_REF] Thomas P Minka | Expectation propagation for approximate bayesian inference[END_REF], while [START_REF] Abeywardana | Variational inference for nonparametric bayesian quantile regression[END_REF] used a variational expectation maximization (EM) algorithm which was found to perform slightly better.

Variational EM algorithm

The EM algorithm was introduced in [START_REF] Arthur P Dempster | Maximum likelihood from incomplete data via the em algorithm[END_REF] to compute maximum-likelihood estimates. Since then, it has been widely used in a large variety of fields (see [START_REF] Mclachlan | The EM algorithm and extensions[END_REF] for more details). Classically, the purpose of the EM algorithm is to find ζ a vector of parameters that define the model and that maximizes p(Y n |ζ) thanks to the introduction of the hidden variables z = (z 1 , • • • , z M ). However dealing with this classical formalism implies that p(z|Y n , ζ) is known or some sufficient statistics can be computed (see [START_REF] Dimitris G Tzikas | The variational approximation for bayesian inference[END_REF][START_REF] Robert | Monte Carlo statistical methods[END_REF] for more details), which is not always possible. Using the variational EM framework is a possibility to bypass this requirement [START_REF] Dimitris G Tzikas | The variational approximation for bayesian inference[END_REF], by approximating p(z|Y n , ζ) by a probability distribution p that factorizes under the form

p(z) = M j=1 pj (z j ).
Starting from the log-likelihood log p(Y n |ζ), thanks to Jensen's inequality, it is possible to show that:

log p(Y n |ζ) ≥ L(p, ζ) + kl(p||p),
where

L(p, ζ) = p(z) log p Y n , z|ζ p(z) dz,
and kl is the Kullback-Leibler divergence:

kl(p||p) = -p(z) log( p z|Y n , ζ p(z) )dz.
As presented on Figure 5.2.1, the EM algorithm can be viewed as a two-step optimization technique. The lower bound L is first maximized with respect to p (E-step) so that to minimize kl(p||p). Next the likelihood is directly maximized with respect to the parameter ζ (M-step).

Classically and in the following, the E-step optimization problem is analytically solved (see [START_REF] Dimitris G Tzikas | The variational approximation for bayesian inference[END_REF] for details about the computation). In this particular case, the quantities pj are limited to conditionally conjugate exponential families. But note that different strategies have been developed to relax this assumption (generally it comes with an higher computational complexity) so that creating more flexible models (see the review [START_REF] Zhang | Advances in variational inference[END_REF] for instance).

Variational EM applied to quantile regression

Following [START_REF] Abeywardana | Variational inference for nonparametric bayesian quantile regression[END_REF], let us suppose that q τ (x) ∼ GP m(x), k θ (x, x ) σ ∼ IG(10 -6 , 10 -6 ),

with IG defining the inverse gamma distribution and for sake of simplicity, m = 0. Note that contrary to the formalism introduce with QK, here σ is taken as a random variable. To allow analytical computation, let us introduce an alternative definition of the Laplace distribution [START_REF] Lum | Spatial quantile multiple regression using the asymmetric laplace process[END_REF][START_REF] Kotz | The Laplace distribution and generalizations: a revisit with applications to communications[END_REF]:

p(y i |q τ , x i , σ, τ ) = N (y i |µ i , σ yi ) exp(-w i )dw, (33)
where

µ yi = q τ (x i ) + 1-2τ τ (1-τ ) σw i , σ yi = 2
τ (1-τ ) σ 2 w i and w i is distributed according to an exponential distribution of parameter 1.

The distribution of q τ at a new point x * is given by averaging the output of all Gaussian models with respect to the posterior p(q τ , σ, w|x, Y ):

p q τ (x * )|, D n = p q τ (x * )|q τ , σ, w, D n p q τ , σ, w|D n dq dσ dw. ( 34
)
Here the crux is to compute the posterior p q τ , σ, w|D n ∝ p Y n |q τ , σ, w, X n p q τ , σ, w .

To do so, in [START_REF] Abeywardana | Variational inference for nonparametric bayesian quantile regression[END_REF] the authors use z = (q τ (X n ), w, σ) as hidden variables and ζ = θ ∈ R d+1 as parameters and the variational factorization approximation

p(q τ , σ, w|D n ) ≈ p(q τ , w, σ|D n ) = p(q τ |D n ) p(w|D n ) p(σ|D n ). (35)
The EM algorithm provides a nice formalism here. Although the goal is to find θ such that p Y n |X n , θ is maximal, the algorithm estimates the underlying GP (i.e. p q τ , σ, w|D n ) that is able to have a likelihood as large as possible.

Then the estimated value p(q τ , σ, w|D n ) is plugged into [START_REF] Garcia | Fast k nearest neighbor search using gpu[END_REF] to provide the final quantity of interest.

E-step.

Because the posteriors are conjugated, it is possible to obtain an analytical expression of the optimal distribution p(q τ ):

p(q τ |D n ) ∼ N (µ θ , Σ θ ) ,
where

µ θ = Σ θ DY n - 1 -2τ 2 E 1 σ 1 and Σ θ = D + K θ -1 x,x -1 , with D = τ (1 -τ ) 2 E 1 σ 2 diag E 1 w i i=1,..,n .
The posterior on w i is a Generalized Inverse Gaussian GIG(1/2, α i , β i ) with :

α i = (1 -2τ ) 2 2τ (1 -τ ) + 2
and

β i = τ (1 -τ ) 2 E 1 σ 2 y 2 i -2y i E q τ (x i ) + E q τ (x i ) 2 .
Due to numerical problems, in [START_REF] Abeywardana | Variational inference for nonparametric bayesian quantile regression[END_REF] the authors use the restriction p(σ) = IG(a, b). Finding the best a, b is done numerically. Then finding the best a, b is equivalent to maximizing:

J(a, b) = (a -N -10 -6 ) log(b -ψ(a)) + (b -γ) a b -δ a(a + 1) b 2 -a log(b) + log Γ(a), with γ = - 1 -2τ 2 n i=1 y i -E q τ (x i ) and δ = α(1 -τ ) 4 n i=1 E 1 w i y 2 i -2y i E q τ (x i ) + E q τ (x i ) 2 .
M-step. Ignoring terms that do not depend on θ, we obtain the lower bound:

L(θ) = p(q τ |θ) p(w) p(σ) log p(y|q τ , w, σ)p(q τ |θ)dσdwdq τ - p(q τ |θ) log p(q τ |θ)dq τ = 1 2 µ T θ Σ -1 θ µ θ -log |D -1 + K θ x,x | . ( 36
)
The optimization of L with respect to θ is done using a numerical optimizer.

Recalling the goal is to compute [START_REF] Garcia | Fast k nearest neighbor search using gpu[END_REF], thanks to [START_REF] Gijo | Product design by application of taguchi's robust engineering using computer simulation[END_REF], we make the approximation:

p(q τ |x * , D n ) ≈ p q τ (x * )|q τ , σ, D n p(q τ ) p(σ) p(w) dq τ dwdσ.
Then we obtain

p(q τ |x * , D n ) ≈ N qτ (x * ), V q (x * ) ,
where

qτ (x * ) = K θ x * ,x K θ -1 x,x µ θ and V q (x * ) = k θ (x * , x * ) -K θ x * ,x K θ -1 x,x K θ T x * ,x + K θ x * ,x K θ -1 x,x Σ θ K θ -1 x,x K θ T x * ,x .
Finally, as explained in section 5.1.1, the quantile estimator qτ is selected as qτ . Algorithm 6 details the implementation of the VB method. Compute the n × n matrix K θ x,x and K θ -1

x,x θ = θ 0 4: for t = 1 to n it do 5:

E-step 6: Compute Σ θ , µ θ , α i , β i , w i , (a, b) 7: M-step 8: θ = arg max 1 2 µ T θ Σ -1 θ µ θ -log |D -1 + K θ x,
qτ (x * ) = K θ * x * ,x K θ * -1
x,x µ θ * 14: end for

Computational complexity

E-step.

The complexity of this step is in O(n 3 ). In fact the algorithm computes Σ θ that implies inversing a matrix of size n × n.

M-step.

Optimizing L with a Newton type algorithm costs O(n 3 + d 3 ) at each iteration (for details refer to the optimization description of ( 27)). Assuming the starting point θ start is close to an optimal θ * , based on the same analysis as in section 4.1.3, the whole complexity is in O L(d 3 + n 3 ) .

Overall complexity. At each iteration of the EM algorithm, the computation cost is O(L(d 3 + n 3 ) + n 3 ). The final complexity is obtained by multiplying by the number of iterations n it of the EM algorithm. Thus, the overall complexity is in O n it (L(d 3 + n 3 ) + n 3 ) .

Metamodel summary and implementation

In this section we detail our implementation procedure. After providing a summary of the six metamodels in Table 1, we present the packages we used and the hyperparameters we chose (which hyperparameters we set and which hyperparameters we optimized). We then describe the procedure we used to optimize the hyperparameters (optimization strategies and evaluation metrics).

Summary of the models

Table 1 lists the analytical expressions of the six metamodels, along with the associated underlying quantity.

Packages and hyperparameter choices

Each method depends on many parameters that can be tuned to improve performance, for example the choice of the kernel function and the value of its parameters for RK, QK and VB or the penalization factor for RK and NN. Here, to limit the computational burden, we chose to optimize only the most critical ones. When possible, for the other parameters, we applied the arbitrary choices and values made by the authors of the original papers. Most changes were made to improve robustness. Below, we describe our experimental settings, also summarized in Table 2.

Method

RF inf{y i : F (y i |X = x * ) ≥ τ } F (y i |X = x * ) = n i=1 ωi (x * )1 {yi≤y} O(N dn log 2 n) For a 3 layer NN With w (h1) i , w (h2) j , b (h1) i , b (h2) j , w (h3) , b (h3) , g 3 ( J2 j=1 g 2 ( J1 i=1 g 1 ( w (h1) i , x * 1 ≤ i ≤ J 1 , 1 ≤ j ≤ J 2 , minimizing O M s L η * n(Jd) 3 NN +b (h1) i )w (h2) j + b (h2) j )w (h3) + b (h3) ) 1 n n t=1 l τ (y i -qτ (x i )) + j,i λ J j w (hj ) i 2 With α = (α 1 , . . . , α n ) minimizing 1 2 α T K θ x,x α -α T y RK n i=1 α i k θ (x * , x i ) + b s.t τ -1 λn ≤ α i ≤ τ λn , ∀ 1 ≤ i ≤ n O n 7/2 log( n )
and n i=1 α i = 0 and b the τ -quantile of

(y i - n j=1 α j k θ (x i , x j )) 1≤i≤n Maximizing the likelihood: QK K θ x * ,x (K θ x,x + B) -1 qτ p(Q n |X n ) O L(d 3 + n 3 ) + n 3 qτ (x i ) = q τ (x i ) + ε i ε i ∼ N (0, B ii )
Approached solution that maximize:

VB K θ x * ,x K θ -1 x,x µ θ p(Y n |X n ) O n it L(d 3 + n 3 ) + n 3 y i = q τ (x i ) + ε ε ∼ ALP(0, σ)
Table 1: Summary of the metamodels, included the definition of the estimators, the associated numerical quantity and the related computation complexity. In this table L and L η * are Hessian Lipschitz constants, M s the number of multistarts (on the weights at hyperparameters fixed), d the input dimension, N new the size of the prediction set, n it the number of iterations for the EM algorithm, k θ (., .) the kernel function, B a diagonal matrix, J the total number of neurons, d the number of covariables considered to find the best splitting point.

Nearest Neighbors.

We set d() as the Euclidean distance and optimized only the size K of the neighborhood.

Random forest.

In this case, the only hyperparameter we optimized was the maximum size of the leaves m s ∈ N * . Regarding the number of trees, we noticed that the metamodel needs many more trees than are needed for the estimation of the expectation. In some problems, the metamodel needs up to 5,000 trees to stabilize the variance. Thus, in our experiments we set the number of trees at 10,000 in all cases. We set the number of dimensions considered for the split at the default choice d/3. The depth of the tree is not constrained and the splitting rule is based on Eq. 7. We used the R package QuantregForest [START_REF] Meinshausen | The quantregforest package[END_REF].

Neural network.

Based on [START_REF] Cannon | Quantile regression neural networks: Implementation in r and application to precipitation downscaling[END_REF], we set the number of hidden layers at one and the transfer function as the sigmoid. The optimization algorithm is a Newton method, we set E K at 1/2 K with K = 1, 2, 5, 10, 15, 20, 25, 30, 35 and the number of multistarts to optimize the empirical risk at five. We optimized the number of neurons J 1 in the hidden unit and the regularization parameter λ ∈ R + . The metamodel is generated using the R package qrnn [START_REF] Cannon | Quantile regression neural networks: Implementation in r and application to precipitation downscaling[END_REF].

Regression in RKHS. The kernel was set as a Matérn 5/2. We optimized the length scale parameters θ ∈ R d Table 2: Hyperparameters optimized on our benchmark.

[89].

Quantile Kriging.

The kernel was set as a Matérn 5/2. The number of repetitions was set according to the total number of observations (see Table 4). We optimized the length scale hyperparameter θ ∈ R d + and variance hyperparameter ρ ∈ R + . QK is implemented in the R package DiceKriging [START_REF] Roustant | Dicekriging, diceoptim: Two r packages for the analysis of computer experiments by kriging-based metamodeling and optimization[END_REF].

Variational regression.

The kernel was set as a Matérn 5/2, the number of EM iterations n it at 50. We optimized the length scale hyperparameter θ ∈ R d + and variance hyperparameter ρ ∈ R + . The implementation is based on the Matlab code provided in [START_REF] Abeywardana | Variational inference for nonparametric bayesian quantile regression[END_REF].

Tuning the hyperparameters

In the previous section, we defined the hyperparameters we wanted to optimize for each method. In fact, once the type of metamodel is chosen, the quantile estimator is given by a function qΘ : X → R where Θ ∈ R v are called hyperparameters and v is metamodel dependent. Hyperparameter optimization (also known as model selection) is an essential procedure when dealing with non-parametric estimators. Although qΘ may be very efficient on D n , the prediction may perform very poorly on an independent dataset D p . The goal is to find the Θ that provides the best possible generalized estimator. In the following, we present the validation metric used to optimize the hyperparameter values and detail the hyperparameters optimization procedure associated with each method.

Metrics

In the standard conditional expectation estimation, the validation and performance metrics are both based on mΘ -m L 2 , where mΘ is the estimator and m the targeted value. With the quantile estimation procedure the two metrics are no longer the same. The goal is to find qΘ such that qΘ -q L 2 is as small as possible. However, q is unobserved so the validation metric cannot be based on the L 2 norm. Here we present two metrics able to measure the generalization capacity of a quantile metamodel.

Bayesian metamodels (QK and VB) have their own validation metric, this is the likelihood function that can be maximized with respect to Θ. For quantile kriging, we use [START_REF] Díaz-Uriarte | Gene selection and classification of microarray data using random forest[END_REF] while in the variational approach we use [START_REF] Walter R Gilks | Markov chain Monte Carlo in practice[END_REF]. The optimal hyperparameters are then:

Θ * mv = arg max Θ p Y n |X n , Θ . (37)
The second metric available for all metamodels is k-fold cross-validation associated with the pinball loss. The metric can be computed as follows. First, the data are split into k parts, then the model is trained on D -j , the training set without the j-th part. The performance is evaluated on the remaining part D j . As the quantile minimizes the pinball loss (on D j ), the evaluation metric is

E cv (q Θ τ ) = 1 k k j=1 1 n j n j i=1 l τ (y i -qΘ τ (x i ) , (38)
where n j is the number of observations in each fold. The optimal cross-validation hyperparameters are then:

Θ * cv ∈ arg min Θ E cv (q Θ τ ).
In our experiments, we chose k = 5 to limit the computational cost. However, we observed empirically that choosing a larger k did not substantially modify the performances of the metamodels. Although cross-validation is available for QK, we chose to stay in the spirit of the methods and to only use likelihood to select hyperparameters. Our choice is supported by [START_REF] Franc | Parametric estimation of covariance function in Gaussian-process based Kriging models[END_REF] that does not show a clear improvement using cross validation instead of maximum likelihood techniques.

Hyperparameters optimization procedure

Both likelihood functions come with analytical derivatives, enabling the use of gradient-based algorithms. However, since both functions are multi-modal, multi-start techniques are necessary (and generally very efficient, see [START_REF] Hansen | Benchmarking the nelder-mead downhill simplex algorithm with many local restarts[END_REF]) to avoid being trapped in local optima. To account for the increasing difficulty of the optimization task with the dimension while limiting the computational cost, we ran n start = 20d optimization procedures from different starting points θ start and chose the set of starting points based on a maximin Latin hypercube design.

For QK, the BFGS algorithm is used to optimize [START_REF] Díaz-Uriarte | Gene selection and classification of microarray data using random forest[END_REF]. For VB, two derivative-based optimizers are used alternately for the E-and M-steps. Since each step may lead the algorithm toward a local minimum, we chose to apply the multi-start strategy in the entire EM procedure.

Optimization of the cross-validation metric ( 38) is done under the black box framework, since no structural, derivative or even regularity information is available. Hence, all optimizations are carried out using the branch-and-bound algorithm named Simultaneous Optimistic Optimization (SOO) [START_REF] Munos | Optimistic optimization of a deterministic function without the knowledge of its smoothness[END_REF]. SOO is a global optimizer, hence robust to local minima.

We used [START_REF] Tange | Gnu parallel[END_REF] to parallelize the computations.

Oracle metamodels

Each method presented in this paper is a trade-off between power and the difficulty of finding good hyperparameters.

A good method should be powerful (i.e. provide flexible fits) but easy to tune. In order to assess the strengths and weaknesses of the hyperparameter tuning methods in addition to standard metamodels, we provide what we call the oracle metamodels for each problem. Instead of using the cross-validation or likelihood metric, the oracle tunings are directly based on the evaluation metric

E L 2 (q) = ntest i=1 qΘ (x i ) -q(x i ) 2 , ( 39
)
where n test is the size of the test set. In a sense, they provide a upper bound on the performance of each method. This allows us to show which metamodels have the potential to tackle the problems and which are intrinsically too rigid or make poor use of information. In addition, this allows us to directly assess the quality of the validation procedure.

Benchmark design and experimental setting

Many factors can affect the efficiency of methods to estimate the right quantile. For our benchmark system, we considered five models or test cases to evaluate the performance of the six metamodels. We decided to focus primarily on the dimensionality of the problem, the number of training points available, the signal-to-noise ratio defined as

SNR = V X E(Y |X) E X V(Y |X) ,
and the pdf value at the targeted quantile for test cases in which the distribution shape and the distribution spread (i.e. level of heteroscedasticity) can vary significantly. Our two objectives were to:

1. discover if there is a single best method for all factors variations considered or specific choices depending on the configuration at hand, and 2. assess the performance of the quantile regression, and in particular, the configurations for which the current state-of-the-art is insufficient.

A full 3D factorial experimental design was used to analyze the efficiency of the metamodels, the 3 factors being the test case (4 test cases), the number of training points (4 levels) and the quantile order (0.1, 0.5 and 0.9). We used part of this complete design to focus our analyses on the characteristics of the test cases (dimension, pdf shape and heteroscedasticity).

Test cases and numerical experiments

Test case 1 is a 1d toy problem on [-1, 1] defined as

Y x = 5 sin(8x) + (0.2 + 3x 3 )ξ,
with ξ = η1 η≤0 + 7η1 η>0 where η ∼ N (0, 1).

The signal-to-noise ratio is SNR ≈ 0.5, it is consider as small. The pdf value f (x, q τ ) varies substantially according to x for all q τ . Indeed, on the interval [-0.5, -0.3], for all values of q τ , the pdf is very large (almost equal to +∞) because the variance of the distribution on this interval is very small. In contrast, for τ = 0.9 (resp. τ = 0.1) the pdf is very small in the interval [0.6, 1] (resp. [-1, -0.6]). In [0.6, 1] the pdf of the 0.9-quantile is equal to the pdf of the 0.9-quantile of a normal distribution of variance 49(0.2 + 3x 3 ) 2 that is, for example, approximately equal to 0.01 for x = 0.9. Because of this important variations, we consider the values of the pdf for all quantiles of interest as variable.

Test case 2 is a 2d toy problem on [-5, 5] × [-3, 3] based on the Griewank function [START_REF] Dixon | The global optimization problem. an introduction[END_REF], defined as

Y x = G(x)ξ, with G(x) = 2 i=1 x 2 i 4000 - 2 i=1 cos x i √ i + 1
and ξ = η1 η≤0 + 5η1 η>0 where η ∼ N (0, 1).

The signal-to-noise ratio is SNR = 0, it is consider as small. The pdf value f (x, q τ ) varies substantially according to q τ . Indeed, for τ = 0.1 (resp. τ = 0.9) the pdf is small (resp. very small), more precisely the pdf of the 0.1-quantile (resp. 0.9-quantile) is equivalent to the pdf of the 0.1-quantile (resp. 0.9-quantile) of a normal distribution of variance G 2 (resp. 25G 2 ) with G that takes values in [0, 2]. That implies f (x, q τ ) varies with respect to x as well. Note that close to x = (0, 0) the pdf is very large because of the very small variance of the associated distribution. The pdf at the 0.5-quantile is discontinuous. To the left of the 0.5-quantile the pdf is equal to the pdf at the median of a normal distribution of variance G 2 while to the right it is equal to the pdf at the median of a normal distribution of variance 25G 2 . To treat this discontinuity, the value of the pdf is considered as the maximum of both sides. Thus, for this particular case the pdf is considered as large.

Test case 3 is a 1d toy problem based on the Michalewicz function [START_REF] Dixon | The global optimization problem. an introduction[END_REF] on [0, 4], defined as

Y x = -2 sin(x) sin 30 x 2 π - 0.1 cos(πx/10) 3 -sin(x) sin 30 x 2 π + 2 ξ 2 ,
with ξ = 3η1 η≤0 + 6η1 η>0 where η ∼ N (0, 1).

The signal-to-noise ratio is SNR ≈ 0.04, we consider it as small. The pdf value f (x, q τ ) varies substantially according to q τ and x. The conditional distribution of this problem is not a classical one but it is close to the distribution of -X 2 with one degree of freedom. It implies at x fixed, the pdf value increases with τ . For the 0.1-quantile (resp. 0.9-quantile) the mean of the pdf in the interval [0, 2.5] is approximately 0.05 (resp. 9.1). According to x the pdf varies as well. For x ∈ [3.5, 4] the variance of the conditional distribution is very small thus the pdf near the quantiles of interest is very large. The value of the pdf at the 0.5-quantile is between the value of the pdf at the 0.1 and 0.9 quantile. Thus, we consider the pdf at q 0.1 as globally small and at q 0.5 and at q 0.9 as globally large.

Test case 4 is a 9d toy problem based on the Ackley function [START_REF] Ackley | A connectionist machine for genetic hillclimbing[END_REF] on

[-1, -0.7] × [0, 1] × [-0.7, -0.3] × [0.5, 1] × [-1, -0.5] × [-3, -2.6] × [-0.1, 0] × [0, 0.1] × [0, 0.8],
defined as a function

Y x = 30 × A(x) + R(x) × ξ with A(x) = a exp -b 1 9 9 i=1 x 2 i -exp 1 9 9 i=1 cos(cx i ) + a + exp(1), (40)
and

R(x) = 3A(x 2 , x 3 , • • • , x 9 , x 1 ), (41)
with a = 10, b = 2 × 10 -4 , c = 0.9π and ξ follows a log-normal distribution of parameters (0, 1).

The signal-to-noise ratio is SNR ≈ 2.3, it is consider as large. The pdf value f (x, q τ ) varies substantially according to q τ and x. Indeed, for τ = 0.1 (resp. τ = 0.9) the pdf is large (resp. very small). At the conditional distribution of this test case is a log-normal distribution of parameters log R(x), 1 . The expectations of the pdf value at different values of τ are E(f (., q 0.1 )) = 0.1, E(f (., q 0.5 )) = 0.04 and E(f (., q 0.9 )) = 0.005. Thus, the pdf at q 0.1 is consider as large, the pdf at q 0.5 and q 0.9 are consider as small and very small.

To provide a better intuition about this problem, we plotted what we call the marginals. For all dimensions except the j-th, the values of the input are fixed to x -j ∈ R 8 and the j-th dimension varies. Figure 7 represents the evolution of the quantiles w.r.t. the j-th dimension for two different x -j and for j = 1, • • • , 9. In particular it shows that the difference between the 0.1 and 0.9-quantile depends significantly on x.

Note that on those four toy problems, the random term ξ is defined such that the resulting distribution of Y would be strongly asymmetric. As ξ is also multiplied by a factor that depends on x, the distribution of Y is also heteroscedastic. The first three toy problems are represented in Figure 5 and some illustrations of the fourth test case are available Figure 7.

x y 0.1-quantile 0.3-quantile 0.5-quantile 0.7-quantile 0.9-quantile Figure 5: Illustration of the test cases (left: test case 1, center: test case 2, right: test case 3). For test case 1 and 3 the 0.1, 0.3, 0.5, 0.7, 0.9 -quantiles are represented. For test case 2, only the 0.1, 0.5, 0.9-quantiles are represented.

Test case 5 is based on the agronomical model SUNFLO, a process-based model which was developed to simulate sunflower grain yield (in tons per hectare) as a function of climatic time series, environment (soil and climate), management practices and genetic diversity. The full description of the model is available in [START_REF] Casadebaig | Sunflo, a model to simulate genotype-specific performance of the sunflower crop in contrasting environments[END_REF]. In the regression model we consider X corresponding to nine macroscopic traits that characterize the sunflower variety. Although SUNFLO is a deterministic model, for each simulation the climatic time series are randomly chosen within a database containing 190 years of weather records, which makes the output stochastic (see also [START_REF] Picheny | Optimization of black-box models with uncertain climatic inputs-application to sunflower ideotype design[END_REF] for more details).

The signal-to-noise ratio is SNR ≈ 0.1. The pdf value f (x, q τ ) varies substantially according to q τ , more precisely E(f (., q 0.1 )) = 0.17, E(f (., q 0.5 )) = 0.15 and E(f (., q 0.9 )) = 0.05. Thus, the pdf at q 0.1 and at q 0.5 are consider as large, and the pdf at q 0.9 is consider as small.

In addition, the shape of the distribution varies significantly with respect to the input as illustrated Figure 6.

Numerical experiments. On all problems, we consider four sample sizes. Those sizes depend on the dimension and are empirically chosen so that the smallest size corresponds to the minimal information required by the metamodels to work and the largest size is chosen keeping in mind the potentially high cost of simulators. Besides, our focus is on computer experiments, where data sizes rarely exceed thousands of points. For the 1d problems, the points are generated on a uniform grid. For the 2d and 9d problems, the observations are taken on a Latin hypercube design optimized for a maximin criterion to ensure space-filling [START_REF] Fang | Design and modeling for computer experiments[END_REF]. The same samples are used by all methods except QK, as it requires repetitions. For QK, the number of distinct points and number of repetitions depends on the budget. The different sample sizes are reported in Table 4. Finally, for each sample size and problem, 10 samples are drawn in order to assess robustness with respect to the data. The conditional quantiles of order 0.9 (resp. 0.1) are represented in red (resp. in blue). The black curves represent the difference between the 0.1-conditional quantiles and the 0.9-conditional quantiles so that to measure the level of heteroscedasticity. To the right the noise level is low i.e between 0 and 10 while to the left the noise level is higher i.e between 10 and 20.

Structuration between the questions and the numerical setting

Factors. Three factors are explicit in our benchmark system: the number of training points, the problem dimension and the quantile level. The other factors depend on the characteristics of the problem concerned: shape variation, pdf value at the quantile, level of heteroscedasticity, signal-to-noise ratio. For all four test cases, we consider three quantile levels: 0.1, 0.5 and 0.9. Note that due to the asymmetry of the problems, learning for the 0.1 and 0.9 quantiles is not equivalent in terms of difficulty. Indeed, when the response is heteroscedastic (a variance/spread depending on x) and/or when the shape of P x varies in x, the pdf f (x, q τ ) may vary in x as well. Intuitively, quantiles with large pdf values are easier to learn, as the data points may be closer to them. Figure 8 illustrates this effect. Table 3 summarizes the characteristics of our design concerning the number of training points with respect to the dimension of the test case. To make our results easier to analyze, we divided the problems into groups that allow us to focus on subsets of factors.

Ψ(x, •) = ξ(•) -(x -5) 2 /2
, with ξ a random variable following a log-normal distribution of parameters µ = 0 and σ = 1. The 0.9-(resp. the 0.1-) quantile is represented in red (resp. in blue). One can notice that more information is available in areas with large pdf (i.e. for the 0.1-quantile) than areas with small pdf.

Focus 1: is there a universal winner? To provide a universal ranking of the methods, we use all test cases, training points and quantile levels. As highlighted in Table 3, we created a set of different problems representative of a large number of characteristics that could be met dealing with any quantile regression problem. Note that our benchmark system is slightly biased towards small-dimensional problems, since only three-fifths of the cases have a dimension higher than two.

Focus 2: what behavior with respect to the dimension, the number of training points, signal-to-noise ratio and pdf value? To analyze the effects of these factors on the performance of the methods, we combine toy problems 1, 2, 3, 4 and the SUNFLO model. Note that once the pdf value is taking as a explanation variable, toy problem 1 is excluded from the group because the pdf value near all the studied quantiles cannot be classified as large or small.

Performance evaluation and comparison metrics

Assessing the performance of quantile regression is not an easy task when only limited data are available. Here, since we are considering toy problems (exept for SUNFLO, in that case the true quantile values are taken as the quantiles of the 190 years of weather records), the true quantile values can be approximated with precision, so we can evaluate the L 2 error for each emulator. The value of the criterion is privided by [START_REF] Hearst | Support vector machines[END_REF].

We chose n test = 250 for the 1d problems and n test = 4000 for the others. Now, since the problems vary in difficulty and in their response range (Figure 5), E L 2 (q) cannot be aggregated directly over several problems or configurations.

To do so, we normalize this error by the error obtained by a constant model (the constant being taken as the quantile of the sample):

E cq (q) = E L2 (q) E L2 (CQ) × 100, (42)
where CQ stands for constant quantile.

As an alternative criterion, we consider the ranks of the metamodels based on their L 2 error. Although ranks do not provide information regarding the range of errors, they are insensitive to scaling issues, which makes aggregation January 19, 2020 between configurations more sensible. They allow us to assess whereas any method consistently outperforms others, regardless of overall performance.

Results

8.1 Focus 1: overall performance and ranks First, we consider the overall performance and ranks, integrated over all runs. We have considered 5 test cases, for each test case we have generated 4 sizes of training sets, for each test case and sample size 10 samples are drawn and for each of this occurrences we have estimated 3 different conditional quantiles. Thus, we have 5 × 4 × 10 × 3 = 600 experiments. They are shown as boxplots in Figure 9. Based on these ranks (Figure 9, left), VB appears to be the best solution since it is ranked either 1st or 2nd in 50% of the problems. RK is in second position, its median is the same as VB but it is generally ranked between 2nd an 3rd. In addition RK seems slightly less risky than VB in the sens that it is almost never rank 5th or 6th. KN is the worst since its median rank is equal to five. However, all boxplots range q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q 1 2 3 4 5 6 KN RF NN RK QK VB Rank q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q between 1 and 6, indicating that no method is outperformed by another on all problems. This finding is reinforced by the performance boxplots (Figure 9, right), where all median performances are similar (VB and RK being the best and QK the worst which means QK may be very bad sometimes), and the variance is very large. Indeed, the errors range from 2% for NN (of the error achieved by a constant metamodel) to 500% for QK, all methods experiencing cases with more than 100% error (i.e. situations where they are worse than the constant metamodel). In this section, we analyze the performance of the methods with respect to the pdf value and the number of points.

Sample size: Figure 10 shows the performances of the methods grouped according to the size of the sample. As expected, the performances increase with the size of the sample. For size 1 (n ≈ 50d), the distribution of E CQ of all the metamodels is almost centered around 100%, implying that these correspond to limit cases for quantile regression since the metamodels do not outperform the constant metamodel (although in some cases the error is as small as 40%).

For size 4 (n ≈ 300d), the median performance is roughly 50% (twice as accurate as the constant metamodel). BV, RK and especially NN experience situations with very accurate models. However, all the methods also experience bad performances (error greater than 100%) in the large sample regime. Unfortunately, from Figure 10 we can conclude that no method is sufficiently robust in all cases.

Signal-to-noise ratio. Figure 12 groups performance with respect to the signal-to-noise ratio. According to the figure the performance depends to a great extent on the signal-to-noise ratio. Dealing with a high signal and considering the performance, there is a clear difference between the statistical methods (KN, RF) and the four others (RK, NN, VB, QK) while this difference is not visible in the small signal setting. The impact of the signal-to-noise ratio is strong on the performance. Dealing with a high signal, the median of the performance for NN, RK, QK, VB is close to 20% with a small variance while if the signal is small, the error is larger (the median is above 50% for all methods) and the variance is larger.

In the following we focus our interest only on cases with small signal-to-noise ratio. Indeed as the performance of RK, NN, QK and VB are close to each others, we think we do not have enough experiments to extract patterns.

q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q Size 1 Size 2 Size 3 Size 4 Pdf value with small signal-to-noise ratio. Figure 12 groups performance with respect to sample size (either small, i.e. level 1 and 2 or large, i.e. level 3 and 4) and pdf value (according to Table 3). According to the Figure 11, the performance depends to a great extent on the pdf value in the neighborhood of the targeted quantile. With a small n, the pdf value has no significant impact on the median of the performance (except for VB) but it does have an impact on the lower bound of the error. More precisely, the median of the error does not depend on the pdf value in the case of a small pdf but sometimes the metamodel errors are sensibly smaller when the pdf is large. With large samples, both the median and the lower bound of the error depend on the pdf value. Metamodels may be very good when the pdf is large, for example 20 times better than the constant metamodel for NN whereas the error appears to have a lower bound when the pdf is small even with large n. In addition, for a problem with a small n and a large pdf, the performance is similar to the performance for problems with a large n and a small pdf (Figure 12, see the two columns in the center).

KN

q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q High signal-to-noise ratio Low signal-to-noise ratio

Rank in the context of a low signal-to-noise ratio

Pdf value. Figure 13 shows clearly that when the pdf is large, VB is the best model while when the pdf is small (and the problem is heteroscedastic), VB is less good than RN, RK and KN. This observation is supported by Figure 12 which reveals a strong contrast between the performance of the VB method. QK is poor in both cases, whereas RK performs comparatively better with small pdf.

q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q Large n, large pdf Large n, small pdf Small n, large pdf Small n, small pdf q q q q q q q q q q q q q q q q q q q q q q q pdf large pdf small Sample size. Figure 14 shows that the number of points has a major impact on the ranking of some methods. The ranking of QK and VB is relatively insensitive to the size of the sample. The other methods are less distinguishable when the sample size is small than when it is large. With a small sample KN, RF, NN and RK are comparable, whereas when the sample size increases, NN and RK clearly outperform KN and RF. For the largest size, NN is slightly better than VB.

KN

KN

q q q q q q q q q q q q q q q q q q q q q q q q q q q q q Size 1 Size With small dimensions, RF and KN are comparable, but with high dimensions, RF outperforms KN.

q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q q High dimension Small dimension High dimension, small pdf. Figure 16 shows an extreme case in which the pdf is small but the dimension is high. With a small n, the best method is clearly RF followed by RK and KN. VB and QK are not well ranked. With a larger n, as mentioned above, NN and VB are better but with large variance, while RF, RK and KN rank less well.

KN

q q q q q q q q q q q q q q q q q q q q Large sample Small sample In the following we define

KN

∆E(q Θ τ ) = E cq (q Θ τ ) -E cq (q Θ * τ ),
the performance gap between the regular metamodel and its oracle performance (the loss in performance between actual hyperparameter tuning and oracle tuning). Figure 17 gives the average values of ∆E aggregated respectively over all problems and only aggregated over the problems with a large pdf, and considering the effect of dimension and sample size. In high dimension, the easiest methods to tune are KN, NN, and RF. In our study, KN and RF have a single hyperparameter to tune regardless of the dimension, and NN has two. This is clearly an advantage in terms of robustness in high dimension. The other methods are kernel-based and require the tuning of at least d + 1 hyperparameters. This consistently affects RK and QK, but affects VB only in the case of small pdf, while it is the most stable method in the other cases.

With a small dimension, all the methods have roughly the same number of hyperparameters. The most noticeable change compared to the case of a high dimension is the good performance of RK, while NN becomes comparatively the most difficult method to train.

On the methods behavior

Statistical order methods. As presented on Figure 11 this methods are not relevant on high signal-to-noise regime. A possible explanation is the difficulty to fit smooth variations with high amplitudes with a piecewise constant model.

Concerning the low signal-to-noise regime, it is clear from Figure 15 that KN performs poorly in a high dimension. This may be due to the irrelevance of the Euclidean distance when there is a significant increase in dimension. RF clearly outperforms KN in this situation, as it is able to produce better neighborhoods than the Euclidean distance.

Overall, (compared with the other methods), RF performance increases with dimension. This may be due to the fact that it has fewer hyperparameters to tune.

Functional methods. As presented on Figure 11 this methods are relevant on high signal-to-noise regime.

Concerning the low signal-to-noise regime, Figure 14 shows that NN works poorly in a small sample setting, but it is one of the best methods when the sample is large. This result reflects the high flexibility of NN. Too much flexibility leads to overfitting when the sample is small. In contrast, when the number of points is large, NNs are able to fit the data very well (e.g. Figure 10, Size 4). According to Figures 10 and14, RK is a robust method. Its robustness in both small and large data settings can be attributed in part to the selected kernel. If the selected kernel is sufficiently smooth (here continuous and derivable), the resulting metamodel cannot produce instable results. However, it seems (Figure 10, Size 3 and 4) that this lack of flexibility may affect the performance with an increase in the size of the data set. In this case, more flexible methods like NN may outperform RK. The contrast between RK and NN shown in Figure 15 can be explained by the level of difficulty associated with each method involved in finding good hyperparameters (as explained above).

Bayesian models. As presented on Figure 11 this methods are relevant on high signal-to-noise regime.

Dealing with low signal-to-noise ratio the QK method under-performs comparing to others. One possible explanation is the erroneous assumption in Equation ( 28) that the noise is centered, which is more critical for extreme quantiles. Another possible explanation lies in the small number of replica. The local inference (that uses statistical orders) is biased and in a low signal-to-noise regime it has high variance. In addition, the increasingly bad performance of QK with an increase in dimension (Figure 10) is likely a consequence of the fact that empty areas become larger in high dimensions.

VB is one of the best methods presented in our paper. Figures 13 and17 show that VB is also the most dependent on the pdf value. When the pdf is large, it is the best method whereas when the pdf is small (and the shape of the distribution and/or the variance depend on the input), it may be the worst. The explanation lies in the philosophy of the model. In the case of RN and RK, the model complexity (i.e. smoothness) is almost entirely related to the regularity of parameter λ that is selected by cross-validation. Hence, the model cannot excessively overfit and cannot perform very poorly. With Bayesian methods, the regularization is included in the model hypothesis: in our setting, the quantile is assumed to be a Gaussian process with covariance function k θ (., .), so θ performs the regularization. We observed that if the local quantity of information (roughly the product of the number of points times the pdf value in the neighborhood of the quantile) is too small comparing to the information needed to fit well the quantile, the metamodel tends to interpolate the available data. When sufficient information is available, the optimization of the marginal likelihood provides θ values that allow a good trade-off between flexibility and smoothness. This is likely the reason why VB is easily beaten by RN and RK when the pdf is small. 9.3 Varying shape and heteroscedasticity.

If the shape of P x (Y ) or the variance of Y x (heteroscedasticity) vary w.r.t. x, then f (x, q τ ) may vary in x. Figure 18 illustrates the ability of RF, RK and VB to estimate quantiles of a distribution with a strongly varying shape. In this problem, as depicted in Figure 18 (top row), the quantiles are not perfectly estimated but the metamodels provide good indications about the shape of the true distribution. However, as can be seen in Figure 18 (bottom row), the methods can present strong instabilities. Here, for a sample virtually indistinguishable from the one leading to accurate estimates, the median estimates largely overestimate the true values for large x values. Such instabilities can be partly imputed to the difficulty of the task. However, this is also because no method is actually designed to deal with strongly varying pdf, as we explain below. An ideal method would be almost interpolant for a very large pdf but only loosely fit the data when the pdf is small. Indeed, if the pdf is very large then the output is almost deterministic, thus the metamodel should be as closer as possible to the data. In the small pdf case, a point does not provide a lot of information. Information should be extracted from a group of points, that means the metamodel must not interpolate the data. However, most of the methods presented here rely on a single hyperparameter to tune the trade-off between data fitting and generalization: the number of neighbors for KN, the maximum size of the leafs for RF and the penalization factor for NN and RK. As a result, the selected hyperparameters are the ones that are best on average. Theoretically, this is not the case for the Bayesian approaches: QK accounts for it via the error variance σ 2 i computed by bootstrap, and the weights w i (Eq. 33) allow VB to attribute different "confidence levels" to the observations. However in practice, both methods fail to tune the values accurately, as we illustrate below. Figure 19 shows the three quantiles of toy problem 3 and their corresponding RF, RK and VB estimates. For τ = 0.1 in particular, the pdf ranges from very small (x close to 0) to very large (x close to 4). Here, RF and RK use a trade-off that globally captures the trend of the quantile, but cannot capture the small hill in the case of large x. Inversely, VB perfectly fits this region but dramatic overfitting occurs on the rest of the domain.

Finally, Figure 20 illustrates that this is not an issue of hyperparameter tuning. For each method, we show the oracle estimate, a tuning that tends to underfit and another that tends to overfit. One can see that no tuning is entirely satisfactory, since capturing the region with high pdf leads to overfitting on the rest of the domain and vice-versa.

We believe that further research is necessary to obtain estimators that intrinsically account for strong heteroscedasticity and varying shape. One possible direction is the use of stacking, in the spirit of [START_REF] Sill | Feature-weighted linear stacking[END_REF]. Under the stacking framework the final estimator could be q(x) = N i=1 g i (x)q θi (x), where {q θi } 1≤i≤N is a set of metamodel and {g i (x)} 1≤i≤N is a set of weight functions. Choosing {q θi } 1≤i≤N such that they correspond to different pdf values might provide more flexible estimates.

On the non-crossing of the quantile functions

While the quantile functions (for different quantile levels) may obviously never cross, unfortunately, their estimators may not always satisfy this property. This is a well-known issue against which none of the methods presented here is immune.

The neighborhood approaches first estimate the CDF, then extract the quantiles. If the hyperparameters are the same for all quantiles, crossing is impossible. However in our setting, different neighborhood sizes were used for different quantiles.

With functional analysis approaches, crossing may happen even if each quantile is built with the same hyperparameters. In the literature, authors have produced methods to address this issue. It could be reduced by the introduction of Figure 22 summarizes our findings. In a nutshell, when the signal-to-noise ratio is high RK, VB, QK and NN shows good results in our experimental setting but as soon as the signal-to-noise ratio decreases, quantile regression requires larger budgets and comparing the methods seems to be more complicated. Indeed, while the rule-of-thumb for computer experiments is a budget (i.e. number of experiments) 10 times the dimension (see [START_REF] Loeppky | Choosing the sample size of a computer experiment: A practical guide[END_REF] for instance), as we work on problems with low signal-to-noise ratio, we found that no method was able to provide a relevant quantile estimate with a number of observations less than 50 times the dimension. For larger budgets, no method works uniformly better than any other. NN and VB are best when the budget is large. When the budget is smaller, RF, RK, KN are best when the pdf is small in the neighborhood of the quantile, in other words, when little information is available. However, VB outperforms all the other methods when more information is available, that is, when the pdf is large in the neighborhood of the quantile.

Possible ways of improvement

In our benchmark, we generally followed the approaches as presented by their authors. However, most of them could be improved. The optimization scheme of NN is the computational bottleneck of the method, which makes it the most expensive method in our benchmark system. One possible improvement would be using the BFGS algorithm (see [START_REF] Lewis | Nonsmooth optimization via bfgs[END_REF] for details about the BFGS algorithm applied to non-smooth functions) or the ADAM algorithm [START_REF] Diederik | Adam: A method for stochastic optimization[END_REF] to optimize directly the empirical risk associated to the pinball loss. A faster scheme would allow more restarts, and hence improve robustness.

Another improvement concerns the splitting criterion [START_REF] Pallab | Kernel and nearest-neighbor estimation of a conditional quantile[END_REF] of RF, which is not designed for the quantile but for the expectation. This could lead to poor estimates for problems where quantiles are weakly correlated with expectations. Defining an appropriate splitting criterion could significantly improve the performance of this method.

In our experiments, QK used a predefined number of sampling points that were heuristically defined as a trade-off between space-filling and pointwise quantile estimation accuracy. The performance of QK could be significantly improved by optimally tuning the ratio between the number of points and repetitions, in the spirit of [START_REF] Binois | Practical heteroskedastic gaussian process modeling for large simulation experiments[END_REF]. The KN method can naturally be extended to a variant that uses the whole sample instead of the K nearest points. The weights associated to each point of the sample could be based on Gaussian or triangular kernel for example. This idea has been developed in [START_REF] Yu | Kernel nearest-neighbor algorithm[END_REF] to estimate the conditional expectation but we think that it could be possible to adapt this approach to the estimation of the conditional quantile.

Finally, in practice, finding the best hyperparameters was the most difficult part of the proposed benchmark system. While this aspect is often toned down by authors, we believe hyperparameters tuning is a key practical aspect that remains a challenging problem in quantile regression.

Figure 1 :

 1 Figure 1: Pinball loss function with τ = 0.1 and τ = 0.9.

Figure 2 :

 2 Figure 2: Left: a partitioning tree T . The nodes n i (1 ≤ i ≤ 5) represent the splitting points, the A i 's (1 ≤ i ≤ 6) represent the leaves. Right: X = [0, 1] 2 as partitioned by T . The regression tree prediction is constant on each leaf A i .

Algorithm 2

 2 Random forest 1: Training 2: Inputs: D n , N , d, m s 3: for each of the N trees do 4:

Figure 3 :

 3 Figure 3: Architecture of 3-layer feedforward neural network.

Figure 4 :

 4 Figure 4: First steps of the variational EM algorithm.

Algorithm 6

 6 Bayesian variational regression 1: Training 2: Inputs: D n ,τ , k θ0 3: Initialize:

+

  and the regularization hyperparameter λ ∈ R + . Optimization[START_REF] Cavazzuti | Design of experiments[END_REF] is done with the quadratic optimizer quadprog Method Hyperparameters KN number of neighbors K ∈ N * RF maximum size of the leaves m s ∈ N * NN regularization λ ∈ R + , J 1 ∈ N * RK regularization λ ∈ R + , lengthscales θ ∈ R + d QK length scale and variance θ ∈ R + d+1 VB length scale and variance θ ∈ R + d+1

Figure 6 :Figure 7 :

 67 Figure 6: Output of the model SUNFLO with two different inputs x 1 , x 2 ∈ R 9 evaluated over 190 different climatic time series.

Figure 8 :

 8 Figure 8: Left: log-normal density fonction with µ = 0 and σ = 1. Right: a sample generated by the functionΨ(x, •) = ξ(•) -(x -5) 2 /2,with ξ a random variable following a log-normal distribution of parameters µ = 0 and σ = 1. The 0.9-(resp. the 0.1-) quantile is represented in red (resp. in blue). One can notice that more information is available in areas with large pdf (i.e. for the 0.1-quantile) than areas with small pdf.

Figure 9 :

 9 Figure9: Boxplots of ranks and E cq error over the entire benchmark. Note that for clarity, the right boxplots do not contain the error of the median for the toy problem 2.

8. 2

 2 Focus 2: dimension, number of training points and pdf value 8.2.1 Performance according to the constant quantile

Figure 10 :

 10 Figure 10: Error according to the sample size

Figure 11 :

 11 Figure 11: Error according to the signal-to-noise ratio.

Figure 12 :

 12 Figure 12: Error according to the size of the training set and the pdf value.

Figure 13 :

 13 Figure 13: Rank according to the pdf value

2 Size 3 Size 4 KNFigure 14 :

 414 Figure 14: Rank according to the size of the sample

Figure 15 :

 15 Figure 15: Rank according to the dimension

Figure 16 :

 16 Figure 16: Rank associated to the case where little information is available, i.e high dimension and small pdf

Figure 18 :

 18 Figure18: Quantiles estimates using RF (left), RK (middle), VB (right) for two 160-point samples (top and bottom rows, resp.) of the toy problem 1. Dots: observations; plain red lines: metamodels for the 0.1, 0.5, 0.9 quantile estimates; dotted blue lines: actual quantiles.

Figure 19 :Figure 20 :

 1920 Figure19: Quantiles estimates using RF (left), RK (middle), VB (right) for a 640-point sample of the toy problem 3. Dots: observations; plain red lines: metamodels for the 0.1, 0.5, 0.9 quantile estimates; dotted blue lines: actual quantiles.

Figure 21 :

 21 Figure 21: In red quantile metamodel, in blue the true 0.1-quantile and in green the 0.9-confidence intervals. Top left QK, top right VB, bottom left KN, bottom right RK.

Figure 22 :

 22 Figure22: Method recommendation depending on the problem at hand (green: recommended methods, red: methods to avoid). KN: nearest-neighbors, RF: random forests, NN: neural networks, RK: RKHS regression, QK: quantile kriging, VB: variational Bayesian, unconditional quantile estimates: KN with K = n.

  x | 9: end for 10: Prediction 11: Inputs: X test , θ * = θ, µ θ * 12: for each point in x * ∈ X test do

	13:

Table 3 :

 3 Summary of the characteristic of the problems.

			Test case 1 Test case 2	Test case 3	Test case 4 Sunflo
	Dimension	1	2	1	9	9
	Heteroscedasticity	very strong very strong	very strong	strong	weak
	Shape variation	very strong	weak	weak	weak	strong
	pdf value τ = 0.1	variable	small	globally very small	large	large
	near the	τ = 0.5	variable	large	small	small	large
	τ -quantile τ = 0.9	variable	very small	very large	very small	small

Table 4 :

 4 Data sizes for the different problems. The number in parentheses are the number of repetitions for QK.

  Average ∆E aggregated over all problems (left) and over the problems with a large pdf only (right), arranged in increasing order. For each method the rank is provide on the top of each figure.

											1	2		3		4	5	6
		1	2	3	4	5	6	High dimension Large sample	1 0.73	2 1.5	3 3.1	4 5.3	5 6.4	11 6	Methods
	High dimension Large sample	3.4	4.2	5	9.6	10	13	Methods High dimension Large sample High dimension Small sample	0.65 4.6	2.6 7.1	5.2 7.9	5.5 12	6.4 18	9.1 23	KN Methods RF
	High dimension Small sample	7.7	11	12	19	20	31	KN RF NN High dimension Small sample Small dimension Large sample	4.4 3.7	7.3 8	10 8.4	14 9.5	16 9.6	18 14	NN KN RF NN RK QK
	Small dimension Large sample	9.5	9.5	9.9	10	13	15	RK QK VB Small dimension Small sample Small dimension Large sample	3.7 14	14	8	8.4 16	9.5 18	9.6 30	14 32	VB QK RK VB
	Small dimension Small sample	13	15	16	22	29	30	Small dimension Small sample	14	14	16 Rank	18	30	32
				Rank									Rank
	Figure 17:

Acknowledgments

This work is part of a Ph.D. of L. Torossian funded by INRA and Région Occitanie. The authors would like to thank Edouard Pauwels for the discussions on the topic of convex and non-convex optimization and Pierre Casadebaig for its suggestions and advices concerning the crop model sunflo.

additional constraints in the model [START_REF] Takeuchi | Nonparametric quantile estimation[END_REF] or by the construction of a new model that intrinsically produces non-crossing curves [START_REF] Sangnier | Joint quantile regression in vector-valued rkhss[END_REF]. However in both cases, the dimension of the optimization problem then increases significantly.

Finally the stochastic process approaches estimate each quantile in independent Gaussian processes, so crossing may occur. While the number of training points is larger than what we consider here (10 4 repetitions for each input point), [START_REF] Browne | Stochastic simulators based optimization by gaussian process metamodels-application to maintenance investments planning issues[END_REF] use GP and takes into account all the quantile orders at the same time and thus ensures non-crossing.

Another approach available for all the methods presented here is related to the rearrangement of curves or isotonic regression [START_REF] Belloni | Conditional quantile processes based on series or many regressors[END_REF][START_REF] Abrevaya | Isotonic quantile regression: asymptotics and bootstrap[END_REF]. The idea is to perform many quantile regressions with a large number of different values of τ or a large set of bootstrapped versions of D n and then to rearrange the curves, thereby obtaining the whole distribution and then extracting the quantiles that by definition do not cross.

In theory, adding non-crossing constraints and predicting several quantiles simultaneously could improve the quality of the estimates (in particular as it might add some robustness). However, in practice, it also makes the model more rigid (i.e. a single regularization hyperparameter for all quantiles), and preliminary experiments have shown no gain in accuracy compared to independent predictions, despite a considerably higher computational cost. Hence, multiquantile predictors were not considered in our study.

Assessment of prediction accuracy

To assess the accuracy of the results and the confidence that we can have in the estimation it could be useful to provide confidence intervals for the predictor. From this point of view the methods are not equal. With Bayesian approaches, theoretical confidence intervals are provided with the models. More precisely as the output model is Gaussian and as it returns the mean and the variance, confidence intervals can be created. For example the 0.9-confidence interval is provided by

However as presented on Figure 21, while the confidence intervals obtained from QK seem useful, the VB model is clearly overconfident.

The statistical order methods consider that inside each neighborhood the samples are i.i.d. Based on that, it is possible to use Wilks' formula (see [START_REF] Rolf | On wilks' distribution-free confidence intervals for quantile intervals[END_REF] for instance) or deviation inequality as presented in [START_REF] Torossian | X-armed bandits: Optimizing quantiles and other risks[END_REF] to extract confidence intervals. For example, using Chernoff's inequality, for any η > 0, the confidence interval of order 1 -η is as CI(x) = [L K (x), U K (x)] with U K (x) = min q, F K (q|X = x) ≥ τ and n kl( F K (q|X = x), τ ) ≥ log(2/η) , and L K (x) = max q, F K (q|X = x) ≤ τ and n kl( F K (q|X = x), τ ) ≥ log(2/η) .

Using this method enables the confidence intervals to be data dependent. For example in Figure 21 the confidence intervals are not symmetric. Note that while the confidence intervals obtained with this technique come with theoretical guarantees, they are very conservative and they depend a lot on the size of the training set.

Finally for all methods it is possible to use a bootstrap technique to create different regression models and then to aggregate them in order to create empirical confidence intervals. For example Figure 21 shows confidence intervals using a bootstrap technique for RK. The main drawback of such method is its computational cost.

To the best of our knowledge there are no other methods that sensibly improve this results. Thus, there is still a room for improvement concerning quantile regression model assessment.

10 Summary and perspectives

General recommendations

In this presentation we have introduced six metamodels for quantile regression. In the first part of the paper we have provided a full description of the six metamodels, first focusing on their theoretical basis, then discussing their implementation procedure. This part of the paper have enabled us to highlight the similarities and differences of the methods so that providing critical perspectives on the state of the art. The second part of the paper focused on performance comparison according to the dimension of the problem, the size of the learning set, the signal-to-noise ratio and the value of the pdf at the targeted quantile. We have compared the presented methods on 4 toy problems in dimension 1, 2, 9 and on an agronomic model in dimension 9.