Leveraging composition-based energy material descriptors for machine learning models
패션 · (24) 패션(코오롱FnC)
기본 정보
- 저자
- DOI
- 10.1016/j.mtcomm.2023.106579
- 저널
- Materials Today Communications
- 발행년도
- 2023
- 발행기관
- Elsevier BV
- 피인용수
- 6
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1016/j.mtcomm.2023.106579
- 토픽
- Electron and X-Ray Spectroscopy Techniques
- OpenAlex ID
- W4383215346
평가 내용
- 관련도
- 사업분야
- 패션 · (24) 패션(코오롱FnC)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '패션 > 패션(코오롱FnC)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
본문 90,783자
본문 펼치기
섹션 본문 75문단 · 44,264자
(제목 없음)
1In this study, we evaluate several classifiers and focus on selecting a minimal set of appropriate material features.Our objective is to propose and discuss general strategies for reducing the number of descriptors required for material classification.The first strategy involves testing whether the critical temperature of the target material property is invariant with respect to binary groups of composition-based features.We also propose a multi-objective optimization procedure to reduce the set of composition-based material descriptors.The latter procedure is found to be particularly useful when applied to Bayesian classifiers.We test the proposed strategies focusing on low-temperature superconductors material data extracted from a public database.
Introduction
2Construction of reliable and predictive models for material properties is becoming an aspect of general interest in a number of areas.With a special focus on materials for energy applications, the in silico prediction of physical properties without resorting to time consuming simulations or expensive experiments is of utmost importance.One of the reason being that low-cost, long-lasting materials with high performance is key for energy storage technologies, as it may be responsible from most of the total cost [1].
3A number of technological areas ranging from the energy up to healthcare sector are being transformed by superconducting materials and may greatly benefit from the discovery of new high performance materials.Superconductors are materials characterized by zero electrical resistivity when cooled below a superconducting critical temperature T c [2].Due to this fundamental property, such compounds have attracted attention in a wide range of different fields.Superconducting Magnetic Energy Storage (SMES) systems allow to store energy by means of a DC current flowing through a superconducting coil; as a consequence, energy can be stored in the resulting magnetic field with almost no loss and can be released back by discharging the coil [3].Superconducting electromagnets are employed in fusion reactors like tokamak [4], Magnetic Resonance Imaging (MRI) [5,6], Nuclear Magnetic Resonance (NMR) machines [7,8], particle accelerators [9].Other applications include Superconducting Quantum Interference Devices (SQUIDs) [10], particle detectors [11], fast fault current limiters [12].As such, discovery of new superconductors in the near future is highly desirable and can have a crucial impact on the energy sector (among others).
4Therefore, several recent research studies have made extensive use of Machine Learning (ML)based approaches.In particular, Stanev et al. [13] trained and validated models both for classification -prediction of the classes superconductor /non-superconductor -and for regression -prediction of the critical temperature, employing composition-based features together with the experimental T c s of known superconductors.Konno et al. [14] represented each chemical formula with four tables, corresponding to the periodic table blocks s, p, d, f , with such information being the input of a convolutional Deep Neural Network (DNN) able to predict the critical temperature.Le et al. [15] trained and validated a Variational Bayesian Neural Network using superconductors compositionbased features for the T c prediction.Roter et al. used only chemical elements and stoichiometry, with no extracted features, to predict the critical temperature [16] and to cluster superconductors [17].
5In our work, we deliberately target classical low temperature superconductors, as we could rely upon a high-quality database [18].As such, while collecting the data from the database for training purposes, we discarded all materials containing the following elements: Fe, Ni, Cu (to avoid unconventional superconductivity [19]).Furthermore, we also removed materials with oxygen to avoid oxides and hopefully include in our analysis materials that are more likely to exhibit ductile behaviour.
6After the extraction of 145 composition-based features by means of Matminer [20] for each material formula, we have first trained and validated a tree-based regression model for the prediction of the critical temperature, over which we got insight of the most important features by means of SHAP [21,22,23].Based on those features, we thus compare several binary classifiers, to distinguish compounds with the critical T c exceeding a predefined threshold value from the remaining samples.
7A special focus of this study is on the identification and construction of a minimal and optimal set of key material descriptors (or features) to be adopted for classification purposes.To this end, we pursue two main strategies as briefly described below and schematically represented in Fig. 1: • We first perform the aforementioned SHAP analysis and establish a descriptor ranking based on the relevance of single features {x i=1,...,n }, where n is the maximum number of adopted features;
8• In the spirit of the work by Tegmark and collaborators [24], we propose a general approach for investigating possible symmetries of the target quantity (here T c ) with respect to groups of the originally chosen features (according to the order suggested by SHAP).Without loss of generality, we focus on feature binary groups in the form x a i x b j , with a, b ∈ R being properly selected constants.To this end, a proper algorithm based on the computation of the output gradient with respect to the input features by means of a Deep Neural Network (DNN) is discussed.
9• Finally, a general framework for drastically reducing the number of the classifier features is proposed in the form of both single and multi-objective optimization problem.Among other purposes, the latter approach proves particularly convenient to synthetically construct new descriptors particularly suited for Bayesian type classifiers, including a novel entropy-based classifier introduced and tested in this work.
10Finally, we use the classifiers with the best performance, to rank ∼ 40, 000 compounds from Materials Project [25] and not occurring in the SuperCon.
Dataset creation
11First, we aim at the construction of a database suitable for ML regression to predict the critical temperature.In particular, the SuperCon database [18] collects both inorganic (under the class "Oxide and Metallic") and organic materials (under the class "Organic").We have considered only the entire subset of inorganic compounds, consisting of ∼ 33, 000 entries, of which ∼ 7, 000 have no T c ; for those latter compounds, we have assumed T c = 0 K.We have thus dropped all materials whose formulae contain symbols like '-', '+', ',', strings like 'X', 'Z', 'z' when not included in meaningful elements symbols (e.g., 'Zn'), and with T c > 150 K, resulting in a reduction of the number of compounds to ∼ 26, 000.Furthermore, after normalizing the formulae stoichiometry, we have followed the same approach explained by Stanev et al. [13] for dealing with the duplicates.In particular, when the Figure 1: Overview of the protocol used to find a reduced set of ruling descriptors for conventional superconductivity and for the construction of optimized mixed features.Over 7000 chemical compositions have been featurized with 145 descriptors.A regression model has been trained and validated over this dataset, and during the pre-processing routines (i.e., feature reduction by means of linear correlation analysis, descriptors variance analysis, correlation analysis with the T c , see Supplementary Note 4 for details), many of those features are discarded, ending up with 81 descriptors.By means of SHAP, those 81 features are ranked in terms of importance.The work aimed at finding optimized mixed features for both regression/classification in the form x a i x b j ; and for classification, with power or linear combination of the primitive features.The latter descriptors have been tested over both new entropy-based classifiers and other classifiers.
12same compound was reported with different T c values, we have retained it with the average critical temperature only if std(T c ) ≤ 5 K, otherwise we dropped all of its occurrences, ending up with ∼ 16, 000 unique compounds.Moreover, we have taken into account only the classical superconductivity: we have dropped materials with Ni, Fe, Cu and O (to avoid oxides).We have finally dropped four outliers with T c > 50 K (see Supplementary Note 6 for details).These latter steps left ∼ 7200 materials for classical superconductivity, of which ∼ 6700 have T c < 15 K.We have addressed those cleaning pre-processing by employing the Python Pandas package [26].
13We have then converted each brute formula into 145 composition-based descriptors by means of Matminer [20].Specifically, as stated by Ward et al. [27], they include stoichiometric attributes (depending on the elements' ratios), elemental property statistics (representing mean, absolute deviation, minimum and maximum of 22 atomic properties, e.g., atomic number, atomic radii), electronic structure attributes (corresponding to the average fraction of electrons in s, p, d, f valence shells over all the elements in the compound) and ionic compound attributes (including whether it is possible to form an ionic compound assuming all elements are present in a single oxidation state).
Regression models and descriptors choice
14As a second step, we have trained and validated two different regression ML models for the prediction of the critical temperature.The former is a tree-based model, allowing the exact computation of the coefficients of importance in terms of the T c by means of the Tree SHAP interpretation algorithm [22,21].The latter is a Deep Neural Network (DNN), allowing the computation of the gradient of the critical temperature with respect to the input features, namely ∇T c (x 1 , . . ., x n ), which is necessary for the identification of the invariant groups in the form x a i x b j .Specifically, the former model is an ETR-based pipeline, with hyperparameter tuning in 5-fold cross validation, trained over the 85% of the dataset and tested over the remaining 15%.The latter is a DNN trained and validated over the 85% of the database -of which the 85% has been used for the training and the remaining 15% for the validation -and tested over the remaining 15%.For further details about the regression models, please refer to Supplementary Notes 3 and 4.
Invariant groups identification procedure
15For the identification of the invariant binary groups in the form x a i x b j we have applied the following procedure.
16The critical temperature is a function of more variables, namely T c = T c (x 1 , . . ., x n ).If T c is invariant with respect to a group of features in the form x a i x b j , when this group is a constant c -even varying the components x i , x j separately -the critical temperature does not change as well.This yields a ln
17where c = ln(c).If c is constant, dc = 0; so, Eq. 1 can be rewritten as,
18An orthogonal vector n to the locus of points with dc = 0 in a point x 0 = (x i,0 , x j,0 ) has components (a/x i,0 , b/x j,0 ), which normalized becomes the following unit vector:
19The condition of invariance with respect to the group x a i x b j requires that the components of the gradient ∇T c (x 1 , . . ., x n ) are aligned with n in x 0 .This yields the system
20where
21and n 1 , n 2 represent the two components of the unit vector n.If the non-linear system in Eq. 4 is satisfied for the same exponents (a, b) over all the domains of the variables (x i , x j ) -namely x i,min ≤ ∀x i ≤ x i,max and x j,min ≤ ∀x j ≤ x j,max -the group x a i x b j is an intrinsic variable.From the practical viewpoint, this has required the computation of the gradient ∇T c (x 1 , . . ., x n ), where the function T c (x 1 , . . ., x n ) is represented by the DNN -built by means of Tensorflow [28] -linking the critical temperature with the input features.In particular, once the network has been trained and validated, we have employed the automatic differentiation to compute those partial derivatives.Specifically, for getting e.g., ∂Tc ∂x j over all the domain of the variable x j , we have fixed all the other variables (x 1 , . . ., x j−1 , x j+1 , . . ., x n ) to their average values in the original database.Finally, for each group of two features x i and x j , we have computed 100 different times the values of a and b respectively, comparing them for getting insight of possible invariance.The above approach has been tested in the Supplementary Note 2 by means of properly designed synthetic example.
QEG-based probabilistic classifier
22In addition to more classical classifiers, we have attempted the construction of maximum Shannon entropy-based probabilistic classifier based on the concept of Quasi Equilibrium Manifold as defined in [29,30] and implemented in the discrete form of Quasi Equilibrium Grid (QEG) as discussed in [31,32,33,34].The main idea is described below.Given a number s of important descriptors, we have first discretized those features from the original dataset by means of a s−dimensional binning, where each descriptor accounts for a number of bins N 1 , . . ., N s .Our aim was thus to build a probability distribution p(x 1 , . . ., x s ) having the same mean vector and covariance matrix of the original binned data; among the infinite distributions respecting those bounds, we were interested in the one maximizing the Shannon Entropy.Given the total number of s − dimensional bins
23the general idea consists in starting with a flattened probability distribution p 0 = (p 1 , . . ., p N ) 0 and ending up with a corrected distribution, which respects the constraints of mean vector and covariance we have imposed.The QEG guarantees that, if p 0 lies on the surface of maximum Shannon Entropy, also any corrected distribution will lie on the same surface.For this reason, we have always chosen p 0 as the uniform distribution, where each entry is 1/N .
24To this end, we have defined a matrix m ∈ R l×N , where l = (3s + s 2 )/2.The first s rows of m represent the binning of those s descriptors.The remaining l − s rows represent the covariance matrix entries of those s descriptors; namely, given the integers i, j ∈ [1, s], with i ≥ j, the generic row of m among the last l − s rows is the result of the element-wise product (m i − µ i )(m j − µ j ), where µ i , µ j are the means of the i−th and j−th descriptor respectively, while m i , m j are the i−th and j−th rows of m respectively.Furthermore, we define the matrix E = (m, 1) , where 1 = (1, . . ., 1) ∈ R N represents the normalization condition for probability.Let denote the null space of 1 with ρ ∈ R N ×(N −1) and the null space of E with t ∈ R N ×(N −l−1) .We thus construct a square matrix A ∈ R (N −1)×(N −1) and a vector b ∈ R N −1 .For the first N − l − 1 rows, the generic elements correspond to
25while for the remaining l rows they are
26where t i , ρ j and m i are the i-th column of t, the j-th column of ρ and the i-th row of m respectively, p represents the flattened probability distribution at the current iteration step, •, • denotes the dot product.
27The correction procedure for the i-th bound is carried out as follows: (i) the starting point is computed as m i , p , (ii) the desired value is computed as m i , p , where the j-th entry of p is the number of items belonging to the j-th s-dimensional bin over the total number of items (namely, the frequency), (iii) the resulting residual is filled by solving the system A k p k+1 = b k iteratively, by replacing time by time b N −l−1+i with a correction step ε, where p k+1 = p k +δp k and δp k represents the correction resulting from the k-th iteration, (iv) when the correction over the i-th bound is complete, the correction over the i + 1-th bound can start, by imposing b N −l−1+i = 0 and b N −l−1+i+1 = ε.
Results and discussion
28As mentioned above, and in line with others in the literature [13,14,15,16,17], we adopted a convenient source of data, namely the SuperCon database [18] which collects the values of critical temperatures T c for superconducting materials known from literature.To our knowledge, SuperCon represents the largest database of its kind, from which we have extracted a list of ∼ 16, 000 materials.Beyond the T c values, the SuperCon database provides only the chemical composition of a compound.The latter info was thus converted into meaningful features by means of Matminer [20], allowing us to associate the normalized brute formula of each compound with 145 composition-based descriptors (see Methods for further details).
29Armed with such features, we can thus make use and compare the performance of several classifiers aiming at predicting the probability for a compound to be a superconductor candidate.In our study, we made use of known classifiers.In addition, we also investigate a Bayesian type classifier based on the concept of Quasi-Equilibrium Manifold [29,30,31,33], as detailed above.
Models for predicting the critical temperature value
30We have first trained and validated an Extra Trees Regressor (ETR)-based pipeline with hyperparameter tuning in 5-fold cross-validation (see Supplementary Notes 4 and 7 for details).By means of the Tree SHAP algorithm [22,21], we have sorted the input features in terms of their relevance with respect to the prediction of the T c .Model performances with the corresponding cumulative importance curves of the ruling descriptors are reported in Fig. 2.During the data preprocessing routines, the trained pipeline (i.e., feature reduction by means of linear correlation analysis, descriptors variance analysis, correlation analysis with the T c and ML with hyperparameter tuning, see Supplementary Note 4 for details) already drops a significant number of the 145 features, thus confirming that many of the initially selected descriptors do not significantly affect the chosen target property.In particular, the final model only includes 81 descriptors.Importantly, Fig. 3 shows the SHAP rankings of the five most meaningful descriptors for the aforementioned model.Table 1 summarizes the physicochemical meaning of the identified descriptors, based on the complete list by Ward et al. [27].The entire list of variables, together with their cumulative importance, the trained models, and the datasets on which they have been trained are publicly available online (see Data availability and Code availability).
31Table 1: Relevant composition-based descriptors and their meaning [27].
Descriptor name Meaning
32MagpieData range MeltingT Range of melting T over the elements of a compound 0-norm Number of different chemical species MagpieData mode NdUnfilled Mode of d unfilled orbitals over the elements MagpieData mode NsUnfilled Mode of s unfilled orbitals over the elements MagpieData avg dev MeltingT Average absolute deviation of melting T over the elements
Invariant groups
33In a first attempt of reducing the number of input features within the above models, we decided to investigate on the possible existence of symmetries of the obtained regression models.In particular, we have been focusing on the possible invariance of the target property (here the critical temperature) with respect to binary groups of the form: x a i x b j .In this study, we restrict to binary groups, although we are confident that the approach can be also generalized to groups concurrently involving a larger number of features.To this end, as discussed in the Methods section below, it is necessary to get access to the gradient of the critical temperature with respect to the input features, namely ∇T c (x 1 , . . ., x n ).We have thus approximated the function T c (x 1 , . . ., x n ) with a Deep Neural Network (DNN), which is -to our knowledge -a convenient model allowing to compute that gradient by means of automatic differentiation.
34As input features of the DNN, we have employed the same 81 relevant descriptors of the above ETR-based pipeline.We have thus splitted the dataset into three parts: (i) a training set, (ii) a validation set to get insight of possible overfitting, (iii) a testing set to effectively evaluate the model performances.Fig. 4 shows the predictions over the testing set, together with the model performances and the corresponding loss with respect to the number of epochs.Specifically, no overfitting is found.More details about the DNN structure are shown in the Supplementary Note 3. We have thus looked for possible invariant groups in the form x a i x b j among the 45 different combinations of the most relevant 10 features according to the SHAP-based ranking above.On the basis of our investigations, we can conclude that the critical temperature of the examined materials presents no invariance with respect to the tested binary groups.
Entropy-based binary classifiers
35In this section, we introduce and test a special Bayesian type classifier as detailed below.We have considered the first two features of the SHAP ranking for constructing a Shannon Entropy-based probabilistic classifier according to the Quasi Equilibrium Grid (QEG)-based procedure reported above in the Methods.In particular, we have binned those two features separately for superconductors with both T c < 15 K (class 0) and T c ≥ 15 K (class 1) among the 85% of the materials -namely, the training set -thus obtaining the pair of 2 dimensional binnings in Fig. 5a.For each of those binnings, we have computed the five needed constraints, namely the means of those two features and their three variance terms (see Methods).We have thus constructed a surface of maximum Shannon entropy for each of the two classes by means of the QEG algorithm, as depicted in Fig. 5b.Finally, we have computed the probability distribution by subtracting the QEG solution for class 0 from the QEG solution for class Binned data for x (1) 1 to x (10) 1 class 0
36Binned data for x (1) 1 to x (10) 1 class 1 QEG for x (1) 1 to x (10) 1 class 0 QEG for x (1) 1 to x (10) 1 class 1 1 -both multiplied by the cardinality of the corresponding class in the training set -and up-shifting the result by the minimum, in such a way to have probabilities ≥ 0. The latter distribution represents our 2 dimensional QEG probabilistic classifier.Moreover, having in mind the idea of Random Forests, which employ bagging (creation of more decision trees and aggregation of the results by taking the mean) [35], we have produced 100 QEG 2D distributions per class, each based on a different random subset of training set.We have thus taken a mean distribution per class; Fig. 5c shows that the bagged results are in accordance with the non-bagged case of Fig. 5b.
37We have repeated the same procedure taking into account the first three features according to the SHAP-based ranking above -namely, the range of the melting temperature, the number of different chemical species, the mode of d unfilled orbitals.A 3-dimensional binning of dimensions 10×6×10 can be represented as an ensemble of ten 2-dimensional binnings, each of dimensions 6 × 10.Fig. 6a shows such discretization of the data, where ten matrices of axes x 2 , x 3 act for the ten bins of feature x 1 , from bin x for each of the two classes.Fig. 6b shows the corresponding the QEG solutions for classes 0 and 1 separately.
Other standard binary classifiers
38Furthermore, we have trained and validated two Extra Trees Classifier (ETC) models with default hyperparameters over the same training set accounting for the 85% of materials, including only the first two and the first three features by the aforementioned SHAP ranking respectively.Moreover, we have used the entire dataset -with all the features -to train and validate two further ETC-based pipelines, both with pre-processing and hyperparameter tuning in stratified 5-fold cross validation (see Supplementary Note 4 for details).Specifically, since the cardinalities of two classes are unbalanced, we employed the Synthetic Minority Over-Sampling TEchnique (SMOTE) algorithm in one of the two pipelines, which, through interpolation, produces samples in the underrepresented class [36].
39In particular, the Scikit-learn Python package [37] offers the possibility of predicting not only the class, but also the class probabilities; the predicted class is automatically chosen to be the one accounting for the highest probability.Hence, by considering only the probabilities of the class 1, i.e., the material is predicted to be superconductive, we have moved the discriminating threshold from 0 (all the materials are predicted in class 1) to 1 (all the materials are predicted in class 0).For each threshold, a different confusion matrix, with different number of true positives (TP), false negatives (FN), false positives (FP), true negatives (TN), is constructed.For each confusion matrix, the true positive rate (TPR) and the false positive rate (FPR) are computed, where TPR = TP/(TP+FN) and FPR = FP/(FP + TN).The same procedure is repeated for the QEG based probabilistic classifiers, where the order of magnitude of the thresholds is lower, since the probability does not sum up to 1 over two classes but over 60 (QEG 2D) or 600 bins (QEG 3D).
40In Supplementary Note 8 we report a comprehensive comparison of the Receiver Operating Characteristic (ROC) curves for the all the classifiers.
41The performence of a classifier can be measured by means of the Area Under Curve (AUC) of the ROC: the larger the AUC, the better the classifier.Furthermore, given a ROC curve, its best discriminating threshold ξ -above which a sample is classified as 1 and below which is classified as 0 -can be identified by means of the Youden's statistics, maximizing the quantity J = TPR − FPR [38].Another metric for choosing the best threshold is the maximization of the F 1 score, by definition F 1 = 2TP/(2TP + FP + FN) [39,40,41].
42Performances computed over the same testing set of 1084 materials are shown in Table 2.The comparison encompasses QEGs with two and three features (QEG 2D and QEG 3D respectively), ETCs with the top two and three features of the SHAP ranking (ETC 2D-high and ETC 3D-high respectively), ETCs with the two (33-rd, 34-th) and three (33-rd, 34-th, 35-th) features of the SHAP ranking (ETC 2D-middle and ETC 3D-middle respectively), with the least two and three features of the SHAP ranking (ETC 2D-low and ETC 3D-low respectively), ETC with all the database (ETCvanilla), ETC with the additional SMOTE algorithm (ETC-SMOTE), ETC with all the database and all the 81 features (ETC-vanilla-81), ETC with the additional SMOTE algorithm and all the 81 features (ETC-SMOTE-81), Gaussian Naive Bayesian classifier (Naive 2D, see Supplementary Note 10 and ref. [42] for details), together with a No skill classifier, in which TPR and FPR are always equal.ETC models always outperform QEG-based classifiers both in terms of J max and in terms of F 1,max ; in particular, the ETC-vanilla and ETC-SMOTE turn out to be the best classifiers in terms of F 1,max and J max respectively.
43We have thus predicted the probability of classes 0 and 1 with ETC-vanilla and ETC-SMOTE for all the ∼ 40, 000 materials in Materials Project without Ni, Fe, Cu, O and not in the SuperCon database.Those predictions are on our GitHub repository (see Code availability).
Optimal reduction of the composition-based material descriptors
44Although the above SHAP analysis can be conveniently adopted while ranking and reducing the number of material descriptors for both regressors and classifiers, the following aspects have to be stressed.On one hand, as visible on the right-hand side of Fig. 2, for achieving a sufficiently high (i.e. in the order of 70% or higher) cumulative importance over 30 features are needed.On the other hand, the larger the number of feature the higher the over-fitting possibility.Therefore, in this work, we attempted the following possible reduction of the material descriptors.Given the original set of n features (x 1 , ..., x n ), let (x 1 , ..., xn ) be the corresponding dimensionless quantities:
45where x i,min and x i,max represent the minimum and maximum observed values for the i−th feature over the training set, respectively.All dimensionless quantities are thus normalized by construction to a value range within the interval [1 − 2] to avoid singularities in the expressions below.We define the following new set of m n mixed features (y 1 , ..., y m ), as follows:
46where {α ij } represents an n × m matrix optimally estimated as reported below.Alternatively, the new set of m reduced mixed features can also be defined by the following linear transformation:
47Finally, the new variables y j can be conveniently normalized within the interval [0 − 1] as follows: ỹj = y j − y j,min y j,max − y j,min (11) With the basic idea of Bayesian classification in mind, we define the following multi-objective optimization criterion.The matrix {α ij } in Eq. 9 and/or Eq. 10 lies on the Pareto front while concurrently attempting: i) maximization of a properly chosen distance between the two classes; ii) minimization of a norm of the covariance matrix of the first class distribution; iii) minimization of a norm of the covariance matrix of the second class distribution.
48In this study, we use genetic algorithms for optimization.Moreover, for the evaluation of the distance between the two classes, a number of approaches have been tested including: 35 , constructed according to Eq. 9 and choosing the point of the Pareto front with the least overlapping of the two classes according to the Battacharyya distance, together with a GEV analytical fitting of those two binnings (see text for details).c: PDFs over binned data of the testing set for the two classes reported against the same mixed feature x pow,least,35 together with the same GEV fittings of the b subfigure.
49• Data in the two classes are equally binned and histograms used to evaluated the Bhattacharyya distance [43,44] between the two classes to be maximized during the above multi-objective optimization;
50• Data in the two classes are equally binned and histograms used to evaluate the Earth mover distance [45] between the two classes to be maximized during the above multi-objective optimization;
51• The average number of neighbors within a fixed radius of non superconducting materials to each sample of the superconducting material class in the reduced space to be minimized during the above multi-objective optimization Finally, for the remaining two objective functions, while for one-dimensional cases a numerical estimate of the standard deviation of the binned data in the two classes is computed, in the two (or higher) dimensional cases the determinant of the covariance matrix can be adopted.More details about Pareto front calculations can be found in Supplementary Note 9.
Application to one-and two-dimensional cases
52As an example, Fig. 7 shows the Probability Density Functions (PDFs) of the two material classes T c < 35 K and T c ≥ 35 K. Specifically, Fig. 7a reports the PDF binning of the training set data over the two classes, against the normalized most important feature according to the SHAP ranking.Fig. 7b shows the same PDFs against the mixed feature x pow,least,35 , constructed according to Eq. 9 by power combination of the 30 most important features of the SHAP ranking and choosing the point of the Pareto front with the least distributions overlap according to the Bhattacharyya distance.Interestingly, when plotted against the new mixed feature, the two classes appear well separated, whereas it is worth observing that the same two classes show a higher degree of overlapping when reported against the first SHAP feature.As a result, it appears particularly convenient to attempt an analytical bet-fitting of the two functions reported Fig. 7b, approximated by a Generalized Extreme , constructed according to Eq. 9 from mixing the 52 most important features according the the SHAP ranking and choosing the Utopia point of the Pareto front.c: PDFs over binned data of the testing set for the two classes reported against the same mixed features x pow,uto,35 Value (GEV) distribution, whose density has equation
53In this specific case, we found that the GEV distribution for materials with T c < 35 K has factors γ = 0.228, σ = 0.119, ζ = −0.033.Analogously we found that the GEV distribution for materials with T c ≥ 35 K has factors γ = 0.847, σ = 0.046, ζ = −0.539.We performed such fittings by means of the SciPy Python package [46].Fig. 7c shows the PDFs over the binned data of the testing set reported against the same mixed feature, together with the GEV fittings computed on the training set.It is worth noticing that the classes are still well separated, with a good agreement between the GEV distributions and the testing set densities.The number of bins has been chosen separately for the two classes, according to the Sturges rule [47].Furthermore, Fig. 8 shows the PDFs of the same two material classes (T c < 35 K and T c ≥ 35 K) in a two dimensional case.Specifically, Fig. 8a reports the PDF two dimensional binning of the training set data over the two classes, against the normalized two most important features according to the SHAP ranking.Fig. 8b shows the same PDFs against the mixed features x pow,uto, 35 1 , x pow,uto,35 2 , constructed according to Eq. 9 by power combination of the 52 most important features of the SHAP ranking and choosing the Utopia point of the Pareto front.As in the one dimensional case, the two classes, when plotted against the new mixed features, appear well separated.Fig. 8c shows the PDFs over the binned data of the testing set reported against the same mixed features; the two classes are still well separated.Each plot of Fig. 8 accounts for 400 two dimensional bins, on a grid 20 × 20.Moreover, Supplementary Note 11 shows a sharp improvement of a Naive Gaussian Bayesian classifier trained with the mixed features x pow,uto, 35 1 , x pow,uto, 35 2 with respect to an analogous model trained with the two most relevant features according to the SHAP ranking.
54All the relevant data of the Pareto fronts used for constructing those mixed features, together with the coefficients α ij of each case, are publicly available on our GitHub repository (see Code availability).
Possible generalizations
55We are conscious that the mixed features found in this work might be still sub-optimal, as we do not have here the ambition of comprehensively exploring all possible cases.Clearly, several generalizations and variations can be studied while performing the material descriptor reduction as discussed above.Obvious generalizations might adopt different functions for reducing variables as compared to equations 9 and 10, as well as different distance functions between the classes.Alternatively, other strategies for constructing optimal mixed features might also focus on distances only between classes thus neglecting minimization of variance terms, with the primary aim being the best separation between classes.In this respect, we report the following examples:
56• The training dataset is split in two classes (i.e.materials with a critical temperature above or below a certain threshold value) and a single objective optimization is performed only aiming at maximizing the distance between two classes (see Fig. 9a);
57• The training dataset is split in multiple classes (i.e.> 2) and a multi-objective optimization is performed aiming at concurrently maximing the pairwise distances between the classes (see Fig. 9b).
58For further details, please refer to Supplementary Note 9. and the corresponding QEG solution respectively.Table 3 reports the performances of such classifiers, ending up with a consistent improvement of both the J max and the F 1,max score with respect to the case of the QEG 2D trained with the top SHAP descriptors (see QEG 2D in Table 2); specifically, the linear transformation improves also the AUC.We have used the same mixed features to train and validate two ETCs, ending up with similar metrics -AUC, J max and F -score with respect to the case ETC 2D-high, trained with the two most relevant features according to the SHAP ranking.We have finally employed the same features to re-train also the Gaussian Bayesian Classifier, getting an improvement for all the metrics (namely, AUC, J max and F 1,max ) with respect to the same classifier trained with the top two features according to the SHAP ranking, both for the power transformation and for the linear transformation.
59The corresponding ROC curves are reported in Supplementary Note 8.
Conclusions
60Here we have developed several ML tools for studying the critical temperature of superconductors.
61From the SuperCon database, we have considered only the inorganic compounds without Fe, Ni, Cu, O, thus excluding oxides that belong to low temperature classic superconductors.By means of Matminer and on the basis of the SuperCon database, we have generated 145 composition-based features for each compound.We have trained and validated a tree-based regression model for the prediction of the T c , allowing us to identify the most relevant descriptors by means of the Tree SHAP routine.Then, we have produced several different classifiers, based on different sets of features and considering materials with T c ≥ 15 K in class 1 and materials with T c < 15 K in class 0. In particular, with the idea of Bayesian classifiers in mind, we have tested a new Entropy-based classifier (here referred to as QEG), approximating the multidimensional binning of the data over the chosen set of descriptors with the surface of maximum Shannon Entropy.Other employed models include tree-based classifiers (namely ETCs) and Naive Bayesian classifiers.In particular, by comparing ETCs using only two or three of the original extracted features, we notice that the SHAP ranking -identified for regression -can be consistently used for classification.Since, ETCs with few features performed better than both QEGs and Naive Bayesian classifiers, we have trained two more comprehensive models -ETC-vanilla, ETC-SMOTE -both based on a number of features selected during the pre-processing routines of the respective ML pipelines.The latter uses also the SMOTE algorithm to sample, through interpolation, materials in the under-represented class of superconductors.Additionally, we have trained two further models -ETC-vanilla-81 and ETC-SMOTE-81, trained with the same ensemble of 81 features effectively used by the regression model ETR.We have employed the best-performing models, namely ETC-vanilla and ETC-SMOTE, to rank ∼ 40, 000 compounds in MaterialsProject and not occurring in the Supercon, in terms of the probability of showing T c ≥ 15 K.For instance, ETC-vanilla predicts 41 of those formulae to show T c ≥ 15 K with probability not lower than 0.6.Furthermore, by means of multi-objective optimization, we have optimized mixed features that proved particularly suitable for class separation.To this end, we have mixed by means of power or linear combination the top 30 features of the SHAP ranking.With such new features, the performances of both QEGs and Naive Bayesian classifiers improve, while the ETCs performances are in line with the corresponding models trained over the original features.Remarkably, in general there is no need to have access to the SHAP ranking for achieving such optimization, and, in principle, all the input features can be imported for mixing.Additionally, we have produced further examples differing with the previous ones in terms of threshold T c and/or optimization routines.Among those, we have found an optimal single feature to separate classes T c < 35 K and T c ≥ 35 K. Interestingly, in this case we were able to give the equation of an analytical classifier fitted on the materials binned over new mixed feature.We have employed both the best QEG model -QEG 2D-mixed lin classifier (for T c ≥ 15 K), and the analytical classifier (for T c ≥ 35 K) to rank the same ∼ 40, 000 materials of MaterialsProject not occurring in the SuperCon database.Such predictions are publicly available on our GitHub repository.
62Another aim of this work was to test the possible invariance of the critical temperature with respect to binary groups of features in the form of x a i x b j .To this end, we have trained and validated a second regression model -i.e., a DNN -for the prediction of the T c , allowing us to compute the gradient of the critical temperature with respect to the input features, namely ∇T c (x 1 , . . ., x n ).Finally, we stress that the suggested methods in this papers, namely the search for invariant groups of regression models, the optimization of mixed composition based feature and the maximum entropy based classifiers are general and not restricted to the selected case study.As such we envision possible future applications to other energy materials such as thermal energy storage [48] and electrochemical energy storage [49] applications.
Figure 2 :
63Figure 2: Predictions and corresponding normalized cumulative curve for the coefficients of importance of the ETR model.Model performances are shown in terms of coefficient of determination R 2 , mean absolute error (MAE), and root mean squared error (RMSE), with the size of training and testing sets N train and N test , respectively.
Figure 3 :
64Figure 3: The five most important features according to SHAP ranking for T c .For each feature (i.e., each line), 1084 dots are shown, representing the entire testing sets used for computing the related SHAP values (impacts on the model output, horizontal axes); the color represents the corresponding feature value, the features are sorted according to the mean over the absolute SHAP values.
Figure 4 :
65Figure 4: Predictions over the testing set and corresponding loss curves for the DNN regression model.Model performances are shown in terms of coefficient of determination R 2 , mean absolute error (MAE), and root mean squared error (RMSE), with the sizes of the training, the validation and the testing sets, N train , N val , N test respectively.
Figure 5 :
66Figure 5: Probabilistic classifier.a 2-dimensional binning, with 10 bins for the first variable and 5 bins for the second, of the two most relevant features x 1 , x 2 according to the SHAP ranking for superconductors showing T c < 15 K and T c ≥ 15 K respectively among the training set (namely, 85% of materials); b QEG solution of corresponding maximum Shannon entropy probability distribution; c QEG solution of corresponding maximum Shannon entropy probability distribution, bagged case.
Figure 6 :
67Figure 6: Probabilistic classifier.a 3-dimensional binning, with 10 bins for the first variable, 5 for the second, 10 for the third, of the two most relevant features x 1 , x 2 , x 3 according to the SHAP ranking for superconductors showing T c < 15 K and T c ≥ 15 K respectively; b QEG solution of corresponding maximum Shannon entropy probability distribution.
Figure 7 :
68Figure 7: One-dimensional example.a: PDFs over binned data of the training set for the two classes (T c < 35 K and T c ≥ 35 K) reported against the normalized first most important feature according to the SHAP ranking.b: PDFs over binned data of the training set for the two classes reported against the mixed feature x pow,least,35 , constructed according to Eq. 9 and choosing the point of the Pareto front with the least overlapping of the two classes according to the Battacharyya distance, together with a GEV analytical fitting of those two binnings (see text for details).c: PDFs over binned data of the testing set for the two classes reported against the same mixed feature x pow,least,35 together with the same GEV fittings of the b subfigure.
Figure 8 :
69Figure 8: Two dimensional example.a: PDFs over binned data of the training set for the two classes (T c < 35 K and T c ≥ 35 K) reported against the normalized first most important feature according to the SHAP ranking.b: PDFs over binned data of the training set for the two classes reported against the two mixed features x pow,uto,35 1
1
70and x pow,uto,35 2 .
3. 7
71Entropy-, tree-, and Bayes-based binary classifiers on the new mixed featuresWe thus report the results of the QEG-based probabilistic classifiers and ETCs by employing the new mixed features, always constructed by aggregating the top 30 features of the SHAP ranking, in both
Figure 9 : 1 , 1 , x pow,3class 2 ,Figure 10 : 1 ,
72Figure 9: Projections of training and testing sets into the reduced feature space with colors indicating the critical temperature classes.a Projection over the two mixed features x lin,25 1
Figure 11 : 1 , x lin,uto, 15 2 1 , 1 ,
73Figure 11: Probabilistic classifier.a 2-dimensional binning, with 10 bins for each variable, of the two mixed features x lin,uto,15 1
Table 2 :
74Performances of the trained classifiers.AUC ξ J,max J max ξ F 1 ,max F 1,max
Table 3 :
75Performances of the classifiers trained with mixed features.AUC ξ J,max J max ξ F 1 ,max F 1,max
참고문헌 44건
- Performance and cost of materials for lithium-based rechargeable automotive batteries Nature Energy · Nature Portfolio · 2018 10.1038/s41560-018-0107-2
- Superconducting materials classes: Introduction and overview Physica C Superconductivity · Elsevier BV · 2015 10.1016/j.physc.2015.03.002
- Magnetic Resonance Imaging, a success story for superconductivity Europhysics news · EDP Sciences · 2012 10.1051/epn/2012404
- Use of high temperature superconductor in a receiver coil for magnetic resonance imaging Magnetic Resonance in Medicine · Wiley · 1991 10.1002/mrm.1910200218
- NMR studies of high Tc superconductors Progress in Nuclear Magnetic Resonance Spectroscopy · Elsevier BV · 1996 10.1016/0079-6565(95)01025-4
- Superconducting Magnets for Particle Accelerators Reviews of Accelerator Science and Technology · World Scientific · 2012 10.1142/s1793626812300034
- Superconducting nano-strip particle detectors Superconductor Science and Technology · IOP Publishing · 2015 10.1088/0953-2048/28/12/124004
- High-temperature superconductor fault current limiters: concepts, applications, and development status Superconductor Science and Technology · IOP Publishing · 2007 10.1088/0953-2048/20/3/r01
- Machine learning modeling of superconducting critical temperature npj Computational Materials · Nature Portfolio · 2018 10.1038/s41524-018-0085-8
- Deep learning model for finding new superconductors Physical review. B./Physical review. B · American Physical Society · 2021 10.1103/physrevb.103.014509
- Critical Temperature Prediction for a Superconductor: A Variational Bayesian Neural Network Approach IEEE Transactions on Applied Superconductivity · IEEE Council on Superconductivity · 2020 10.1109/tasc.2020.2971456
- Predicting new superconductors and their critical temperatures using machine learning Physica C Superconductivity · Elsevier BV · 2020 10.1016/j.physc.2020.1353689
- Clustering superconductors using unsupervised machine learning Physica C Superconductivity · Elsevier BV · 2022 10.1016/j.physc.2022.1354078
- Unconventional superconductivity Advances In Physics · Taylor & Francis · 2017 10.1080/00018732.2017.1331615
- Matminer: An open source toolkit for materials data mining Computational Materials Science · Elsevier BV · 2018 10.1016/j.commatsci.2018.05.018
- From local explanations to global understanding with explainable AI for trees Nature Machine Intelligence · Nature Portfolio · 2020 10.1038/s42256-019-0138-9
- Minimal crystallographic descriptors of sorption properties in hypothetical MOFs and role in sequential learning optimization npj Computational Materials · Nature Portfolio · 2022 10.1038/s41524-022-00806-7
- AI Feynman: A physics-inspired method for symbolic regression Science Advances · American Association for the Advancement of Science · 2020 10.1126/sciadv.aay2631
- Commentary: The Materials Project: A materials genome approach to accelerating materials innovation APL Materials · American Institute of Physics · 2013 10.1063/1.4812323
- A general-purpose machine learning framework for predicting properties of inorganic materials npj Computational Materials · Nature Portfolio · 2016 10.1038/npjcompumats.2016.28
- Model reduction in chemical dynamics: slow invariant manifolds, singular perturbations, thermodynamic estimates, and analysis of reaction graph Current Opinion in Chemical Engineering · Elsevier BV · 2018 10.1016/j.coche.2018.02.009
- Quasi-equilibrium grid algorithm: Geometric construction for model reduction Journal of Computational Physics · Elsevier BV · 2008 10.1016/j.jcp.2008.02.006
- Adaptive simplification of complex multiscale systems Physical Review E · American Physical Society · 2011 10.1103/physreve.83.036706
- Approximation of slow and fast dynamics in multiscale dynamical systems by the linearized Relaxation Redistribution Method Journal of Computational Physics · Elsevier BV · 2011 10.1016/j.jcp.2011.11.007
- SMOTE: Synthetic Minority Over-sampling Technique Journal of Artificial Intelligence Research · AI Access Foundation · 2002 10.1613/jair.953
- Scikit-learn: Machine Learning in Python arXiv (Cornell University) · Cornell University · 2012 10.48550/arxiv.1201.0490
- Index for rating diagnostic tests Cancer · Wiley · 1950 10.1002/1097-0142(1950)3:1<32::aid-cncr2820030106>3.0.co;2-3
- A THEORETICAL BASIS FOR THE USE OF CO‐OCCURRENCE DATA IN INFORMATION RETRIEVAL Journal of Documentation · Emerald Publishing Limited · 1977 10.1108/eb026637
- Metrics for evaluating 3D medical image segmentation: analysis, selection, and tool BMC Medical Imaging · BioMed Central · 2015 10.1186/s12880-015-0068-x
- SciPy 1.0: fundamental algorithms for scientific computing in Python Nature Methods · Nature Portfolio · 2020 10.1038/s41592-019-0686-2
- The Choice of a Class Interval Journal of the American Statistical Association · 1926 10.1080/01621459.1926.10502161
- Deep learning for ultra-fast and high precision screening of energy materials Energy storage materials · Elsevier BV · 2021 10.1016/j.ensm.2021.04.006
- Proceedings of the 4th conference on Message understanding - MUC4 '92 1992 10.3115/1072064
- The Elements of Statistical Learning: Data Mining, Inference, and Prediction Journal of the Royal Statistical Society Series A (Statistics in Society) · Royal Statistical Society · 2010 10.1111/j.1467-985x.2010.00646_6.x
- Basic aspects and main results of NMR-NQR spectroscopies in high-temperature superconductors Reports on Progress in Physics · IOP Publishing · 1998 10.1088/0034-4885/61/10/002
- Python for Data Analysis: Data Wrangling with Pandas, NumPy, and IPython 2012
- On a Method to Measure Supervised Multiclass Model’s Interpretability: Application to Degradation Diagnosis (Short Paper) Dagstuhl Research Online Publication Server · 2024 10.4230/oasics.dx.2024.27
- The Optimality of Naive Bayes. The Florida AI Research Society · 2004
- Machine learning modeling of superconducting critical temperature npj Computational Materials · Nature Portfolio · 2018 10.1038/s41524-018-0085-8
- Storage and Hybridization of Nuclear Energy Elsevier eBooks · Elsevier BV · 2018 10.1016/c2017-0-00346-4
- On a measure of divergence between two statistical populations defined by their probability distributions 1943
- Comparison of key performance indicators of sorbent materials for thermal energy storage with an economic focus Energy storage materials · Elsevier BV · 2022 10.1016/j.ensm.2022.11.042
- Invariant manifolds and lattice Boltzmann method for combustion 2009 10.3929/ethz-a-005831126
- First Engineering Commissioning of EAST Tokamak Plasma Science and Technology · IOP Publishing · 2006 10.1088/1009-0630/8/3/01