Skip to text

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,

yϕ(p)=(cos(ϕ)(p1+p2)+sin(ϕ)(p2−p1))2forp∈X=[0,2]2,ϕ∈R>0.

We acquire m=3 measurements for ϕ∈{0,2,4}, assume different accuracies of these independent measurements, and a likelihood ΣL=10−2diag(1,0.1,1) with a prior mean of p0=(1.0,1.5) and variance Σp=10−2I.

We start with an initial design of seven evaluation points (see Figure 5.2) and an evaluation variance of σ2=0.1. We use the work model with s=1/2. 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 β∈{0,∞}. Only the point with the largest value is included, and gradient information included by setting τ′=τ if β=1 obtained a higher value. The adaptive phase is terminated if the error E drops below the desired tolerance TOL=10−2.

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 W(D)=1.09·106, while the gradient-enhanced system requires costs of W(D)=0.11·105, 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 103 points. The designs were obtained using an incremental budget of ΔW=104 with a desired tolerance of TOL=0.01.

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 ( τ=10−1), the computational work is small, but the desired accuracy is not reached. Smaller tolerances ( τ≤10−2) achieve the desired accuracy, but at a much higher cost, roughly two orders of magnitude and more.

Figure 5.3 Estimated global error E(D) versus accumulated computational work in GEGPR surrogates. Left: E(D) for different incremental work ΔW. Solid lines with gradient data. Right: Different uniform tolerances in position-adaptive designs compared with different curves for ΔWg=100.

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 E(D) to the actually obtained errors. For 1600 points pi, sampled randomly from X, we compute the local error estimate ei=eD(pi) from (5.8), and compare this to the expected actual error, approximated by the sample mean e˜i:=nk−1∑k=1nk‖p(y(pi)+δi,k)−pD(y(pi)+δi,k)‖ with realizations δi,k of the measurement error distributed as N(0,Σl). The identified parameters p(y(pi)+δi,k) and pD(y(pi)+δi,k) have been computed by a Gauss–Newton method starting from pi 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 δi,k are sufficiently small for the method to converge to the nearest local minimizer without further globalization. We construct histograms of the ratio ei/e˜i. 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 ei/e˜i for value-based GPR (blue) and GEGPR (orange) surrogates.

Parameter reconstruction

For an exemplary parameter reconstruction, we assume a true parameter p∗=(1,1.5) 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 ΔW=104 to be compared with the true parameter p∗.

p1 |p1−p1∗| p2 |p2−p2∗|
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 y(p) 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 rtop and rbot, height of the grating, side wall angle (swa), critical dimension (cd), and oxide layer thickness (t).

The numerical model maps model parameters p=[cd,t,rtop,rbot]∈X⊂R4 to m=4 zero’th-order scattering intensities y(p)∈R4, given by incrementing θ from 5 ° to 11 ° in steps of 2°, utilizing P-polarized light with an angle of incidence ϕ=0°.

Table 5.2The parameter domain X for the scatterometry problem.

Parameter cd t rtop rbot h swa
range [24,28]nm [4,6]nm [8,10]nm [3,7]nm 48.3nm 87.98°

At the beginning, X is covered with 27=128 points from a Sobol sequence. According to the known measurement uncertainty, we set Σl=10−2diag(8.57,8.56,8.60,8.63) and ask for E(D)≤TOL=10−3.

Figure 5.6 Estimated global error E(D) versus computational work. Left: E(D) for the same incremental work ΔW=ΔWg. 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 ΔWg=103.

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 ΔW. 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 ΔW=104 is a lucky outlier and suggests that the actual performance gain is subject to high variance.

Table 5.3Observed performance improvement factor W/Wg due to including gradient information in the adaptive design selection for different incremental budgets.

ΔW 103 104 105 106
W/Wg 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 hc=16nm, the fine grid has a maximum edge length of hf=1nm, corresponding to FE discretization errors ϵc=10−2 and ϵf=10−4, 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 W≈3·107. Interestingly, beyond this threshold, the presence of pronounced oscillations becomes evident, causing the error to temporarily plateau between W=2·108 and W=4·108. Subsequently, the curve resumes its descent and eventually achieves the desired tolerance level around W≈2·109. 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 L=1, 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 74=2401 parameter points to generate the estimated local errors ei and the expected true errors e˜i with and without gradient information. A FE simulation on a fine grid with maximum edge length of 1nm 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 ei·e˜i−1. 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 ptrue=(26.0,5.0,10.5,5.0)nm and simulated measurements with artificial measurement noise of size 10−3. The parameters are recovered within the imposed tolerance, as shown in Table 5.4.

Table 5.4Reconstruction results for the scatterometry problem.

Parameter pCD |ΔpCD| pt |Δpt| ptop |Δptop| pbot |Δpbot|
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