4 Numerical examples
We present two numerical examples, a low-dimensional one with simple model function y, and a PDE model. We compare the results of the adaptive phase with and without gradient data.
4.1 Analytical example
As a model y, we consider the rotated parabolic cylinder, that is,
We acquire measurements for , assume different accuracies of these independent measurements, and a likelihood with a prior mean of and variance .
We start with an initial design of seven evaluation points (see Figure 5.2) and an evaluation variance of . We use the work model with . Evaluation of the error quantity E from (5.9) is performed by Monte Carlo integration. To determine candidate points for inclusion in the evaluation set X, we sample the acquisition function (5.13) for . Only the point with the largest value is included, and gradient information included by setting if obtained a higher value. The adaptive phase is terminated if the error E drops below the desired tolerance .
Resulting designs
Figure 5.2 illustrates the resulting design with (left) and without (right) gradient data. Black dots are evaluation points without gradient data, while red triangles mark points with gradient information. The size of each marker corresponds to the evaluation accuracy, with larger markers indicating higher accuracy. Red dots represent the initial design, while the color mapping represents the estimated error. The gradient-based algorithm required 24 points, 11 of them with gradient information, each with different evaluation accuracy. The purely value-based design required 30 points. A comparison of the computational costs of the two systems shows that the regular system without gradient data requires costs of , while the gradient-enhanced system requires costs of , and thus costs 10 times less to achieve the desired accuracy.

Figure 5.2 Contour plot of the local error density, left with gradient information, right without. Red points show the initial design. Adaptively added data points are indicated by black dots. Small markers indicate low accuracy. Gradient information is indicated by red triangles. The color mapping shows the estimated local reconstruction error evaluated on a dense grid of points. The designs were obtained using an incremental budget of with a desired tolerance of .
Convergence
Figure 5.3 presents the error against the computational work with different incremental budgets. On the left, we compare designs with gradient data (solid lines) and without (dashed lines). On the right, we compare adaptive designs with gradient data with a position-adaptive design using uniform tolerances for values and gradients. Including derivative information is clearly more efficient, by roughly one order of magnitude, but also leads to pronounced nonmonotone convergence. This is likely an effect of the larger condition number of the covariance matrix when including derivative information, which can lead to suboptimal solutions and high variance in the hyperparameter optimization performed in every step. In contrast, value-based designs exhibit a mostly monotonic behavior. Also apparent is that smaller incremental budgets are more efficient, in particular, for low desired accuracy. On the right, the behavior of uniform tolerance designs is shown. For large tolerances ( ), the computational work is small, but the desired accuracy is not reached. Smaller tolerances ( ) achieve the desired accuracy, but at a much higher cost, roughly two orders of magnitude and more.

Figure 5.3 Estimated global error versus accumulated computational work in GEGPR surrogates. Left: for different incremental work . Solid lines with gradient data. Right: Different uniform tolerances in position-adaptive designs compared with different curves for .
Reliability of local error estimates
The error model (5.9) is coarse and may not capture the actual error in identified parameters correctly. It is affected both by linearization error in estimated error transport and the GPR error estimate, which in turn depends also on the hyperparameter optimization. We compare the estimated global error to the actually obtained errors. For 1600 points , sampled randomly from , we compute the local error estimate from (5.8), and compare this to the expected actual error, approximated by the sample mean with realizations of the measurement error distributed as . The identified parameters and have been computed by a Gauss–Newton method starting from and using the true model and the surrogate, respectively. The Gauss–Newton iteration is only locally convergent, but in this setting, the problem’s nonlinearity and the sampled errors are sufficiently small for the method to converge to the nearest local minimizer without further globalization. We construct histograms of the ratio . Ratios less than 1 indicate an underestimation of the error, while values greater than 1 indicate an overestimation. The results in Figure 5.4 suggest that value-based and gradient-enhanced GPR surrogates behave similar. The coarse a priori error estimate is not strictly reliable, but appears to be reasonably accurate for steering the adaptive design process.

Figure 5.4 Log-histogram of for value-based GPR (blue) and GEGPR (orange) surrogates.
Parameter reconstruction
For an exemplary parameter reconstruction, we assume a true parameter and exact measurements. Table 5.1 shows the reconstructed parameter p lying well within the prescribed global tolerance with comparable errors.
Table 5.1Reconstruction result p using the surrogate model for to be compared with the true parameter .
| value | 0.9968 | 0.0032 | 1.496 | 0.0047 |
| value+gradient | 0.9978 | 0.0022 | 1.502 | 0.0023 |
4.2 FEM example
Scatterometry is a more complex problem from optical metrology [12], [28], [9]. The aim is to identify geometric parameters in a nano-structured diffraction pattern from the intensity of reflected monochromatic light of different polarizations and incidence angles ϕ, θ; see Figure 5.5 and [37]. A forward model was developed using JCMsuite1 as a solver for the governing Maxwell’s equations. The model is parametrized by the geometry of the line grid sample; see Figure 5.5 and Table 5.2.

Figure 5.5 Left: Scatterometry setup used for the characterization of periodic nanostructures on surfaces. The incident light is varied at angles θ and ϕ and the diffraction patterns are recorded. Right: Geometry parametrized in terms of radii and , height of the grating, side wall angle (swa), critical dimension (cd), and oxide layer thickness (t).
The numerical model maps model parameters to zero’th-order scattering intensities , given by incrementing θ from 5 ° to 11 ° in steps of , utilizing P-polarized light with an angle of incidence .
Table 5.2The parameter domain for the scatterometry problem.
| Parameter | t | h | ||||
| range | 87.98° |
At the beginning, is covered with points from a Sobol sequence. According to the known measurement uncertainty, we set and ask for .

Figure 5.6 Estimated global error versus computational work. Left: for the same incremental work . The subscript g indicates a gradient enhanced surrogate model. Right: Two different fixed evaluation accuracies within a position-adaptive algorithm compared to a fully adaptive gradient-enhanced design for .
Convergence
In Figure 5.6, we plot the estimated global error against the computational work. On the left, we a GPR design (dashed) with a GEGPR design (solid) for the same incremental budget . As in the analytical example, including gradient information, improves the efficiency at the cost of a nonmonotone convergence behavior. The improved efficiency is consistent, though quantitatively highly varying, over a wide range of incremental work budgets, as shown in Table 5.3. Note that the performance gain factor 500 for is a lucky outlier and suggests that the actual performance gain is subject to high variance.
Table 5.3Observed performance improvement factor due to including gradient information in the adaptive design selection for different incremental budgets.
| 10 | 500 | 10 | 50 |
In Figure 5.6 right, we compare the presented approach with position-adaptive designs using fixed-finite element grids. The coarse grid has a maximum edge length of , the fine grid has a maximum edge length of , corresponding to FE discretization errors and , respectively. When commencing with the coarse grid, the error reduction in the curve is initially gradual. However, it significantly accelerates beyond a certain threshold, identified as . Interestingly, beyond this threshold, the presence of pronounced oscillations becomes evident, causing the error to temporarily plateau between and . Subsequently, the curve resumes its descent and eventually achieves the desired tolerance level around . Notably, during the analysis, it was observed that within the aforementioned oscillation range, the hyperparameter optimization for a specific parameter component failed to yield satisfactory results. As a result, it was necessary to set this parameter to a default value of , providing a plausible explanation for the observed behavior.
Surprisingly, we encountered difficulties in achieving convergence for the fine grid. Despite an initial rapid decrease in error, the curve exhibited pronounced oscillations across various settings, necessitating the termination of the procedure. Additional tests involving different constant hyperparameters and varied hyperparameter bounds within the optimization failed to yield any improvements. Consequently, further research is required to comprehensively elucidate and resolve this issue.
Thus, in the direct comparison between fully adaptive and semiadaptive algorithm, we can see that we can save computational work by a factor of ≈100.
Reliability of local error estimator
As before, we employ parameter points to generate the estimated local errors and the expected true errors with and without gradient information. A FE simulation on a fine grid with maximum edge length of is used as the exact forward model. In contrast to the analytical example, the GPR and GEGPR surrogates differ slightly, with GPR consistently overestimating the true errors; see Figure 5.7. This suggests that the GPR model should provide smaller actual errors than aimed at. Again, the GEGPR error estimator is not strictly reliable, but apparently sufficiently robust for steering the adaptive design selection process.

Figure 5.7 Log-histogram of . The blue histogram was generated for the regular model, while the orange histogram was generated for the gradient-enhanced model.
Parameter reconstruction
We perform an exemplary parameter reconstruction with true parameters and simulated measurements with artificial measurement noise of size . The parameters are recovered within the imposed tolerance, as shown in Table 5.4.
Table 5.4Reconstruction results for the scatterometry problem.
| Parameter | ||||||||
| value | 26.001 | 1.000E-3 | 4.992 | 0.878E-3 | 10.502 | 2.00E-3 | 4.991 | 9.20E-3 |
| value+gradient | 25.999 | 0.983E-4 | 4.999 | 0.812E-4 | 10.499 | 0.87E-4 | 4.999 | 1.54E-4 |