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

Rapidly predicting Kohn–Sham total energy using data-centric AI

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

기본 정보

저자
  1. Hasan Kurban — Applied Data Science Department, San José State University, San Jose, CA, 95192, USA
  2. Mustafa Kurban — Department of Electrical and Electronics Engineering, Kırşehir Ahi Evran University, 40100, Kırşehir, Turkey
  3. Mehmet Dalkılıç — Computer Science Department, Indiana University, Bloomington, IN, 47405, US
DOI
10.1038/s41598-022-18366-7
저널
Scientific Reports
발행년도
2022
발행기관
Nature Portfolio
피인용수
19
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41598-022-18366-7
토픽
Electron and X-Ray Spectroscopy Techniques
OpenAlex ID
W4292883990

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(21) 에폭시수지, (16) CPI(투명 폴리이미드)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
Machine Learning, Density-functional theory (DFT), Kohn-Sham total energy, material properties prediction, nanoparticles
판단 근거
이 논문은 머신러닝을 활용하여 재료의 전자 구조 및 물리적/화학적 성질(Kohn-Sham 에너지)을 빠르게 예측하는 방법론을 다룹니다. 이는 코오롱인더스트리의 고분자, 복합소재, 필름 등 다양한 화학/엔지니어링 소재의 물성을 시뮬레이션하고 설계하는 R&D 공정에 간접적으로 적용 가능한 기술입니다.
R&D 활용 포인트
신규 고분자 합성이나 복합소재 개발 시, 실험 전 머신러닝 기반의 양자 역학 시뮬레이션을 통해 소재의 열적·구조적 안정성을 빠르게 예측함으로써 R&D 비용과 시간을 단축할 수 있습니다.
평가 입력
본문 56,330자 중 30,032자 발췌

초록

Predicting material properties by solving the Kohn-Sham (KS) equation, which is the basis of modern computational approaches to electronic structures, has provided significant improvements in materials sciences. Despite its contributions, both DFT and DFTB calculations are limited by the number of electrons and atoms that translate into increasingly longer run-times. In this work we introduce a novel, data-centric machine learning framework that is used to rapidly and accurately predicate the KS total energy of anatase [Formula: see text] nanoparticles (NPs) at different temperatures using only a small amount of theoretical data. The proposed framework that we call co-modeling eliminates the need for experimental data and is general enough to be used over any NPs to determine electronic structure and, consequently, more efficiently study physical and chemical properties. We include a web service to demonstrate the effectiveness of our approach.

본문 56,330자

본문 펼치기
## OPEN # Rapidly predicting Kohn–Sham total energy using data‑centric AI Hasan Kurban <sup>1,2,4</sup> <sup>*</sup> , Mustafa Kurban <sup>3,4</sup> & Mehmet M. Dalkilic <sup>2,4</sup> Predicting material properties by solving the Kohn-Sham (KS) equation, which is the basis of modern computational approaches to electronic structures, has provided significant improvements in materials sciences. Despite its contributions, both DFT and DFTB calculations are limited by the number of electrons and atoms that translate into increasingly longer run-times. In this work we introduce a novel, data-centric machine learning framework that is used to rapidly and accurately predicate the KS total energy of anatase TiO2 nanoparticles (NPs) at different temperatures using only a small amount of theoretical data. The proposed framework that we call co-modeling eliminates the need for experimental data and is general enough to be used over any NPs to determine electronic structure and, consequently, more efficiently study physical and chemical properties. We include a web service to demonstrate the effectiveness of our approach. Machine Learning (ML) has begun making critical contributions across all the ­sciences <sup>1–6</sup> . Materials science (MS), a very broad interdisciplinary field that seeks to discover and design new materials, is being particularly ­impacted <sup>7–11</sup> from the ­theoretical <sup>12–16</sup> to the practical—predicting structural ­properties <sup>17–21</sup> and discoverying of new materials _e.g._, perovskites, nanoparticles, ­nanoclusters <sup>22–25</sup> . A particularly active area has been using ML to get get new types of interatomic potentials—namely the ML ­potentials <sup>26–32</sup> applied to a wide range of material ­systems <sup>33–37</sup> with accuracies comparable to those of first-principles calculations. Even specializations within ML itself, such as “class imbalances” (where the significance of data is not reflected in its distribution), offer benefits to ­MS <sup>38</sup> . The focus of this work is to leverage AI to improve upon the long-standing, traditional quantum modeling technique Density-functional theory (DFT), a _computational_ method developed in 1970s, for modelling quantum mechanics that is among the most popular tools of the material scientists [Fig. 1(left)]. DFT became practicable with Kohn–Sham’s formulation (KS) <sup>39</sup> some 15 years later. KS is the non-interacting Schrödinger equation, which is an iterative procedure minimizing total energy while pairs of electron densities differ. Improving on the computational speed, density-functional tight-biding (DFTB) based on DFT, leverages _experimental_ ­data <sup>40,41</sup> . While there is a considerable growing demand to predict material properties increasing in both size and complexity, fundamental run-time complexity of interacting electrons place hard limits on scaling ­DFT <sup>42,43</sup> from polynomial run-time and, hence, DFTB too. Figure 2 illustrates the dramatic bottleneck of run-time as a function of atoms. Recently, focused use of ML has shown promise to improving ­DFT <sup>44–46</sup> in limited ways, but a general framework leveraging ML is still missing, and no work, that we are aware of, is applied to DFTB. To further demonstrate the potential of this novel approach, we apply co-modelling to anatase TiO2 NPs used in a wide range of ­applications <sup>47–50</sup> . Figure 1(right) illustrates our approach with various elements subsequently described in later sections. On the first pass ⟨1⟩ we visit DFT/DFTB once computing Kohn–Sham total energy for a given temperature and TiO2 nanoparticles (NPs). This is repeated for increasing temperature associated TiO2 NPs creating _minimal viable data_ —the smallest data that allows us to build our model. The model itself is an linear ensemble of 147 disparate models selected from a maximum cohort of 230 where either poorly performing correlated models are removed. The collective time to select, train, and test the co-model is orders of magnitude faster than relying on traditional DFT/DFTB. Once the co-model is constructed, the atom locations (geometry) can bypass DFT/DFTB ⟨2⟩ and be directly sent to the model. To show the effectiveness of this novel approach we have build [a web service for TiO2 using this co-model (https://​hasan.​shiny​apps.​io/​app_1/) that predicts the Kohn–Sham](https://hasan.shinyapps.io/app_1/) total energy for any temperature in [0 K, 1000 K] . Co-modelling is a novel, data-centric, very fast, and effective hybrid of DFT/DFTB and ML. Our approach is supported by a long-standing observation of the bias of using a single ­model <sup>51</sup> . For our work this means using this approach we can always build more accurate co-models than existing single ML models as our results demonstrate as well. 1Applied Data Science Department, San José State University, San Jose, CA 95192, USA. 2Computer Science Department, Indiana University, Bloomington, IN 47405, US. <sup>3</sup> Department of Electrical and Electronics Engineering, Kırşehir Ahi Evran University, 40100 Kırşehir, Turkey. <sup>4</sup> These authors contributed equally: Hasan Kurban, Mustafa Kurban and Mehmet M. Dalkilic. <sup>*</sup> email: hasan.kurban@sjsu.edu Figure 1. (Left) The DFT algorithm. (Right) The cooperative model framework for TiO2 as an example. The first pass ⟨1⟩ uses DFT/DFTB to produce the _minimal viable data_ (the smallest data size that will produce effective co-modeling). Once the co-model is constucted, we can directly submit the atomic geometry data ⟨2⟩ for TiO2 to predict Kohn–Sham Total Energy without having to use DFT/DFTB. Throughout the paper we may abbreviate _Kohn–Sham total energy_ to _total energy_ . We use typical ML formalism describing inputs as a vector x, output as label ℓ, and classifier as f : x → ℓ. Figure 2. Run-time (seconds) rate of DFTB+ computation as the number of atoms increase. The abscissa show atom numbers and ordinate task names in DFTB+. SCC = diagonalization + density matrix creation, post-SCC processing: eigenvector uniting + energy-density matrix creation + force calculation. The figure is made using _ggplot2, ggpubr, dplyr_ and _reshape2_ packages in _R_ . The remainder of the paper is as follows: “Background and related work” section we provide background on KS and an overview of ML and brief description of the members of M . In “Methodology and experimental results” section, we give a detailed description of co-modelling and show its application to the TiO2 NPs. “Sum[mary and conclusion” section is the summary can conclusion. Both code and data are publicly accessible. [https://​](https://github.com/hasankurban/Kohn-Sham-Total-Energy-Prediction.git) [github.​com/​hasan​kurban/​Kohn-​Sham-​Total-​Energy-​Predi​ction.​git].](https://github.com/hasankurban/Kohn-Sham-Total-Energy-Prediction.git) Background and related work The Kohn–Sham equation. The DFTB formalism contains two major contributions [see Eq. (1)], which are matrix elements (the Hamilton and overlap) and the repulsive ­potentials <sup>52</sup> . The fundamental idea of the DFTB method is to implement the second order expansion of the Kohn–Sham (KS) DFT where the electronic density (ρ0) is calculated from a reference function, E <sup>total</sup> = E <sup>0</sup> [ρ0] + E <sup>1</sup> [ρ0, δρ] + E <sup>2</sup> [ρ, (δρ) <sup>2</sup> ] (1) where ρ0 is the sum of neutral atomic densities. The first term of Eq. (1) represents a Kohn–Sham effective Hamiltonian; E <sup>0</sup> [ρ0] = H <sup>ˆ</sup> 0 = �ηµ | H <sup>ˆ</sup> [ρ0] | ην - (2) and the second term is related to the energy due to charge fluctuations (γAX + γBX )�qX E <sup>1</sup> [ρ0, δρ] = <sup>1</sup> 2 Sˆµν (γAX + γBX )�qX (3) <sup>1</sup> Sˆµν 2 X where S <sup>ˆ</sup> µν = �ηµ | ην - is the overlap matrix elements. In the DFTB formalism, the matrix elements of atomic orbitals are pre-calculated and stored. Besides, the second order self-consistent charge (SCC) extension is used in the DFTB method due to the dependence of the DFTB Hamiltonian on the atomic charge. The third term is the repulsive potential which is approximated as a sum of two-center repulsions, VAB(|R <sup>�</sup> A − R <sup>�</sup> B|) E <sup>2</sup> [ρ, (δρ) <sup>2</sup> ] = <sup>1</sup> 2 VAB(|R <sup>�</sup> A − R <sup>�</sup> B|) (4) 2 A,B with pair potentials based on the respective atom types and the interatomic distance RAB = R <sup>�</sup> A − R <sup>�</sup> B. Typically this problem is solved by a self-consistent approach. Schematic representation of the self-consistency cycle in Kohn–Sham equations is given in Fig. 1(left). The method of calculations. Temperature dependent structures of anatase phase ­TiO2 NPs have been obtained using molecular dynamics (MD) methods implemented in DFTB+ ­code <sup>53</sup> with the hyb-0–2 <sup>54,55</sup> set of Slater Koster parameters. Thermal equilibrium is controlled by the NVT ensemble during whole simulations. The time step of MD was chosen as 1 fs. The temperature of the NPs was increased by 50 K up to 1000 K. Machine learning. _Related work._ Ellis et al. <sup>56</sup> introduces an ML based framework, where the feed-forward neural network is used, to speed up DFT calculations over aluminum at ambient density (2.699 g/cc) and temperatures up to the melting point (933 K) . The authors show that their model can accurately predict solid and liquid properties of aluminum. Li et al. <sup>57</sup> shows the relations between density and energy can be iteratively and accurately learned with very small data and ML models, which have better generalizability, by including KS equations into the training data. KS equations are solved while learning exchange-correlation functional with neural networks which improve generalization. Chandraskeran et al. <sup>58</sup> demonstrates ML models can predict the electronic charge density and DOS from atomic configuration information. Instead of learning of a specific representation of the local electronic properties, the authors propose a grid-based learning and predictions scheme which is more memory intensive, but can routinely handle large systems and improve run-times. Brockherde et al. <sup>59</sup> perform the first MD simulation with a machine-learned density functional on malonaldehyde constructing more accurate density functionals for realistic molecular systems. Schleder et al. <sup>60</sup> gives an overview of ML techniques used in modern computational materials science to design novel materials and explain the present challenges and research problems. The cooperative model framework (co‑model) We first give an informal description of co-modelling to prepare for the detailed description for Algo. 1. An overview of co‑modelling. To aid discussion we write t ∈ N0 for temperature Kelvin and NP = {((x, y, z), A)|x, y, z ∈ R ∧ A ∈{Ti, O}} for a collection of nanoparticle position and atom type. Using DFT/DFTB we computationally determine total Kohn–Sham energy Eij given temperature ti and nanoparticles NPj (since i = j we use only one subscript). The data set has 21 values: - ={((0 K, NP0), E0), ((50 K, NP50), E50), . . ., ((1000 K, NP1000), E1000)} (5) where (t, NP) is called the feature set and _E_ the label, building a “best” function _f_ that, given feature values, gives energy using ML parlance. In this work we are interested in investigating how a linear ensemble of disparate ML models performs. We settled on a linear model, since it is among the simplest, best understood, and most widely used. The types of ML models are quite divers _e.g._, random forests, support vector machines, neural networks, _k_ -nearest neighbor. Detailed discussion of each model is not feasible here, but links to the implementations used in this work are given in the next section. We train every model Mk from a set of candidates using default parameters. Models that either individually perform poorly or are correlated are removed. An linear ensemble of models is further refined yielding _f_ f (t, NP) ≡ αk1 Mk1 (t, NP) + αk2 Mk2 (t, NP) + · · · + αkN MkN (t, NP) + β (6) where α, β ∈ R are coefficients and constant. Using an additional tuning-parameter grid each candidate model is either optimized for its parameters or removed _via_ cross-validation. The simplicity of Eq. (6) belies its power—any value t ∈[0 K, 1000 K] and acceptable NP for TiO2 can be determined directly bypassing the traditional DFT/ DFTB technique saving time while preserving fidelity discussed in “Methodology and experimental results” section (Fig. 3). The cooperative model framework (co‑model). Presented here is a new approach to predicting Kohn–Sham total energy of nanoparticles by combining a set of single runs of DFT/DFTB with a linear ensemble of disparate ML models we call the cooperative modelling framework (co-modelling)—the results are rapid and accurate. A model’s individual performance criterion considers either (1) Mean Absolute Error (MAE), (2) Root Mean Square Error (RMSE), or (3) _R_ Squared ( R <sup>2</sup> ). Co-modelling consists of five steps: 1. Compute KS energy for a small number of temperature, nanoparticles pairs. We call this data � shown in Eq. (5) and Algo. lines 4–8. 2. Split the data into training data (used to build individual models) and test data (used to assess models quality). We call these data �Train, �Test, respectively in Algo. lines 9–10. 3. Build a set of candidate models from a large corpus of models M . In this work we are utilizing a possible size of over 230 models. A model is ignored if it is either performing poorly or takes longer than an arbitrary, fixed amount of time to complete ( > 1 hr ) in Algo. lines 10–16. 4. Of pairs of correlated models remaining, remove the poorer performing in Algo. lines 17–18. 5. Construct a linear ensemble, possibly refining the set of models further, by tuning parameters or pruning returning the function shown in Eq. (6) and Algo. lines 19–21. Figure 3. (Inset right) Flowchart of the algorithm used in the self-consistent solution of the Kohn–Sham equations. Cooperative model framework (co-model) that leverages an ensemble of models driven by data. (Top left) are the features and label. We show a sample of the diversity of models: neural nets, support vector machines, random forests. (Top middle) the steps 1–5 using co-modelling for TiO2 NPs. Use DFT/DFTB (1–3) to generate minimal viable data (21 data points), select, train, co-model (4–5). The initial model class |M| = 230 considers all regression models in ­caret <sup>61</sup> which is a popular ML library in R programming language. All models are initially run with default parameter values and become candidates if they complete computation in less than 1 hr . To construct the linear ensemble we leverage a popular R package extant in caret called ­caretEnsemble <sup>62</sup> . This package relies on caretStack that, from a collection of models, either prunes or optimally tunes parameters. Discussed next are descriptions and some characterizations of the gamut of models used. M consists of: lm: Linear regression; glm: Generalized Linear Model; lmStepAIC: Generalized Linear Model with Stepwise Feature Selection, gcvEarth: Multivariate Adaptive Regression Splines, ppr: Projection Pursuit Regression, rf: Random Forest, xgbDart,XgbTree, xgbLinear: Extreme Gradient Boosting; monmlp:Monotone Multi-Layer Perceptron Neural Network; svmLinear, svmRadial: Support Vector Machines (SVMs) with Linear and Radial Kernel Functions; knn: K-Nearest Neighbor; rpart: Decision Tree (cart); gaussprLinear: Gaussian Process; icr: Independent Component Regression. We categorize these ML models as (1) ensemble: RF xgbDart,XgbTree, xgbLinear and (2) and non-ensemble models: lm, glm, icr, lmStepAIC, ppr, gaussprLinear, gvcEarth, svmLinear, knn, rpart, monmlp, svmRadial. Unlike non-ensemble models where only a single model is being built, ensemble ­models <sup>63</sup> consist of collections of the same models constructed randomly. More detailed description is provided next. _Co‑model ensemble models._ In RF the ensemble is a collection of DTs constructed with bagging ( _i.e._, independently of each other), whereas XGB builds weak learners (with any type model) in an additive manner—one weak learner at a time. In ensembles, the final decision is given by combining the predictions of all models (“voting”). XGB lets weak learners vote along the way while RF lets all DTs vote at the end after building all trees. Each model is built using a different sample of the training data and, thus, the sampling method is among the factors which determine the final models. Voting strategy is another factor that can change the final prediction, _e.g._, weighted or unweighted voting where unweighted voting gives an equal weight to the each DT model. RF is quite popular due to its robustness, _e.q._, remote ­sensing <sup>64</sup>, land-cover ­classification <sup>65</sup>, network intrusion detection ­system <sup>66</sup>, sleep stage ­identification <sup>67</sup> . Error correlation among the trees and the strength of the DTs are estimated over the _out of bag_ data which is the data remaining from bootstrap sampling. The trade-off between the margin which shows how well a single DT separates a correct class from an incorrect class and the correlations between the trees determines how well RF will perform. ­Breiman <sup>68</sup> is the first RF paper ­and <sup>69</sup> gives a review of RF algorithm. Differing approaches to improve RF; weighted voting and dynamic data ­reduction <sup>70</sup>, through ­sampling <sup>71</sup>, improving ­data <sup>72</sup>, with ­clustering <sup>73</sup> . The stochastic gradient ­algorithm <sup>74</sup> ­improves <sup>75</sup>, the first gradient boosting algorithms for big data. Extreme Gradient Boosting (XGBoost/XGB) <sup>76</sup> is a scalable gradient tree boosting algorithm proven to work well in many areas, _e.g._, ­finance <sup>77</sup>, ­bioinformatics <sup>78</sup>, ­energy <sup>79</sup>, ­music <sup>80</sup> . Unlike RF, the cost function given in Eq. (7) is solved in an additive manner since it is not possible to optimize it in Euclidean space using the traditional optimization methods; it can be solved using second-approximation <sup>81</sup> . �n h(yi, yˆi <sup>t−1</sup> + ft ( xi )) + ω(ft ) J <sup>t</sup> = h(yi, yˆi <sup>t−1</sup> + ft ( xi )) + ω(ft ) (7) i=1 where yˆi represents the prediction for the i <sup>th</sup> data point and yˆi = �K k=1 fk( xi ), fk ∈ F F = {f ( x ) = gq( x )}(q; R <sup>m</sup> → T, g ∈ R <sup>T</sup> ) represents the trees’ space. _K_ ; additive functions’ number, xi ; i <sup>th</sup> data point, _n_ ; data size, _m_ ; input variables’ number, _t_ ; iteration number. _q_ is the structure of the trees and fk is an output of an independent tree structure _q_ with a leaf weight. _h_ denotes a differentiable convex loss function and measures the difference between the true model _y_ and the predicted model yˆ . ω is the penalization parameter which is used to tune the complexity of the model and avoid the overfitting problem. _Co‑model non‑ensemble models._ In this section we briefly explain non-ensemble models under two categories: (1) linear: ­lm <sup>82</sup>, ­glm <sup>83</sup>, ­icr <sup>84</sup>, ­lmStepAIC <sup>85</sup>, ­ppr <sup>86</sup>, ­gvcEarth <sup>87,88</sup>, ­svmLinear <sup>89</sup> and (2) non-linear: ­knn <sup>90</sup>, ­rpart <sup>91</sup>, ­gaussprLinear <sup>92</sup>, ­monmlp <sup>93</sup>, ­svmRadial <sup>89</sup> . Since the models under the same category learn the data according to different strategies, the final models they create are different from each other. For example, although lm can only learn linear relationships in the data, gvcEartch can learn non-linear relationships as well. icr decomposes training data into linear combinations of components which are independent of each other as much as possible. gvcEarth partitions input data into piece-wise linear segments with differing gradients. Linear segments are connected to obtain basis functions which are used to model linear and non-linear behaviors. svmLinear treats the “best” line problem as the maximal margin problem and solves the 2-norm cost functions (least squares error). svmRadial uses radial basis function as kernel function. lm is Ordinary Least Squares (OLS) under the assumption that residuals distribution is Gaussian. glm searches for the best line by assuming that the distribution of residuals comes from an exponential family klike a Poisson. lmStepAIC, a type of glm, selects the input variables using an automated algorithm. In ppr in an iterative manner the regression surface is modelled as a sum of general linear combinations of smooth functions. This makes ppr more general than stepwise regression procedures. icr decomposes training data into linear combinations of components which are independent of each other as much as possible. gvcEarth partitions input data into piecewise linear segments with differing gradients. Linear segments are connected to obtain basis functions which are used to model linear and non-linear behaviors. gaussprLinear is a probabilistic regression model and a probability distribution over linear functions that fits training data. rpart is a single tree model trained by selecting an optimal attribute (feature) then partitioning data based on the class data for each value in the active domain. This is akin to Quinlan’s C4.5. The optimal attribute is chosen using a variety of metrics such as Gini or information gain where each metric can lead to produce a different ­DT <sup>91,94–96</sup> . Subsequently the training data points are sorted to the leaf nodes. The algorithm runs until the training data points are classified to an acceptable threshold; otherwise it iterates over new leaf nodes. After building DTs are pruned to prevent overfitting (performing well on the training data, but poorly over test data). Pruning greatly impacts ­performance <sup>95</sup> . A neural network is a weighted, directed graph where nodes input/output and edges weights. monmlp is a recurrent network with a monotone constraint which is used to monotonically increase the behavior of model output with respect to covariates. monmlp handles overfitting using bootstrap aggregation with early stopping. In knn, the data itself is used to make a prediction ( _lazy learning_ ). knn first searches for _k_ -similar objects in the training data with some distance metric and then uses voting. The choice of _k_ can drastically change the model’s prediction. Methodology and experimental results In this section we first explain how we generate the minimal viable data and then present our novel machine learning framework over the TiO2 NPs and share our findings. Data set: TiO2 nanoparticles. In Fig. 4 illustrates the theoretical supercell data (3-D, 2-D raw data) of TiO2 NPs and some statistical properties of the portion of training data. The process begins by carving TiO2 NPs from a bulk 60 × 60 × 60 supercell. Next, structures at different temperatures to attain various TiO2 NPs Figure 4. The summary of statistical properties of training data. The abscissa and ordinate show the variable values. Red and blue colors represent O and Ti atoms, respectively. Each input feature and bivariate relationships between the input variables are visualized depending on Ti and O atoms. are computed. Figure 4a illustrates three different NPs generated at 300 K, 600 K, and 900 K . Structural data is taken Kurban et al. <sup>97</sup> with a detailed description about the initial geometry of the TiO2 NP model. The structural, electronic and optical properties of twenty-one TiO2 NP models were obtained from the density functional tight-binding (DFTB) ­calculation <sup>98–100</sup> at different temperatures [0 K, 1000 K] . Each NP consists of 180 O and 88 Ti atoms. In Fig. 4b shows statistical properties of TiO2 NPs used in this study, _e.g._, distribution, correlation. The input variables are _atom_, three-dimensional geometric locations of Ti and O atoms ( _x_, _y_, _z_ ) and _temperature_ . The _Energy_ variable is the output variable. We observe that the variables are linearly non-correlated. Using co‑modelling to predict energetic properties. Let AC, TE stand for an initial atomic configuration and Kohn–Sham total energy. Treating _DFTB_ as a function, total energy is a function solely of atomic configuration shown as computation (8): DFTB(AC) →TE (8) Taking temperature into account, we compute the triple (9): DFTB(AC <sup>i</sup>, t) →(AC <sup>i,t</sup>, TE <sup>t</sup>, t) (9) where AC <sup>i,t</sup> is the new atomic configuration using an initial configuration AC <sup>i</sup> paired with total energy at temperature _t_ . The co-model is built from 21 different values described in computation (9). Our initial examination of the co-model itself might lead one to believe that temperature is the principle driver of total energy. This is not the case. The co-model is learning the _relationship of the triple_ not simply temperature as a predictor of total energy. Our results show (including an active web service) that the _triple_ is so well characterized that, given AC <sup>i</sup>, AC <sup>i,0</sup>, AC <sup>i,50</sup>, . . ., AC <sup>i,1000</sup> and temperature t ∈[0 K, 1000 K], it can accurately predict TE <sup>t</sup> . The mechanics of the computation are not easy to describe. Underlying most of AI is the recurring conundrum: the model performs well, but how it works is often impossible to explain. Indeed, an active area of AI is ­explainability <sup>101–103</sup> . Interestingly, work is now taking place that allows AI to completely describe the ­phenomenon <sup>104</sup> . At this point, the results show an effective technique to drastically reduce run-time. It remains for future work how, if even possible, we can make some human-interpretable sense of the computation. Figure 3(top middle) shows the general stops to constructing a co-model that can efficiently, quickly, and effectively predict structural, electronic and optical properties of NPs. The framework starts with generating a minimal viable theoretical data set using DFT/DFTB (steps 1–3). The data is randomly partitioned (step 4) into training and test boosting ( |�Training | > |�Test |) . Cross-validation is a standard technique to assess the quality of models. Pearson’s correlation is measured among the model cohort allowing elimination of models that are either highly correlated with a better model or perform badly. The final co-model is built and quality measured (step 5). A more detail description of these steps are provided next. In this work, total energy is eV/atom. The application of co‑modelling to anatase TiO2 nanoparticles. Referring to Algo. 1 experimental detail is presented. The construction begins with 21 TiO2 NPs at temperatures ranging over [0 K, 1000 K] from DFT/DFTB. Training data, �Training, represents 75% of original data and test data, �Test, the remaining 25%. The ratio Ti/O are the same in both �Training and �Test . In DFTB, the symmetries of the studied NP models were broken under heat treatment; thus, the co-model ensemble and other ML models were trained over non-symmetric ­NPs <sup>105,106</sup> . The goodness of the models use three metrics that produce values in [0, 1]: (1) Mean Absolute Error (MAE), (2) Root Mean Square Error (RMSE), (2) R Squared (R <sup>2</sup> ). Metrics (1) and (2) are error metrics; thus lower values are better. MAE and RMSE are distance metrics that, as the model improves, describe the _deviation_ as a magnitude from the actual data (DFT/DFTB) and not the actual accuracy of the model. R <sup>2</sup>, in a regression model, represents the proportion of variance in the input variables (dependent) and that can be explained by the output variable (independent). The higher R <sup>2</sup>, the better model is. tenfold cross-validation is used to assess the quality of the models and the summary is given in Fig. 5. The best performing traditional ML model is ppr in the training step. The experimental results indicate that the performances of XGBoost algorithms (xgbDart, xgbLinear, xgbTree) and rf are similar to ppr. Although some single ML models such as ppr, xqbDart, xqbLinear, perform well on training and test data, the our framework makes it possible to create more accurate models than any of these single ML models. Any new data may not be well-modelled by a single ML model; the co-model will always perform well. Figure 6 highlights pairwise training model differences: Fig. 6a shows R <sup>2</sup> ; Fig. 6b shows linear correlations; Fig. 6c shows a Pearson heat map. Figures for MAE and RMSE are provided as the supplementary material for space reasons. After finding the best models among various regression models, correlations among the models, created during the training step, were measured. The results show that lm-lmStepAIC, lm-gaussprLinear, glm-lm, glm-lmStepAIC,glm-gaussprLinear pairs are highly correlated. We only use gaussprLinear, since its performance is better than others over the training data. The co-model is constructed using the remainder of the cohort. Note that there was none that performed poorly over �Training . The performance comparison of traditional ML models and cooperative model over the training data is presented in Fig. 7. The red-dashed line represents the cooperative model and we observe that our cooperative model performs better than the rest of the ML models. For example, over the training data, the RMSE was 1.5 × 10 <sup>−10</sup> where ppr, the best traditional model, had 1.6 × 10 <sup>−10</sup> RMSE. Figure 6c demonstrates the relative importance of individual models in the cooperative model. We observe that svmLinear, xgbTree, xgbLinear and xgbDART are the most important models, respectively, in the cooperative model, and svmLinear is the most dominant one. Finally, we present the performance of the cooperative model and other models over the testing data in Table 1. Based on all the metrics the results demonstrate that co-modelling performed superior [than all other traditional single models. Our best model is embedded to the web and can be easily tested (https://​](https://hasan.shinyapps.io/app_1/) [hasan.​shiny​apps.​io/​app_1/).](https://hasan.shinyapps.io/app_1/) Summary and conclusion We have demonstrated that by pairing DFT/DFTB with a novel, data-driven ML framework—and surprisingly a modicum of data of 21 NPs—we can bypass traditional run-time bottlenecks scientists face when using DFT/ DFTB alone. Co-modelling builds a linear ensemble of models that accurately predicts the structural, electronic, and optical properties of nanoparticles (NPs). The collective time to build the ML portion is relatively minuscule and can even be done _ab initio_ . Our solution is open-source and only requires a standard hardware—a laptop. Figure 5. Observing RMSE, MAE, R <sup>2</sup> of each model constructed over the training data using Plot Vertical Box-and-Whisker plots. The tenfold cross-validation results of each model using various metrics are shown in this figure. icr and rpart tend to build models with high variance. Considering the experimental results, the best performing ML algorithm on the training data is ppr. rpart has the worst MAE, RMSE and R <sup>2</sup> values. We focused on TiO2 NPs to predict the Kohn–Sham (KS) total energy given some temperatures. The diversity of the ensemble is striking: Extreme Gradient Boosting (xgbDart, xgbLinear, xgbTree), Support Vector Machines (svmLinear, svmRadial), Neural Network (monmlp), Random Forest(rf), Linear and Non-linear Regression (gaussprLinear, gcvEarth, ppr, icr), Decision Tree (rpart), K-nearest Neighbor (knn) algorithms. These results are quite promising and the cooperative model has 1 of R <sup>2</sup> value and almost 0 of Root Mean Squared error (RMSE) and mean absolute error (MAE) over the training and test data. Data continually changes—new, improving, conjectured. The data-driven co-model technique is well-suited in these situations. Future work includes determining Figure 6. Determining the models for the cooperative model ( a, b ) and the details of the cooperative model ( c ). what the best and minimal data can be and ensemble, whether instances of this model differ for materials or types of properties predicted, generating data for general use. Additional future work includes elucidating how the co-model is understanding the relationship possibly leading to a different, perhaps simpler, description of atomic configuration, temperature, and total energy. Another intriguing path is to reverse the computation—can we determine the most likely atomic configuration or class of configurations that would give rise to the total energy. Examining other metal nanoparticles must be investigated to ensure this result is not simply peculiar to TiO2 . We are also interested in studying extreme temperatures where experimentation is difficult at best. Finally, code and data are publicly accessible and the cooperative model is available on the web. Figure 7. The cooperative model _versus_ the classical ML algorithms: comparison of the cooperative model with the classical ML models over the training data set. The red-dashed line represents the cooperative model. We observe that the cooperative model’s performance is even slightly better the most accurate classical ML models. <u>RMSE</u> <u>MAE</u> <u>R</u> <sup>2</sup> <u>Model cooperative</u> 1.9 × 10 <sup>−</sup> <sup>5</sup> 7.2 × 10 <sup>−</sup> <sup>6</sup> <u>1.00</u> <u>ppr</u> 2.2 × 10 <sup>−5</sup> 7.4 × 10 <sup>−6</sup> <u>1.00</u> <u>xqbLinear</u> 6.6 × 10 <sup>−5</sup> 5.8 × 10 <sup>−5</sup> <u>1.00</u> <u>xqbDart</u> 9.7 × 10 <sup>−5</sup> 8.4 × 10 <sup>−5</sup> <u>1.00</u> <u>rf</u> <u>0.0001</u> 8.4 × 10 <sup>−5</sup> <u>1.00</u> <u>xgbTree</u> <u>0.0001</u> 9.8 × 10 <sup>−5</sup> <u>1.00</u> <u>monmlp</u> <u>0.0008</u> <u>0.0006</u> <u>1.00</u> <u>gvcEarth</u> <u>0.002</u> <u>0.002</u> <u>1.00</u> <u>lmStepAIC</u> <u>0.004</u> <u>0.0042</u> <u>0.99</u> <u>glm</u> <u>0.004</u> <u>0.004</u> <u>0.99</u> <u>lm</u> <u>0.004</u> <u>0.004</u> <u>0.99</u> <u>gaussprLinear</u> <u>0.004</u> <u>0.004</u> <u>0.99</u> <u>svmRadial</u> <u>0.005</u> <u>0.003</u> <u>1.00</u> <u>svmLinear</u> <u>0.005</u> <u>0.005</u> <u>0.99</u> <u>knn</u> <u>0.006</u> <u>0.004</u> <u>0.99</u> <u>icr</u> <u>0.006</u> <u>0.005</u> <u>0.99</u> <u>rpart</u> <u>0.022</u> <u>0.018</u> <u>0.88</u> Table 1. Performance comparison of co-modelling and classical ML models over TiO2 test data. Data availability The raw/processed data required to reproduce these findings can be shared if requested. For questions regarding data, contact Hasan Kurban at hasan.kurban@sjsu.edu. Received: 12 May 2022; Accepted: 10 August 2022 References 1. Libbrecht, M. W. & Noble, W. S. Machine learning applications in genetics and genomics. _Nat. Rev. Genet._ 16, 321–332 (2015). 2. Bhavsar, P., Safro, I., Bouaynaya, N., Polikar, R. & Dera, D. Chapter 12—Machine learning in transportation data analytics. In _Data Analytics for Intelligent Transportation Systems_ (eds Chowdhury, M. _et al._ [) 283–307 (Elsevier, 2017). https://​doi.​org/​10.​](https://doi.org/10.1016/B978-0-12-809715-1.00012-2) [1016/​B978-0-​12-​809715-​1.​00012-2.](https://doi.org/10.1016/B978-0-12-809715-1.00012-2) 3. Webb, M. E. _et al._ Machine learning for human learners: Opportunities, issues, tensions and threats. _Educ. Technol. Res. Dev._ 69, 2109–2130 (2021). 4. Tahaei, N., Yang, J. J., Chorzepa, M. G., Kim, S. S. & Durham, S. A. Machine learning of truck traffic classification groups from weigh-in-motion data. _Mach. Learn. Appl._ 6 [, 100178. https://​doi.​org/​10.​1016/j.​mlwa.​2021.​100178 (2021).](https://doi.org/10.1016/j.mlwa.2021.100178) 5. Liew, X. Y., Hameed, N. & Clos, J. An investigation of xgboost-based algorithm for breast cancer classification. _Mach. Learn._ _Appl._ 6 [, 100154. https://​doi.​org/​10.​1016/j.​mlwa.​2021.​100154 (2021).](https://doi.org/10.1016/j.mlwa.2021.100154) 6. 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). 7. Olivares-Amaya, R. _et al._ Accelerated computational discovery of high-performance materials for organic photovoltaics by means of cheminformatics. _Energy Environ. Sci._ 4, 4849–4861 (2011). 8. Tshitoyan, V. _et al._ Unsupervised word embeddings capture latent knowledge from materials science literature. _Nature_ 571, 95–98 (2019). 9. Juan, Y., Dai, Y., Yang, Y. & Zhang, J. Accelerating materials discovery using machine learning. _J. Mater. Sci. Technol._ 79, 178–190. [https://​doi.​org/​10.​1016/j.​jmst.​2020.​12.​010 (2021).](https://doi.org/10.1016/j.jmst.2020.12.010) 10. Tabor, D. P. _et al._ Accelerating the discovery of materials for clean energy in the era of smart automation. _Nat. Rev. Mater._ 3, [5–20. https://​doi.​org/​10.​1038/​s41578-​018-​0005-z (2018).](https://doi.org/10.1038/s41578-018-0005-z) 11. Butler, K. T., Davies, D. W., Cartwright, H., Isayev, O. & Walsh, A. Machine learning for molecular and materials science. _Nature_ 559, 547–555 (2018). 12. Wei, H., Zhao, S., Rong, Q. & Bao, H. Predicting the effective thermal conductivities of composite materials and porous media by machine learning methods. _Int. J. Heat Mass Transf._ 127, 908–916 (2018). 13. Seko, A., Maekawa, T., Tsuda, K. & Tanaka, I. Machine learning with systematic density-functional theory calculations: Applica tion to melting temperatures of single-and binary-component solids. _Phys. Rev. B_ 89, 054303 (2014). 14. Zheng, X., Zheng, P. & Zhang, R.-Z. Machine learning material properties from the periodic table using convolutional neural networks. _Chem. Sci._ 9, 8426–8432 (2018). 15. Furmanchuk, A., Agrawal, A. & Choudhary, A. Predictive analytics for crystalline materials: Bulk modulus. _RSC Adv._ 6, 95246– 95251 (2016). 16. Ward, L. _et al._ Including crystal structure attributes in machine learning models of formation energies via Voronoi tessellations. _Phys. Rev. B_ 96, 024104 (2017). 17. Raza, A. _et al._ A machine learning approach for predicting defluorination of per-and polyfluoroalkyl substances (PFAS) for their efficient treatment and removal. _Environ. Sci. Technol. Lett._ 6, 624–629 (2019). 18. Kurban, H. Atom classification with machine learning and correlations among physical properties of ZnO nanoparticle. _Chem._ _Phys._ 545, 111143 (2021). 19. Kurban, H. & Kurban, M. Building machine learning systems for multi-atoms structures: ­CH3NH3PbI3 perovskite nanoparticles. _Comput. Mater. Sci._ 195, 110490 (2021). 20. Wang, Y. & Ma, Y. Perspective: Crystal structure prediction at high pressures. _J. Chem. Phys._ 140, 040901 (2014). 21. Xie, T. & Grossman, J. C. Crystal graph convolutional neural networks for an accurate and interpretable prediction of material properties. _Phys. Rev. Lett._ 120, 145301 (2018). 22. Ryan, K., Lengyel, J. & Shatruk, M. Crystal structure prediction via deep learning. _J. Am. Chem. Soc._ 140, 10158–10168 (2018). 23. Li, W., Jacobs, R. & Morgan, D. Predicting the thermodynamic stability of perovskite oxides using machine learning models. _Comput. Mater. Sci._ 150, 454–463 (2018). 24. Barnard, A. S. & Opletal, G. Selecting machine learning models for metallic nanoparticles. _Nano Futures_ 4, 035003 (2020). 25. Pihlajamäki, A. _et al._ Monte Carlo simulations of ­Au38(SCH3)24 nanocluster using distance-based machine learning methods. _J._ _Phys. Chem. A_ 124, 4827–4836 (2020). 26. Mueller, T., Hernandez, A. & Wang, C. Machine learning for interatomic potential models. _J. Chem. Phys._ 152, 050902 (2020). 27. Behler, J. Perspective: Machine learning potentials for atomistic simulations. _J. Chem. Phys._ 145, 170901 (2016). 28. Behler, J. & Parrinello, M. Generalized neural-network representation of high-dimensional potential-energy surfaces. _Phys. Rev._ _Lett._ 98, 146401 (2007). 29. Bartók, A. P., Payne, M. C., Kondor, R. & Csányi, G. Gaussian approximation potentials: The accuracy of quantum mechanics, without the electrons. _Phys. Rev. Lett._ 104, 136403 (2010). 30. Thompson, A. P., Swiler, L. P., Trott, C. R., Foiles, S. M. & Tucker, G. J. Spectral neighbor analysis method for automated genera tion of quantum-accurate interatomic potentials. _J. Comput. Phys._ 285, 316–330 (2015). 31. Wood, M. A. & Thompson, A. P. Extending the accuracy of the snap interatomic potential form. _J. Chem. Phys._ 148, 241721 (2018). 32. Shapeev, A. V. Moment tensor potentials: A class of systematically improvable interatomic potentials. _Multiscale Model. Simul._ 14, 1153–1173 (2016). 33. Behler, J. Atom-centered symmetry functions for constructing high-dimensional neural network potentials. _J. Chem. Phys._ 134, 074106 (2011). 34. Podryabinkin, E. V. & Shapeev, A. V. Active learning of linearly parametrized interatomic potentials. _Comput. Mater. Sci._ 140, 171–180 (2017). 35. Podryabinkin, E. V., Tikhonov, E. V., Shapeev, A. V. & Oganov, A. R. Accelerating crystal structure prediction by machine learning interatomic potentials with active learning. _Phys. Rev. B_ 99, 064114 (2019). 36. Gubaev, K., Podryabinkin, E. V., Hart, G. L. & Shapeev, A. V. Accelerating high-throughput searches for new alloys with active learning of interatomic potentials. _Comput. Mater. Sci._ 156, 148–156 (2019). 37. Deringer, V. L. & Csányi, G. Machine learning based interatomic potential for amorphous carbon. _Phys. Rev. B_ 95, 094203 (2017). 38. Kurban, H. & Kurban, M. Rare-class learning over Mg-doped ZnO nanoparticles. _Chem. Phys._ 546, 111159 (2021). 39. Kohn, W. & Sham, L. J. Self-consistent equations including exchange and correlation effects. _Phys. Rev._ 140, A1133–A1138. [https://​doi.​org/​10.​1103/​PhysR​ev.​140.​A1133 (1965).](https://doi.org/10.1103/PhysRev.140.A1133) 40. Porezag, D., Frauenheim, T., Köhler, T., Seifert, G. & Kaschner, R. Construction of tight-binding-like potentials on the basis of density-functional theory: Application to carbon. _Phys. Rev. B_ 51, 12947–12957 (1995). 41. Seifert, G., Porezag, D. & Frauenheim, T. Calculations of molecules, clusters and solids with a simplified LCAO-DFT-LDA scheme. _Int. J. Quantum Chem._ 58, 185–192 (1996). 42. Schuch, N. & Verstraete, F. Computational complexity of interacting electrons and fundamental limitations of density functional theory. _Nat. Phys._ 5 [, 732–735. https://​doi.​org/​10.​1038/​nphys​1370 (2009).](https://doi.org/10.1038/nphys1370) 43. Lin, C.-C., Motamarri, P. & Gavini, V. Tensor-structured algorithm for reduced-order scaling large-scale Kohn–Sham density functional theory calculations. _npj Comput. Mater._ 7 [, 50. https://​doi.​org/​10.​1038/​s41524-​021-​00517-5 (2021).](https://doi.org/10.1038/s41524-021-00517-5) 44. Jalem, R. _et al._ Bayesian-driven first-principles calculations for accelerating exploration of fast ion conductors for rechargeable battery application. _Sci. Rep._ 8, 1–10 (2018). 45. Nagai, R., Akashi, R. & Sugino, O. Completing density functional theory by machine learning hidden messages from molecules. _npj Comput. Mater._ 6, 1–8 (2020). 46. Allam, O., Cho, B. W., Kim, K. C. & Jang, S. S. Application of DFT-based machine learning for developing molecular electrode materials in Li-ion batteries. _RSC Adv._ 8, 39414–39420 (2018). 47. Gohari, G. _et al._ Titanium dioxide nanoparticles ­(TiO2 NPs) promote growth and ameliorate salinity stress effects on essential oil profile and biochemical attributes of _Dracocephalum moldavica_ . _Sci. Rep._ 10 [, 912. https://​doi.​org/​10.​1038/​s41598-​020-​57794-1](https://doi.org/10.1038/s41598-020-57794-1) (2020). 48. Li, L. _et al._ Sub-10 nm rutile titanium dioxide nanoparticles for efficient visible-light-driven photocatalytic hydrogen production. _Nat. Commun._ 6 [, 5881. https://​doi.​org/​10.​1038/​ncomm​s6881 (2015).](https://doi.org/10.1038/ncomms6881) 49. Simonin, M. _et al._ Titanium dioxide nanoparticles strongly impact soil microbial function by affecting archaeal nitrifiers. _Sci._ _Rep._ 6 [, 33643. https://​doi.​org/​10.​1038/​srep3​3643 (2016).](https://doi.org/10.1038/srep33643) 50. Satoh, N., Nakashima, T., Kamikura, K. & Yamamoto, K. Quantum size effect in ­TiO2 nanoparticles prepared by finely controlled metal assembly on dendrimer templates. _Nat. Nanotechnol._ 3 [, 106–111. https://​doi.​org/​10.​1038/​nnano.​2008.2 (2008).](https://doi.org/10.1038/nnano.2008.2) 51. Wolpert, D. & Macready, W. No free lunch theorems for optimization. _IEEE Trans. Evolut. Comput._ 1 [, 67–82. https://​doi.​org/​](https://doi.org/10.1109/4235.585893) [10.​1109/​4235.​585893 (1997).](https://doi.org/10.1109/4235.585893) 52. Gaus, M., Goez, A. & Elstner, M. Parametrization and benchmark of DFTB3 for organic molecules. _J. Chem. Theory Comput._ 9, [338–354. https://​doi.​org/​10.​1021/​ct300​849w (2013).](https://doi.org/10.1021/ct300849w) 53. Aradi, B., Hourahine, B. & Frauenheim, T. DFTB+, a sparse matrix-based implementation of the DFTB method. _J. Phys. Chem._ _A_ 111, 5678–5684 (2007). 54. Luschtinetz, R., Frenzel, J., Milek, T. & Seifert, G. Adsorption of phosphonic acid at the ­TiO2 anatase (101) and rutile (110) surfaces. _J. Phys. Chem. C_ 113, 5730–5740 (2009). 55. Gemming, S., Enyashin, A. N., Frenzel, J. & Seifert, G. Adsorption of nucleotides on the rutile (110) surface. _Int. J. Mater. Res._ 101, 758–764 (2010). 56. Ellis, J. A. _et al._ Accelerating finite-temperature Kohn–Sham density functional theory with deep neural networks. _Phys. Rev. B_ 104, 035120 (2021). 57. Li, L. _et al._ Kohn–Sham equations as regularizer: Building prior knowledge into machine-learned physics. _Phys. Rev. Lett._ 126, 036401 (2021). 58. Chandrasekaran, A. _et al._ Solving the electronic structure problem with machine learning. _npj Comput. Mater._ 5, 1–7 (2019). 59. Brockherde, F. _et al._ Bypassing the Kohn–Sham equations with machine learning. _Nat. Commun._ 8, 1–10 (2017). 60. Schleder, G. R., Padilha, A. C., Acosta, C. M., Costa, M. & Fazzio, A. From DFT to machine learning: Recent approaches to materials science—A review. _J. Phys. Mater._ 2, 032001 (2019). 61. Kuhn, M. Building predictive models in R using the caret package. _J. Stat. Softw._ 28, 1–26 (2008). 62. Deane-Mayer, Z. A. & Knowles, J. E. caretEnsemble: Ensembles of caret models. R package version 2 (2016). 63. Krogh, P. S. A. _et al._ Learning with ensembles: How over-fitting can be useful. In _Proceedings of the 1995 Conference_, Vol. 8 190 (1996). 64. Belgiu, M. & Drăguţ, L. Random forest in remote sensing: A review of applications and future directions. _ISPRS J. Photogramm._ _Remote Sensing_ 114, 24–31 (2016). 65. Rodriguez-Galiano, V. F., Ghimire, B., Rogan, J., Chica-Olmo, M. & Rigol-Sanchez, J. P. An assessment of the effectiveness of a random forest classifier for land-cover classification. _ISPRS J. Photogramm. Remote Sensing_ 67, 93–104 (2012). 66. Farnaaz, N. & Jabbar, M. Random forest modeling for network intrusion detection system. _Procedia Comput. Sci._ 89, 213–217 (2016). 67. Fraiwan, L., Lweesy, K., Khasawneh, N., Wenz, H. & Dickhaus, H. Automated sleep stage identification system based on time frequency analysis of a single EEG channel and random forest classifier. _Comput. Methods Prog. Biomed._ 108, 10–19 (2012). 68. Breiman, L. Random forests. _Mach. Learn._ 45, 5–32 (2001). 69. Biau, G. & Scornet, E. A random forest guided tour. _Test_ 25, 197–227 (2016). 70. Mohsen, H., Kurban, H., Zimmer, K., Jenne, M. & Dalkilic, M. M. Red-rf: Reduced random forest for big data using priority voting and dynamic data reduction. In _2015 IEEE International Congress on Big Data_ 118–125 (IEEE, 2015). 71. Elkan, C. Boosting and naive Bayesian learning. In _Proceedings of the International Conference on Knowledge Discovery and Data_ _Mining_ (1997). 72. Freund, Y. & Schapire, R. E. A decision-theoretic generalization of on-line learning and an application to boosting. _J. Comput._ _Syst. Sci._ 55, 119–139 (1997). 73. Robnik-Šikonja, M. Improving random forests. In _European Conference on Machine Learning_ 359–370 (Springer, 2004). 74. Friedman, J. H. Stochastic gradient boosting. _Comput. Stat. Data Anal._ 38, 367–378 (2002). 75. Friedman, J. H. Greedy function approximation: A gradient boosting machine. _Ann. Stat._ 29, 1189–1232 (2001). 76. Chen, T. & Guestrin, C. Xgboost: A scalable tree boosting system. In _Proceedings of the 22nd ACM SIGKDD International Confer‑_ _ence on Knowledge Discovery and Data Mining_ 785–794 (2016). 77. Carmona, P., Climent, F. & Momparler, A. Predicting failure in the us banking sector: An extreme gradient boosting approach. _Int. Rev. Econ. Finance_ 61, 304–323 (2019). 78. Wang, H., Liu, C. & Deng, L. Enhanced prediction of hot spots at protein–protein interfaces using extreme gradient boosting. _Sci. Rep._ 8, 1–13 (2018). 79. Fan, J. _et al._ Comparison of support vector machine and extreme gradient boosting for predicting daily global solar radiation using temperature and precipitation in humid subtropical climates: A case study in China. _Energy Convers. Manag._ 164, 102–111 (2018). 80. Murauer, B. & Specht, G. Detecting music genre using extreme gradient boosting. In _Companion Proceedings of the the Web_ _Conference 2018_ 1923–1927 (2018). 81. Friedman, J. _et al._ Additive logistic regression: A statistical view of boosting (with discussion and a rejoinder by the authors). _Ann. Stat._ 28, 337–407 (2000). 82. Hocking, R. R. Developments in linear regression methodology: 1959–l982. _Technometrics_ 25, 219–230 (1983). 83. Nelder, J. A. & Wedderburn, R. W. Generalized linear models. _J. R. Stat. Soc. Ser. A Gen._ 135, 370–384 (1972). 84. Comon, P. Independent component analysis, a new concept?. _Signal Process._ 36, 287–314 (1994). 85. Efroymson, M. Multiple regression analysis. In _Mathematical Methods for Digital Computers_ (eds Ralston, A. & Wilf, H. S.) 191–203 (Wiley, 1960). 86. Friedman, J. H. & Stuetzle, W. Projection pursuit regression. _J. Am. Stat. Assoc._ 76, 817–823 (1981). 87. Friedman, J. H. Multivariate adaptive regression splines. _Ann. Stat._ 19, 1–67 (1991). 88. Zhang, W. & Goh, A. T. Multivariate adaptive regression splines and neural network models for prediction of pile drivability. _Geosci. Front._ 7, 45–52 (2016). 89. Cortes, C. & Vapnik, V. Support-vector networks. _Mach. Learn._ 20, 273–297 (1995). 90. Dasarathy, B. V. Nearest neighbor (NN) norms: NN pattern classification techniques. _IEEE Comput. Soc. Tutorial_ (1991). 91. Breiman, L., Friedman, J. H., Olshen, R. A. & Stone, C. J. _Classification and Regression Trees_ Vol. 432, 151–166 (Wadsworth International Group, 1984). 92. Roweis, S. & Ghahramani, Z. A unifying review of linear Gaussian models. _Neural Comput._ 11, 305–345 (1999). 93. Hopfield, J. J. Neural networks and physical systems with emergent collective computational abilities. _Proc. Natl. Acad. Sci._ 79, 2554–2558 (1982). 94. Quinlan, J. R. Combining instance-based and model-based learning. In _Proceedings of the Tenth International Conference on_ _Machine Learning_ 236–243 (1993). 95. Salzberg, S. L. _C4. 5: Programs for Machine Learning by J. Ross Quinlan_ (Morgan Kaufmann Publishers, Inc. 1993, 1994). 96. Quinlan, J. R. Induction of decision trees. _Mach. Learn._ 1, 81–106 (1986). 97. Kurban, H., Dalkilic, M., Temiz, S. & Kurban, M. Tailoring the structural properties and electronic structure of anatase, brookite and rutile phase ­TiO2 nanoparticles: DFTB calculations. _Comput. Mater. Sci._ 183 [, 109843. https://​doi.​org/​10.​1016/j.​comma​tsci.​](https://doi.org/10.1016/j.commatsci.2020.109843) [2020.​109843 (2020).](https://doi.org/10.1016/j.commatsci.2020.109843) 98. Aradi, B., Hourahine, B. & Frauenheim, T. DFTB+, a sparse matrix-based implementation of the DFTB method. _J. Phys. Chem._ _A_ 111 [, 5678–5684. https://​doi.​org/​10.​1021/​jp070​186p (2007).](https://doi.org/10.1021/jp070186p) 99. Luschtinetz, R., Frenzel, J., Milek, T. & Seifert, G. Adsorption of phosphonic acid at the ­TiO2 anatase (101) and rutile (110) surfaces. _J. Phys. Chem. C_ 113 [, 5730–5740. https://​doi.​org/​10.​1021/​jp811​0343 (2009).](https://doi.org/10.1021/jp8110343) 100. Gemming, S., Enyashin, A. N., Frenzel, J. & Seifert, G. Adsorption of nucleotides on the rutile (110) surface. _Int. J. Mater. Res._ 101 [, 758–764. https://​doi.​org/​10.​3139/​146.​110337 (2010).](https://doi.org/10.3139/146.110337) 101. Adadi, A. & Berrada, M. Peeking inside the black-box: A survey on explainable artificial intelligence (XAI). _IEEE Access_ 6, [52138–52160. https://​doi.​org/​10.​1109/​ACCESS.​2018.​28700​52 (2018).](https://doi.org/10.1109/ACCESS.2018.2870052) 102. Bhatt, U. _et al._ Explainable machine learning in deployment. In _Proceedings of the 2020 Conference on Fairness, Accountability,_ _and Transparency, FAT* ’20_ [648–657 (Association for Computing Machinery, 2020). https://​doi.​org/​10.​1145/​33510​95.​33756​24.](https://doi.org/10.1145/3351095.3375624) 103. Ye, X., Leake, D., Huibregtse, W. & Dalkilic, M. Applying class-to-class siamese networks to explain classifications with sup portive and contrastive cases. In _Case-Based Reasoning Research and Development: 28th International Conference, ICCBR 2020,_ _Salamanca, Spain, June 8–12, 2020, Proceedings_ 245–260 (Springer, 2020). 104. Chen, B. _et al._ Automated discovery of fundamental variables hidden in experimental data. _Nat. Comput. Sci._ 2, 433–442 (2022). 105. Minh, H. D. T., Coman, G., Quang, H. N. & Trong, D. N. Influence of heating rate, temperature, pressure on the structure, and phase transition of amorphous Ni material: A molecular dynamics study. _Heliyon_ 6, e05548 (2020). 106. Kurban, H., Dalkilic, M., Temiz, S. & Kurban, M. Tailoring the structural properties and electronic structure of anatase, brookite and rutile phase ­TiO2 nanoparticles: DFTB calculations. _Comput. Mater. Sci._ 183, 109843 (2020). Acknowledgements The numerical calculations reported were partially performed at TUBITAK ULAKBIM, High Performance and Grid Computing Centre (TRUBA resources), Turkey. Author contributions H.K.: conceptualization, methodology, writing and reviewing, investigation, software development; M.K.: conceptualization, methodology, writing and reviewing, investigation, data curation; M.D.: conceptualization, methodology, writing and reviewing. Competing interests The authors declare no competing interests. Additional information Supplementary Information [The online version contains supplementary material available at https://​doi.​org/​](https://doi.org/10.1038/s41598-022-18366-7) [10.​1038/​s41598-​022-​18366-7.](https://doi.org/10.1038/s41598-022-18366-7) Correspondence and requests for materials should be addressed to H.K. Reprints and permissions information is available at www.nature.com/reprints. Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. 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 licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence 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 licence, visit http://​creat​iveco​mmons.​org/​licen​ses/​by/4.​0/.](http://creativecommons.org/licenses/by/4.0/) © The Author(s) 2022

섹션 본문 24문단 · 27,629자

(제목 없음)

1Predicting material properties by solving the Kohn-Sham (KS) equation, which is the basis of modern computational approaches to electronic structures, has provided significant improvements in materials sciences. Despite its contributions, both DFT and DFTB calculations are limited by the number of electrons and atoms that translate into increasingly longer run-times. In this work we introduce a novel, data-centric machine learning framework that is used to rapidly and accurately predicate the KS total energy of anatase TiO 2 nanoparticles (NPs) at different temperatures using only a small amount of theoretical data. The proposed framework that we call co-modeling eliminates the need for experimental data and is general enough to be used over any NPs to determine electronic structure and, consequently, more efficiently study physical and chemical properties. We include a web service to demonstrate the effectiveness of our approach.Machine Learning (ML) has begun making critical contributions across all the sciences 1-6 . Materials science (MS), a very broad interdisciplinary field that seeks to discover and design new materials, is being particularly impacted 7-11 from the theoretical 12-16 to the practical-predicting structural properties 17-21 and discoverying of new materials e.g., perovskites, nanoparticles, nanoclusters 22-25 . A particularly active area has been using ML to get get new types of interatomic potentials-namely the ML potentials 26-32 applied to a wide range of material systems 33-37 with accuracies comparable to those of first-principles calculations. Even specializations within ML itself, such as "class imbalances" (where the significance of data is not reflected in its distribution), offer benefits to MS 38 . The focus of this work is to leverage AI to improve upon the long-standing, traditional quantum modeling technique Density-functional theory (DFT), a computational method developed in 1970s, for modelling quantum mechanics that is among the most popular tools of the material scientists [Fig. 1(left)]. DFT became practicable with Kohn-Sham's formulation (KS) 39 some 15 years later. KS is the non-interacting Schrödinger equation, which is an iterative procedure minimizing total energy while pairs of electron densities differ. Improving on the computational speed, density-functional tight-biding (DFTB) based on DFT, leverages experimental data 40,41 . While there is a considerable growing demand to predict material properties increasing in both size and complexity, fundamental run-time complexity of interacting electrons place hard limits on scaling DFT 42,43 from polynomial run-time and, hence, DFTB too.Figure 2illustrates the dramatic bottleneck of run-time as a function of atoms.Recently, focused use of ML has shown promise to improving DFT 44-46 in limited ways, but a general framework leveraging ML is still missing, and no work, that we are aware of, is applied to DFTB. To further demonstrate the potential of this novel approach, we apply co-modelling to anatase TiO 2 NPs used in a wide range of applications 47-50 .Figure 1(right) illustrates our approach with various elements subsequently described in later sections. On the first pass 1 we visit DFT/DFTB once computing Kohn-Sham total energy for a given temperature and TiO 2 nanoparticles (NPs). This is repeated for increasing temperature associated TiO 2 NPs creating minimal viable data-the smallest data that allows us to build our model. The model itself is an linear ensemble of 147 disparate models selected from a maximum cohort of 230 where either poorly performing correlated models are removed. The collective time to select, train, and test the co-model is orders of magnitude faster than relying on traditional DFT/DFTB. Once the co-model is constructed, the atom locations (geometry) can bypass DFT/DFTB 2 and be directly sent to the model. To show the effectiveness of this novel approach we have build a web service for TiO 2 using this co-model (https:// hasan. shiny apps. io/ app_1/) that predicts the Kohn-Sham total energy for any temperature in [0 K, 1000 K] . Co-modelling is a novel, data-centric, very fast, and effective hybrid of DFT/DFTB and ML. Our approach is supported by a long-standing observation of the bias of using a single model 51 . For our work this means using this approach we can always build more accurate co-models than existing single ML models as our results demonstrate as well.

2. (Left) The DFT algorithm. (Right) The cooperative model framework for TiO 2 as an example. The first pass 1 uses DFT/DFTB to produce the minimal viable data (the smallest data size that will produce effective co-modeling). Once the co-model is constucted, we can directly submit the atomic geometry data 2 for TiO 2 to predict Kohn-Sham Total Energy without having to use DFT/DFTB. Throughout the paper we may abbreviate Kohn-Sham total energy to total energy. We use typical ML formalism describing inputs as a vector x , output as label ℓ , and classifier as f : x → ℓ. www.nature.com/scientificreports/ The remainder of the paper is as follows: "Background and related work" section we provide background on KS and an overview of ML and brief description of the members of M . In "Methodology and experimental results" section, we give a detailed description of co-modelling and show its application to the TiO 2 NPs. "Summary and conclusion" section is the summary can conclusion. Both code and data are publicly accessible. [https:// github. com/ hasan kurban/ Kohn-Sham-Total-Energy-Predi ction. git].

Background and related work

3The Kohn-Sham equation. The DFTB formalism contains two major contributions [see Eq. (1)], which are matrix elements (the Hamilton and overlap) and the repulsive potentials 52 . The fundamental idea of the DFTB method is to implement the second order expansion of the Kohn-Sham (KS) DFT where the electronic density (ρ 0 ) is calculated from a reference function, where ρ 0 is the sum of neutral atomic densities. The first term of Eq. (1) represents a Kohn-Sham effective Hamiltonian; and the second term is related to the energy due to charge fluctuations where Ŝ µν = �η µ | η ν � is the overlap matrix elements. In the DFTB formalism, the matrix elements of atomic orbitals are pre-calculated and stored. Besides, the second order self-consistent charge (SCC) extension is used in the DFTB method due to the dependence of the DFTB Hamiltonian on the atomic charge. The third term is the repulsive potential which is approximated as a sum of two-center repulsions, with pair potentials based on the respective atom types and the interatomic distance

4Typically this problem is solved by a self-consistent approach. Schematic representation of the self-consistency cycle in Kohn-Sham equations is given in Fig. 1(left).

5The method of calculations. Temperature dependent structures of anatase phase TiO 2 NPs have been obtained using molecular dynamics (MD) methods implemented in DFTB+ code 53 with the hyb-0-2 54,55 set of Slater Koster parameters. Thermal equilibrium is controlled by the NVT ensemble during whole simulations. The time step of MD was chosen as 1 fs. The temperature of the NPs was increased by 50 K up to 1000 K.

6Machine learning. Related work. Ellis et al. 56 introduces an ML based framework, where the feed-forward neural network is used, to speed up DFT calculations over aluminum at ambient density (2.699 g/cc) and temperatures up to the melting point (933 K) . The authors show that their model can accurately predict solid and liquid properties of aluminum. Li et al. 57 shows the relations between density and energy can be iteratively and accurately learned with very small data and ML models, which have better generalizability, by including KS equations into the training data. KS equations are solved while learning exchange-correlation functional with neural networks which improve generalization. Chandraskeran et al. 58 demonstrates ML models can predict the electronic charge density and DOS from atomic configuration information. Instead of learning of a specific representation of the local electronic properties, the authors propose a grid-based learning and predictions scheme which is more memory intensive, but can routinely handle large systems and improve run-times. Brockherde et al. 59 perform the first MD simulation with a machine-learned density functional on malonaldehyde constructing more accurate density functionals for realistic molecular systems. Schleder et al. 60 gives an overview of ML techniques used in modern computational materials science to design novel materials and explain the present challenges and research problems.

The cooperative model framework (co-model)

7We first give an informal description of co-modelling to prepare for the detailed description for Algo. 1. www.nature.com/scientificreports/ An overview of co-modelling. To aid discussion we write t ∈ N 0 for temperature Kelvin and

8O}} for a collection of nanoparticle position and atom type. Using DFT/DFTB we computationally determine total Kohn-Sham energy E ij given temperature t i and nanoparticles NP j (since i = j we use only one subscript). The data set has 21 values:

9where (t, NP) is called the feature set and E the label, building a "best" function f that, given feature values, gives energy using ML parlance. In this work we are interested in investigating how a linear ensemble of disparate ML models performs. We settled on a linear model, since it is among the simplest, best understood, and most widely used. The types of ML models are quite divers e.g., random forests, support vector machines, neural networks, k-nearest neighbor. Detailed discussion of each model is not feasible here, but links to the implementations used in this work are given in the next section. We train every model M k from a set of candidates using default parameters. Models that either individually perform poorly or are correlated are removed. An linear ensemble of models is further refined yielding f where α, β ∈ R are coefficients and constant. Using an additional tuning-parameter grid each candidate model is either optimized for its parameters or removed via cross-validation. The simplicity of Eq. (6) belies its power-any value t ∈ [0 K, 1000 K] and acceptable NP for TiO 2 can be determined directly bypassing the traditional DFT/ DFTB technique saving time while preserving fidelity discussed in "Methodology and experimental results" section ( Fig. 3).

The cooperative model framework (co-model). Presented here is a new approach to predicting

10Kohn-Sham total energy of nanoparticles by combining a set of single runs of DFT/DFTB with a linear ensemble of disparate ML models we call the cooperative modelling framework (co-modelling)-the results are rapid and accurate. A model's individual performance criterion considers either (1) Mean Absolute Error (MAE), (2) Root Mean Square Error (RMSE), or (3) R Squared ( R 2 ). Co-modelling consists of five steps:

111. Compute KS energy for a small number of temperature, nanoparticles pairs. We call this data shown in Eq. (5) and Algo. lines 4-8. 2. Split the data into training data (used to build individual models) and test data (used to assess models quality). We call these data Train , Test , respectively in Algo. lines 9-10. 3. Build a set of candidate models from a large corpus of models M . In this work we are utilizing a possible size of over 230 models. A model is ignored if it is either performing poorly or takes longer than an arbitrary, fixed amount of time to complete ( > 1 hr ) in Algo. lines 10-16. 4. Of pairs of correlated models remaining, remove the poorer performing in Algo. lines 17-18. 5. Construct a linear ensemble, possibly refining the set of models further, by tuning parameters or pruning returning the function shown in Eq. (6) and Algo. lines 19-21. www.nature.com/scientificreports/ The initial model class |M| = 230 considers all regression models in caret 61 which is a popular ML library in R programming language. All models are initially run with default parameter values and become candidates if they complete computation in less than 1 hr . To construct the linear ensemble we leverage a popular R package extant in caret called caretEnsemble 62 . This package relies on caretStack that, from a collection of models, either prunes or optimally tunes parameters. Discussed next are descriptions and some characterizations of the gamut of models used. M consists of: lm: Linear regression; glm: Generalized Linear Model; lmStepAIC: Generalized Linear Model with Stepwise Feature Selection, gcvEarth: Multivariate Adaptive Regression Splines, ppr: Projection Pursuit Regression, rf: Random Forest, xgbDart,XgbTree, xgbLinear: Extreme Gradient Boosting; monmlp:Monotone Multi-Layer Perceptron Neural Network; svmLinear, svmRadial: Support Vector Machines (SVMs) with Linear and Radial Kernel Functions; knn: K-Nearest Neighbor; rpart: Decision Tree (cart); gausspr-Linear: Gaussian Process; icr: Independent Component Regression. We categorize these ML models as (1) ensemble: RF xgbDart,XgbTree, xgbLinear and (2) and non-ensemble models: lm, glm, icr, lmStepAIC, ppr, gaussprLinear, gvcEarth, svmLinear, knn, rpart, monmlp, svmRadial. Unlike non-ensemble models where only a single model is being built, ensemble models 63 consist of collections of the same models constructed randomly. More detailed description is provided next.

12Co-model ensemble models. In RF the ensemble is a collection of DTs constructed with bagging (i.e., independently of each other), whereas XGB builds weak learners (with any type model) in an additive manner-one weak learner at a time. In ensembles, the final decision is given by combining the predictions of all models ("voting"). XGB lets weak learners vote along the way while RF lets all DTs vote at the end after building all trees. Each model is built using a different sample of the training data and, thus, the sampling method is among the www.nature.com/scientificreports/ factors which determine the final models. Voting strategy is another factor that can change the final prediction, e.g., weighted or unweighted voting where unweighted voting gives an equal weight to the each DT model. RF is quite popular due to its robustness, e.q., remote sensing 64 , land-cover classification 65 , network intrusion detection system 66 , sleep stage identification 67 . Error correlation among the trees and the strength of the DTs are estimated over the out of bag data which is the data remaining from bootstrap sampling. The trade-off between the margin which shows how well a single DT separates a correct class from an incorrect class and the correlations between the trees determines how well RF will perform. Breiman 68 is the first RF paper and 69 gives a review of RF algorithm. Differing approaches to improve RF; weighted voting and dynamic data reduction 70 , through sampling 71 , improving data 72 , with clustering 73 .

13The stochastic gradient algorithm 74 improves 75 , the first gradient boosting algorithms for big data. Extreme Gradient Boosting (XGBoost/XGB) 76 is a scalable gradient tree boosting algorithm proven to work well in many areas, e.g., finance 77 , bioinformatics 78 , energy 79 , music 80 . Unlike RF, the cost function given in Eq. (7) is solved in an additive manner since it is not possible to optimize it in Euclidean space using the traditional optimization methods; it can be solved using second-approximation 81 .

14where ŷ i represents the prediction for the i th data point and

15represents the trees' space. K; additive functions' number, x i ; i th data point, n; data size, m; input variables' number, t; iteration number. q is the structure of the trees and f k is an output of an independent tree structure q with a leaf weight. h denotes a differentiable convex loss function and measures the difference between the true model y and the predicted model ŷ . ω is the penalization parameter which is used to tune the complexity of the model and avoid the overfitting problem.

16Co-model non-ensemble models. In this section we briefly explain non-ensemble models under two categories: (1) linear: lm 82 89 . Since the models under the same category learn the data according to different strategies, the final models they create are different from each other. For example, although lm can only learn linear relationships in the data, gvcEartch can learn non-linear relationships as well. icr decomposes training data into linear combinations of components which are independent of each other as much as possible. gvcEarth partitions input data into piece-wise linear segments with differing gradients. Linear segments are connected to obtain basis functions which are used to model linear and non-linear behaviors. svmLinear treats the "best" line problem as the maximal margin problem and solves the 2-norm cost functions (least squares error). svmRadial uses radial basis function as kernel function.

17lm is Ordinary Least Squares (OLS) under the assumption that residuals distribution is Gaussian. glm searches for the best line by assuming that the distribution of residuals comes from an exponential family klike a Poisson. lmStepAIC, a type of glm, selects the input variables using an automated algorithm. In ppr in an iterative manner the regression surface is modelled as a sum of general linear combinations of smooth functions. This makes ppr more general than stepwise regression procedures. icr decomposes training data into linear combinations of components which are independent of each other as much as possible. gvcEarth partitions input data into piecewise linear segments with differing gradients. Linear segments are connected to obtain basis functions which are used to model linear and non-linear behaviors. gaussprLinear is a probabilistic regression model and a probability distribution over linear functions that fits training data. rpart is a single tree model trained by selecting an optimal attribute (feature) then partitioning data based on the class data for each value in the active domain. This is akin to Quinlan's C4.5. The optimal attribute is chosen using a variety of metrics such as Gini or information gain where each metric can lead to produce a different DT 91,94-96 . Subsequently the training data points are sorted to the leaf nodes. The algorithm runs until the training data points are classified to an acceptable threshold; otherwise it iterates over new leaf nodes. After building DTs are pruned to prevent overfitting (performing well on the training data, but poorly over test data). Pruning greatly impacts performance 95 . A neural network is a weighted, directed graph where nodes input/output and edges weights. monmlp is a recurrent network with a monotone constraint which is used to monotonically increase the behavior of model output with respect to covariates. monmlp handles overfitting using bootstrap aggregation with early stopping. In knn, the data itself is used to make a prediction (lazy learning). knn first searches for k-similar objects in the training data with some distance metric and then uses voting. The choice of k can drastically change the model's prediction.

Methodology and experimental results

18In this section we first explain how we generate the minimal viable data and then present our novel machine learning framework over the TiO 2 NPs and share our findings.

19Data set: TiO 2 nanoparticles. In Fig. 4 illustrates the theoretical supercell data (3-D, 2-D raw data) of TiO 2 NPs and some statistical properties of the portion of training data. The process begins by carving TiO 2 NPs from a bulk 60 × 60 × 60 supercell. Next, structures at different temperatures to attain various TiO 2 NPs www.nature.com/scientificreports/ are computed. Figure 4a illustrates three different NPs generated at 300 K , 600 K , and 900 K . Structural data is taken Kurban et al. 97 with a detailed description about the initial geometry of the TiO 2 NP model. The structural, electronic and optical properties of twenty-one TiO 2 NP models were obtained from the density functional tight-binding (DFTB) calculation 98 Fig. 4b shows statistical properties of TiO 2 NPs used in this study, e.g., distribution, correlation. The input variables are atom, three-dimensional geometric locations of Ti and O atoms (x, y, z) and temperature. The Energy variable is the output variable. We observe that the variables are linearly non-correlated. www.nature.com/scientificreports/ Using co-modelling to predict energetic properties. Let AC, TE stand for an initial atomic configuration and Kohn-Sham total energy. Treating DFTB as a function, total energy is a function solely of atomic configuration shown as computation (8):

20Taking temperature into account, we compute the triple (9):

21where AC i,t is the new atomic configuration using an initial configuration AC i paired with total energy at temperature t. The co-model is built from 21 different values described in computation (9). Our initial examination of the co-model itself might lead one to believe that temperature is the principle driver of total energy. This is not the case. The co-model is learning the relationship of the triple not simply temperature as a predictor of total energy. Our results show (including an active web service) that the triple is so well characterized that, given AC i , AC i,0 , AC i,50 , . . . , AC i,1000 and temperature t ∈ [0 K, 1000 K] , it can accurately predict TE t . The mechanics of the computation are not easy to describe. Underlying most of AI is the recurring conundrum: the model performs well, but how it works is often impossible to explain. Indeed, an active area of AI is explainability [101][102][103] . Interestingly, work is now taking place that allows AI to completely describe the phenomenon 104 . At this point, the results show an effective technique to drastically reduce run-time. It remains for future work how, if even possible, we can make some human-interpretable sense of the computation. Figure 3(top middle) shows the general stops to constructing a co-model that can efficiently, quickly, and effectively predict structural, electronic and optical properties of NPs. The framework starts with generating a minimal viable theoretical data set using DFT/DFTB (steps 1-3). The data is randomly partitioned (step 4) into training and test boosting ( |� Training | > |� Test |) . Cross-validation is a standard technique to assess the quality of models. Pearson's correlation is measured among the model cohort allowing elimination of models that are either highly correlated with a better model or perform badly. The final co-model is built and quality measured (step 5). A more detail description of these steps are provided next. In this work, total energy is eV/atom.

22The application of co-modelling to anatase TiO 2 nanoparticles. Referring to Algo. 1 experimental detail is presented. The construction begins with 21 TiO 2 NPs at temperatures ranging over [0 K, 1000 K] from DFT/DFTB. Training data, Training , represents 75% of original data and test data, Test , the remaining 25%. The ratio Ti/O are the same in both Training and Test . In DFTB, the symmetries of the studied NP models were broken under heat treatment; thus, the co-model ensemble and other ML models were trained over non-symmetric NPs 105,106 . The goodness of the models use three metrics that produce values in [0, 1]: (1) Mean Absolute Error (MAE), (2) Root Mean Square Error (RMSE), (2) R Squared (R 2 ). Metrics (1) and (2) are error metrics; thus lower values are better. MAE and RMSE are distance metrics that, as the model improves, describe the deviation as a magnitude from the actual data (DFT/DFTB) and not the actual accuracy of the model. R 2 , in a regression model, represents the proportion of variance in the input variables (dependent) and that can be explained by the output variable (independent). The higher R 2 , the better model is. tenfold cross-validation is used to assess the quality of the models and the summary is given in Fig. 5.

23The best performing traditional ML model is ppr in the training step. The experimental results indicate that the performances of XGBoost algorithms (xgbDart, xgbLinear, xgbTree) and rf are similar to ppr. Although some single ML models such as ppr, xqbDart, xqbLinear, perform well on training and test data, the our framework makes it possible to create more accurate models than any of these single ML models. Any new data may not be well-modelled by a single ML model; the co-model will always perform well. Figure 6 highlights pairwise training model differences: Fig. 6a shows R 2 ; Fig. 6b shows linear correlations; Fig. 6c shows a Pearson heat map. Figures for MAE and RMSE are provided as the supplementary material for space reasons. After finding the best models among various regression models, correlations among the models, created during the training step, were measured. The results show that lm-lmStepAIC, lm-gaussprLinear, glm-lm, glm-lmStepAIC,glm-gaussprLinear pairs are highly correlated. We only use gaussprLinear, since its performance is better than others over the training data. The co-model is constructed using the remainder of the cohort. Note that there was none that performed poorly over Training . The performance comparison of traditional ML models and cooperative model over the training data is presented in Fig. 7. The red-dashed line represents the cooperative model and we observe that our cooperative model performs better than the rest of the ML models. For example, over the training data, the RMSE was 1.5 × 10 −10 where ppr, the best traditional model, had 1.6 × 10 −10 RMSE. Figure 6c demonstrates the relative importance of individual models in the cooperative model. We observe that svmLinear, xgbTree, xgbLinear and xgbDART are the most important models, respectively, in the cooperative model, and svmLinear is the most dominant one. Finally, we present the performance of the cooperative model and other models over the testing data in Table 1. Based on all the metrics the results demonstrate that co-modelling performed superior than all other traditional single models. Our best model is embedded to the web and can be easily tested (https:// hasan. shiny apps. io/ app_1/).

Summary and conclusion

24We have demonstrated that by pairing DFT/DFTB with a novel, data-driven ML framework-and surprisingly a modicum of data of 21 NPs-we can bypass traditional run-time bottlenecks scientists face when using DFT/ DFTB alone. Co-modelling builds a linear ensemble of models that accurately predicts the structural, electronic, and optical properties of nanoparticles (NPs). The collective time to build the ML portion is relatively minuscule and can even be done ab initio. Our solution is open-source and only requires a standard hardware-a laptop. www.nature.com/scientificreports/ what the best and minimal data can be and ensemble, whether instances of this model differ for materials or types of properties predicted, generating data for general use. Additional future work includes elucidating how the co-model is understanding the relationship possibly leading to a different, perhaps simpler, description of atomic configuration, temperature, and total energy. Another intriguing path is to reverse the computation-can we determine the most likely atomic configuration or class of configurations that would give rise to the total energy. Examining other metal nanoparticles must be investigated to ensure this result is not simply peculiar to TiO 2 . We are also interested in studying extreme temperatures where experimentation is difficult at best. Finally, code and data are publicly accessible and the cooperative model is available on the web. www.nature.com/scientificreports/

참고문헌 99건

  1. Combining Instance-Based and Model-Based Learning Elsevier eBooks · Elsevier BV · 1993 10.1016/b978-1-55860-307-3.50037-x
  2. Machine learning applications in genetics and genomics Nature Reviews Genetics · Nature Portfolio · 2015 10.1038/nrg3920
  3. Improving Random Forests Lecture notes in computer science · Springer Science+Business Media · 2004 10.1007/978-3-540-30115-8_34
  4. Red-RF: Reduced Random Forest for Big Data Using Priority Voting &amp;amp;amp; Dynamic Data Reduction 2015 10.1109/bigdatacongress.2015.26
  5. Greedy function approximation: A gradient boosting machine. The Annals of Statistics · Institute of Mathematical Statistics · 2001 10.1214/aos/1013203451
  6. Building Predictive Models in <i>R</i> Using the <b>caret</b> Package Journal of Statistical Software · Foundation for Open Access Statistics · 2008 10.18637/jss.v028.i05
  7. Atom-centered symmetry functions for constructing high-dimensional neural network potentials The Journal of Chemical Physics · American Institute of Physics · 2011 10.1063/1.3553717
  8. A Decision-Theoretic Generalization of On-Line Learning and an Application to Boosting Journal of Computer and System Sciences · Elsevier BV · 1997 10.1006/jcss.1997.1504
  9. Perspective: Crystal structure prediction at high pressures The Journal of Chemical Physics · American Institute of Physics · 2014 10.1063/1.4861966
  10. Sub-10 nm rutile titanium dioxide nanoparticles for efficient visible-light-driven photocatalytic hydrogen production Nature Communications · Nature Portfolio · 2015 10.1038/ncomms6881
  11. Adsorption of Phosphonic Acid at the TiO<sub>2</sub> Anatase (101) and Rutile (110) Surfaces The Journal of Physical Chemistry C · American Chemical Society · 2009 10.1021/jp8110343
  12. Automated sleep stage identification system based on time–frequency analysis of a single EEG channel and random forest classifier Computer Methods and Programs in Biomedicine · Elsevier BV · 2011 10.1016/j.cmpb.2011.11.005
  13. Adsorption of nucleotides on the rutile (110) surface International Journal of Materials Research (formerly Zeitschrift fuer Metallkunde) · De Gruyter · 2010 10.3139/146.110337
  14. Additive logistic regression: a statistical view of boosting (With discussion and a rejoinder by the authors) The Annals of Statistics · Institute of Mathematical Statistics · 2000 10.1214/aos/1016218223
  15. Generalized Neural-Network Representation of High-Dimensional Potential-Energy Surfaces Physical Review Letters · American Physical Society · 2007 10.1103/physrevlett.98.146401
  16. Calculations of molecules, clusters, and solids with a simplified LCAO-DFT-LDA scheme International Journal of Quantum Chemistry · Wiley · 1996 10.1002/(sici)1097-461x(1996)58:2<185::aid-qua7>3.0.co;2-u
  17. Accelerated computational discovery of high-performance materials for organic photovoltaics by means of cheminformatics Energy & Environmental Science · Royal Society of Chemistry · 2011 10.1039/c1ee02056k
  18. An introduction to multivariate adaptive regression splines Statistical Methods in Medical Research · SAGE Publishing · 1995 10.1177/096228029500400303
  19. Quantum size effect in TiO2 nanoparticles prepared by finely controlled metal assembly on dendrimer templates Nature Nanotechnology · Nature Portfolio · 2008 10.1038/nnano.2008.2
  20. Construction of tight-binding-like potentials on the basis of density-functional theory: Application to carbon Physical review. B, Condensed matter · American Physical Society · 1995 10.1103/physrevb.51.12947
  21. Stochastic gradient boosting Computational Statistics & Data Analysis · Elsevier BV · 2002 10.1016/s0167-9473(01)00065-2
  22. Multivariate adaptive regression splines and neural network models for prediction of pile drivability Geoscience Frontiers · Elsevier BV · 2014 10.1016/j.gsf.2014.10.003
  23. Gaussian Approximation Potentials: The Accuracy of Quantum Mechanics, without the Electrons Physical Review Letters · American Physical Society · 2010 10.1103/physrevlett.104.136403
  24. Projection Pursuit Regression Journal of the American Statistical Association · 1981 10.1080/01621459.1981.10477729
  25. DFTB+, a Sparse Matrix-Based Implementation of the DFTB Method The Journal of Physical Chemistry A · American Chemical Society · 2007 10.1021/jp070186p
  26. Machine learning with systematic density-functional theory calculations: Application to melting temperatures of single- and binary-component solids Physical Review B · American Physical Society · 2014 10.1103/physrevb.89.054303
  27. Independent component analysis, A new concept? Signal Processing · Elsevier BV · 1994 10.1016/0165-1684(94)90029-9
  28. A Unifying Review of Linear Gaussian Models Neural Computation · The MIT Press · 1999 10.1162/089976699300016674
  29. Neural networks and physical systems with emergent collective computational abilities. Proceedings of the National Academy of Sciences · National Academy of Sciences · 1982 10.1073/pnas.79.8.2554
  30. An assessment of the effectiveness of a random forest classifier for land-cover classification ISPRS Journal of Photogrammetry and Remote Sensing · Elsevier BV · 2011 10.1016/j.isprsjprs.2011.11.002
  31. No free lunch theorems for optimization IEEE Transactions on Evolutionary Computation · Institute of Electrical and Electronics Engineers · 1997 10.1109/4235.585893
  32. Computational complexity of interacting electrons and fundamental limitations of density functional theory Nature Physics · Nature Portfolio · 2009 10.1038/nphys1370
  33. Moment Tensor Potentials: A Class of Systematically Improvable Interatomic Potentials Multiscale Modeling and Simulation · Society for Industrial and Applied Mathematics · 2016 10.1137/15m1054183
  34. A random forest guided tour Test · Springer Science+Business Media · 2016 10.1007/s11749-016-0481-7
  35. Self-Consistent Equations Including Exchange and Correlation Effects Physical Review · American Institute of Physics · 1965 10.1103/physrev.140.a1133
  36. Random forest in remote sensing: A review of applications and future directions ISPRS Journal of Photogrammetry and Remote Sensing · Elsevier BV · 2016 10.1016/j.isprsjprs.2016.01.011
  37. XGBoost 2016 10.1145/2939672.2939785
  38. Parametrization and Benchmark of DFTB3 for Organic Molecules Journal of Chemical Theory and Computation · American Chemical Society · 2012 10.1021/ct300849w
  39. Mathematical Methods for Digital Computers. American Mathematical Monthly · Taylor & Francis · 1961 10.2307/2312521
  40. Classification and regression trees European Journal of Operational Research · Elsevier BV · 1985 10.1016/0377-2217(85)90321-2
  41. Random Forest Modeling for Network Intrusion Detection System Procedia Computer Science · Elsevier BV · 2016 10.1016/j.procs.2016.06.047
  42. Titanium dioxide nanoparticles strongly impact soil microbial function by affecting archaeal nitrifiers Scientific Reports · Nature Portfolio · 2016 10.1038/srep33643
  43. Predictive analytics for crystalline materials: bulk modulus RSC Advances · Royal Society of Chemistry · 2016 10.1039/c6ra19284j
  44. Perspective: Machine learning potentials for atomistic simulations The Journal of Chemical Physics · American Institute of Physics · 2016 10.1063/1.4966192
  45. Machine learning based interatomic potential for amorphous carbon Physical review. B./Physical review. B · American Physical Society · 2017 10.1103/physrevb.95.094203
  46. Machine Learning in Transportation Data Analytics Elsevier eBooks · Elsevier BV · 2017 10.1016/b978-0-12-809715-1.00012-2
  47. Spectral neighbor analysis method for automated generation of quantum-accurate interatomic potentials Journal of Computational Physics · Elsevier BV · 2014 10.1016/j.jcp.2014.12.018
  48. Including crystal structure attributes in machine learning models of formation energies via Voronoi tessellations Physical review. B./Physical review. B · American Physical Society · 2017 10.1103/physrevb.96.024104
  49. Active learning of linearly parametrized interatomic potentials Computational Materials Science · Elsevier BV · 2017 10.1016/j.commatsci.2017.08.031
  50. Crystal Graph Convolutional Neural Networks for an Accurate and Interpretable Prediction of Material Properties Physical Review Letters · American Physical Society · 2018 10.1103/physrevlett.120.145301
  51. Accelerating crystal structure prediction by machine-learning interatomic potentials with active learning Physical review. B./Physical review. B · American Physical Society · 2019 10.1103/physrevb.99.064114
  52. Predicting failure in the U.S. banking sector: An extreme gradient boosting approach International Review of Economics & Finance · Elsevier BV · 2018 10.1016/j.iref.2018.03.008
  53. Comparison of Support Vector Machine and Extreme Gradient Boosting for predicting daily global solar radiation using temperature and precipitation in humid subtropical climates: A case study in China Energy Conversion and Management · Elsevier BV · 2018 10.1016/j.enconman.2018.02.087
  54. Detecting Music Genre Using Extreme Gradient Boosting 2018 10.1145/3184558.3191822
  55. Accelerating the discovery of materials for clean energy in the era of smart automation Nature Reviews Materials · Nature Portfolio · 2018 10.1038/s41578-018-0005-z
  56. Data and Supplemental information for predicting the thermodynamic stability of perovskite oxides using machine learning models Data in Brief · Elsevier BV · 2018 10.1016/j.dib.2018.05.007
  57. Generalized Linear Models Journal of the Royal Statistical Society Series A (General) · Wiley · 1972 10.2307/2344614
  58. Predicting the thermodynamic stability of perovskite oxides using machine learning models Computational Materials Science · Elsevier BV · 2018 10.1016/j.commatsci.2018.04.033
  59. Bayesian-Driven First-Principles Calculations for Accelerating Exploration of Fast Ion Conductors for Rechargeable Battery Application Scientific Reports · Nature Portfolio · 2018 10.1038/s41598-018-23852-y
  60. Crystal Structure Prediction via Deep Learning Journal of the American Chemical Society · American Chemical Society · 2018 10.1021/jacs.8b03913
  61. Machine learning for molecular and materials science Nature · Nature Portfolio · 2018 10.1038/s41586-018-0337-2
  62. Predicting the effective thermal conductivities of composite materials and porous media by machine learning methods International Journal of Heat and Mass Transfer · Elsevier BV · 2018 10.1016/j.ijheatmasstransfer.2018.08.082
  63. Enhanced Prediction of Hot Spots at Protein-Protein Interfaces Using Extreme Gradient Boosting Scientific Reports · Nature Portfolio · 2018 10.1038/s41598-018-32511-1
  64. Machine learning material properties from the periodic table using convolutional neural networks Chemical Science · Royal Society of Chemistry · 2018 10.1039/c8sc02648c
  65. Peeking Inside the Black-Box: A Survey on Explainable Artificial Intelligence (XAI) IEEE Access · Institute of Electrical and Electronics Engineers · 2018 10.1109/access.2018.2870052
  66. Application of DFT-based machine learning for developing molecular electrode materials in Li-ion batteries RSC Advances · Royal Society of Chemistry · 2018 10.1039/c8ra07112h
  67. Random Forests Machine Learning · Springer Science+Business Media · 2001 10.1023/a:1010933404324
  68. From DFT to machine learning: recent approaches to materials science–a review Journal of Physics Materials · IOP Publishing · 2019 10.1088/2515-7639/ab084b
  69. Solving the electronic structure problem with machine learning npj Computational Materials · Nature Portfolio · 2019 10.1038/s41524-019-0162-7
  70. Unsupervised word embeddings capture latent knowledge from materials science literature Nature · Nature Portfolio · 2019 10.1038/s41586-019-1335-8
  71. Accelerating high-throughput searches for new alloys with active learning of interatomic potentials Computational Materials Science · Elsevier BV · 2018 10.1016/j.commatsci.2018.09.031
  72. Recent advances and applications of machine learning in solid-state materials science npj Computational Materials · Nature Portfolio · 2019 10.1038/s41524-019-0221-0
  73. A Machine Learning Approach for Predicting Defluorination of Per- and Polyfluoroalkyl Substances (PFAS) for Their Efficient Treatment and Removal Environmental Science & Technology Letters · American Chemical Society · 2019 10.1021/acs.estlett.9b00476
  74. Titanium dioxide nanoparticles (TiO2 NPs) promote growth and ameliorate salinity stress effects on essential oil profile and biochemical attributes of Dracocephalum moldavica Scientific Reports · Nature Portfolio · 2020 10.1038/s41598-020-57794-1
  75. Machine learning for interatomic potential models The Journal of Chemical Physics · American Institute of Physics · 2020 10.1063/1.5126336
  76. Explainable machine learning in deployment 2020 10.1145/3351095.3375624
  77. Completing density functional theory by machine learning hidden messages from molecules npj Computational Materials · Nature Portfolio · 2020 10.1038/s41524-020-0310-0
  78. Monte Carlo Simulations of Au <sub>38</sub> (SCH <sub>3</sub> ) <sub>24</sub> Nanocluster Using Distance-Based Machine Learning Methods The Journal of Physical Chemistry A · American Chemical Society · 2020 10.1021/acs.jpca.0c01512
  79. Tailoring the structural properties and electronic structure of anatase, brookite and rutile phase TiO2 nanoparticles: DFTB calculations Computational Materials Science · Elsevier BV · 2020 10.1016/j.commatsci.2020.109843
  80. Selecting machine learning models for metallic nanoparticles Nano Futures · IOP Publishing · 2020 10.1088/2399-1984/ab9c3b
  81. Kohn-Sham Equations as Regularizer: Building Prior Knowledge into Machine-Learned Physics Physical Review Letters · American Physical Society · 2021 10.1103/physrevlett.126.036401
  82. Applying Class-to-Class Siamese Networks to Explain Classifications with Supportive and Contrastive Cases Lecture notes in computer science · Springer Science+Business Media · 2020 10.1007/978-3-030-58342-2_16
  83. Accelerating finite-temperature Kohn-Sham density functional theory with deep neural networks Physical review. B./Physical review. B · American Physical Society · 2021 10.1103/physrevb.104.035120
  84. Bypassing the Kohn-Sham equations with machine learning Nature Communications · Nature Portfolio · 2017 10.1038/s41467-017-00839-3
  85. Machine learning for human learners: opportunities, issues, tensions and threats Educational Technology Research and Development · Springer Science+Business Media · 2020 10.1007/s11423-020-09858-2
  86. Extending the accuracy of the SNAP interatomic potential form The Journal of Chemical Physics · American Institute of Physics · 2018 10.1063/1.5017641
  87. Influence of heating rate, temperature, pressure on the structure, and phase transition of amorphous Ni material: A molecular dynamics study Heliyon · Elsevier BV · 2020 10.1016/j.heliyon.2020.e05548
  88. Accelerating materials discovery using machine learning Journal of Material Science and Technology · Elsevier BV · 2020 10.1016/j.jmst.2020.12.010
  89. Atom classification with Machine Learning and correlations among physical properties of ZnO nanoparticle Chemical Physics · Elsevier BV · 2021 10.1016/j.chemphys.2021.111143
  90. Rare-class learning over Mg-doped ZnO nanoparticles Chemical Physics · Elsevier BV · 2021 10.1016/j.chemphys.2021.111159
  91. Tensor-structured algorithm for reduced-order scaling large-scale Kohn–Sham density functional theory calculations npj Computational Materials · Nature Portfolio · 2021 10.1038/s41524-021-00517-5
  92. Building Machine Learning systems for multi-atoms structures: CH3NH3PbI3 perovskite nanoparticles Computational Materials Science · Elsevier BV · 2021 10.1016/j.commatsci.2021.110490
  93. An investigation of XGBoost-based algorithm for breast cancer classification Machine Learning with Applications · Elsevier BV · 2021 10.1016/j.mlwa.2021.100154
  94. Machine learning of Truck Traffic Classification groups from Weigh-in-Motion data Machine Learning with Applications · Elsevier BV · 2021 10.1016/j.mlwa.2021.100178
  95. Induction of decision trees Machine Learning · Springer Science+Business Media · 1986 10.1007/bf00116251
  96. Support-vector networks Machine Learning · Springer Science+Business Media · 1995 10.1007/bf00994018
  97. Automated discovery of fundamental variables hidden in experimental data Nature Computational Science · Nature Portfolio · 2022 10.1038/s43588-022-00281-6
  98. Improving Fairness in AI Models on Electronic Health Records: The Case for Federated Learning Methods 2022 ACM Conference on Fairness, Accountability, and Transparency · 2023 10.1145/3593013.3594102
  99. caretEnsemble: Ensembles of Caret Models 2015 10.32614/cran.package.caretensemble