Autonomous atomic Hamiltonian construction and active sampling of X-ray absorption spectroscopy by adversarial Bayesian optimization
간접 관련 수소연료전지 · (7) MEA(막전극접합체) (6) PEM(고분자전해질막)
기본 정보
- 저자
- DOI
- 10.1038/s41524-023-00994-w
- 저널
- npj Computational Materials
- 발행년도
- 2023
- 발행기관
- Nature Portfolio
- 피인용수
- 11
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1038/s41524-023-00994-w
- 토픽
- Electron and X-Ray Spectroscopy Techniques
- OpenAlex ID
- W4225904192
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 수소연료전지 · (7) MEA(막전극접합체)
- 부 분야
- (6) PEM(고분자전해질막)
- R&D 측면
- 분석·모델링
- 확신도
- 0.70
- 근거 용어
- X-ray absorption spectroscopy, atomic Hamiltonians, Bayesian optimization, electronic structure, transition metal oxides
- 판단 근거
- 이 논문은 X선 흡수 분광법(XAS) 데이터를 효율적으로 분석하고 물리적 모델(Hamiltonian)을 자동으로 피팅하는 알고리즘을 다룹니다. 이는 수소연료전지(PEMFC)의 핵심 소재인 이온전도성 고분자막이나 촉매층의 전자 구조 및 화학적 상태를 정밀하게 분석하는 연구 기법으로 응용될 수 있습니다.
- R&D 활용 포인트
- PEMFC용 고분자 전해질막(PEM)이나 전극 촉매의 화학적 결합 상태 및 전자 구조 분석 시, 실험 데이터 샘플링 효율을 높이고 물리적 모델링의 정확도를 개선하는 데 활용 가능합니다.
- 평가 입력
- 본문 60,114자 중 30,032자 발췌
초록
본문 60,114자
본문 펼치기
섹션 본문 36문단 · 38,238자
(제목 없음)
1X-ray absorption spectroscopy (XAS) is a well-established method for in-depth characterization of the electronic structure due to its sensitivity to the local coordination and electronic states of the active ions. In practice hundreds of energy points should be sampled during the XAS measurement, most of which are redundant and do not contain important information. In addition, it is also a tedious procedure to estimate reasonable parameters in the atomic Hamiltonian for mechanistic understanding. We implemented an Adversarial Bayesian optimization (ABO) algorithm comprising two coupled BOs to automatically fit the multiplet model Hamiltonian and meanwhile to sample effectively based on active learning. Taking NiO as an example, for simulated spectra which can be well fitted by the atomic model, we found that less than 30 sampling points are enough to obtain the complete XAS with the corresponding crystal field or charge transfer model, which can be selected based on intuitive hypothesis learning. Further application on the experimental spectra, it revealed that less than 80 sampling points can already give reasonable XAS and reliable atomic model parameters. Our ABO algorithm has a great potential for future application in automated physics-driven XAS analysis and active learning sampling.
Introduction
2XAS is an important experimental technique used in the investigation of material properties, where a large number of sampling points are required to be measured to capture the fine details and the experimental data need to be analyzed based on atomic Hamiltonian with undetermined parameters 1,2 . Various methods have been used to interpret XAS, including density functional theory (DFT) 3,4 , semi-empirical multiplet models 5,6 , and DFT combined with dynamical mean-field theory (DFT + DMFT) 7 . The DFT-based methods are capable of capturing the crystalline environment of the active ions but limited to the complications arising from the correlation effects. The DFT + DMFT calculations simultaneously account for the chemical realism and correlation effects, where the spectroscopy is evaluated based on the Anderson impurity model (AIM) 8 . Unfortunately, the DFT + DMFT calculations require a large amount of computational time and resources, thus are usually performed off-site by experts.
3In contrast, the semi-empirical methods based on atomic Hamiltonians consider the essential parameterized interactions such as Coulomb interactions, spin-orbit interactions, crystal field, charge transfer and broadening, resulting in transparent mechanistic understanding of XAS [9][10][11] . For instance, the crystal field multiplet (CFM) theory and charge transfer multiplet (CTM) theory constitute two popular models in understanding and simulating experimental XAS of transition metal (TM) oxides. CFM describes atomic interactions with the surrounding ligands treated as a perturbation using the effective electric field 12 , however, the neglection of covalency makes it challenging to describe the crystal field splitting. In contrast, the CTM model takes metal-ligand charge transfer into consideration. Sugano and Shulman devised molecular orbitals (MOs) model to calculate the ligan-field parameters and got good consistency with experimental results 13 . Moreover, Fujimori and Minami used the cluster model considering strong 3d-3d correlations and 3d-ligand orbitals hybridization to improve the interpretability of MLFT for the valence-band photoemission 14,15 . In order to extrapolate the MLFT further to understand band gaps and broad satellite in XAS of transition metals, Gunnarsson, van der Laan and Zaanen took the large ligand hole bandwidth into the account by employing the Anderson impurity Hamiltonian [16][17][18][19] .
4Another practical challenge is how to perform efficient sampling during the experimental measurements. A homogeneous energy grid with several hundreds of measurements within specific energy range is often needed, which is inefficient and resource-costly. The quality of the spectrum varies depending on the choice of sampling points. One way out is the so-called design of experiments (DoE) 20 , which focuses on selecting the input variables of experiments with a significant effect on experiments' target value, and examining how to choose the best combination of independent variables. However, a good number of sampling points are still needed in order to obtain a spectrum with a sufficient signal-to-noise ratio. With the help of machine learning (ML), DoE has undergone a transformation. Several ML-based methods have been applied to the prediction and design of spectroscopy experiments [21][22][23] . Nevertheless, collecting the needed data for ML still requires a lot of effort. The active learning (AL) method based on Bayesian analysis can be applied to reduce the required data, where the posterior mean and variance of the parameter space can be calculated using the Gaussian process (GP) based on the prior distribution function 24 . Mostly, AL stops once the desired level of performance is achieved 25 , which can be applied to spectroscopic experiments to design appropriate stopping criteria. For instance, the decision to stop the measurements can be made by estimating the physical parameters to determine the validity of the current experimental results 26,27 . However, such parameter assessment often requires comparisons between the experimental and theoretical spectra, which are usually not available during the experiments. Furthermore, automatic stopping criteria based on generalization error analysis have now been applied to spectral AL to circumvent this complex parametric analysis process 23 . While such a combination of active learning and stopping criterion can effectively reduce the number of sampling points, the absence of supports based on theoretical models reduces the reliability of AL to extract points of important features. Hence, there is a strong impetus to develop a physics-driven stopping criterion for experimental sampling.
5In this work, we proposed an ABO algorithm, comprising automated parameter fitting to obtain the atomic Hamiltonian and efficient sampling based active-learning. Taking NiO as an example with theoretical XAS obtained using Quanty 9 , we demonstrated that both CFM and CTM models with up to 15 parameters can be constructed, while keeping the number of sampling points at the order of 30. To identify the dominant physical processes, hypothesis learning was done which can distinguish the CFM and CTM models depending on the standard real spectrum (The ground truth in ML). It was further revealed that our ABO algorithm can be applied on the real experimental data, providing a valuable solution to the currently time-consuming XAS measurements and analysis.
Multiplet Models
6For NiO, the L2,3 edge XAS of Ni 2+ can be evaluated using Quanty with model Hamiltonians based on either CFM or CTM defined as follows,
7with being the on-site Coulomb repulsion between 3d electrons of Ni, being the on-site Coulomb interaction between Ni 2p and 3d electrons, • and • being the spin-orbital coupling terms corresponding to Ni 3d and 2p orbitals, respectively, being the Weiss magnetic field acting on Ni. To understand the underlying physics, such empirical parameters should be tailored so that the experimental XAS can be well reproduced, which is challenging as it is a multi-dimensional fitting problem (cf. Supplementary for the complete lists of all relevant atomic parameters). For instance, CFM and CTM distinguish from each other by the excited charge dynamics, where CFM allows only excitations based on the local crystal fields (denoted by in Eq.(1)), whereas virtual charge transfer processes are considered between Ni-3d and ligand 2p orbitals in CTM model (represented by ℎ in Eq.(2)). In the calculations of XAS using Quanty, the two Hamiltonians defined in Eqs. (1) and (2) were applied for both the ground states and excited states. After calculating the ground state wave function, XAS was evaluated using a Lanczos-based Green's function method 28,29 :
8where |Ψ⟩ denotes the ground state, T is the transition operator (here it represents a 2p3d dipole excitation), / is the final state Hamiltonian, is the energy relative to the energy of state |Ψ⟩, and Γ denotes the core-hole lifetime. For the specific forms of each term in Eqs. (1), (2) and (3), please refer to the Supplementary Information. In order to acquire better fitting the experimental data, the Gaussian broadening is usually added uniformly to mimic the broadening caused by experimental instrument while the energy-dependent Lorentzian broadening is applied to simulate the core-hole lifetime broadening.
Adversarial Bayeian Optimization algorithm
9Following the idea of Generative Adversarial network (GAN) 30 where both the generators and discriminators are trained simultaneously, we combined the multiplet Hamiltonian construction and active learning sampling together, leading to an ABO algorithm. Similar to GAN, where a trained generator minimizes the difference between the existing and generated data and the discriminator aims to maximize it, the multiplet model fitting acts like the generator to minimize the difference between the model predicted XAS and the real XAS, whereas the active learning sampling behaves like the discriminator to identify the next sampling points with large uncertainties measured by the loss function. Correspondingly, in our ABO algorithm, there are two coupled BO algorithms. The first one, called fitting BO (fBO), is a trust region Bayesian optimization (TuRBO) applied on our multiplet Hamiltonian to search for better parameters minimizing the difference between the theoretically predicted XAS and the real XAS values. The second one, called sampling BO (sBO), is a simple BO, which functions to select the sampling points that maximize the differences between the predicted and real XAS values. The mathematical form of ABO is expressed as:
10where ,Quanty denotes the theoretically predicted XAS obtained using the Quanty code starting from the multiplet Hamiltonian, and , indicates the real XAS obtained either from Quanty simulations (with hidden parameters) or real experimental measurements, and is the size of current samples set. For fBO, we cannot ignore the possibility that we still may end up with a local optimum due to the high dimensionality of the fitting problem. In order to ensure that the fitting is accurate enough, we set a criterion that the loss between the predictions and the truth should be smaller than a threshold TH, which is defined as the average deviation between all the experiment values and its corresponding predictions. Afterwards, the resulting parameters and XAS will be fed into sBO, which will evaluate the current points and their corresponding differences, and then calculate the location of next point which is thought to have maximum difference. The ABO workflow is shown in Figure 1.
Bayesian optimization
11Inside the ABO algorithm, we used an ExactGP and the scaled Matern52 kernel implemented in Gpytorch 31 to interpolate the intensity values of sampling points of XAS by considering similarity of points and estimating the value of functions correspondingly 24 . Both fBO and sBO were constructed by using BoTorch 32 . We used GP to describe the distribution of XAS measurements. The outcomes of sampling points were first normalized to zero mean and unit variance. Assuming the observed inputs are = ( 1 , … , ) ∈ ℝ and the corresponding outcomes are = ( 1 , … , ) . The relation between the inputs and the outcomes follows the rule as = ( ) + , where is a Gaussian which describes the noise distribution. The Gaussian of the previous observation and the new point can be expressed as:
12where the ( , ) + 2 is the covariance matrix between all observations with the estimated noise distribution during the measurement, is an identity matrix. The kernel function used is Matern52 with a characteristic length-scale . The twice differentiability of Matern52 makes it preferred to mimic the noise behavior in ML. However, the smoothness of the simulated function varies with respect to different dimension and location of the parameters. Thus, with a uniform in the whole parameter space, the changes of local smoothness cannot be well described. In Gpytorch, the magnitude of the kernel is scaled by a scale factor . As for the position of the parameter space, the will be adjusted according to samples in batch and the range of Trust Region (TR) in BoTorch. This part will be explained later in the Trust Region Bayesian Optimization section. Since GP is closed in the conditional action and marginalization cases, length scale can be optimized by maximizing the log marginal likelihood:
13(log( ( , ; ))), (7) where:
This regression is done by Adam optimization algorithm implemented in BoTorch.
14For the next energy point * , its posterior distribution is also a Gaussian: After obtaining the posteriors, we can use them to find the next sampling point with the help of acquisition function, which balances between exploration and exploitation. We used the Upper Confidence Bound (UCB) and Parallel Upper Confidence Bound (qUCB) 33 implemented in BoTorch as the acquisition function for sBO and fBO (with Thompson sampling), respectively. The hyperparameters used for UCB and qUCB were adjusted accordingly in the different tests. For the CFM model, the global hyperparameters of sBO were set to 16; for the CTM model the hyperparameters were 49 for the initial 10 iterations and 4 for the remaining steps. Whereas for the tests using the experimental data, the hyperparameters were set to 100 for the initial 18 iterations and 1 for the remaining steps. For all simulations, the reason for using high values at the beginning is that our ABO starts with a small initial sample size, such high exploration values can give us a rough overall data distribution and prevent the ABO from ending at a local minimum.
Trust Region Bayesian Optimization
15Although the traditional Bayesian optimization shows its power in low-dimensional gradient-free fitting, it is still limited by the exponential growth in computational complexity with high-dimensional parameters and large sample size [34][35][36] . For the highdimensional black-box problem like CFM and CTM model, it is difficult to describe this complex distribution precisely with a GP with a stationary kernel. In addition, the Bayesian optimization tends to stop at a local optimum due to the non-convexity of the problem 37 . To address these challenges, we applied the trust region (TR) method into the optimization. In the TR method, the algorithm selects the candidates according to each different TR, introduces a separate GP surrogate model for each TR, and optimizes its hyperparameters accordingly. Thus, within TR, the surrogate model is sufficiently accurate to describe the problem locally and is able to provide an optimal solution 38 .
16During the optimization, TR is chosen to be a hyper-rectangle area with the current best solution * located at the center of it. The base side length of each dimension of this hyper-rectangle is set to be , and the actual side length of each dimension of parameters can be obtained by = /(∏ =1 ) 1 , where is the length scale of parameters in GP. In each step we selected a batch of candidates within the TR with the help of GP and acquisition function. If the algorithm finds a better optimal solution than the current one in two successive iterations, the current TR is treated to be small enough so that the existing GP surrogate model is already capable of predicting with good accuracy. The of TR is then doubled to allow the surrogate model to search in a larger range. If the algorithm cannot find a better solution in two iterations, the current TR is considered to be too large and will be halved. The algorithm will stop when the side length meets maximum threshold max or minimum threshold min . It is noted that a single TR cannot guarantee a global optimum but mostly the local minimum. To solve this problem, a parallelization of TRs with varying local GPs was introduced by TuRBO. The best result is then selected by:
17where ( ) the optimal point of our selection; ∈ {1, 2, … , } denotes all the TRs utilized in each iteration, ( ) ~ ( ) ( ( ), ( , ′ )) is the GP surrogate model applied in 39 .
Fitting CFM with active learning sampling
18Keeping in mind that the goal of the ABO algorithm is to reach the standard real spectrum with as few sampling points as possible. Starting with CFM fitting, there are 9 independent parameters, including the Coulomb interaction 2 , 4 , 2 , 1 , 3 , the crystal splitting 10 , the spin orbital coupling strength of Ni 2p and 3d orbitals 2 , 3 , the exchange magnetic field . The Slater integral 0 is related to U by
19and 0 is related to by
20Note that as the total number of electrons is conserved in CFM, and can be dropped out, i.e., = = 0.
21To demonstrate the efficacy and robustness of the ABO algorithm, it is first applied to the Ni 2+ L2,3 edge XAS curve produced by the 9-parameter CFM. We note that the L2,3 XAS spectra have been already well reproduced using crystal field based models for NiO 40 . In order to reduce the dimension of the problem, 4 is fixed based on the feature importance (FI) analyze for all 9 parameters (cf. Supplementary Figure S1). Figure 2 shows the snapshots obtained based on the ABO algorithm with 3, 19, and 27 sampling points (Figure 2.a to 2.c). For an initial dataset consisting of 3 random points (Figure 2.a), it is observed that the resulting XAS (red curve) obtained using the Hamiltonian from fBO has a huge difference compared to the theoretical standard real XAS curve (black curve). This suggests that due to insufficient sampling points, the Hamiltonian fitting suffers from an extremely non-convex problem, and the resulting CFM model is trapped in one of many possible local minima. However, such an inaccurate Hamiltonian can still be applied to predict the next sampling point in sBO by evaluating the deviation from the theoretical standard real XAS curve. In follow-up iterations, CFM gets substantially improved and the non-convexity is tremendously reduced, reaching the theoretical standard real XAS curve expeditiously (Figure 2.d). With 19 sampling points as shown in Figure 2.b, the algorithm is able to recover the shape of the XAS curve and reproduce the fine structures besides peaks and valleys. Further sampling up to 27 points allows the ABO algorithm to well get the theoretical standard real XAS curve, with the corresponding parameters in CFM converged excellently (cf . Table S3). fitting, and the magenta cross is the point to be measured in the next round, which is determined by sBO. In the lower half plots are the standardized prediction of sBO, where the blue dots denote the GP predicted loss with the yellow region are the uncertainties. The parameter comparison for listed steps is shown in Supplementary Table S4. Figure 2.d shows the convergence indicated by the loss function plotted with respect to the number of sampling points, where the loss function is defined as the average deviation between all points on the prediction and the theoretical standard real XAS curves. Correspondingly, the convergence of model parameters is shown in Figure S3, with the intermediate parameters and the real parameters for the theoretical standard real XAS listed in Table S3. It is observed that 3 and 2 have relative larger deviation of respectively 2.07% and 1.15% compared to the other parameters, which can be attributed to the less FI for such parameters (see supplementary section S1.1).
Fitting CTM model with active learning sampling
22To further explore the capability of the ABO algorithm, it is applied to the more sophisticated CTM model, which considers the charge transfer effects. CTM for NiO has in total 15 input parameters, including the Coulomb interaction parameters , , 2 , 4 , 2 , 1 , 3 , the charge transfer energy ∆, the crystal field splittings corresponding to Ni 3 and ligand orbitals 10 , 10
23, the hopping integral between O-2 and Ni-3 orbitals of 2 and symmetry 2 , , the spin orbital coupling strength of Ni-2 and 3 orbitals 2 , 3 , and the exchange magnetic field . We adapted parts of the algorithm process by giving the physical preconditions to reduce the difficulty of high-dimensional fitting. The adapted ABO algorithm was then straightforwardly applied to fit the XAS curves simulated using the CTM model.
24The results are shown in Figure 3. Initial random sampling points are helpful to get a reasonable starting model as we observed for CFM, thus for CTM 10 initial points ( Fig. 3.a) are used in order to get a rough estimation of the overall data distribution. This helps significantly with the convergence, in comparison with only one initial point as shown in Fig. S4. And as illustrated in Figure 3.b, 23 sampling points are already enough for the ABO algorithm to capture the essential features such as peaks and satellites. Interestingly, as shown in Figure 3.c, we found that the ABO algorithm can identify the critical regions and keep on improving its accuracy therein, though the fitted curves and used parameter values are already very close to the theoretical standard real spectrum. The convergence of the model parameters is depicted in Fig. S4, and the final fitted parameters are summarized in Table S5. There are four parameters with larger deviations i.e., 2 , 10 , 10 and (3.01%, 2.83%, 2.24% and 2.11%). According to the FI analysis (see Supplementary Section S1.2), such parameters have relatively less significant FI, thus the sensitivity of the final results with respect to such parameters is marginal. Moreover, the distribution of the selected sampling points covers mostly the regions containing important information on the theoretical standard real spectrum, e.g., the peaks, satellites, and the splitting. This confirms the robustness of our ABO algorithm, i.e., the adversarial algorithm can dynamically allocate the sampling region to improve the XAS while continuously improving the parameter fitting for the atomic Hamiltonian. Table S6.
Automatic model selection
25An interesting question is whether an appropriate atomic model can be automatically identified, as recently demonstrated on model selection and information fusion 41 and hypothesis learning 42 . To verify this, we integrate both CFM and CTM models starting with a theoretical standard real spectrum obtained based on either CFM or CTM, and let the ABO algorithm to automatically determine which model should be used. Since the CTM model includes all parameters of CFM model, which means it in theory can fully recover the theoretical standard real spectrum of the CFM by setting the common parameters the same and keeping the rest parameters of ligand field to be 0. So, in our test, in order to allow the two models to be distinguished from each other, we applied different peak broadening methods on different models to ensure that the final generated XAS spectrum have different shapes. Then to avoid the initial arbitrariness, 5 random points are used to train preliminary models. The follow-up convergence behaviors are shown in Figure 4.a and 4.b, for CFM and CTM theoretical standard real spectrum, respectively. Obviously, there is already a clear distinguishment for the CFM and CTM models within 22 iterations, i.e., 22 more sampling points, as measured by the deviations between Loss_CFM and Loss_CTM. That is, the ABO algorithm can easily distinguish the model Hamiltonian and select the correct one based on the experimental data. For instance, in Figure 4.a with a CFM theoretical standard real spectrum, the ABO algorithm using a CTM Hamiltonian can have comparable performance as CFM for less than 7 sampling points (i.e., up to two steps plus the initial five random points). As the number of iterations keeps increasing, the results obtained using CTM Hamiltonian deviate more from the theoretical standard real spectrum in the beginning and then decrease to a constant level. Therefore, we suspect that by training several models in parallel, the important physics for a material system can be automatically identified, e.g., whether the charge transfer processes play an important role. It is noted that the model selection can be performed in a more reliable way by evaluating the Bayes factors 43 , which will be saved for future study.
Experimental curve fitting based on the CTM model
26After demonstrating that the ABO algorithm works on the theoretically generated standard real XAS, we turn now to find out its performance on the experimental data. According to Ref. 9 , it is clear that the charge transfer processes are critical for NiO, thus CTM is more appropriate to describe the underlying physics of NiO and we consider only CTM here. Starting from the experimental XAS results 40 , we firstly fit the CTM model parameters with 12 random sampling points in order to avoid local minima and possible sampling bias. The results of ABO fitting are shown in Figure 5. The comparison between all the parameters is shown in Supplementary section S3, Fig. S5 and the convergence plots of case starts with only one initial points is shown in Fig. S6. As shown in Figure 5.a, because of the relatively large initial sample set, the shape of fitted curve is already closer to the experimental XAS, in particular for the L2 edge but not the L3 and satellite peaks. Figure 5.b to Figure 5.e depict the follow-up optimization snapshots. Between Figure 5.b and 5.c, it is observed that the sampling points are clustered between 872 and 876 eV, trying to improve the fitting for the L2 edge. This suggests our ABO algorithm can focus on the most problematic points where the physical model can get most potentially improved. In particular, after a few attempts without improvements, the region between 872 and 876 eV is abandoned and the ABO algorithm begins to explore the L3 peak regions centered at 853.3eV, as clearly marked by the suggested sampling points in Figure 5.c, 5.d, and 5.e. This can be attributed to the fact that the covariance for sampling points between 872 and 876 eV becomes smaller due to the accumulation of points in the region, though the loss in this region is still large, the ABO algorithm prefers to explore other regions that can help improve the results, e.g., the peak regions where the deviations are still large. Therefore, the ABO algorithm can progressively optimize the results on its own if a sufficient number of iterations is allowed, as evidenced by the step descending convergence behavior around the 40-th step ( Figure 5.f).
27Although a perfect agreement between the model-derived XAS and experimental standard real spectrum cannot be achieved, detailed analysis reveals that the ABO algorithm can be applied to construct a reasonable Hamiltonian by active-learning sampling the experimental XAS. Unlike the previous convergence plots using the curves generated by CFM and CTM as the standard real spectrum where the loss drops rapidly, for the experimental standard real spectrum, the loss function converges slowly and eventually shows an oscillating behavior after 40 iterations ( Figure 5.f and supplementary Figure S5), indicating there are more than one solution which cannot be distinguished by varying current set of parameters. We identify three models with distinct parameters characterizing the oscillating region, with the resulting parameters summarized in Table S7. Correspondingly, it is observed that there are four most diverged parameters (i.e., , , and 2 , 4 ) among such models (the detailed convergence behaviors of these parameters are shown in supplementary Figure S5). The Slater integral 2 and 4 are the integral over the radial wave functions in the electron-electron interaction Hamiltonian (the details can be referred to the supplementary S4) and can be calculated in the Hartree-Fock approximation on a free ion using Cowan's code 44 . Physically, 2 > 4 and a good approximation gives a constant ratio 4 = 0.62 2 for 3d 8 configuration 40 . For the spherical part of the Coulomb repulsion parameters and , their values were obtained via fitting the multiplet ligand field model to experimental XAS spectra directly in Ref. 9 , which suggest that the parameters obtained by fitting the experimental results using ABO should be comparable with the reference values. However, this is not the case for some fitted parameters in the oscillation zone regarding not only and , but also 2 and 4 , thus these possibilities in the oscillation zone are ruled out. Here, we would also like to mention that due to the limitation of the adopted CTM model, it is not surprising that the parameter sets obtained by fitting the spectral shape using ABO do not always demonstrate proper physical meaning.
28Based on the loss and physical reasonableness of the fitting parameters, the final result is shown in Figure 5.g. Obviously, XAS obtained from the CTM Hamiltonian fitted using our ABO algorithm exhibits good agreement with the experimental data, in good comparison with XAS obtained using the model parameters obtained by experts 9 . Table 1 summarizes the resulting parameters from Ref. 9 and the final parameters using our ABO algorithm. For Coulomb interaction parameters 3 , crystal field splitting 10 , hopping integral of symmetry , and exchange magnetic field , ABO results show relative strong deviations from the results in the literature. The reason for such deviations can be attributed to the FI of such parameters as shown in Figure S2. This suggests that there is a big degree of freedom in developing physical understanding of XAS, as the same experimental data can be fitted by several groups of atomic Hamiltonian parameters, entailing more detailed theoretical calculations.
Experimental curve fitting based on the CTM model with background subtraction and model constrains
29Although our ABO fitted spectra are in good agreement with the experimental curve, the fitted parameter sets still shows some non-physical relations compared with the theoretical value, e.g., Veg<Vt2g. This can be attributed to the following three reasons: 1. The calculated spectrum using the CTM model does not include the continuum absorption background, as the background information in the experimental spectrum is not completely removed; 2. The algorithm sees only the local information, i.e., only the selected-out measurement points rather than the entire curve. The aggregation of samples caused by the non-negligible background can lead to the overweight of regions with concentrated sampling points and cause bias during the parameter fitting; 3. Greedy algorithms without physical constraints only focus on reducing the curve differences, which may give rise to overfitting and thus wrong physical relations.
30Correspondingly, we updated our model by restricting > 2 , and eliminated the step edge background by fitting a two-step arctangent weighted function [46][47][48] after each fBO process, and used the background-eliminated data for the sampling of sBO process. The two-step arctangent weighted function we used is:
31where is the step height, is the X-ray energy, is the center of function at the desired X-ray energy and is the constant controls the slope of the step. All such six parameters A 1 , A 2 , u 1 , u 2 , c 1 , c 2 are fitted automatically in our Bayesian optimization loop. Figure 6.a, 6.b and 6.c. As shown in Figure 6, compared to the previous results without removing the background, the loss (cf. Figure 6(d)) in this fitted curve drops rapidly to below 12 within four iterations (i.e., with 16 sampling points) and stabilized at around 10 in subsequent fits with no significant fluctuations. We find that the sampling points are more distributed throughput the whole energy range (Figure 6.a, 6.b and 6.c), with a tendency to accumulate in regions with fine features in the XAS spectra such as satellite peaks. This demonstrates that our ABO algorithm can explore a wide region while maintaining a high exploitation rate. And for the parameter comparison as shown Table 2, the model fitted more physically reasonable parameters in fewer cycles and effectively identified stable and robust backgrounds during the experiment. The parameters with relative larger deviations this time are 10 and 10 . The reason of such deviations can be attributed again to the relative lower FI of such parameters as shown in Figure S2 for 10 and 10 . From the physical point of view, for the deviation of 10 , when measuring the L-edges in XAS, the 2p electrons are mainly excited to the eg orbitals because the t2g orbitals are fully occupied by the 8 value electrons of Ni 2+ ions. Therefore, the magnitude of 10 is not expected to significantly affect the spectral shape, but rather that the global shift of the energy positions corresponding to the absorption peaks and the relative heights between the different peaks. As the calculated XAS spectra are shifted during the ABO process in order to fit the experiment data, only the relative heights remain as a relatively weak condition to obtain 10Dq, which can be also influenced by the values of other parameters. Last but not least, the constraints can be easily derived from DFT calculations, which will be addressed systematically in the future study. We also applied the ABO algorithm to the other material systems such as MnO and SrTiO3 (not shown), and observed that accurate curve fitting can be achieved, in particular with the physical constraints derived from DFT calculations.
Discussion
32Although the prediction of XAS appears to be a simple one-dimensional regression as a function of energy, it is actually a sophisticated problem which entails physics-driven modelling. As it is demonstrated, by incorporating the physical Hamiltonian model into the fitting process, our ABO algorithm can not only predict the peak/satellite positions and fine structures of XAS, but also can automatically select and inversely construct the physical model simultaneously in an adversarial manner. Importantly, we find that the sampling efficiency using our ABO algorithm can be significantly enhanced in comparison to a stopping criterion algorithm based on Bayesian optimization as done in Ref. 23 . For instance, for the CFM model theoretical standard real spectrum, the number of sampling points based on our ABO algorithm is 24.3% of that for a single BO with stopping criterion 0.025, and the corresponding ratio for the CTM model theoretical standard real spectrum is 18.8% (cf. Supplementary Table S8). That is, the physics-driven Hamiltonian obtained via the fBO component is essential for more effective sampling of XAS. Furthermore, the high accuracy and efficiency of our ABO algorithm can be attributed to two reasons. The first reason is that when fBO and sBO compete against each other on loss, the algorithm is actually trying to drive the sample distribution closer to the true data distribution. Such a distribution not only effectively represents the important information of the data, but also allows for a more efficient and faster fitting of the model. The second reason is that the introduction of physical models within fBO changes the prior of sBO in each iteration, this makes it possible to explore extensively while maintaining a high exploitation ratio, i.e., the high exploration rate of the fBO provides us with a wide range of possible model spectra, which leads to variations in losses between measurements and physical models, while sBO with high exploitation ratio can precisely pinpoint the maximum losses during the sampling, and thus it is able to capture the peak/satellite positions of the XAS spectra efficiently and accurately. However, it should not be overlooked that such efficient sampling is based on regression analysis of the current data using a physical model, a process that prolongs the decision-making time in the experimental process. The current version of ABO takes about 15 minutes per round of computation on a single-core NVIDIA Tesla T4 GPU and intel core AVX512. Depending on the complexity of the model, it usually takes between one to five rounds of calculations to find the minimum that satisfies the threshold. This shortcoming on the one hand can be partially overcome by performing batch sampling in sBO or by multi-threaded parallel fitting in fBO; on the other hand, by combining with DFT calculation, automatically pre-determining some of the parameters, the fitting process can be even faster, so that our ABO algorithm can get integrated with experimental measurements in the future. One thing worth to mention is that, besides the application of ABO approach on XAS spectrum, this approach can be easily transferred to other problems with physical properties derived based on parameterized Hamiltonian, which can be correlated with experimental measurements. For example, by employing advanced Fourier basis in Ref. 50 as the physical model, our ABO can be applied to facilitate the fitting and sampling of EXAFS, which will be saved for future investigation.
33To summarize, we implemented an ABO algorithm for physics-informed active learning sampling of XAS. Applying the algorithm on the simulation of two different theoretical standard real spectra, it is demonstrated that our algorithm not only succeeds in predicting the true curve, but also accurately predicts the parameters in the atomic Hamiltonian. Intuitive application of the ABO algorithm shows that hypothesis learning can be accomplished, so that the physically meaningful models can be automatically selected. For simulations using real experimental data, our ABO algorithm can quickly find the optimal solution of the model for the current data and select the sampling points most likely to further enhance the model accordingly, and it is able to automatically adjust the XAS spectra background and the model used to better predict the experimental data as it evolves. We believe that the ABO algorithm has a great potential for real-time applications in XAS experiments with the on-the-fly construction of physical models.
Data availability
34All data needed to produce the work are available from the corresponding author.
Code availability
35ABO code is available upon reasonable request from the corresponding author.
Contributions
36This work originated from the discussion of H.Z., Y.Z., R.X and T.L. H.Z. and R.X. supervised the research. Y.Z. and T.L. worked on the machine learning model. Y.Z. and R.X. worked on the Quanty simulations. Y.Z., R.X., D.G., H.W. and K.O. worked on data analysis. All authors contributed in the writings.
참고문헌 43건
- Covalency Effects in KNi<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline"><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="normal">F</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math>. III. Theoretical Studies Physical Review · American Institute of Physics · 1963 10.1103/physrev.130.517
- Core Level Spectroscopy of Solids CRC Press eBooks · Informa · 2008 10.1201/9781420008425
- Bayesian Optimization in a Billion Dimensions via Random Embeddings Journal of Artificial Intelligence Research · AI Access Foundation · 2016 10.1613/jair.4806
- The Arrangement of Field Experiments Springer series in statistics · Springer Science+Business Media · 1992 10.1007/978-1-4612-4380-9_8
- Proceedings of the 24th international conference on Machine learning 2007 10.1145/1273496
- Bands, resonances, edge singularities and excitons in core level spectroscopy investigated within the dynamical mean-field theory EPL (Europhysics Letters) · Institute of Physics · 2014 10.1209/0295-5075/108/57004
- Bethe-Salpeter equation calculations of core excitation spectra Physical Review B · American Physical Society · 2011 10.1103/physrevb.83.115106
- Advances in neural information processing systems 7 Neurocomputing · Elsevier BV · 1997 10.1016/s0925-2312(97)90018-7
- Photoemission from Ce Compounds: Exact Model Calculation in the Limit of Large Degeneracy Physical Review Letters · American Physical Society · 1983 10.1103/physrevlett.50.604
- Comparison of x-ray absorption with x-ray photoemission of nickel dihalides and NiO Physical review. B, Condensed matter · American Physical Society · 1986 10.1103/physrevb.33.4253
- Multielectron satellites and spin polarization in photoemission from Ni compounds Physical review. B, Condensed matter · American Physical Society · 1984 10.1103/physrevb.29.5225
- Termaufspaltung in Kristallen Annalen der Physik · Wiley · 1929 10.1002/andp.19293950202
- Correlated electrons in high-temperature superconductors Reviews of Modern Physics · American Physical Society · 1994 10.1103/revmodphys.66.763
- Electron spectroscopies for Ce compounds in the impurity model Physical review. B, Condensed matter · American Physical Society · 1983 10.1103/physrevb.28.4315
- Multiplet ligand-field theory using Wannier orbitals Physical Review B · American Physical Society · 2012 10.1103/physrevb.85.165113
- Spin-orbit coupling in iridium-based 5<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline"><mml:mi>d</mml:mi></mml:math>compounds probed by x-ray absorption spectroscopy Physical Review B · American Physical Society · 2012 10.1103/physrevb.86.195131
- <i>3d</i>x-ray-absorption lines and the 3<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline"><mml:mrow><mml:msup><mml:mrow><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mn>9</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math>4<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline"><mml:mrow><mml:msup><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mn /></mml:mrow></mml:msup></mml:mrow></mml:math>… Physical review. B, Condensed matter · American Physical Society · 1985 10.1103/physrevb.32.5107
- Time dependent density functional theory of core electrons excitations Chemical Physics Letters · Elsevier BV · 2003 10.1016/s0009-2614(03)00543-8
- Temperature and thickness dependence of magnetic moments in NiO epitaxial films Physical review. B, Condensed matter · American Physical Society · 1998 10.1103/physrevb.57.11623
- XANES Studies of Oxidation States of Sulfur in Aquatic and Soil Humic Substances Soil Science Society of America Journal · Wiley · 1998 10.2136/sssaj1998.03615995006200050014x
- Valence-band photoemission and optical absorption in nickel compounds Physical review. B, Condensed matter · American Physical Society · 1984 10.1103/physrevb.30.957
- Quantitative analysis of all major forms of sulfur in coal by x-ray absorption fine structure spectroscopy Energy & Fuels · American Chemical Society · 1991 10.1021/ef00028a008
- X-ray absorption spectroscopy Photosynthesis Research · Springer Science+Business Media · 2009 10.1007/s11120-009-9473-8
- X-ray circular dichroism as a probe of orbital magnetization Physical Review Letters · American Physical Society · 1992 10.1103/physrevlett.68.1943
- Determination of the electronic structure of transition-metal compounds:<i>2p</i>x-ray photoemission spectroscopy of the nickel dihalides Physical review. B, Condensed matter · American Physical Society · 1986 10.1103/physrevb.33.8060
- Confidence-based active learning IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2006 10.1109/tpami.2006.156
- Taking the Human Out of the Loop: A Review of Bayesian Optimization Proceedings of the IEEE · Institute of Electrical and Electronics Engineers · 2015 10.1109/jproc.2015.2494218
- Bond disproportionation and dynamical charge fluctuations in the perovskite rare-earth nickelates Physical review. B./Physical review. B · American Physical Society · 2016 10.1103/physrevb.94.195127
- LDA+DMFT approach to core-level spectroscopy: Application to <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mn>3</mml:mn><mml:mi>d</mml:mi></mml:mrow></mml:math> transition metal compounds Physical review. B./Physical review. B · American Physical Society · 2017 10.1103/physrevb.96.045111
- Adaptive design of an X-ray magnetic circular dichroism spectroscopy experiment with Gaussian process modelling npj Computational Materials · Nature Portfolio · 2018 10.1038/s41524-017-0057-4
- Bayesian uncertainty quantification and information fusion in CALPHAD-based thermodynamic modeling Acta Materialia · Elsevier BV · 2018 10.1016/j.actamat.2018.11.007
- X-ray spectroscopy of the rare-earth nickelate <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>LuNiO</mml:mi><mml:mn>3</mml:mn></mml:msub></mml:math> : <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>LDA</mml:mi><mml:mo>+</mml:mo><mml:mi>DMFT</mml:mi></mml:math> study Physical review. B./Physical review. B · American Physical Society · 2020 10.1103/physrevb.102.085155
- The Theory of Atomic Structure and Spectra 1981 10.1525/9780520906150
- Modern X-ray spectroscopy: XAS and XES in the laboratory Coordination Chemistry Reviews · Elsevier BV · 2020 10.1016/j.ccr.2020.213466
- 2p x-ray absorption spectroscopy of 3d transition metal systems Journal of Electron Spectroscopy and Related Phenomena · Elsevier BV · 2021 10.1016/j.elspec.2021.147061
- Appropriate basis selection based on Bayesian inference for analyzing measured data reflecting photoelectron wave interference arXiv (Cornell University) · Cornell University · 2021 10.48550/arxiv.2105.02341
- Gaussian processes for autonomous data acquisition at large-scale synchrotron and neutron facilities Nature Reviews Physics · Nature Portfolio · 2021 10.1038/s42254-021-00345-y
- Automated stopping criterion for spectral measurements with active learning npj Computational Materials · Nature Portfolio · 2021 10.1038/s41524-021-00606-5
- (제목 없음) Directory of Open access Books (OAPEN Foundation) · 2022 10.7551/mitpress/3206.001.0001
- Bayes Factors Journal of the American Statistical Association · 1995 10.1080/01621459.1995.10476572
- CCDCGAN: deep learning prediction of crystal structures Acta Crystallographica Section A Foundations and Advances · 2021 10.1107/s0108767321096045
- Hypothesis Learning in Automated Experiment: Application to Combinatorial Materials Libraries Advanced Materials · Wiley · 2022 10.1002/adma.202201345
- A review of trust region algorithms for optimization Oxford University Press eBooks · Oxford University Press · 2000 10.1093/oso/9780198505143.003.0023