Next Article in Journal
Hamilton–Jacobi–Bellman Equations in Stochastic Geometric Mechanics
Previous Article in Journal
Entropic Dynamics and Quantum “Measurement”
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

Outlier-Robust Surrogate Modelling of Ion-Solid Interaction Simulations †

Max-Planck-Institut für Plasmaphysik, 85748 Garching, Germany
*
Author to whom correspondence should be addressed.
Presented at the 41st International Workshop on Bayesian Inference and Maximum Entropy Methods in Science and Engineering, Paris, France, 18–22 July 2022.
Phys. Sci. Forum 2022, 5(1), 35; https://doi.org/10.3390/psf2022005035
Published: 15 December 2022

Abstract

:
Data for complex plasma–wall interactions require long-running and expensive computer simulations of codes like EIRENE or SOLPS. Furthermore, the number of input parameters is large, which results in a low coverage of the (physical) parameter space. Unpredictable occasions of outliers create a need to conduct the exploration of this multi-dimensional space using robust analysis tools. We restate the Gaussian-process (GP) method as a Bayesian adaptive exploration method for establishing surrogate surfaces in the variables of interest. On this basis, we complete the analysis by the Student-t process (TP) method in order to improve the robustness of the result with respect to outliers. The most obvious difference between both methods shows up in the marginal likelihood for the hyperparameters of the covariance function where the TP method features a broader marginal probability distribution in the presence of outliers.

1. Introduction

Simulations of particles from fusion plasmas escaping confinement and interacting with the vessel wall are extremely costly in terms of computer power and time. Consequently, results from ion-solid interaction simulations, e.g., sputter rates from the software EIRENE/FZ Jülich [1], lack real time ability and fail to provide the fast numerical access needed, e.g., by gradient-based methods traveling through multi-dimensional parameter space while searching for extremal structures. With already acquired data as a starting basis, the method of surrogate modelling provides fast and easy access for numerical optimization methods. In the present case, the shape of utility functions used for the selection of the next optimal point [2] is relatively benign. In situations where this is not the case, the detrimental effect of spurious peaks in the utility function can partly be be avoided using modified acquisition strategies [3]. The EIRENE program employs at its heart a Monte Carlo method, by which it may be assumed to produce results with uncertainty margins that follow a Gaussian distribution. However, the code itself involves tables of source rates for particles, energies and momentum which may introduce some nonlinear behaviour at least to the variance of the results.
It has been known for a long time that a Student-t distribution offers the possibility of making the analysis more robust with respect to outliers [4,5]. In this paper, we follow this trail and investigate the Student-t process method as a surrogate surface emulator in competition with the Gaussian process method [6]. Introduced by Rasmussen et al. in Chapter 9.9 of his landmark publication “Gaussian Processes for Machine Learning” [6], the derivation and application of a Student-t process as a surrogate emulator was examined many times. Already, Yu et al. in 2007 [7] placed the TP-method on a solid foundation with correct data error handling, while Shah et al. [8] approached the same marginal likelihood by integrating an inverse Wishart process prior over the covariance kernel of the Gaussian Process.
In order to investigate the differences between the GP- and TP-method, we set up artificial test cases in one and two dimensions. The problem we want to tackle for the sputter rates caused by fusion plasmas takes place in a four-dimensional physics parameter set, so we have to transfer the results of the test cases derived with artificial data to analysis of real world data. As a side effect, the changes to the program for adaptation to the TP-method are validated by our well established algorithm emulating surrogate surfaces. Finally, we present results for fusion plasma sputter rates in a two-dimensional subspace of a four-dimensional parameter space.

2. Gaussian Process Method

The problem of predicting function values in a multi-dimensional space supported by given data is a regression problem for a non-trivial function of unknown shape. The matrix X = ( x 1 , x 2 , , x N ) consisting of N input data vectors x i of dimension N dim is given. The target data y = ( y 1 , y N ) T is blurred by Gaussian noise of variance Δ i j = σ d i 2 δ i j . Quantity of interest is the target value f * at test input vector x * and is generated by a function f ( x ) which shall satisfy y = f ( x ) + ϵ , with ϵ = 0 and ϵ 2 = σ d 2 . As a statistical process, it is fully defined by its covariance function, which is the place where we incorporate all the properties which we would like our (hidden) problem-describing function to have. For the functional form of the covariance we choose a Gaussian type exponent with the negative squared value of the distance between two input data vectors x p and x q .
k ( x p , x q ) = σ f 2 exp 1 2 x p x q λ 2 .
The neighborhood of the two data vectors should be of relevance for the smoothness of the result, which is mimicked by a length scale λ in the denominator to represent the long range dependence of the two vectors. Moreover, since the Gaussian process method defines a distribution over functions, the width of this distribution will have some influence on our result as well. This shall be comprised by the signal variance σ f 2 . The covariance of the input data is abbreviated as K i j = k ( x i , x j ) and the vector of covariances between test input vector and a single input data is ( k * ) i = k ( x * , x i ) . Finally, in addition to the above estimation of the variance of a distinct data point with σ d i 2 , provided e.g., by the EIRENE MC-simulations, we consider an overall noise in the data by a variance σ n 2 . Starting with no further information about the hyperparameters, we assume Gaussian priors with N (1,1).
Summing up the analysis from previous papers [6,9], the probability distribution for a single function value f * at test input x * is
p ( f * | X , y , x * ) N f ¯ * , var ( f * ) ,
with mean
f ¯ * = k * T K + σ n 2 Δ 1 y ,
and variance
var GP ( f * ) = k ( x * , x * ) k * T K + σ n 2 Δ 1 k * .
The hyperparameters θ T = ( λ , σ f , σ n ) determine the result of the Gaussian process method. Since we do not know a priori which setting is useful, we marginalize over them numerically by employing the marginal likelihood
log p GP ( y | θ ) = const 1 2 y T K ( θ ) + σ n 2 Δ 1 y 1 2 log K ( θ ) + σ n 2 Δ .

3. Student-t Process Method

With the formulae from the above section at hand, it is easy to reformulate the analysis for the Student-t Process method, where we strictly follow the papers of Yu [7] and Shah [8]. The marginal likelihood reads
log p TP ( y | ν , θ ) ν + N 2 log 1 + y T K ( θ ) + σ n 2 Δ 1 y ν 2 1 2 log K ( θ ) + σ n 2 Δ .
In the following, we choose ν = 3 to resemble Cauchy distributions.
While the mean of a test function value remains the same as in Equation (3), the variance becomes
var TP ( f * ) = 1 + y T K ( θ ) + σ n 2 Δ 1 y 1 + N · var GP ( f * ) .
Here, the most important difference to the Gaussian process shows up, i.e., the dependence of the variance on the target data. It may be regarded as a crucial disadvantage of the GP-method that its results are based on the input mesh only, so the outcome depends on the experimentalist’s setup of the input parameters, e.g., at which locations in space the measurements will be taken. On the other hand, the Student-t process also involves the measurement results, which ultimately provide the capability of this data analysis method to ignore outliers.

4. One- and Two-Dimensional Test Cases

We start with a one-dimensional test case by mapping the first N = 20 Sobol data as input to a range [−1,1] on the x-axis and use a sin-model with two full periods for this range to generate the respective target data. The input was chosen to be drawn from Sobol data [10,11] in order to provide a quasi-random sample which is space-filling on a given region of interest. Uncertainty is introduced by adding Gaussian noise with standard deviation σ d = 0.2.
Figure 1 shows the results with the GP-method and the TP-method on the left and right panels, respectively. In the absence of outliers both methods give the same answer in Figure 1a,b. However, with two outliers at hand (two randomly chosen data points were raised by just multiplying with a factor of three), the surrogate from the GP-method (see Figure 1c) tries to follow each target value slavishly, which results in a smaller hyperparameter λ , equivalent to a bumpier behaviour. On the contrary, within the TP-method the outliers are more or less ignored but lead to a larger variance of the surrogate still clearly following a sin-function (see Figure 1d).
It is informative to have a look at the marginal likelihood for the hyperparameters θ . Since there are three hyperparameters, we employ two two-dimensional plots for ( λ , σ n ) in Figure 1e,f and ( λ , σ f ) in Figure 1g,h, where the respectively lacking third hyperparameter σ f / σ n for the first/second plot is kept constant in terms of its expectation value from integration over the marginal likelihood Equations (5) and (6), respectively. The most important differences are seen for ( λ , σ f ), i.e., Figure 1g,h. In comparison with the GP-case, for λ values around 0.05, the Student-t result shows a broader structure in σ f , and for σ f around 0.5 an additional structure which comprises λ -values between [0.10,0.25]. The contributions in the marginal likelihood for this broad bump attributed to the larger λ -values between [0.10,0.25] are responsible for the smooth functional behaviour.
In order to examine these findings more thoroughly, in Figure 2, we focus on two settings of the hyperparameters deduced from the extremal structures in Figure 1h of the Student-t process. In the left panel, starting with Figure 2a for λ = 0.05, σ f = 1.5, σ n = 1, a strong obedience to the target data is enforced. Therefore, the surfaces of the marginal likelihood, computed with either σ f = 1.5 (Figure 2c) or σ n = 1 (Figure 2e), get pinned down to a relatively small λ -variation. The situation changes in the right panel with λ = 0.18, σ f = 0.7, σ n = 2.6, where we get broad structures for λ ’s around 0.2 in connection with a somewhat more relaxed functional behaviour in Figure 2b.
From the above, it is clear that an MAP-solution would fail completely in the presence of outliers, because such an approach would focus on the maximum of the probability distribution at max λ = 0.051 and max σ f = 1.61, thereby disregarding all contributions from the PDF for larger λ along with smoother surrogates. Consequently, only the full exploitation of the marginal likelihood Equation (6) empowers the result to resemble the sin-function.
Next, we compare GP vs. TP in two dimensions (see Figure 3). A total of N = 40 target data are generated by the above double period sin-function just by expanding the x-dependence to x = ( x 1 , x 2 ) T . Without outliers, the resulting surrogate surface (Figure 3a) is the same for GP and TP, revealing a mono-modal structure in hyperparametric space (Figure 3b) along with well defined expectation values with more or less concise variances, λ = 0.3 ± 0.04, σ f = 1.3 ± 0.3, σ n = 0.7 ± 0.4. It is certain that the MAP-approach would come to the same result for the surrogate surface.
The situation changes with outliers (N outlier = 4). The GP-surrogate (Figure 3c) fails completely and features a bump in the marginal likelihood (Figure 3c) which is confined around small λ -values below 0.1 and σ f 1.4 . Compared with this, the TP-surrogate in Figure 3e resembles the sin model function where the mono-modal structure in the marginal likelihood widens (see Figure 3f), as already seen in the one-dimensional case.

5. Results for Ion-Solid Interaction Simulations

Finally, we employ the data-analyzing tools characterized above to sputter rates generated by the ion-solid interaction simulations in a fusion plasma with EIRENE software [1]. To simulate these data, a total of 14 physics parameters are to be set on input. The most important parameters are those regarding electron density n and electron temperature T, both at two locations within the plasma, i.e., plasma center { n 0 , T 0 } and at the so-called pedestal { n ped , T ped } located at the plasma edge next to the separatix (last magnetic field line closed within the vessel). To begin with, we set up a test case with N = 3 × 3 × 3 × 3 = 81 EIRENE sputter rate data as function of these four parameters { T 0 , T ped , n 0 , n ped } (results shown in Figure 4a).
In order to improve this apparently not very informative result on only a 3 4 grid, we calculate the GP surrogate on a 5 4 -grid and take the 3 4 data, being the worst in terms of variance, feed them back to EIRENE and take the resulting second N 2 = 81-data set (containing 11 doublets from initial one). This results in the initial one adding up to a total of N tot = 151 data points. One can think of this as an iterative step, keeping the computation effort of the costly EIRENE runs low. The surrogate surfaces for the initial data set with N = 81 EIRENE data (blue mesh) and the full data set with N tot = 151 (red mesh) are shown in Figure 4b, with the errorbars for the same nine data points as in Figure 4a. As can be seen, the iterative step reduces the uncertainty in the target by a factor of 3.6 (and misfit by factor of three). Moreover, while the surrogate surface (blue mesh) based on initial N = 81 EIRENE data shows only a maximal structure at T 0 = 3 keV smeared out around n 0 = 1.26 × 10 14 /cm 3 , the TP-surrogate surface (red mesh) has a clear maximum at T 0 = 3 keV and n 0 = 1.20 × 10 14 /cm 3 . The lower panel of Figure 4 shows the marginal likelihood surfaces for the hyperparameters λ , σ f for the results with N = 151 data. Since the TP-method (Figure 4d) shows a broader shape compared to the GP-method (Figure 4c), it may be inferred from the chapters above that the four-dimensional parameter space contains results for the sputter rates which do not fully obey a normally distributed uncertainty.

6. Conclusions

Exploring surrogate surfaces in multi-dimensional spaces has been proven to be employed advantageously by the Gaussian process (GP) method. For experimental data suffering from outliers, it is also known that the marginal posterior distribution can be made robust by acquiring, e.g., the Cauchy function instead of deferring to the Gaussian form. As shown in this paper, utilizing the Student-t process (TP) method can be performed by only a few and simple changes to an already well-established implementation of a GP-algorithm. The most important difference between both methods shows up in the marginal likelihood for the hyperparameters of the covariance function which—in the presence of outliers—becomes broader in the TP case compared to GP. The Bayesian method is to explore hyperparameter space by marginalization and let the data decide regarding the posterior probability distribution. However, with the basic assumption of normally distributed data, the GP method slavishly follows each data point within its variance, thereby generating a surrogate surface which irredeemably deteriorates in the presence of outliers. In a real world situation with occasionally faulty measurements, the TP-method offers the possibility of ignoring heavily distorted data by featuring a broader marginal probability distribution. Eventually, the TP-method improves the overall result for surrogate surfaces in comparison with Gaussian Processes and adds robustness with respect to outliers.

Author Contributions

All authors contributed substantially to each step of the work. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

Data from the EIRENE software of FZ Jülich was provided by P. Börner and D. Reiter.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Reiter, D. The EIRENE Code User Manual. Manual Version. Available online: http://www.eirene.de/manuals/eirene.pdf (accessed on 13 September 2019).
  2. Preuss, R.; von Toussaint, U. Global Variance as a Utility Function in Bayesian Optimization. Phys. Sci. Forum 2021, 3, 3. [Google Scholar] [CrossRef]
  3. Nguyen, T.D.; Gupta, S.; Rana, S.; Venkatesh, S. Stable Bayesian optimization. Int. J. Data Sci. Anal. 2018, 6, 327–339. [Google Scholar] [CrossRef]
  4. Dawid, A.P. Posterior expectations for large observations. Biometrika 1973, 60, 664–667. [Google Scholar] [CrossRef]
  5. O’Hagan, A. On outlier rejection phenomena in Bayes inference. J. R. Stat. Soc. Ser. B 1979, 41, 358–367. [Google Scholar] [CrossRef]
  6. Rasmussen, C.; Williams, C. Gaussian Processes for Machine Learning; MIT Press: Cambridge, MA, USA, 2006. [Google Scholar]
  7. Yu, S.; Tresp, V.; Yu, K. Robust Multi-Task Learning with t-Processes. In Proceedings of the 24h International Conference on Machine Learning, Cincinnati, OH, USA, 13–15 December 2007. [Google Scholar]
  8. Shah, A.; Wilson, A.G.; Ghahramani, Z. Student-t Processes as Alternatives to Gaussian Processes. In Proceedings of the 17th International Conference on Artificial Intelligence and Statistics, Reykjavik, Iceland, 22–25 April 2014; Volume 33, pp. 877–885. [Google Scholar]
  9. Preuss, R.; von Toussaint, U. Prediction of Plasma Simulation Data with the Gaussian Process Method. In Bayesian Inference and Maximum Entropy Methods in Science and Engineering; Niven, R., Ed.; AIP Publishing: Melville, NY, USA, 2014; Volume 1636, p. 118. [Google Scholar]
  10. Sobol, I.M. Distribution of Points in a Cube and Approximate Evaluation of Integrals. Zh. Vych. Mat. Mat. Fiz. 1967, 7, 784–802. [Google Scholar] [CrossRef]
  11. Antonov, I.A.; Saleev, V.M. An economic method of computing LPτ-sequences. USSR Comput. Math. Math. Phys. 1979, 19, 252–256. [Google Scholar] [CrossRef]
Figure 1. N = 20 data points. Left panel (a,c,e,g): Gaussian process (GP). Right panel (b,d,f,h): Student-t process (TP). (a,b): Normally distributed data following a sin-model. (c,d): Normally distributed data following a sin-model, but 5th and 15th data point were multiplied by a factor of three to simulate outliers. (e,g): GP-hyperparameter surfaces for data with outliers, λ = 0.1 ± 0.2, σ f = 1.2 ± 0.3, σ n = 2.1 ± 1.2; (f,h): TP-hyperparameter surfaces for data with outliers, λ = 0.3 ± 0.6, σ f = 1.2 ± 0.7, σ n = 1.9 ± 1.0.
Figure 1. N = 20 data points. Left panel (a,c,e,g): Gaussian process (GP). Right panel (b,d,f,h): Student-t process (TP). (a,b): Normally distributed data following a sin-model. (c,d): Normally distributed data following a sin-model, but 5th and 15th data point were multiplied by a factor of three to simulate outliers. (e,g): GP-hyperparameter surfaces for data with outliers, λ = 0.1 ± 0.2, σ f = 1.2 ± 0.3, σ n = 2.1 ± 1.2; (f,h): TP-hyperparameter surfaces for data with outliers, λ = 0.3 ± 0.6, σ f = 1.2 ± 0.7, σ n = 1.9 ± 1.0.
Psf 05 00035 g001
Figure 2. Surrogate model from Student-t process for N = 20 data points with two outliers for two settings of the hyperparameters in the extremal structures of Figure 1h. (a): λ = 0.05, σ f = 1.5, σ n = 1 with respective hyperparameter surfaces (c,e). (b): λ = 0.18, σ f = 0.7, σ n = 2.6 with respective hyperparameter surfaces (d,f).
Figure 2. Surrogate model from Student-t process for N = 20 data points with two outliers for two settings of the hyperparameters in the extremal structures of Figure 1h. (a): λ = 0.05, σ f = 1.5, σ n = 1 with respective hyperparameter surfaces (c,e). (b): λ = 0.18, σ f = 0.7, σ n = 2.6 with respective hyperparameter surfaces (d,f).
Psf 05 00035 g002
Figure 3. Two dimensional sin-model data. Surrogate model from Student-t process for first N = 40 Sobol data points with added noise of σ d = 0.2. (a,b): GP, no outliers, λ = 0.3 ± 0.04, σ f = 1.3 ± 0.3, σ n = 0.7 ± 0.4; (c,d): GP, four outliers, λ = 0.06 ± 0.04, σ f = 1.5 ± 0.2, σ n = 1.4 ± 0.9; (e,f): TP, four outliers, λ = 0.06 ± 0.04, σ f = 1.5 ± 0.2, σ n = 1.4 ± 0.9. Blue dots and their footprints (open squares) in the base are the input data, while the red dots/squares in (c,f) represent the four outliers.
Figure 3. Two dimensional sin-model data. Surrogate model from Student-t process for first N = 40 Sobol data points with added noise of σ d = 0.2. (a,b): GP, no outliers, λ = 0.3 ± 0.04, σ f = 1.3 ± 0.3, σ n = 0.7 ± 0.4; (c,d): GP, four outliers, λ = 0.06 ± 0.04, σ f = 1.5 ± 0.2, σ n = 1.4 ± 0.9; (e,f): TP, four outliers, λ = 0.06 ± 0.04, σ f = 1.5 ± 0.2, σ n = 1.4 ± 0.9. Blue dots and their footprints (open squares) in the base are the input data, while the red dots/squares in (c,f) represent the four outliers.
Psf 05 00035 g003
Figure 4. (a): EIRENE sputter rate results with errorbars shown in a two-dimensional subspace of parameters { n 0 T 0 } for max[ T ped ] = 8 keV and min[ n ped ] = 0.56 × 10 14 /cm 3 . (b): Blue mesh: Surrogate surface based on initial N = 81 EIRENE data. Red mesh: Surrogate surface based on a total of N = 151 EIRENE data. Hyperparameter surfaces of { λ , σ f } for the results with N = 151 data: (c): GP; (d): TP.
Figure 4. (a): EIRENE sputter rate results with errorbars shown in a two-dimensional subspace of parameters { n 0 T 0 } for max[ T ped ] = 8 keV and min[ n ped ] = 0.56 × 10 14 /cm 3 . (b): Blue mesh: Surrogate surface based on initial N = 81 EIRENE data. Red mesh: Surrogate surface based on a total of N = 151 EIRENE data. Hyperparameter surfaces of { λ , σ f } for the results with N = 151 data: (c): GP; (d): TP.
Psf 05 00035 g004
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Preuss, R.; von Toussaint, U. Outlier-Robust Surrogate Modelling of Ion-Solid Interaction Simulations. Phys. Sci. Forum 2022, 5, 35. https://doi.org/10.3390/psf2022005035

AMA Style

Preuss R, von Toussaint U. Outlier-Robust Surrogate Modelling of Ion-Solid Interaction Simulations. Physical Sciences Forum. 2022; 5(1):35. https://doi.org/10.3390/psf2022005035

Chicago/Turabian Style

Preuss, Roland, and Udo von Toussaint. 2022. "Outlier-Robust Surrogate Modelling of Ion-Solid Interaction Simulations" Physical Sciences Forum 5, no. 1: 35. https://doi.org/10.3390/psf2022005035

APA Style

Preuss, R., & von Toussaint, U. (2022). Outlier-Robust Surrogate Modelling of Ion-Solid Interaction Simulations. Physical Sciences Forum, 5(1), 35. https://doi.org/10.3390/psf2022005035

Article Metrics

Back to TopTop