원시데이터 수집 시스템
선정목록으로

A simple denoising approach to exploit multi-fidelity data for machine learning materials properties

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (21) 에폭시수지(16) CPI(투명 폴리이미드)

기본 정보

저자
  1. Xiaotong Liu — Beijing Advanced Innovation Center for Materials Genome Engineering, Beijing Information Science and Technology University, No. 35 Beisihuan Middle Road, Beijing, 100101, Beijing, P. R. China|||School of Computer, Beijing Information Science and Technology University, No. 35 Beisihuan Middle Road, Beijing, 100101, Beijing, P. R. China
  2. Pierre-Paul De Breuck — Institute of Condensed Matter and Nanosciences, UCLouvain, Chemin des Étoiles 8, Louvain-la-Neuve, 1348, Belgium
  3. Linghui Wang — School of Computer, Beijing Information Science and Technology University, No. 35 Beisihuan Middle Road, Beijing, 100101, Beijing, P. R. China
  4. Gian‐Marco Rignanese — Institute of Condensed Matter and Nanosciences, UCLouvain, Chemin des Étoiles 8, Louvain-la-Neuve, 1348, Belgium|||School of Materials Science and Engineering, Northwestern Polytechnical University, No. 127 Youyi West Road, Xi’an, 710072, Shaanxi, P. R. China
DOI
10.1038/s41524-022-00925-1
저널
npj Computational Materials
발행년도
2022
발행기관
Nature Portfolio
피인용수
13
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41524-022-00925-1
토픽
Electron and X-Ray Spectroscopy Techniques
OpenAlex ID
W4309046826

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(21) 에폭시수지, (16) CPI(투명 폴리이미드)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
machine learning, materials properties, denoising, multi-fidelity data, density-functional theory
판단 근거
이 논문은 다양한 정확도를 가진 데이터(실험값 및 DFT 계산값)를 활용하여 재료의 물성(Band gap)을 예측하는 머신러닝 노이즈 제거 기법을 다룹니다. 특정 제품을 직접 연구하지는 않으나, 코오롱인더스트리의 고분자(에폭시, PI 등) 및 복합소재 개발 시 데이터 기반의 물성 예측 및 신소재 스크리닝 공정에 응용 가능한 방법론을 제시합니다.
R&D 활용 포인트
신규 고분자 소재나 기능성 필름 개발 시, 제한된 실험 데이터와 방대한 시뮬레이션 데이터를 결합하여 물성을 정확하게 예측하는 머신러닝 모델 구축에 활용 가능합니다.
평가 입력
본문 58,367자 중 30,032자 발췌

초록

Abstract Machine-learning models have recently encountered enormous success for predicting the properties of materials. These are often trained based on data that present various levels of accuracy, with typically much less high- than low-fidelity data. In order to extract as much information as possible from all available data, we here introduce an approach which aims to improve the quality of the data through denoising. We investigate the possibilities that it offers in the case of the prediction of the band gap using both limited experimental data and density-functional theory relying on different exchange-correlation functionals. After analyzing the raw data thoroughly, we explore different ways to combine the data into training sequences and analyze the effect of the chosen denoiser. We also study the effect of applying the denoising procedure several times until convergence. Finally, we compare our approach with various existing methods to exploit multi-fidelity data and show that it provides an interesting improvement.

본문 58,367자

본문 펼치기
/ pj p ARTICLE OPEN ### A simple denoising approach to exploit multi-fidelity data for machine learning materials properties [3,4](http://orcid.org/0000-0002-1422-1205) ✉ Xiaotong Liu [1,2,](http://orcid.org/0000-0001-7755-2530) Pierre-Paul De Breuck [3,](http://orcid.org/0000-0002-3173-2058) Linghui Wang2 and Gian-Marco Rignanese Machine-learning models have recently encountered enormous success for predicting the properties of materials. These are often trained based on data that present various levels of accuracy, with typically much less high- than low-fidelity data. In order to extract as much information as possible from all available data, we here introduce an approach which aims to improve the quality of the data through denoising. We investigate the possibilities that it offers in the case of the prediction of the band gap using both limited experimental data and density-functional theory relying on different exchange-correlation functionals. After analyzing the raw data thoroughly, we explore different ways to combine the data into training sequences and analyze the effect of the chosen denoiser. We also study the effect of applying the denoising procedure several times until convergence. Finally, we compare our <mark>approach</mark> <mark>with</mark> <mark>various</mark> <mark>existing</mark> <mark>methods</mark> <mark>to</mark> <mark>exploit</mark> <mark>multi-fdelity</mark> i <mark>data</mark> <mark>and</mark> <mark>show</mark> <mark>that</mark> <mark>it</mark> <mark>provides</mark> <mark>an</mark> <mark>interesting</mark> <mark>improvement.</mark> <mark>npj</mark> <mark>Computational</mark> <mark>Materials</mark> <mark>(2022)8:233</mark> <mark>;</mark> <mark>[https://doi.org/10.1038/s41524-022-00925-1](https://doi.org/10.1038/s41524-022-00925-1)</mark> INTRODUCTION With the considerable increase in available data, materials science is undergoing a revolution as attested by the multiplication of data-driven studies in recent years <sup>1–5</sup> . Among all these investigations, the prediction of properties from the atomic structure (or sometimes just the chemical composition) is an extremely important topic <sup>6</sup> . Indeed, having an accurate predictor can be very useful for accelerating high-throughput material screening <sup>7,8</sup>, generating new molecules <sup>3</sup>, or classifying reactions <sup>9</sup> . To develop such predictors, different kinds of structural descriptors have been used relying on the Coulomb matrix <sup>10</sup>, graphs <sup>11</sup>, voxels <sup>12</sup>, and so on. Furthermore, various advanced machine learning techniques have been employed in the predictor model, such as attention <sup>13</sup>, graph convolution <sup>11</sup>, embedding <sup>14</sup>, or dimensionality reduction <sup>15</sup> . However, the characteristics of the data itself are seldom discussed. In particular, many databases consist of simulated data, hence intrinsically poorer in quality compared to the experimental results. Indeed, it is basically always necessary to resort to approximations to limit the computational power required to solve the quantum mechanical equations describing a molecule or a solid. For instance, density-functional theory (DFT) relies on an approximate functional to model the exchange-correlation (XC) energy (see e.g., ref. <sup>16</sup> ). This necessarily comes at the cost of a reduction of the accuracy of the predicted properties. For example, it is well known that properties calculated within DFT may present systematic errors <sup>17–19</sup> . Nonetheless, many computational works focus on the relative property values for different structures, so that the systematic errors can be canceled and the trend between the structures is not affected <sup>20</sup> . In contrast, if the focus is on the absolute property value for a given structure, the difference between the experimental and calculated values cannot be neglected. For instance, for the band gap of solids, the DFT calculations relying on local and semi-local XC functionals typically lead to a systematic underestimation of 30–100% with respect to the experimental results <sup>21</sup> . The available data for one property may present various levels of accuracy, depending on the approach adopted to collect them, be it computational or experimental. Obtaining computational results faster usually requires to resort to more important approximations and hence leads, as a general rule, to a lower accuracy (cost vs. accuracy trade-off). Obtaining experimental results generally necessitates even more time. Therefore, available databases typically contain orders of magnitude less highaccuracy results than low-accuracy ones. To take full advantage of all these different accuracy data, various multi-fidelity approaches have recently been developed for studying all kinds of properties, such as molecular optical peaks <sup>22</sup>, formation energies <sup>23,24</sup>, and band gaps <sup>25,26</sup> which will also be studied in this work. In the same line of thought, various methods have also been considered, including information fusion algorithms <sup>23</sup>, Bayesian optimization <sup>24,27</sup>, directed message passing neural networks <sup>22</sup>, and transfer learning <sup>28,29</sup> . In the multi-fidelity approaches, different values of the property (varying in accuracy) may be provided for the same compound. The systematic errors that they may present (from the dataproducer standpoint) are included in the noise as defined from a machine-learning (ML) perspective (i.e., from the data-consumer standpoint), see Supplementary Information about bias-variancenoise decomposition. Here, we consider the experimental data as the true value (even though it may vary depending on the technique). Note that the ML noise (data-consumer standpoint) covers not only systematic errors but also random noise (dataproducer standpoint). In the present work, we take a different route to exploit all available information: we focus on decreasing the noise on the data (i.e., reducing the input errors of the different models), taking inspiration from O2U-Net, a recent effort for improving the model performance in image classification <sup>30</sup> . The concept of noisy data dates back to the 80s and reasonable strategies were developed 1Beijing Advanced Innovation Center for Materials Genome Engineering, Beijing Information Science and Technology University, No. 35 Beisihuan Middle Road, Beijing 100101 Beijing, P. R. China. <sup>2</sup> School of Computer, Beijing Information Science and Technology University, No. 35 Beisihuan Middle Road, Beijing 100101 Beijing, P. R. China. <sup>3</sup> Institute of Condensed Matter and Nanosciences, UCLouvain, Chemin des Étoiles 8, Louvain-la-Neuve 1348, Belgium. <sup>4</sup> School of Materials Science and Engineering, Northwestern Polytechnical University, No. 127 Youyi West Road, Xi’an 710072 Shaanxi, P. R. China. <sup>✉</sup> email: [gian-marco.rignanese@uclouvain.be](mailto:gian-marco.rignanese@uclouvain.be) 2 X. Liu et al. Fig. 1 True (i.e., experimental) vs. predicted band-gap parity plots. a The raw DFT data for different functionals (P, H, S, and G) and b the corresponding results obtained by applying the denoising procedure. A first-order polynomial T = aP + b is used to fit the true T and predicted P data points. The dashed line corresponds to a perfect match between P and T (i.e., a = 1, b = 0 with a null MAE). to handle labeling errors, provided that these affect a limited amount of the samples <sup>31,32</sup> . A straightforward approach is to first remove as much noise as possible, and then train the model with the cleaned dataset <sup>33</sup> . Some other works rely on curriculum learning <sup>34</sup> to gradually train the model using the complete dataset ordered in a meaningful sequence <sup>35,36</sup> . Theoretically, an additive normal distribution noise (N ~ (μ, σ <sup>2</sup> )) can be denoised effectively by soft-thresholding with Stein’s Unbiased Risk Estimate (SURE) <sup>37,38</sup> (A good example can be found at: [https://github.com/ilkerbayram/SURE).](https://github.com/ilkerbayram/SURE) However, the quantum mechanics errors are probably more like a combination of additive noise and multiplicative noise (see below). It is thus interesting to design a way to decrease the noise. This work investigates how such a denoising approach can be applied in materials science to improve the performance of a typical machine learning model. RESULTS Raw data In this paper, we focus on various datasets (four with DFT predictions and one with experimental measurements) available for the band gap (see the sub-section “Data” in Methods). As a starting analysis, it is interesting to compare how DFT with different functionals P, H, S, and G performs with respect to the experiments (E), considered as the true values. This can obviously only be done for the compounds that belong to the intersections P ∩ E, H ∩ E, S ∩ E, and G ∩ E. As can be seen in Fig. 1 and Supplementary Figure 11, the systematic errors depend on the XC energy functional: some underestimate the band gap with a mean error (ME) of −0.34 eV for P, −0.09 eV for H, and −0.68 eV for S; while others overestimate it with a ME of 0.65 eV for G. Note that these statistics are clearly affected by the compounds that have been considered (see discussion below). The corresponding mean absolute errors (MAE) are reported in blue in Fig. 2, as well as in Supplementary Table 1. For a deeper understanding, we also indicate the MAEs corresponding to three categories of compounds: metals, as well as small-gap (Eg < 2) and wide-gap (Eg≥2) semiconductors. In Supplementary Figure 1, we provide complementary information about the different datasets based on this decomposition. It is clear that the dataset E contains an important fraction of metals (51%). The accuracy of the DFT predictions (as measured by the global MAE) is thus very sensitive to the accuracy for metals. It turns out that P and H are doing a very good job for metals with 91% and 90% accuracy, respectively (see confusion matrix in Supplementary Figure 1), leading to a MAE of 0.03 and 0.07 eV, respectively. In contrast, S and G are doing a rather poor job for metals. For the small-gap (Eg < 2) semiconductors, all the functionals have a very similar accuracy and MAE. For the wide-gap (Eg ≥ 2) semiconductors, P clearly provides the worst predictions while the other three functionals have roughly the same accuracy. Another important remark is that the distribution of compounds between the three different categories varies for the different intersections (P ∩ E, H ∩ E, S ∩ E, and G ∩ E). In P ∩ E and H ∩ E, it is not too different from the actual distribution in the dataset E. That is clearly not the case for S ∩ E and G ∩ E in which metals are strongly underrepresented. Furthermore, in G ∩ E, the wide-gap (Eg ≥ 2) semiconductors are largely overrepresented. In fact, this dataset was created to analyze how the corresponding functional performs for correcting the systematic underestimation of the band gap. This remark is also important in the framework of the machine learning training process. Indeed, a basic underlying assumption of such approaches is that the training dataset has a similar distribution to the test dataset. This is a reasonable assumption for the dataset H and to a lesser extent for the dataset P, but not at all for the datasets S and G. Given that the whole point here (and of multi-fidelity approaches) is to take advantage of all available data to overcome the lack of experimental data, we have to accept to deal with datasets with all kinds of distributions. But it is clear that the underlying distribution will impact the ML models. In the Supplementary Information, the interested reader will find further analyses of the raw data including the elemental distribution, the overlaps between the different datasets, PCA X. Liu et al. Fig. 2 MAE for the different approaches. The subplot on the left shows the MAE for all the available experimental data, the other subplots report the MAE for the different intersections P ∩ E, H ∩ E, S ∩ E, and G ∩ E. In each subplot, the MAEs are also indicated separately for the metal (circles), the small-gap (Eg < 2) semiconductors (hexagons), and the wide-gap (Eg≥2) ones (octogons). The corresponding MAE values are provided in Supplementary Tables 1–5. Fig. 3 Schematic representation of the training sequence. a One-by-one approach and b onion approach. Both involve five training steps. The thicker line in each diagram shows one possible training sequence. For five datasets, each tree contains 120 (=5!) different branches and 325 (resp. 206) nodes in the one-by-one (resp. onion) approach. Each node in the tree represents a training step. As the datasets P, H, S, G, and E appear (resp. disappear) with the same probability in the trees, there are 325/5=61 (resp. 206-205/5=165) nodes containing P (or any other letter) in the one-by-one (resp. onion) tree. 3 visualizations and the distribution of the band gap predictions and errors for the different XC functionals. We did not identify any other specific bias in the raw data than the one towards metal compounds. Scaled data It has been long known that DFT predictions may present systematic deviations (from a data-producer standpoint). Methods for analyzing these errors have therefore already been considered previously <sup>39</sup> . The simplest model assumes that a perfect linear correlation exists between the experimental true value T and the DFT prediction P, possibly with a random noise δ centered around a zero mean: T = aP + b + δ. The parameters a and b can be determined by a linear regression (by minimizing the MAE, following a 2-fold testing procedure). Figure 1(a) shows the results of such an analysis for the different intersections (P ∩ E, H ∩ E, S ∩ E, and G ∩ E). These relations can be used to scale the band gaps predictions from DFT <sup>21</sup> . The resulting MAEs are reported in orange in Fig. 2, as well as in Supplementary Table 2. The scaled DFT data are improved compared to those of the raw ones, except for the metals in P ∩ E and H ∩ E. In fact, this simple scaling approach mainly corrects the wide-gap compounds. Though it may reduce the systematic error for a given fidelity, it is not very widely used. Training approaches As already indicated, the experimental values are assumed to be the true values. When training models, the main objective is to minimize the MAE between the outputs and the true values. Before presenting our denoising procedure, we introduce the following training approaches: 1. only-E: the training data consists only of the experimental data; 2. all-together: the training data consists in the union of all datasets (P, H, S, G, and E training fold) regardless of their different fidelity; 3. one-by-one: the training data is sequentially changed in a selected sequence based on fidelity (e.g., G → S → H → P → E as illustrated in Fig. 3a). Weights are transferred from one training stage to the other with no change in the hyperparameters. 4 X. Liu et al. True Value Multi-fidelity data Output/Cleaned data Cleaning threshold defined by ε Property … … Structures Property Structures Property 1 <sup>st</sup> round 2 <sup>nd</sup> round … … … … Structures Fig. 4 Schematic representation of a typical data cleaning process. At each step, the multi-fidelity data (different property values for a given structure) are represented using different colors (the same as those adopted throughout the paper) and symbols (a star for the true experimental value and circles for the data with noise). Using the data, a predictive model (here symbolized by a neural network) is trained and predictions are made. The low-fidelity data which are too far (i.e., outside the interval defined by the cleaning threshold ϵ) from the output of the predictive model are replaced by the latter values. After this cleaning step, the procedure can be repeated until convergence. 4. onion: the training data consists of, first, the combination of all five datasets (P, H, S, G, and E) and, then, those obtained by removing one dataset at a time in a selected sequence (e.g., PHSGE → PHSE → PSE → GE → E as illustrated in Fig. 3b). Again, weights are transferred from one training stage to the other with no change in the hyperparameters. The only-E approach is a single-fidelity approach that could have been used if only experimental data were available. The one-byone approach is a form of curriculum learning. There are 120 (=5!) different possible sequences for both the one-by-one and onion training approaches. In this work, we consider all those alternatives systematically. These can be represented as a tree, a part of which is shown in Fig. 3, highlighting one potential choice. In what follows, we adopt the Environment for Tree Exploration (ETE) Toolkit <sup>40</sup> to display the complete tree of the different results. By investigating all those options, which is very time consuming, we aim to analyze the sensitivity of the methods to the selected sequence. Ideally, one would like to avoid to take them all into account for actual ML problems. It is thus important to devise a method that is as little sensitive as possible to the selected sequence. Note that the all-together approach is the first step of the onion tree, while the only-E approach is the first step of a part of the oneby-one tree. Denoising procedure Let TD be the target value (which includes noise) for a given sample in dataset D. P is the corresponding prediction by a reasonable model. A denoising procedure typically consists in replacing TD by T <sup>^</sup> ¼ f ðT D; PÞ where f is any function of TD and P and is usually referred to as the denoiser. Note that this can be an iterative procedure. Given that the type of noise in our DFT datasets is unclear, it is not obvious to select an existing denoiser. In this work, we adopt a rather straightforward one: T D ifjT D � Pj � ϵ (1) choosing poorer models will also be discussed. It is important to note that the denoiser model can be updated in an iterative process which improves the model performance until convergence is achieved. Training on the raw data We first test the different approaches on the raw data (i.e., without applying the denoising procedure). The most representative results are summarized in Table 1, while the complete results of the one-by-one and onion approaches are shown in Figs. 5 and 6. The only-E approach is the reference scenario. It leads to a MAE of 0.680 eV as reported in green in Fig. 2, as well as in Supplementary Table 3. It is higher than most of the results obtained with any other approach. This can be traced back to the small dataset size. The all-together approach leads to a MAE of 0.501 eV. That is a significant improvement by 26%, which can be attributed to a better prediction of metals thanks to the much larger size of the dataset. This can be understood by analyzing the results obtained by training only on the dataset P (only-P). This approach leads to a MAE of 0.595 eV, which is already an improvement by 13% compared to the only-E approach despite the fact that PBE is known to underestimate the band gap. In fact, 72% of the experimental data points correspond to a band gap lower than 2 eV and 51% are actually metals. If we focus on the intersection P ∩ E (containing 1765 compounds), we see that 59% of the compounds are metallic and P is actually correct in 91% of the cases. The underestimation of the band gap only leads to 9% of false metallic compounds. Now, moving to the rest of the datasets P (P⧹E), we see that, out of the 50583 compounds, 18775 (37%) are metals. This number is basically one order of magnitude larger than the 1384 metallic compounds present in the whole dataset E. So, the ML model can better learn to predict metals. Adding the fact that another 15218 compounds have a band gap smaller than 2 eV for which the PBE error is not going to be very big, we can easily understand the nice improvement in MAE. For the datasets S and G, the number of new metallic systems added compared to E (11, and 0, respectively) is much smaller. So, not surprisingly, only-S and only-G suffer much more from the noise due to the XC functionals than the only-P one leading a MAE of 1.446 and 1.406 eV, respectively. For the all-together approach, the improvement results from both the effect of the number of metallic samples and an averaging of the noise of the different XC functional. The only-H T D ifjT D � Pj � ϵ T^ ¼ P otherwise where ϵ is a hyper-parameter to be determined (e.g., by grid search, random search, or Bayesian optimization). The whole denoising process is schematically represented in Fig. 4. We are still left with the choice of the reasonable model to be used for making the prediction P. Typically, the best model from the one-by-one and onion approaches is used. The effect of X. Liu et al. Table 1. Most representative results for the different training approaches and sequences without any denoising. MAE Approach Sequence Global Eg = 0 Eg < 2 Eg ≥ 2 only-E E 0.680 0.490 0.534 1.131 all-together PHSGE 0.501 0.150 0.567 1.091 one-by-one S → G → P → E → H (best) 0.484 0.228 0.571 0.884 H → P → S → E → G (worst) 0.993 1.039 0.733 1.097 H → P → G → S → E (worst <sup>*</sup> ) 0.599 0.434 0.510 0.964 onion PHSGE → PHSE → HSE → HE → E (best) 0.438 0.239 0.515 0.743 PHSGE → PHSG → PSG → SG → G (worst) 0.916 0.937 0.634 1.083 PHSGE → PHSG → PSG → PG → G (2 <sup>nd</sup> -worst) 0.889 0.883 0.665 1.064 PHSGE → PSGE → SGE → GE → E (worst*) 0.495 0.338 0.485 0.790 For the one-by-one and onion approaches, we report the results for the best training sequence, the worst one, and the worst one among those ending with E (indicated with a star). The 2-fold MAEs on the predicted band gap are expressed in eV. 5 results are somewhere in between with a MAE of 0.796 eV. Indeed, the number of new metals in H⧹E (2599) is only the double than in E (compared to more than 10 times in P). So, the effect of the better prediction of metals is more limited compared to P. For the one-by-one and onion approaches, the results vary depending on the training sequence. The best and worst results are reported in Table 1. In order to analyze the effect of the training sequence, we have produced two plots for both approaches in Figs. 5 and 6. In the first part of those figures, the sequences are classified according to the first dataset used or removed (P, H, S, G, or E); while, in the second part, they are ordered depending on the last dataset used. In both figures, each class presents much more variation around its mean in the first plot than in the second one. In other words, the final dataset used seems to matter much more than the first one used (resp. removed) in the one-by-one (resp. onion) approach. It is, however, also clear that using the dataset G first leads to better results and not surprisingly finishing the training with it produces the worst results by far. For the one-by-one approach, the best results on average are obtained for the sequences finishing with H. They are slightly better than those finishing with E. For the onion approach, it is actually the reverse: the best results on average being achieved for the sequences finishing with E. As a general rule, in order to limit the number of models to be tested, one can clearly focus on the latter sequences (i.e., those finishing with the available true values) and, for further restriction, one can concentrate on those which end with PE or HE given that P and H have the lowest MAE (i.e., the highest fidelity) in Supplementary Table 1. Training on the denoised data We now turn to the analysis of the results that can be obtained when denoising the data. Given that we have already considered all the possible training sequences, the natural choice to clean the data is to use the best model obtained with the raw data. Once again, we first analyze the effect of the training sequence. The results obtained for both one-by-one and onion approaches are reported in Figs. 7 and 8. The striking difference with respect to the results obtained on the raw data is that the training sequence has a much smaller impact on the results. This is a really important point in order to avoid the burden of having to compute all the different training sequences. The second important observation is that, once again, the onion approach produces better results than one-by-one. So, from now on, we focus on the onion approach to analyze the effects of the cleaning procedure. Given that in a normal investigation the best possible model will not be known a priori (it only can a posteriori once all sequences have been considered), we investigate the importance of the choice of the denoiser. Here, we have plenty of models at hand differing by the training sequence in the raw data. Besides the one already considered, we select four other denoiser models for comparison: - PHSGE → PHSG → PSG → SG → G which leads to the worst performance among all training paths: MAE = 0.916 eV (Supplementary Figure 12), - PHSGE → PHSG → PSG → PG → G which leads to the secondworst performance among all training paths: MAE = 0.889 eV (Supplementary Figure 13), - PHSGE → PHGE → PGE → GE → E which has a rather poor performance among all training path ending with E: MAE = 0.483 eV (Supplementary Figure 14), - PHSGE → PHSE → PHE → HE → E which has a rather good performance among all training path ending with E: MAE = 0.443 eV (Supplementary Figure 15), The complete results obtained after the denoising procedure based on these four different models are shown in Supplementary Figures 12–15. In all four cases, the denoising procedure improves the global average of the MAE for the whole tree, as well as the average MAE of all the sequences ending with E compared to the results of the denoiser model itself. However, when the worst or the secondworst model is used as the denoiser, the results are worse than with the raw data. Basically, we observe that the better the denoiser model the better the cleaning effects, which translates not only into a lower MAE but also into a lower variance with respect to the training sequence. Therefore, the choice of the denoiser is quite critical. It would be cheating to use the final results as an indicator to choose the denoiser model. However, we note that, as soon as a model whose training sequence ends with E is chosen as the denoiser (even the rather poor performance one), the results are clearly improved with respect to those obtained based on the raw data. Therefore, based on the observations of the previous section, we recommend as heuristic to use a denoiser for which the training sequence is in increasing fidelity of the data (i.e., decreasing MAE and/or absolute ME with respect to the true values), ending with the true values. This would have led to the sequence PHGSE → PHSE → PHE → HE → E, which is not the best X. Liu et al. 6 (a) <u>P</u> <u>H</u> <u>S</u> <u>G</u> <u>E</u> ## E ## P μ=0.670 eV σ=0.168 eV H→P→S→E→G 0.993 eV ## H S μ=0.710 eV σ=0.160 eV μ=0.650 eV σ=0.180 eV S→G→P→E→H 0.484 eV μ=0.659 eV σ=0.164 eV μ=0.555 eV ## G σ=0.057 eV μ=0.712 eV σ=0.172 eV 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 MAE (eV) <u>(b)</u> <u>P</u> <u>H</u> <u>S</u> <u>G</u> <u>E</u> ## E μ=0.611 eV ## P σ=0.013 eV μ=0.659 eV σ=0.164 eV ## H μ=0.520 eV σ=0.016 eV ## S S→G→P→E→H 0.484 eV μ=0.710 eV σ=0.125 eV ## G μ=0.939 eV σ=0.031 eV H→P→S→E→G 0.993 eV μ=0.529 eV σ=0.027 eV 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 MAE (eV) Fig. 5 MAE results on the raw data using one-by-one training approach. All possible dataset sequences are gathered a according to the first dataset used and b following the last dataset used. The global average of the MAE is shown by a vertical solid purple line (μ = 0.659 eV), while the group averages are indicated by their corresponding color (P in green, H in orange, S in blue, G in red, and E in magenta). The corresponding standard deviations (σ) are also indicated accordingly. The best and worst training sequences are highlighted in light blue. The training sequences that produce NaN for one of the folds (so the MAE is only that of the other fold) are indicated by a lighter gray bar, while those that lead to NaN for both folds are left blank. #### P H S G E μ=0.505 eV σ=0.050 eV 7 (a) (b) <u>P</u> <u>H</u> <u>S</u> <u>G</u> <u>E</u> X. Liu et al. μ=0.573 eV σ=0.132 eV PHSGE→PHSG→PSG→SG→G 0.916 eV μ=0.635 eV σ=0.154 eV μ=0.555 eV σ=0.122 eV PHSGE→PSGE→SGE→GE→E μ=0.610 eV σ=0.131 eV μ=0.573 eV σ=0.136 eV 0.495 eV PHSGE→PHSE→HSE→HE→E 0.438 eV 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 MAE (eV) μ=0.573 eV σ=0.132 eV μ=0.576 eV #### P σ=0.015 eV μ=0.474 eV #### H σ=0.013 eV μ=0.556 eV #### S σ=0.050 eV μ=0.802 eV #### G σ=0.092 eV PHSGE→PHSG→PSG→SG→G 0.916 eV μ=0.461 eV #### E σ=0.015 eV PHSGE→PHSE→HSE→HE→E 0.438 eV PHSGE→PSGE→SGE→GE→E 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 MAE (eV) 0.495 eV Fig. 6 MAE results on the raw data using the onion training approach. All possible dataset orders are gathered a according to the first dataset used and b following the last dataset used. The global average of the MAE is shown by a vertical solid purple line (μ = 0.573 eV), while the group averages are indicated by their corresponding color (P in green, H in orange, S in blue, G in red, and E in magenta). The corresponding standard deviations (σ) are also indicated accordingly. The best and worst training sequences, as well as the worst one ending by E, are highlighted in light blue. The training sequences that produce NaN for one of the folds (so the MAE is only that of the other fold) are indicated by a lighter gray bar, while those that lead to NaN for both folds are left blank. one but really close to it. In other words, the proposed method is not sensitive to small changes in the training sequence, as long as it respects the previously stated heuristic based on MAE. Note that the evaluation of the fidelity might be tuned depending on the importance to the different kind of compounds (metals, small-gap, and wide-gap semiconductors). For instance, P has the lowest MAE for metals while S has the lowest MAE for semiconductors. The final results obtained after one step of the denoising procedure are represented in Fig. 9 for all the samples in dataset E (together with the distribution of errors). For the samples in the intersections P ∩ E, H ∩ E, S ∩ E, and G ∩ E, the analogous parity plots can be found in Fig. 1b. Compared to the raw data in Fig. 1a, a clear reduction of noise is observed. This also translates in the corresponding MAE which are reported in red in Fig. 2 and in Supplementary Table 4. As a last assessment of our denoising procedure, we compare the final results obtained after one step of the denoising procedure with those computed using MFGNet <sup>25</sup>, which is a multi-fidelity model with good performance on the band gap problem. The corresponding results are reported in purple in Fig. 2, as well as in Supplementary Table 5. The global MAE of our approach (0.40 eV) is improved by more than 10% compared to that of MFGNet (0.46 eV). Nonetheless, for the small X. Liu et al. 8 (a) (b) 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 MAE (eV) <u>P</u> μ=0.489 eV ## P σ=0.010 eV <u>P</u> <u>H</u> <u>S</u> <u>G</u> <u>E</u> μ=0.503 eV ## E σ=0.021 eV μ=0.508 eV ## P σ=0.029 eV μ=0.508 eV ## H σ=0.023 eV μ=0.495 eV ## S σ=0.018 eV P→H→E→G→S 0.582 eV H→S→G→P→E 0.508 eV S→G→P→H→E 0.448 eV μ=0.502 eV σ=0.024 eV μ=0.496 eV ## G σ=0.022 eV μ=0.488 eV ## H σ=0.007 eV <u>H</u> <u>S</u> <u>G</u> <u>E</u> μ=0.502 eV σ=0.024 eV μ=0.485 eV ## E σ=0.014 eV μ=0.526 eV ## S σ=0.027 eV μ=0.524 eV ## G σ=0.010 eV P→H→E→G→S 0.582 eV 0.508 eV H→S→G→P→E S→G→P→H→E 0.448 eV 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 MAE (eV) Fig. 7 MAE results on the cleaned data using the one-by-one training approach. All possible dataset sequences are gathered a according to the first dataset used and b following the last dataset used. The data was cleaned using the best model of Fig. 5. The global average of the MAE is shown by a vertical solid purple line (μ = 0.502 eV), while the group averages are indicated by their corresponding color (P in green, H in orange, S in blue, G in red, and E in magenta). The corresponding standard deviations (σ) are also indicated accordingly. The best and worst training sequences, as well as the worst one ending by E, are highlighted in light blue. The training sequences that produce NaN for one of the folds (so the MAE is only that of the other fold) are indicated by a lighter gray bar, while those that lead to NaN for both folds are left blank. gap (Eg < 2) semiconductors (hexagons in Fig. 2), MFGNet shows a better accuracy. As already indicated, the cleaning procedure can be iterated toward convergence. In Fig. 10, we show the evolution of the results as a function of the iteration for some representative training sequences. PHSGE → PHSE → HSE → HE → E) leads to the lowest MAE (0.394 eV at the 6th iteration). Compared with one-byone and all-together approaches, the onion training not only shows 9 (a) (b) 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 MAE (eV) μ=0.431 eV # P σ=0.004 eV μ=0.430 eV σ=0.008 eV <u>P</u> <u>H</u> <u>S</u> <u>G</u> <u>E</u> X. Liu et al. μ=0.430 eV # P σ=0.008 eV μ=0.436 eV # E σ=0.008 eV μ=0.431 eV # H σ=0.010 eV μ=0.429 eV # S σ=0.006 eV PHSGE→PSGE→PSG→SG→S 0.456 eV 0.412 eV PHSGE→PHSE→HSE→HE→E PHSGE→PHSE→PSE→PE→E 0.436 eV μ=0.430 eV σ=0.008 eV <u>μ=0.426 eV</u> # G σ=0.006 eV μ=0.428 eV # H σ=0.006 eV μ=0.430 eV # S σ=0.009 eV μ=0.438 eV # G σ=0.008 eV μ=0.424 eV # E σ=0.007 eV PHSGE→PSGE→PSG→SG→S 0.456 eV 0.436 eV PHSGE→PHSE→PSE→PE→E PHSGE→PHSE→HSE→HE→E 0.412 eV 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 MAE (eV) Fig. 8 MAE results on the cleaned data using the onion training approach. All possible dataset sequences are gathered a according to the first dataset used and b following the last dataset used. The data was cleaned using the best model of Fig. 6. The global average of the MAE is shown by a vertical solid purple line (μ = 0.430 eV), while the group averages are indicated by their corresponding color (P in green, H in orange, S in blue, G in red, and E in magenta). The corresponding standard deviations (σ) are also indicated accordingly. The best and worst training sequences, as well as the worst one ending by E, are highlighted in light blue. The training sequences that produce NaN for one of the folds (so the MAE is only that of the other fold) are indicated by a lighter gray bar, while those that lead to NaN for both folds are left blank. the best performance at the starting point, but it also has the greatest potential for improvement. The one-by-one training results can actually hardly be improved by the cleaning procedure due to the lack of a real synergetic effect by the different datasets. DISCUSSION To assess the generality of our denoising procedure, we further apply it using MODNet <sup>15</sup> as the machine-learning model. The latter is among the best models of the MatBench test suite <sup>6</sup> . 10 X. Liu et al. (a) 12 (b) 10 8 6 4 2 0 a=0.96 b=0.01 0 2 4 6 8 10 12 Predicted band gap (eV) μ = -0.041 eV σ = -0.788 eV −3 −2 −1 0 1 2 3 Error on band gap (eV) Fig. 9 Final results obtained by applying the denoising procedure to the whole dataset E. a True (i.e., experimental) vs. predicted bandgap parity plots. The corresponding plots produced by splitting the data according to the intersections with datasets P, H, S, and G are given in Fig. 1 and compared with the raw DFT data. b Corresponding error distribution plot. PHSGE S-G-P-E-H Table 2. Most representative results for the different training approaches with and without denoising. MAE (eV) Approach Denoiser MODNet MEGNet MFGNet only-E - 0.446 0.701/0.844 all-together - 0.477 0.467/0.727 0.423/0.686 all-together (3-fi) - 0.533 0.487/0.768 0.416/0.662 onion - 0.403 0.397/0.734 0.395/0.725 onion (3-fi) - 0.429 0.388/0.754 0.400/0.638 onion onion 0.396 0.373/0.630 The “3-fi” results are obtained using only the three datasets P, H, and E. The training sequence for the onion approach is PHSGE → PHSE → HSE → HE → E when all five datasets are considered and PHE → HE → E otherwise. For MEGNet and MFGNet, we report both the results for ordered/disordered compounds. The 5-fold MAEs on the predicted band gap are expressed in eV. Finally, a zero-shot learning (ZSL) is performed on the same set of crystals with site disorder as in ref. 25. This is particularly interesting to analyze how the different methods can gain general knowledge about crystal structures. Unfortunately, this ZSL test cannot be performed with MODNet since the featurization process relies on Matminer <sup>41</sup> which cannot handle crystals with partial occupancy. From here on, we do not consider anymore all the possible training sequences and focus on the one that was found to be the best with MEGNet. Note that we have no clue whether it is also the best with MODNet, but it meets the heuristic defined above for obtaining a reasonable denoiser. As we only consider one route, we can afford a 5-fold train/test splitting of the dataset. In ref. <sup>25</sup>, the 4-fidelity model (not using the dataset G) was found to perform better than the one with using all five datasets. Therefore, here, based on our analysis of the raw data, we also considered a 3-fidelity model relying only on the datasets P, H, and E. In this case, the training sequence was chosen to be PHE → HE → E. Based on the interesting results obtained with the onion approach, we also investigated a variation of the original MFGNet approach. While the latter uses all the datasets simultaneously for training the model (just like in the all-together approach), we propose to adopt the onion approach as well. The results obtained by applying our denoising procedure with both MODNet and MEGNet, as well as those calculated using MFGNet are summarized in Table 2. The results obtained with 0.52 0.50 0.48 0.46 0.44 0.42 0.40 0 1 2 3 4 5 6 7 8 9 10 Iteration steps Fig. 10 Application of an iterative procedure for some representative training sequences. The first point of each line is the result obtained with the raw data (i.e., without data cleaning). Every subsequent point is obtained using the model corresponding to the previous point as the denoiser for cleaning the data. only-E are indicated as a reference. Just like in ref. <sup>25</sup>, the 3-fidelity results of MFGNet are better than the 5-fidelity ones, both for the ordered/disordered crystals. While the all-together results with MEGNet are better than with the only-E approach (just like with the 2-fold train/test splitting), they are worse with MODNet for which the increase in the number of available compounds is less important than the noise in the data. Note that they are even worse in the case of the 3-fidelity model. As already observed with MEGNet, the onion approach improves the predictions of MODNet compared to the only-E and all-together approaches. These improvements are less impressive for MODNet than for MEGNet given that the reference results (only-E) were already reasonably good. Very interestingly, combining the onion approach with MFGNet also leads to a clear improvement of the results (reduction of the MAE by 4–6%). Finally, the denoising procedure also leads to a further improvement of the results with a reduction of the MAE by 6% for MEGNet and by 2% for MODNet. Compared to the only-E results, the MAE is reduced by 11% for MODNet and 46% for MEGNet (25% for the disordered compounds). It should be mentioned that the use of MEGNet leads to the best final results. This is consistent with the fact that it is better suited for large datasets while MODNet targets smaller datasets. For the sake of completeness, we finally compare these results with those that can be obtained using transfer learning. The latter is known to improve the performance of machine learning models for small datasets. The transfer process can typically be performed PHSGE-PHSE-HSE-HE-E PHSGE-PHGE-PGE-GE-E PHSGE-PHSE-PHE-HE-E between different properties <sup>26</sup> or different fidelities <sup>28</sup> . Here, we tested both options using AtomSets from the MAML project <sup>29</sup>, which adopts MEGNet as a feature extractor followed by a simple MLP (Multi-Layer Perception) as regressor. We obtained an MAE of 0.668 eV when transferring from the formation energy and of 0.597 eV when transferring from all the DFT data used in this work. The results are better than the only-E ones, but they are worse than any of those obtained with onion approach in Table 2. In this paper, we have introduced a method to take full advantage of the availability of multi-fidelity data and tested it thoroughly for the prediction of the band gap based on the structure. The method is based on an appropriate combination of all the data into a multistep training sequence and on a simple denoising procedure. For combining the data, we have compared four different training approaches (only-E, alltogether, one-by-one, and onion). It turned out that the best one consists in training the model successively on different datasets resulting from, first, the combination of all available datasets and, then, of those obtained by removing one dataset at a time by increasing fidelity (from the poorest to the highest fidelity, hence, finishing with the true data). For the denoising procedure, we have tested a simple technique by which target values are replaced by the output of the selected denoiser when the former are too far (i.e., outside the interval defined by a cleaning threshold) from the latter. Other denoising procedures resulting in better results might be existing, but is left for future work. We have found that the denoising procedure improves the final results provided that a reasonable denoiser is chosen. Furthermore, based on our observations, we proposed a simple heuristic for the denoiser. Finally, we have investigated the effect of applying the denoising procedure several times until convergence. The method proposed here provides a sensible way to improve the results that can be achieved when multi-fidelity data are available which is basically often the case in materials science given that accuracy in the data always comes at a cost. It thus has considerable potential of applications. METHODS Data We use the same band gap datasets (four with DFT predictions and one with experimental measurements) as in ref. <sup>25</sup> . The four DFT datasets consist of calculations performed with the PerdewBurke-Ernzerhof (PBE) <sup>42</sup>, Heyd-Scuseria-Ernzerhof (HSE) <sup>43,44</sup>, strongly constrained and appropriately normed (SCAN) <sup>45</sup>, and Gritsenko-Leeuwen-Lenthe-Baerends (GLLB) <sup>46,47</sup> exchangecorrelation functionals for 52348 <sup>48</sup>, 6030 <sup>44</sup>, 472 <sup>49</sup>, and 2290 <sup>50</sup> crystalline compounds from the Materials Project, respectively. For the sake of simplicity, these datasets will be referred to as P, H, S, and G, respectively (i.e., using the first letter of the corresponding functional). The experimental dataset (referred to as E) comprises the band gaps of 2703 ordered crystals <sup>51</sup>, out of which 2401 could be assigned a most likely structure from the Materials Project <sup>52</sup> . The dataset of ref. <sup>51</sup> also contains 278 crystals with site disorder, which are used as a final ZSL test set. Machine learning model In the “Results” section, we use MEGNet v1.2.3 with its default hyperparameters and MFGNet <sup>25</sup> (v1.2.9), which is a multi-fidelity version of MEGNet. Given the large amount of calculations (all the training sequences), a 2-fold training-testing procedure is adopted. Training (including an inner 8:2 validation split for early stopping, patience = 10) is performed exclusively on one fold, while testing is done on the other hold-out fold. On a NVIDIA Tesla P100 graphics card, one onion tree training costs about 6 days while the one-by-one tree training costs about 35 days. The few X. Liu et al. samples resulting in a Not-a-Number (NaN) with MEGNet are ignored. For the denoising procedure, ϵ is treated as a hyper-parameter to be optimized. Here, ϵ = 0.3 was found to be the most appropriate value. It is worth noting that using the scaled DFT data for the denoising procedure (see Supplementary Table 6) or scaling the denoised data (see Supplementary Table 7) does not lead to any improvement compared to the results of obtained with the denoising approach using the raw DFT data. This was to be expected since the neural network that is used in the underlying model already contains multiple linear transformations, which are optimized during the training process. In the “Discussion” section, we use MODNet <sup>15</sup> (v0.1.12), MEGNet (v1.2.9), MFGNet <sup>25</sup> (v1.2.9), and MAML <sup>29</sup> (v2022.6.11) to validate our observations about the effect of denoising and to compare with transfer learning. Default hyperparameters are used for MEGNet, MFGNet, and MAML, while MODNet uses a Genetic Algorithm to optimize the hyperparameters <sup>53</sup> . Given that there are fewer calculations, a 5-fold training-testing procedure is adopted here. For the denoising procedure, ϵ = 0.4 was found to be the most appropriate value. For models that include different training stages (one-by-one and onion), weights are transferred from one training stage to the other with no change in hyperparameters. DATA AVAILABILITY We use the same band gap datasets (four with DFT predictions and one with experimental measurements) as in ref. 25. They are available at [https://doi.org/](https://doi.org/10.6084/m9.figshare.13040330) [10.6084/m9.figshare.13040330.](https://doi.org/10.6084/m9.figshare.13040330) CODE AVAILABILITY [The source code is available on https://github.com/liuxiaotong15/denoise for the tree](https://github.com/liuxiaotong15/denoise) training with MEGNet, on [https://github.com/ppdebreuck/onion_modnet](https://github.com/ppdebreuck/onion_modnet) for MODNet validation. Received: 21 April 2022; Accepted: 1 November 2022; REFERENCES 1. Himanen, L., Geurts, A., Foster, A. S. & Rinke, P. Data-driven materials science: status, challenges, and perspectives. Adv. Sci. 6, 1900808 (2019). 2. Lusher, S. J., McGuire, R., van Schaik, R. C., Nicholson, C. D. & de Vlieg, J. Datadriven medicinal chemistry in the era of big data. Drug Discov. Today 19, 859–868 (2014). 3. Gómez-Bombarelli, R. et al. Automatic chemical design using a data-driven continuous representation of molecules. ACS Cent. Sci. 4, 268–276 (2018). 4. Schmidt, J., Marques, M. R. G., Botti, S. & Marques, M. A. L. Recent advances and applications of machine learning in solid-state materials science. Npj Comput. Mater. 5, 83 (2019). 5. Choudhary, K. et al. Recent advances and applications of deep learning methods in materials science. Npj Comput. Mater. 8, 59 (2022). 6. Dunn, A., Wang, Q., Ganose, A., Dopp, D. & Jain, A. Benchmarking materials property prediction methods: the Matbench test set and Automatminer reference algorithm. Npj Comput. Mater. 6, 138 (2020). 7. Cao, G. et al. Artificial intelligence for high-throughput discovery of topological insulators: the example of alloyed tetradymites. Phys. Rev. Mater. 4, 034204 (2020). 8. Pyzer-Knapp, E. O., Suh, C., Gómez-Bombarelli, R., Aguilera-Iparraguirre, J. & Aspuru-Guzik, A. What is high-throughput virtual screening? A perspective from organic materials discovery. Annu. Rev. Mater. Res. 45, 195–216 (2015). 9. Ghiandoni, G. M. et al. Development and application of a data-driven reaction classification model: comparison of an electronic lab notebook and medicinal chemistry literature. J. Chem. Inf. Model 59, 4167–4187 (2019). 10. Rupp, M., Tkatchenko, A., Müller, K.-R. & Von Lilienfeld, O. A. Fast and accurate modeling of molecular atomization energies with machine learning. Phys. Rev. Lett. 108, 058301 (2012). 11 39. Lejaeghere, K., Van Speybroeck, V., Van Oost, G. & Cottenier, S. Error estimates for solid-state density-functional theory predictions: an overview by means of the ground-state elemental crystals. Crit. Rev. Solid State Mater. Sci. 39, 1–24 (2014). 40. Huerta-Cepas, J., Serra, F. & Bork, P. ETE 3: reconstruction, analysis, and visualization of phylogenomic data. Mol. Biol. Evol. 33, 1635–1638 (2016). 41. Ward, L. et al. Matminer: an open source toolkit for materials data mining. Comput. Mater. Sci. 152, 60 (2018). 42. Perdew, J. P., Burke, K. & Ernzerhof, M. Generalized gradient approximation made simple. Phys. Rev. Lett. 77, 3865 (1996). 43. Heyd, J., Scuseria, G. E. & Ernzerhof, M. Hybrid functionals based on a screened Coulomb potential. J. Chem. Phys. 118, 8207–8215 (2003). 44. Jie, J. S. et al. A new MaterialGo database and its comparison with other highthroughput electronic structure databases for their predicted energy band gaps. Sci. China Tech. Sci. 62, 1423–1430 (2019). 45. Sun, J., Ruzsinszky, A. & Perdew, J. P. Strongly constrained and appropriately normed semilocal density functional. Phys. Rev. Lett. 115, 036402 (2015). 46. Gritsenko, O., van Leeuwen, R., van Lenthe, E. & Baerends, E. J. Self-consistent approximation to the Kohn-Sham exchange potential. Phys. Rev. A 51, 1944 (1995). 47. Kuisma, M., Ojanen, J., Enkovaara, J. & Rantala, T. Kohn-Sham potential with discontinuity for band gap materials. Phys. Rev. B 82, 115106 (2010). 48. Jain, A. et al. Commentary: The materials project: a materials genome approach to accelerating materials innovation. APL Mater. 1, 011002 (2013). 49. Borlido, P. et al. Large-scale benchmark of exchange–correlation functionals for the determination of electronic band gaps of solids. J. Chem. Theory Comput. 15, 5069–5079 (2019). 50. Castelli, I. E. et al. New light-harvesting materials using accurate and efficient bandgap calculations. Adv. Energy Mater. 5, 1400915 (2015). 51. Zhuo, Y., Mansouri Tehrani, A. & Brgoch, J. Predicting the band gaps of inorganic solids by machine learning. J. Phys. Chem. Lett. 9, 1668–1673 (2018). 52. Kingsbury, R. et al. Performance comparison of r2SCAN and SCAN metaGGA density functionals for solid materials via an automated, high-throughput computational workflow. Phys. Rev. Mater. 6, 013801 (2022). 53. De Breuck, P.-P., Heymans, G. & Rignanese, G.-M. Accurate experimental band gap predictions with multifidelity correction learning. J. Mater. Inf. 2, 10 (2022). ACKNOWLEDGEMENTS X.T.L. is grateful for the funding support from National Natural Science Foundation of China (No. 22002008, 22203008). P.-P.D.B. and G.-M.R. are grateful to the F.R.S.-FNRS for financial support. We also thank to the authors of MEGNet and MFGNet. They inspired us and help us fix some issues on GitHub. X.T.L. is also thankful to Prof. Ning Li, Dr. Tao Yang, Prof. Xiaodong Wen, Dr. Yurong He, and Mr. Enhu Diao for providing feedback and help on this work. AUTHOR CONTRIBUTIONS X.T.L. and G.-M.R. conceived the idea and designed the work. X.T.L. implemented the models and performed the analysis. P.-P.D.B. provided the data and validated the denoising performance with MODNet. L.H.W. helped with the data analysis and figure plotting. G.-M.R. supervised the project. All authors wrote the manuscript and contributed to the discussion and revision. COMPETING INTERESTS The authors declare no competing interests. ADDITIONAL INFORMATION Supplementary information The online version contains supplementary material available at [https://doi.org/10.1038/s41524-022-00925-1.](https://doi.org/10.1038/s41524-022-00925-1) Correspondence and requests for materials should be addressed to Gian-Marco Rignanese. Reprints and permission information is available at [http://www.nature.com/](http://www.nature.com/reprints) [reprints](http://www.nature.com/reprints) Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. 12 X. Liu et al. 11. Tsubaki, M. & Mizoguchi, T. Fast and accurate molecular property prediction: learning atomic interactions and potentials with neural networks. J. Phys. Chem. Lett. 9, 5733–5741 (2018). 12. Kuzminykh, D. et al. 3d molecular representations based on the wave transform for convolutional neural networks. Mol. Pharmaceutics 15, 4378–4385 (2018). 13. Wang, A. Y.-T., Kauwe, S. K., Murdock, R. J. & Sparks, T. D. Compositionally restricted attention-based network for materials property predictions. Npj Comput. Mater. 7, 77 (2021). 14. Chen, C., Ye, W., Zuo, Y., Zheng, C. & Ong, S. P. Graph networks as a universal machine learning framework for molecules and crystals. Chem. Mater. 31, 3564–3572 (2019). 15. De Breuck, P.-P., Hautier, G. & Rignanese, G.-M. Materials property prediction for limited datasets enabled by feature selection and joint learning with modnet. Npj Comput. Mater. 7, 83 (2021). 16. Maurer, R. J. et al. Advances in density-functional calculations for materials modeling. Annu. Rev. Mater. Res. 49, 1–30 (2019). 17. Perdew, J. P. & Levy, M. Physical content of the exact Kohn-Sham orbital energies: band gaps and derivative discontinuities. Phys. Rev. Lett. 51, 1884 (1983). 18. Hautier, G., Ong, S. P., Jain, A., Moore, C. J. & Ceder, G. Accuracy of density functional theory in predicting formation energies of ternary oxides from binary oxides and its implication on phase stability. Phys. Rev. B 85, 155208 (2012). 19. Bartel, C. J., Weimer, A. W., Lany, S., Musgrave, C. B. & Holder, A. M. The role of decomposition reactions in assessing first-principles predictions of solid stability. Npj Comput. Mater. 5, 4 (2019). 20. Bartel, C. J. et al. A critical examination of compound stability predictions from machine-learned formation energies. Npj Comput. Mater. 6, 97 (2020). 21. Morales-García, Á., Valero, R. & Illas, F. An empirical, yet practical way to predict the band gap in solids by using density functional band structure calculations. J. Phys. Chem. C 121, 18862–18866 (2017). 22. Greenman, K. P., Green, W. H. & Gomez-Bombarelli, R. Multi-fidelity prediction of molecular optical peaks with deep learning. Chem. Sci. 13, 1152–1162 (2022). 23. Batra, R., Pilania, G., Uberuaga, B. P. & Ramprasad, R. Multifidelity information fusion with machine learning: a case study of dopant formation energies in hafnia. ACS Appl. Mater. Interfaces 11, 24906–24918 (2019). 24. Egorova, O., Hafizi, R., Woods, D. C. & Day, G. M. Multifidelity statistical machine learning for molecular crystal structure prediction. J. Phys. Chem. A 124, 8065–8078 (2020). 25. Chen, C., Zuo, Y., Ye, W., Li, X. & Ong, S. P. Learning properties of ordered and disordered materials from multi-fidelity data. Nat. Comput. Sci. 1, 46–53 (2021). 26. Gupta, V. et al. Cross-property deep transfer learning framework for enhanced predictive analytics on small materials data. Nat. Commun. 12, 1 (2021). 27. Tran, A., Tranchida, J., Wildey, T. & Thompson, A. P. Multi-fidelity machine-learning with uncertainty quantification and bayesian optimization for materials design: Application to ternary random alloys. J. Chem. Phys. 153, 074705 (2020). 28. Hutchinson, M. L. et al. Overcoming data scarcity with transfer learning. Preprint at [http://arxiv.org/abs/1711.05099](http://arxiv.org/abs/1711.05099) (2017). 29. Chen, C. & Ong, S. P. Atomsets as a hierarchical transfer learning framework for small and large materials datasets. Npj Comput. Mater. 7, 1 (2021). 30. Huang, J., Qu, L., Jia, R. & Zhao, B. O2u-net: a simple noisy label detection approach for deep neural networks. 2019 IEEE/CVF International Conference on Computer Vision (ICCV), 3325–3333 (2019). 31. Oja, E. On the convergence of an associative learning algorithm in the presence of noise. Int. J. Syst. Sci. 11, 629–640 (1980). 32. Angluin, D. & Laird, P. Learning from noisy examples. Mach. Learn. 2, 343–370 (1988). 33. Han, B. et al. Co-teaching: robust training of deep neural networks with extremely noisy labels. in Proceedings of the 32nd International Conference on Neural Information Processing Systems 8536–8546 (2018). 34. Bengio, Y., Louradour, J., Collobert, R. & Weston, J. Curriculum learning. in Proceedings of the 26th Annual International Conference on Machine Learning 41–48 (2009). 35. Guo, S. et al. Curriculumnet: Weakly supervised learning from large-scale web images. Proceedings of the European Conference on Computer Vision (ECCV) 135–150 (2018). 36. Jiang, L., Zhou, Z., Leung, T., Li, L.-J. & Fei-Fei, L. Mentornet: learning data-driven curriculum for very deep neural networks on corrupted labels. in International Conference on Machine Learning, 2304–2313 (PMLR, 2018). 37. Donoho, D. L. De-noising by soft-thresholding. IEEE Trans. Inf. Theory 41, 613–627 (1995). 38. Donoho, D. L. & Johnstone, J. M. Ideal spatial adaptation by wavelet shrinkage. biometrika 81, 425–455 (1994). X. Liu et al. 13 Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit [http://](http://creativecommons.org/licenses/by/4.0/) [creativecommons.org/licenses/by/4.0/.](http://creativecommons.org/licenses/by/4.0/) © The Author(s) 2022

섹션 본문 56문단 · 29,024자

(제목 없음)

1Machine-learning models have recently encountered enormous success for predicting the properties of materials. These are often trained based on data that present various levels of accuracy, with typically much less high-than low-fidelity data. In order to extract as much information as possible from all available data, we here introduce an approach which aims to improve the quality of the data through denoising. We investigate the possibilities that it offers in the case of the prediction of the band gap relying on both limited experimental data and density-functional theory relying different exchange-correlation functionals (with an increasing amount of data as the accuracy of the functional decreases). We explore different ways to combine the data into training sequences and analyze the effect of the chosen denoiser. Finally, we analyze the effect of applying the denoising procedure several times until convergence. Our approach provides an improvement over existing methods to exploit multi-fidelity data.

Introduction

2With the considerable increase in available data, chemistry and materials science are undergoing a revolution as attested by the multiplication of data-driven studies in recent years. [1][2][3][4][5] Among all these investigations, the prediction of properties from the atomic structure (or sometimes just the chemical composition) is an extremely important topic. 6 Indeed, having an accurate predictor can be very useful for accelerating high-throughput material screening, 7,8 generating new molecules, 3 or classifying reactions. 9 To develop such predictors, different kinds of structural descriptors have been used relying on the Coulomb matrix, 10 graphs, 11 voxels, 12 and so on. Furthermore, various advanced machine learning techniques have been employed in the predictor model, such as attention, 13 graph convolution, 11 embedding 14 or dimensionality reduction. 15 However, the characteristics of the data itself are seldom discussed.

3In particular, many databases consist of simulated data, hence intrinsically containing some noise with respect to the experimental results (considered as ground truth here). Indeed, it is basically always necessary to resort to approximations to limit the computational power required to solve the quantum mechanical equations describing a molecule or a solid.

4For instance, density-function theory (DFT) relies on an approximate functional to model the exchange-correlation energy (see e.g., Ref. 16). This necessarily comes at the cost of a reduction of the accuracy of the predicted properties. For instance, it is well known that properties calculated within DFT may present systematic errors. [17][18][19] Nonetheless, many computational works focus on the relative property values for different structures, so that the systematic errors can just be canceled and the trend between the structures is not affected. 20 In contrast, if the focus is on the absolute property value for a given structure, the difference between the experimental and calculated values cannot be neglected. For instance, for the band gap of solids, the DFT calculations typically lead to a systematic underestimation of 30 % -100 % with respect to the experimental results. 21 If the experimental data is considered as the true value (even though it may vary depending on the technique), such systematic errors in the computed data meet the definition of noise. 22 Note that, in the same article, the interested reader may find the definitions of bias and variance, as well as the relationship between those three quantities called 'bias-variance decomposition'.

5In fact, the available data for one property often presents various levels of accuracy due to the different approximations adopted. All kinds of properties have actually been studied adopting a multi-fidelity approach, such as molecular optical peaks, 23 formation energies, 24,25 and band gap 26 which we mainly focus in this work. As a general rule, faster calculations lead to lower accuracy results (cost versus accuracy trade-offs). Therefore, available databases typically contain orders of magnitude less high-accuracy results than low-accuracy ones.

6Recently, Chen et al. 26 developed a Multi-Fidelity materials Graph Networks (MFGNet) based on MatErials Graph Network (MEGNet) 14 to take full advantage of all the available data by adding an integer descriptor to indicate the fidelity state (e.g., 0 -4 for representing PBE, GLLB-SC, HSE, SCAN and experimental data) mapped to an embedding. In the same line of thought, various methods have also been considered, including information fusion algorithms, 24 Bayesian optimization 25,27 and directed message passing neural networks. 23 In the present work, we take a different route and focus on decreasing the noise on the data (i.e., reducing the input errors of the different models), taking inspiration from O2U-Net, a recent effort for improving the model performance in image classification. 28 The concept of noisy data dates back to the 80s and reasonable strategies were developed to handle labeling errors, provided that these affect a limited amount of the samples. 29,30 A straightforward approach is to first remove as much noise as possible, and then train the model with the cleaned dataset. 31 Some other works rely on curriculum learning 32 to gradually train the model using the complete dataset ordered in a meaningful sequence. 33,34 Theoretically, an additive normal distribution noise (N ∼ (µ, σ 2 )) can be denoised effectively by soft-thresholding with Stein's Unbiased Risk Estimate (SURE). [35][36][37] However, the quantum chemistry systematic error is probably more like a combination of additive noise and multiplicative noise (see below). It is thus interesting to design a new way to decrease the noise. As the best of our knowledge, this is a first attempt in chemistry to improve the machine learning model performance in this way.

Data analysis

7In this paper, we use the same band gap datasets (four with DFT predictions and one with experimental measurements) as in Ref. 26. The four DFT datasets consist of calculations performed with the Perdew-Burke-Ernzerhof (PBE), 38 Heyd-Scuseria-Ernzerhof (HSE), 39,40 strongly constrained and appropriately normed (SCAN), 41 and Gritsenko-Leeuwen-Lenthe-Baerends (GLLB) 42,43 exchange-correlation functionals for 52348, 44 6030, 40 472, 45 and 2290 46 crystalline compounds from the Materials Project, respectively. For the sake of simplicity, these datasets will be referred to as P, H, S, and G, respectively (i.e., using the first letter of the corresponding functional). The experimental dataset (referred to as E) comprises the band gaps of 2703 ordered crystals, 47 out of which 2401 could be assigned a most likely structure from the Materials Project. 48 As a starting analysis, it is interesting to compare how DFT (P, H, S, and G) performs with respect to the experiments (E), considered as the true values. This can obviously only be done for the compounds that belong to the intersections between each pair of datasets (P∩E, H∩E, S∩E, and G∩E). The resulting MAEs are reported in Table 1. For a deeper understanding, we also indicate the MAEs corresponding to three categories of compounds: metals, as well as small-gap (E g <2) and wide-gap (E g ≥2) semiconductors. In Fig. 1, we provide complementary information about the different datasets based on this decomposition.

8For the experimental dataset (E), three piecharts have been produced with the counts and fractions of the compounds belonging to the three categories. The first piechart concerns the whole dataset, the second one is dedicated to the data that is not shared with the DFT datasets (P, H, S, and G), and the third one focuses on the data shared with at least one of these. For each of the latter datasets, two similar piecharts have been generated for all the data and for the part that is not shared with the dataset E while a confusion matrix has been produced for the intersections mentioned above. Table 1: Mean absolute error (MAE) of the DFT predictions based on the different XC functionals compared with experiments. The results are also separated between metals (E g =0), small-gap (E g <2) and wide-gap (E g ≥2) semiconductors. The number of compounds in each subset (#) as well as the corresponding fraction (%) are also reported. This remark is also important in the framework of the machine learning training process.

9Indeed, a basic underlying assumption of such approaches is that the training dataset has a similar distribution to the test dataset. This is a reasonable assumption for the dataset H and to a lesser extent for the dataset P, but not at all for the datasets S and G. Given that the whole point here (and of multi-fidelity approaches) is to take advantage of all available data to overcome the lack of experimental data, we have to accept to deal with datasets with all kinds of distributions. But it is clear that the underlying distribution will impact the ML models.

10As far as noise is concerned, it has been long known that DFT predictions present systematic deviations. Methods for analyzing these errors have therefore already been considered previously. 49 The simplest model for such errors assumes that a perfect correlation exists between experimental true value T and the theoretical prediction P , possibly with a random distortion centered around a zero mean: P = aT + b + . The parameters a and b account for the multiplicative and additive errors, respectively. They can be determined by a linear regression (here, it is performed in such a way as to minimize the MAE, just as it will be done for the ML models, and a 10-fold cross-validation is used). Fig. 2 shows the results of such an analysis for the different intersections (P∩E, H∩E, S∩E, and G∩E). The slopes for different DFT datasets are ordered as follows: a P < a S < a H < 1 < a G . Inverting the above relation between P and T has been suggested as a practical way to obtain improved band gaps predictions from DFT results: 21 T = cP + d + . The resulting MAEs after such corrections are reported in Table 2. They are improved compared to those of the original DFT results from Table 1, mainly due to the better prediction for the wide-gap compounds.

11In contrast, due to the imbalance in the distribution highlighted above, the predictions for the metals are actually worse for the dataset S (whose intersection with the dataset E only contains 1 compound which has a limited impact on the linear fit).

128 Figure 2: Approximate relationship between the experimental and DFT band gaps for the different XC functionals. A first-order polynomial P = aT + b is used to fit the true T and predicted P data points. A perfect match should lead to a slope a = 1 and an intercept b = 0. The slopes (multiplicative noise) are ordered as follows: a P < a S < a H < 1 < a G . The intercept (additive noise) is much bigger larger for G than for all the other XC functionals. The color scheme is the same as in Fig

Training approaches and testing procedure

13It is important to remind that the experimental values are assumed to be the true values.

14The optimal ML model should thus produce results as close as possible to the experimental values, despite these may also contain some errors. When training models, the main task is to minimize the mean absolute error (MAE) between its outputs and the true values. Here, we adopt a twofold training-testing procedure. The dataset E is randomly divided into two parts, E1 and E2. The former is first used for training and the latter for testing, and then 3. one-by-one: each model is trained successively on the five datasets (P, H, S, G, and E1/E2) one at a time (so that five subsequent training steps are needed) in a selected sequence (e.g., G → S → H → P → E as illustrated in Fig. 3(a)). 4. onion: each model is trained successively on five different datasets consisting of, first, the combination of all five datasets (P, H, S, G, and E1/E2) and, then, those obtained by removing one dataset at a time in a selected sequence (e.g., PHSGE → PHSE → PSE → GE → E as illustrated in Fig. 3(b)).

15The only-E approach is basically a twofold cross-validation approach that could have been used if only experimental data were available. The one-by-one approach is a form of curriculum learning.

16. For five datasets, each tree contains 120 (=5!) different branches and 325 (resp. 206) nodes in the one-by-one (resp. onion) approach. Each node in the tree represents a training step. As the datasets P, H, S, G, and E1/E2 appear (resp. disappear) with the same probability in the trees, there are 325/5=61 (resp. 206-205/5=165) nodes containing P (or any other letter) in the one-by-one (resp. onion) tree.

17There are 120 (=5!) different possible sequences for both the one-by-one and onion training approaches. In this work, we consider all those alternatives systematically. These can be represented as a tree, a part of which is shown in Fig. 3, highlighting one potential

18choice. In what follows, we adopt the Environment for Tree Exploration (ETE) Toolkit 50 to display the complete tree of the different results. By investigating all those options, which is very time consuming, we aim to analyze the sensitivity of the methods to the selected sequence. Ideally, one would like to avoid to take them all into account for actual ML problems. It is thus important to devise a method that is as little sensitive as possible to the selected sequence.

19Note that the all-together approach is the first step of the onion tree, while the only-E approach is the first step of a part of the one-by-one tree.

Denoising procedure

20If T is the target value (which includes noise) for a given sample and P is the corresponding prediction by a reasonable model. A denoising procedure typically consists in replacing T byT = f (T, P ) where f is any function of T and P and is usually referred to as the denoiser. Note that this can be an iterative procedure. Given that the type of noise in our DFT datasets (typically a combination of additive noise and multiplicative noise), it is not obvious to select an existing denoiser. In this work, we adopt a rather straightforward one:

21where is a hyper-parameter to be determined (e.g., by grid search, random search, or Bayesian optimization). Here, we found =0.3 to be a good choice. The whole denoising process is schematically represented in Fig. 4. Figure 4: Schematic representation of a typical data cleaning process. Target values which are too far (i.e., outside the interval defined by the cleaning threshold ) from the output of the predictive model are replaced by the latter values. The data cleaning is an iterative process, so more cleaning steps can be optionally added.

22We are still left with the choice of the reasonable model to be used for making the prediction P . Since the sequence of the training datasets in the one-by-one and onion approaches affects the final performance of the model, we tested some representative models among all the possibilities to provide an approximate error bar accounting for the denoising effect. It is important to note that the reasonable model can be updated in an iterative process which improves the model performance until convergence is achieved.

Machine Learning model

23For the sake of comparison with the multi-fidelity approach of Chen et al. 26

Training on the raw data

24We first test the different approaches on the raw data (i.e., without applying the denoising procedure). On a NVIDIA Tesla P100 graphics card, one onion tree training costs about 6 days while the one-by-one tree training costs about 35 days. The most representative results are summarized in Table 3, while the complete results of the one-by-one and onion approaches are shown in Figs. 5 and 6.

25The only-E approach is the reference scenario. It leads to a MAE of 0.680 eV which is higher than most of the results obtained with any other approach. This can be traced back to the small dataset size.

26The all-together approach leads to a MAE of 0.501 eV. That is a significant improvement by 26%, which can be attributed to a better prediction of metals thanks to the much larger size of the dataset. This can be understood by analyzing the results obtained by training only on the dataset P (only-P ). This approach leads to a MAE of 0.595 eV, which is already an improvement by 13% compared to the only-E approach despite the fact that PBE is known to underestimate the band gap. In fact, 72% of the experimental data points correspond to a band gap lower than 2 eV and 51% are actually metals. If we focus on the intersection P∩E (containing 1765 compounds), we see that 59% of the compounds are metallic and P is actually correct in 91% of the cases. (2599) is only the double than in E (compared to more than 10 times in P). So, the effect of the better prediction of metals is more limited compared to P.

27For the one-by-one and onion approaches, the results vary depending on the training sequence. The best and worst results are reported in Table 3. In order to analyze the effect of the training sequence, we have produced two plots for both approaches in Figs. 5 and 6.

28In the first part of those figures, the sequences are classified according to the first dataset used or removed (P, H, S, G, or E); while, in the second part, they are ordered depending on the last dataset used.

29In both figures, each class presents much more variation around its mean in the first plot than in the second one. In other words, the final dataset used seems to matter much more than the first one used (resp. removed) in the one-by-one (resp. onion) approach. It is, however, also clear that using the dataset G first leads to better results and not surprisingly finishing the training with it produces the worst results by far. For the one-by-one approach, the best results on average are obtained for the sequences finishing with H. They are slightly better than those finishing with E. For the onion approach, it is actually the reverse: the best results on average being achieved for the sequences finishing with E. As a general rule, in order to limit the number of models to be tested, one can clearly focus on the latter sequences (i.e., those finishing with the available true values) and, for further restriction, one can concentrate on those which end with PE or HE given that P and H have the lowest MAE (i.e., the highest fidelity) in Table 1. Table 3: Most representative results (in terms of the mean absolute error on the predicted bang gap expressed in eV) obtained for the different training approaches and sequences without any denoising. For the one-by-one and onion approaches, we report the results for the best training sequence, the worst one, and the worst one among those ending with E (indicated with a star).

MAE Approach Sequence

30Global

Training with denoised data

31We now turn to the analysis of the results that can be obtained when denoising the data.

32Given that we have already considered all the possible training sequences, the natural choice to clean the data is to use the best model obtained with the raw data. Once again, we first analyze the effect of the training sequence. The results obtained for both one-by-one and onion approaches are reported in Figs. 7 and 8. The striking difference with respect to the results obtained on the raw data is that the training sequence has a much smaller impact on the results. This is a really important point in order to avoid the burden of having to compute all the different training sequences. The second important observation is that, once again, the onion approach produces better results than one-by-one. So, from now on, we focus on the onion approach to analyze the effects of the cleaning procedure.

33Given that in a normal investigation the best possible model will not be known a priori (it only can a posteriori once all sequences have been considered), we investigate the importance of the choice of the denoiser. Here, we have plenty of models at hand differing by the training sequence in the raw data. Besides the one already considered, we select four other denoiser models for comparison:

34• PHSGE→PHSG→PSG→SG→G which leads to the worst performance among all training paths: MAE=0.916 eV (Fig. S11),

35• PHSGE→PHSG→PSG→PG→G which leads to the second-worst performance among all training paths: MAE=0.889 eV (Fig. S12),

36• PHSGE→PHGE→PGE→GE→E which has a rather poor performance among all training path ending with E: MAE=0.483 eV (Fig. S13),

37• PHSGE→PHSE→PHE→HE→E which has a rather good performance among all training path ending with E: MAE=0.443 eV (Fig. S14).

38The complete results obtained after the denoising procedure based on these four different 18 models are shown in Figs. S11, S12, S13, and S14 in the Supporting Information (Sec. B).

39In all four cases, the denoising procedure improves the global average of the MAE for the whole tree, as well as the average MAE of all the sequences ending with E compared to the results of the denoiser model itself. However, when the worst or the second-worst model is used as the denoiser, the results are worse than with the raw data.

40Basically, we observe that the better the denoiser model the better the cleaning effects, which translates not only into a lower MAE but also into a lower variance with respect to the training sequence. Therefore, the choice of the denoiser is quite critical.

41It would be cheating to use the final results as an indicator to choose the denoiser model.

42However, we note that, as soon as a model whose training sequence ends with E is chosen as the denoiser (even the rather poor performance one), the results are clearly improved with respect to those obtained based on the raw data. Therefore, based on the observations at the end of Sec. 3.1, we recommend as heuristic to use a denoiser for which the training sequence is in increasing fidelity of the data ending with the true values. 502 eV), while the group averages are indicated by their corresponding color (P in green, H in orange, S in blue, G in red, and E in magenta). The corresponding standard deviations (σ) are also indicated accordingly. The best and worst training sequences, as well as the worst one ending by E, are highlighted in light blue. The training sequences that produce NaN for one of the folds (so the MAE is only that of the other fold) are indicated by a lighter gray bar, while those that lead to NaN for both folds are left blank. 430 eV), while the group averages are indicated by their corresponding color (P in green, H in orange, S in blue, G in red, and E in magenta). The corresponding standard deviations (σ) are also indicated accordingly. The best and worst training sequences, as well as the worst one ending by E, are highlighted in light blue. The training sequences that produce NaN for one of the folds (so the MAE is only that of the other fold) are indicated by a lighter gray bar, while those that lead to NaN for both folds are left blank.

43The final results obtained after the denoising procedure, together with the distribution of errors, are represented in Fig. 9. Compared with Figs. 2 and S10, it appears rather clearly that these contain less noise. Figure 9: (a) Analysis the model prediction error through scatter and slope (Fig. 2 style). Different colors are adopted to show the twofold results. Analysis the model prediction error through distribution (Fig. (b) A typical model output vs. experimental data. All test/training are made by twofold.

44As already indicated, the cleaning procedure can be iterated towards convergence. In

Validation of the denoising method with MODNet

45To assess the generality of the denoising method, we also adopt MODNet 15 to model the relation between the structure and the band gap. Indeed, it is among the best models of the MatBench test suite. 6 We use the same train/test splitting of the dataset as for the work already performed with MEGNet. For the onion approach, we adopt the training sequence that was found to be the best with MEGNet. Here, we have no clue whether it is also the best with MODNet.

46However, it meets the heuristic defined above for obtaining a reasonable denoiser.

47The results are summarized in Table 4. As already observed with MEGNet, the onion training and the data cleaning improve the predictions compared to training on the raw experimental data (only-E ). Compared to MEGNet, these improvements are less impressive given that the reference results (only-E ) were already reasonably good. As a side note,

48MODNet is much less computationally demanding than MEGNet (about 10 minutes vs. about 8 hours) due to the smaller model size.

Conclusion

49In this paper, we have introduced a method to take full advantage of the availability of

Supporting Information

50The source code is available on https:

A Supplementary datasets analysis

51In this section, we provide various supplementary analyses of the datasets. These aim both at checking for possible biases in the latter and at delivering more detail about them.

A.1 Analysis by Element

52The distribution of the chemical elements in each dataset is shown in Fig. S1. Given that the number of structures in the dataset P is considerably larger than in the other datasets, we use it as a reference (normalized to one with the actual number being indicated on top) and

53we adopt logarithm to indicate the other numbers. The PBE dataset contains 87 different chemical elements which cover all the elements present in the other datasets (75 for H, 66 for S, 63 for G, and 80 for E). All the chemical elements in the dataset E are included in at least one of the DFT datasets ensures that the training procedure and the prediction models of the current work are reasonable.

54Relative logarithmic scale GLLB SCAN HSE PBE Expt. Figure S1: Distribution of the chemical elements in the different datasets. The number over the green bar is the count of structures with that element in the dataset P. For one given element, the height of the bars gives the relative logarithmic ratio of that element in the different datasets.

A.4 KL divergence analysis

55Without having to perform dimensionality reduction, the Kullback-Leibler (KL) divergence can also be used to obtain a measure the similarity of two discrete distributions in the previously mentioned 96D space. Typically, for two distributions P and Q in the same probability space χ, the KL divergence D KL (P ||Q) is defined by:

56as the measure the similarity. The smaller D(P, Q), the more two distributions are similar with D(P, P )=0. We list some typical D(P, Q) in Table S1. Finally, it is interesting to compare the different DFT predictions for the same structures (even when the experimental data is not available). An obvious approach to do so is to analyze the distribution of the data points in the different intersections (based on the MPids). In Fig. S9, we report the average and standard deviation values for the different intersectionis of the datasets. As a general trend, we observe that P < S < H < G. This trend holds for both the average and standard deviation. It shows the order of absolute value of the band gaps in the different datasets. A similar representation for the distribution of the errors can be found in Fig. S10. Band Gap (eV) 3 Fig. 6 using the onion training approach for all possible dataset orders: (a) gathered according to the first dataset used and (b) grouped following the last dataset used. The global average of the MAE is shown by a vertical solid purple line (µ=0.781 eV), while the group averages are indicated by their corresponding color (P in green, H in orange, S in blue, G in red, and E in magenta). The corresponding standard deviations (σ) are also indicated accordingly. The best and worst training sequences, as well as the worst one ending by E, are highlighted in light blue. The training sequences that produce NaN for one of the folds (so the MAE is only that of the other fold) are indicated by a lighter gray bar, while those that lead to NaN for both folds are left blank. Figure S13: MAE results obtained on the data cleaned with a rather poor model among those ending with E (PHSGE→PHGE→PGE→GE→E with MAE=0.483 eV) of Fig. 6 using the onion training approach for all possible dataset orders: (a) gathered according to the first dataset used and (b) grouped following the last dataset used. The global average of the MAE is shown by a vertical solid purple line (µ=0.461 eV), while the group averages are indicated by their corresponding color (P in green, H in orange, S in blue, G in red, and E in magenta). The corresponding standard deviations (σ) are also indicated accordingly. The best and worst training sequences, as well as the worst one ending by E, are highlighted in light blue. The training sequences that produce NaN for one of the folds (so the MAE is only that of the other fold) are indicated by a lighter gray bar, while those that lead to NaN for both folds are left blank. 46 . The corresponding standard deviations (σ) are also indicated accordingly. The best and worst training sequences, as well as the worst one ending by E, are highlighted in light blue. The training sequences that produce NaN for one of the folds (so the MAE is only that of the other fold) are indicated by a lighter gray bar, while those that lead to NaN for both folds are left blank. 47

참고문헌 56건

  1. Physical Content of the Exact Kohn-Sham Orbital Energies: Band Gaps and Derivative Discontinuities Physical Review Letters · American Physical Society · 1983 10.1103/physrevlett.51.1884
  2. Generalized Gradient Approximation Made Simple Physical Review Letters · American Physical Society · 1996 10.1103/physrevlett.77.3865
  3. Self-consistent approximation to the Kohn-Sham exchange potential Physical Review A · American Physical Society · 1995 10.1103/physreva.51.1944
  4. Commentary: The Materials Project: A materials genome approach to accelerating materials innovation APL Materials · American Institute of Physics · 2013 10.1063/1.4812323
  5. On the convergence of an associative learning algorithm in the presence of noise International Journal of Systems Science · Taylor & Francis · 1980 10.1080/00207728008967042
  6. Error Estimates for Solid-State Density-Functional Theory Predictions: An Overview by Means of the Ground-State Elemental Crystals Critical reviews in solid state and materials sciences/CRC critical reviews in solid state and materials sciences · Taylor & Francis · 2013 10.1080/10408436.2013.772503
  7. Accuracy of density functional theory in predicting formation energies of ternary oxides from binary oxides and its implication on phase stability Physical Review B · American Physical Society · 2012 10.1103/physrevb.85.155208
  8. Data-driven medicinal chemistry in the era of big data Drug Discovery Today · Elsevier BV · 2013 10.1016/j.drudis.2013.12.004
  9. Hybrid functionals based on a screened Coulomb potential The Journal of Chemical Physics · American Institute of Physics · 2003 10.1063/1.1564060
  10. Kohn-Sham potential with discontinuity for band gap materials Physical Review B · American Physical Society · 2010 10.1103/physrevb.82.115106
  11. Fast and Accurate Modeling of Molecular Atomization Energies with Machine Learning Physical Review Letters · American Physical Society · 2012 10.1103/physrevlett.108.058301
  12. New Light‐Harvesting Materials Using Accurate and Efficient Bandgap Calculations Advanced Energy Materials · Wiley · 2014 10.1002/aenm.201400915
  13. What Is High-Throughput Virtual Screening? A Perspective from Organic Materials Discovery Annual Review of Materials Research · Annual Reviews · 2015 10.1146/annurev-matsci-070214-020823
  14. De-noising by soft-thresholding IEEE Transactions on Information Theory · Institute of Electrical and Electronics Engineers · 1995 10.1109/18.382009
  15. Ideal spatial adaptation by wavelet shrinkage Biometrika · Oxford University Press · 1994 10.1093/biomet/81.3.425
  16. ETE 3: Reconstruction, Analysis, and Visualization of Phylogenomic Data Molecular Biology and Evolution · Oxford University Press · 2016 10.1093/molbev/msw046
  17. Curriculum learning 2009 10.1145/1553374.1553380
  18. Automatic Chemical Design Using a Data-Driven Continuous Representation of Molecules ACS Central Science · American Chemical Society · 2018 10.1021/acscentsci.7b00572
  19. An Empirical, yet Practical Way To Predict the Band Gap in Solids by Using Density Functional Band Structure Calculations The Journal of Physical Chemistry C · American Chemical Society · 2017 10.1021/acs.jpcc.7b07421
  20. Overcoming data scarcity with transfer learning arXiv (Cornell University) · Cornell University · 2017 10.48550/arxiv.1711.05099
  21. 3D Molecular Representations Based on the Wave Transform for Convolutional Neural Networks Molecular Pharmaceutics · American Chemical Society · 2018 10.1021/acs.molpharmaceut.7b01134
  22. Predicting the Band Gaps of Inorganic Solids by Machine Learning The Journal of Physical Chemistry Letters · American Chemical Society · 2018 10.1021/acs.jpclett.8b00124
  23. Matminer: An open source toolkit for materials data mining Computational Materials Science · Elsevier BV · 2018 10.1016/j.commatsci.2018.05.018
  24. Fast and Accurate Molecular Property Prediction: Learning Atomic Interactions and Potentials with Neural Networks The Journal of Physical Chemistry Letters · American Chemical Society · 2018 10.1021/acs.jpclett.8b01837
  25. CurriculumNet: Weakly Supervised Learning from Large-Scale Web Images Lecture notes in computer science · Springer Science+Business Media · 2018 10.1007/978-3-030-01249-6_9
  26. The role of decomposition reactions in assessing first-principles predictions of solid stability npj Computational Materials · Nature Portfolio · 2018 10.1038/s41524-018-0143-2
  27. Advances in Density-Functional Calculations for Materials Modeling Annual Review of Materials Research · Annual Reviews · 2019 10.1146/annurev-matsci-070218-010143
  28. Multifidelity Information Fusion with Machine Learning: A Case Study of Dopant Formation Energies in Hafnia ACS Applied Materials & Interfaces · American Chemical Society · 2019 10.1021/acsami.9b02174
  29. Graph Networks as a Universal Machine Learning Framework for Molecules and Crystals Chemistry of Materials · American Chemical Society · 2019 10.1021/acs.chemmater.9b01294
  30. A new MaterialGo database and its comparison with other high-throughput electronic structure databases for their predicted energy band gaps Science China Technological Sciences · Springer Science+Business Media · 2019 10.1007/s11431-019-9514-5
  31. Large-Scale Benchmark of Exchange–Correlation Functionals for the Determination of Electronic Band Gaps of Solids Journal of Chemical Theory and Computation · American Chemical Society · 2019 10.1021/acs.jctc.9b00322
  32. Strongly Constrained and Appropriately Normed Semilocal Density Functional Physical Review Letters · American Physical Society · 2015 10.1103/physrevlett.115.036402
  33. Recent advances and applications of machine learning in solid-state materials science npj Computational Materials · Nature Portfolio · 2019 10.1038/s41524-019-0221-0
  34. Data‐Driven Materials Science: Status, Challenges, and Perspectives Advanced Science · Wiley · 2019 10.1002/advs.201900808
  35. Development and Application of a Data-Driven Reaction Classification Model: Comparison of an Electronic Lab Notebook and Medicinal Chemistry Literature Journal of Chemical Information and Modeling · American Chemical Society · 2019 10.1021/acs.jcim.9b00537
  36. O2U-Net: A Simple Noisy Label Detection Approach for Deep Neural Networks 2021 IEEE/CVF International Conference on Computer Vision (ICCV) · 2019 10.1109/iccv.2019.00342
  37. Artificial intelligence for high-throughput discovery of topological insulators: The example of alloyed tetradymites Physical Review Materials · American Physical Society · 2020 10.1103/physrevmaterials.4.034204
  38. Benchmarking materials property prediction methods: the Matbench test set and Automatminer reference algorithm npj Computational Materials · Nature Portfolio · 2020 10.1038/s41524-020-00406-3
  39. A critical examination of compound stability predictions from machine-learned formation energies npj Computational Materials · Nature Portfolio · 2020 10.1038/s41524-020-00362-y
  40. Multi-fidelity machine-learning with uncertainty quantification and Bayesian optimization for materials design: Application to ternary random alloys The Journal of Chemical Physics · American Institute of Physics · 2020 10.1063/5.0015672
  41. Multifidelity Statistical Machine Learning for Molecular Crystal Structure Prediction The Journal of Physical Chemistry A · American Chemical Society · 2020 10.1021/acs.jpca.0c05006
  42. Benchmarking materials property prediction methods: the Matbench test set and Automatminer reference algorithm npj Computational Materials · Nature Portfolio · 2020 10.1038/s41524-020-00406-3
  43. A critical examination of compound stability predictions from machine-learned formation energies npj Computational Materials · Nature Portfolio · 2020 10.1038/s41524-020-00362-y
  44. Error Estimates for Solid-State Density-Functional Theory Predictions: An Overview by Means of the Ground-State Elemental Crystals Critical reviews in solid state and materials sciences/CRC critical reviews in solid state and materials sciences · Taylor & Francis · 2013 10.1080/10408436.2013.772503
  45. Artificial intelligence for high-throughput discovery of topological insulators: The example of alloyed tetradymites Physical Review Materials · American Physical Society · 2020 10.1103/physrevmaterials.4.034204
  46. Compositionally restricted attention-based network for materials property predictions npj Computational Materials · Nature Portfolio · 2021 10.1038/s41524-021-00545-1
  47. Learning properties of ordered and disordered materials from multi-fidelity data Nature Computational Science · Nature Portfolio · 2021 101038s4358802000002x
  48. Materials property prediction for limited datasets enabled by feature selection and joint learning with MODNet npj Computational Materials · Nature Portfolio · 2021 10.1038/s41524-021-00552-2
  49. Materials property prediction for limited datasets enabled by feature selection and joint learning with MODNet npj Computational Materials · Nature Portfolio · 2021 10.1038/s41524-021-00552-2
  50. Recent advances and applications of deep learning methods in materials science npj Computational Materials · Nature Portfolio · 2022 10.1038/s41524-022-00734-6
  51. AtomSets as a hierarchical transfer learning framework for small and large materials datasets npj Computational Materials · Nature Portfolio · 2021 10.1038/s41524-021-00639-w
  52. Cross-property deep transfer learning framework for enhanced predictive analytics on small materials data Nature Communications · Nature Portfolio · 2021 10.1038/s41467-021-26921-5
  53. Multi-fidelity prediction of molecular optical peaks with deep learning Chemical Science · Royal Society of Chemistry · 2022 10.1039/d1sc05677h
  54. Performance comparison of <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:msup> <mml:mrow> <mml:mi>r</mml:mi> </mml:mrow> <mml:mn>2</mml:mn> </mml:msup> <mml:mi>SCAN</mml:mi> </mml:math> and SCAN metaGGA density functionals for solid materials via an automated, high-throughput computational workflow Physical Review Materials · American Physical Society · 2022 10.1103/physrevmaterials.6.013801
  55. Learning from noisy examples Machine Learning · Springer Science+Business Media · 1988 10.1007/bf00116829
  56. Accurate experimental band gap predictions with multifidelity correction learning Journal of Materials Informatics · OAE Publishing Inc. · 2022 10.20517/jmi.2022.13