Filtern
Dokumenttyp
- Vortrag (3)
- Zeitschriftenartikel (1)
Sprache
- Englisch (4) (entfernen)
Referierte Publikation
- nein (4)
Schlagworte
- Neural network (4) (entfernen)
Organisationseinheit der BAM
- 6.3 Strukturanalytik (4) (entfernen)
Eingeladener Vortrag
- nein (3)
In this talk an overview about artificial intelligence/machine learning applications @BAMline is given. In the first part, the use of neural networks for the quantification of XRF measurements and the decoding of coded-aperture measurements are shown. Then it is shown how Gaussian processes and Bayesian statistics can be used to achieve an optimal alignment of the set-up and in general for optimization of measurements.
Getting more efficient – The use of Bayesian optimization and Gaussian processes at the BAMline
(2022)
For more than 20 years, BAM is operating the BAMline at the synchrotron BESSY II in Berlin Adlershof. During this time, the complexity of the setup and the amount of data generated have multiplied. To increase the effectiveness and in preparation for BESSY III, algorithms from the field of machine learning are increasingly used.
In this paper, several examples in the areas of beamline alignment and measurement time optimization based on Bayesian optimization (BO) with Gaussian processes (GP) are presented. BO is a method for finding the global optimum of a function using a probabilistic model represented by a GP. The advantage of this method is that it can handle high-dimensional problems, does not depend on the initial estimate, and also provides uncertainty estimates.
After a short introduction to BO and GP, the first example is the automatic alignment of our double multilayer monochromator (DMM). To achieve optimal performance, up to three linear and two angular motor positions have to be optimized. To achieve this with a grid scan, at least 100^5 measurement points would be required. Assuming that all positions can be aligned independently, 100*5 points are still necessary. We show that with BO and GP less than 100 points are sufficient to achieve equal or better results.
The second example is the optimization of measurement time in XRF scanning. Here we will show the advantage of the BO GP approach over point-by-point scanning. As can be seen in Fig. 1, the number of points required and thus the measurement time can be reduced by a factor of 50, while the loss in image quality is acceptable. The advantages and limitations of this approach will be discussed.
In X-ray fluorescence (XRF), a sample is excited with X-rays, and the resulting characteristic radiation is detected to detect elements quantitatively and qualitatively. Quantification is traditionally done in several steps:
1. Normalization of the data
2. Determination of the existing elements
3. Fit of the measured spectrum
4. Calculation of concentrations with fundamental parameters / MC simulations / standard based
The problem with standard based procedures is the availability of corresponding standards. The problem with the calculations is that the measured intensities for XRF measurements are matrix-dependent. Calculations must, therefore, be performed iteratively (= time consuming) in order to determine the chemical composition.
First experiments with gold samples have shown the feasibility of machine learning based quantification in principle. A large number of compositions were simulated (> 10000) and analyzed with a deep learning network. For first experiments, an ANN (Artificial Neural Network) with 3 hidden layers and 33x33x33 neurons was used. This network learned the mapping of spectra to concentrations using supervised learning by multidimensional regression. The input layer was formed by the normalized spectrum, and the output layer directly yielded the searched values. The applicability for real samples was shown by measurements on certified reference materials.
In this work, we describe the use of artificial neural networks for the quantification of X-ray fluorescence measurements. The training data were generated using Monte Carlo simulation, which avoided the use of adapted reference materials. The extension of the available data set by means of an ANN to generate additional data was demonstrated. Particular emphasis was put on the comparability of simulated and experimental data and how the influence of deviations can be reduced. The search for the optimal hyperparameter, manual and automatic, is also described. For the presented case, we were able to train a network with a mean absolute error of 0.1 weight percent for the synthetic data and 0.7 weight percent for a set of experimental data obtained with certified reference materials.