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

Towards accurate prediction of configurational disorder properties in materials using graph neural networks

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (21) 에폭시수지(10) 아라미드

기본 정보

저자
  1. Zhenyao Fang — Northeastern University Department of Physics, Boston, 02115, MA, US
  2. Qimin Yan — Northeastern University Department of Physics, Boston, 02115, MA, US
DOI
10.1038/s41524-024-01283-w
저널
npj Computational Materials
발행년도
2024
발행기관
Nature Portfolio
피인용수
13
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41524-024-01283-w
토픽
Electrocatalysts for Energy Conversion
OpenAlex ID
W4396695341

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(21) 에폭시수지, (10) 아라미드
R&D 측면
분석·모델링
확신도
0.70
근거 용어
graph neural networks, configurational disorder, phase transition temperature, Monte Carlo simulations, high-entropy alloys
판단 근거
이 논문은 그래프 신경망(GNN)을 활용하여 복잡한 화합물 소재의 무질서 특성 및 상전이 온도를 예측하는 데이터 기반 방법론을 다룹니다. 이는 코오롱인더스트리의 엔지니어링 플라스틱(23)이나 고분자/금속 복합소재의 물성 설계 및 분석 기법에 간접적으로 응용될 수 있는 연구입니다.
R&D 활용 포인트
신규 고분자 컴파운드나 복합소재 개발 시, 실험 전 AI 모델링을 통해 소재의 열적 안정성 및 상전이 특성을 예측하여 R&D 기간을 단축하는 데 활용 가능합니다.
평가 입력
본문 40,700자 중 30,032자 발췌

초록

Abstract The prediction of configurational disorder properties, such as configurational entropy and order-disorder phase transition temperature, of compound materials relies on efficient and accurate evaluations of configurational energies. Previous cluster expansion methods are not applicable to configurationally-complex material systems, including those with atomic distortions and long-range orders. In this work, we propose to leverage the versatile expressive capabilities of graph neural networks (GNNs) for efficient evaluations of configurational energies and present a workflow combining attention-based GNNs and Monte Carlo simulations to calculate the disorder properties. Using the dataset of face-centered tetragonal gold copper without and with local atomic distortions as an example, we demonstrate that the proposed data-driven framework enables the prediction of phase transition temperatures close to experimental values. We also elucidate that the variance of the energy deviations among configurations controls the prediction accuracy of disorder properties and can be used as the target loss function when training and selecting the GNN models. The work serves as a fundamental step toward a data-driven paradigm for the accelerated design of configurationally-complex functional material systems.

본문 40,700자

본문 펼치기
Published in partnership with the Shanghai Institute of Ceramics of the Chinese Academy of Sciences https://doi.org/10.1038/s41524-024-01283-w # Towards accurate prediction of configurational disorder properties in materials using graph neural networks [Check for updates](http://crossmark.crossref.org/dialog/?doi=10.1038/s41524-024-01283-w&domain=pdf) Zhenyao Fang & Qimin Yan The prediction of configurational disorder properties, such as configurational entropy and orderdisorder phase transition temperature, of compound materials relies on efficient and accurate evaluations of configurational energies. Previous cluster expansion methods are not applicable to configurationally-complex material systems, including those with atomic distortions and long-range orders. In this work, we propose to leverage the versatile expressive capabilities of graph neural networks (GNNs) for efficient evaluations of configurational energies and present a workflow combining attention-based GNNs and Monte Carlo simulations to calculate the disorder properties. Using the dataset of face-centered tetragonal gold copper without and with local atomic distortions as an example, we demonstrate that the proposed data-driven framework enables the prediction of phase transition temperatures close to experimental values. We also elucidate that the variance of the energy deviations among configurations controls the prediction accuracy of disorder properties and can be used as the target loss function when training and selecting the GNN models. The work serves as a fundamental step toward a data-driven paradigm for the accelerated design of configurationally complex functional material systems. Disordered materials have attracted much attention in the community in recent years due to their exotic structural and electronic properties such as Anderson localization and Mott-like conduction <sup>1–3</sup>, novel phonon scattering channels and lattice dynamics <sup>4–6</sup>, enhanced ductility and mechanical strength over a wide temperature range in medium- and high-entropy alloys <sup>7–11</sup>, and regulated electronic states and atomic sites for catalysts <sup>12,13</sup>, endowing them with promising applications in electronic devices and energy materials. Depending on its chemical nature, disorder effects in materials can be classified into structural disorder characterized by disrupted chemical bonding network (such as vacancies, dislocations, and dangling bonds) <sup>14</sup>, and configurational (compositional) disorder characterized by crystallographic sites being occupied by irregular atomic species <sup>15</sup> . In this work, we focus on the latter type of disorder. To numerically access the configurational disorder properties, such as the order-disorder phase transition temperature <sup>16,17</sup> and the configurational entropy <sup>18,19</sup>, Monte Carlo (MC) simulations are often carried out with Metropolis sampling <sup>20</sup> or Wang-Landau sampling <sup>21,22</sup> . With the Metropolis sampling, the free energy is obtained by performing thermodynamic integration numerically using the average energies at each temperature. As for Northeastern University Department of Physics, Boston 02115 MA, US. [e-mail: z.fang@northeastern.edu; q.yan@northeastern.edu](mailto:z.fang@northeastern.edu) the Wang-Landau sampling, the density of states, instead of the average energies, is estimated, and the configurational entropy and the heat capacity atanyarbitrarytemperaturecanthenbeevaluated.However,bothsampling methods require evaluating a large number of supercell configurational energies efficiently and accurately in order to achieve convergence, thus not applicable to first-principles methods especially when the cell size is very large. One commonly used approach to this problem is the clusterexpansion (CE)method <sup>23–28</sup>,wherethecellisdecomposedintodifferentatomicclusters up to a cutoff size, and the total energy of the cell is expanded into the effective cluster interactions of these clusters. This method has been applied to evaluate the total energies of different configurations and further to calculate the disorder properties effectively. However, it suffers from several limitations.Duetothelimitedclustersizeinpractice,itcannotcapturelongrange ordersinmaterials,which may affect the phase stabilityand electronic structures <sup>29</sup> . Besides, the definitions of clusters strongly depend on the atomic positions, restricting this method from adapting to latticedistortions and local atomic displacements induced by atomic relaxations or thermal effects <sup>30</sup> . Since 2018, graph neural networks (GNNs) have been applied to studyingthestructure-propertycorrelationincomplexsolid-statematerials. Instead of relying on human-selected descriptors, GNNs can autonomously learn latent representations of materials and make fast and accurate atom-, bond-, and material-level predictions <sup>31–33</sup> . Therefore, in this work, we propose to employ GNNs to evaluate the configurational energies and to access the disorder properties in configurationally-complex compound materials accurately, because of their high representation capability and versatile adaptability to realistic simulation scenarios, including lattice distortions, atomic displacements, and various types of defects <sup>32,33</sup> . Especially, we construct attention-based GNN models from Transformer neural networks <sup>34</sup>, leveraging masked self-attentional layers to obtain configurational energies efficiently. The model is trained on the face-centered tetragonal (fct) gold copper (AuxCu1−x) alloy dataset obtained from density functional theory (DFT) calculations. The trained model can well reproduce the DFT configurational energies, with a mean absolute error (MAE) of 2.76 meV/atom, which eventually leads to the prediction of order-disorder phase transition temperaturethatiscomparabletoexperimentalobservation.Whenrandom atomic displacements are introduced, which is beyond the capability of the CE method, the GNN model can still evaluate the configurational energies accurately (with MAE being 5.02 meV/atom). The predicted phase transition temperature is slightly lower than the undistorted case, suggesting structural disorder can enhance the configurational disorder. Furthermore, we reveal the connections between the variance of the energy deviations among configurations and the accuracy of configurational entropy and heat capacity predictions, providing guidance on future data-driven studies of the configurational disorder properties in materials. Results Pristine AuxCu1−x structure dataset We choose fct AuCu to construct our dataset. Although both experimental and numerical results on the configurational entropy and the phase transition temperature (683 K) were reported <sup>27,35</sup>, those results are based on the face-centered cubic (fcc) structure, which is higher in energy than the ground-state fct structure by 0.016 eV per formula unit and can only be stableunder pressure.However,thesetwostructuresdifferonlyinthelattice constants (Δa/a = 6.9% and Δc/c = 15%), and thus we expect their disorder properties, especially the phase transition temperature, to be similar. Using first-principles calculations, we construct our dataset for pristine AuxCu1−x containing 4500 configurations in a 5 × 5 × 4 supercell with 200 atoms, Fig. 1 | The performance of the Transformerbased GNN model on the pristine AuxCu1−x structure dataset. a The histogram of the number of configurations for each Au concentration. b The comparison between the configurational energies (per atom) predicted from DFT (EDFT) and the optimal GNN model (EGNN). The color of each point represents the concentration x of Au atoms in the configuration. c The calculated normalized density of states of pristine AuCu during the MC simulation process (per cell). The total number of MC steps is 4 × 10 <sup>7</sup> . d The calculated configurational entropy (black curve) and the heat capacity (red curve) at different temperatures. covering all chemical compositions x ∈ [0, 1]. The concentration distribution of the dataset is shown in Fig. 1a. Our GNN model features a typical global graph feature regression model architecture, as shown in Fig. 2. It consists of a few stacked graph convolution layers which aggregate information between adjacent atoms/ nodes, a pooling layer which extracts the global feature as the mean of all node features, and a multi-perceptron network which transforms the global feature into the energy (per atom) of the crystal (see Methods section). Therefore, when inputting each atomic configuration as a crystal graph, our GNN model can efficiently output its energy. To train the GNN models, we randomlyshuffle thedatasetand divideitintothetrainingset,the validation set, and the testing set, allocating them in a 60:20:20 ratio. We also implement early stopping techniques to prevent overfitting on the training set, and we choose the GNN model with the minimum validation loss as our final model for testing and next-step MC simulations. Besides, we also use the Bayesian optimization method implemented in Optuna <sup>36</sup> to select the best set of hyperparameters of the GNN model (the full list of hyperparameters can be found in Methods section). TheMAEof the best GNN modelbuiltuponTransformerconvolution layers on the testing set of our fct AuxCu1−x dataset is 2.76 meV/atom, similar to previously reported CE methods on fcc-structure AuCu (4.49 meV/atom) <sup>27</sup> . The comparison between the predicted energy and the DFT energy is shown in Fig. 1b, indicating the capability of our attention-based GNN model to evaluate the configurational energies accurately for all compositions of AuxCu1−x. We compare this result with other commonly used GNNs with attention mechanism, such as the graph attention network (GAT) <sup>37,38</sup>, and those without attention mechanism, including the crystal graph neural network (CGNN) <sup>39</sup> and the edge-conditioned neural network (ECNN) <sup>40,41</sup> (details about these convolution layers can be found in Supplementary Note 1). The MAEs of the best GNN model built for each type of convolution layers are summarized in Table 1, suggesting that GNN models with the attention mechanism perform better than those lacking this mechanism when evaluating configurational energies. In attention-based neural networks, node features are updated by summing up adjacent node features weighted by the attention coefficients, calculated from the node features and the edge features and thus containing the information on the similarity between the two nodes. Specifically in Transformer convolution layers, the central node and the adjacent nodes are considered as queries and keys respectively, and the overlap between the queries and the keys reflects the Fig. 2 | A schematic plot of the workflow to use GNN to calculate the disorder properties of compound materials. The input crystal structure is converted to a graph, whose nodes and edges represent the atomic species and the interatomic distances, respectively. Through several attentionbased convolution layers, where the node features aggregate and interact with each other, global features are extracted and further processed by linear layers to predict the energy. The well-trained GNN model is subsequently utilized in Monte Carlo simulations to acquire the final disorder-related properties, such as the configurational density of states, configurational entropy, and heat capacity. Table 1 | The MAE (meV/atom) and the variance (meV <sup>2</sup> /atom) on the pristine AuxCu1−x dataset using different types of graph neural network models <u><mark>GAT</mark></u> <u><mark>Transformer</mark></u> <u><mark>CGNN</mark></u> <u><mark>ECNN</mark></u> MAE 2.81 2.76 8.14 6.25 variance 13.53 13.20 78.19 40.90 similarity between the two nodes (atoms). This attention mechanism updates the central node features by a linear combination of adjacent node featuresweightedbytheoverlapbetweenthequeryvectorand keyvectorsin the latent space, thus allowing the network to effectively capture the chemical distinctions between neighboring atoms and increasing its efficacy in predicting properties related to crystal structure. Besides, since the attention coefficients depend on the node features, they are dynamic and can vary across different convolution layers, as compared to the static weight matrices that are fixed across the convolution layers in models without the attention mechanism. Therefore, we expect that in general models with the attention mechanism are better than those without it. Finally, we also observe the superior performance of the ECNN model compared to the CGNN model, possibly because the ECNN model adopts a multilayer perceptron layer to process edge features while the CGNN model employs only a linear transformation on edge features. This distinction makes the former more adaptable in evaluating configurational energies. We then apply the optimal GNN model based on Transformer attention mechanism to MC simulations to obtain the configurational properties of stoichiometric AuCu systems, as shown in Fig. 2. We use the Wang-Landau sampling method to obtain the configurational density of states g(E) (see Methods section), with which we can calculate the configurational entropy S and the configurational heat capacity Cv at any temperature T according to expedite convergence. Since the MAE of the trained GNN model is around 2.76 meV/atom, we anticipate that each configuration has an energy deviationof0.6 eV/cellonaverage,justifyingourchoiceofbinsize.Withthischoice of the bin size, the MC simulation takes around 4 × 10 <sup>7</sup> steps to converge, beyond the capability of DFT methods. We show the intermediate and final densityofstatesthatare fittedtoaGaussiandistributioninFig. 1c.Thedensity of states is normalized such that the sum of the density of states equals to one; while the normalization constant is the total number of configurations of - configurations of - 200 .Thepeak 200 stoichiometricAuCuina200-atomsupercell,i.e., Ωmax ¼ 100 <sup><u>i �</u></sup> <sup><u>F</u></sup> ; Cv ¼ <sup><u>hE2i �hEi2</u></sup> T kBT <sup>2</sup> S ¼ <sup><u>hEi �</u></sup> <sup><u>F</u></sup> <sup><u>i �hEi2</u></sup> ð1Þ kBT <sup>2</sup> of the density of states is higher in energy than the ground state by 3.2 eV/cell. From the density of states, we can calculate the configurational entropy and the heat capacity according to Eq. (1), shown in Fig. 1d. The position of the heat capacity peak, indicating the order-disorder phase transition temperature, is at 870 K (for fct AuCu), similar to the experimental values <sup>27,35</sup> . As temperature further increases, the configurational entropy gradually approaches the theoretical limit for the fully disordered phase (within a 200atom supercell) Smax ¼ kB ln Ωmax ¼ 1:17 × 10 <sup>�2</sup> eV/K. We also note that while training and selecting the best GNN model for MC simulations, batch normalization features can affect the predictions of disorder properties significantly and should be disallowed. When training GNNmodels,configurationsaregroupedintobatchesofareasonablesizeto accelerate the training process. In general, too small batches can lead to instability of gradients and optimization process, while too large batches can lead to huge memory requirements and possible overfitting. However, in MCsimulations,energyevaluationsareperformedonasingleconfiguration consecutively. When using trained models with batch normalized features to predict the energy of one configuration, incorrect predictions may arise because in this case the batch mean and batch variance are highly influenced by the specific configuration in the batch, but not reflecting the distribution of the features of the whole dataset. In Supplementary Note 2, we show benchmark calculations for the GNN model with batch normalization features. By evaluating the configurations in batches (containing 58 configurations), the MAE of the best model is 3.52 meV/atom, but when evaluated consecutively, the MAE loss for the model increases drastically to 2.76 eV/atom, and the corresponding prediction on the order-disorder phase transition is incorrect (183 K). Distorted AuxCu1−x structure dataset To showcase the adaptability of GNN models to realistic simulation scenarios, such as atomic relaxations where CE methods face convergence where the partition function is Z = ∫ g(E)e <sup>−βE</sup> dE, the free energy is F ¼ �kBRT ln Z, the expected value for the physical quantity Q is hQi ¼ Z <sup><u>1</u></sup> gðEÞQðEÞe <sup>�βE</sup> dE, and β ¼ kB1T <sup>.</sup> R hQi ¼ Z <sup><u>1</u></sup> gðEÞQðEÞe <sup>�βE</sup> dE, and β ¼ kB1T <sup>.</sup> Because the configurational space is complicated for such large supercells, we choose a bin size of 0.3 eV in the Wang-Landau sampling method to Z Fig. 3 | The performance on the dataset with random atomic displacements, using MSE as the target loss function. a The comparison between the configurational energies (per atom) obtained from DFT (EDFT) and the optimal GNN model (EGNN). b The calculated configurational entropy (black curve) and the heat capacity (red curve) at different temperatures. c, d Same as (a, b), but on a dataset without displacements and using variance as the target loss function. challenges, we constructed another dataset containing 4500 configurations with random atomic displacements. The maximum amount of displacement for each atom is chosen to be 0.35 Å. The MAE on the testing set of this dataset containing distorted structures is 6.43 meV/atom, and the comparison between the DFT and GNN energies is shown in Fig. 3a. Larger deviations from DFT energies are primarilyobservedinconfigurationswithnearamountofAuandCuatoms, whose energies are more difficult to capture due to the large configuration space compared to configurations with mostly Au or mostly Cu atoms. We further apply the trained model to calculate the disorder properties, shown in Fig. 3b. We generate one supercell with random atomic displacements and applyit forMC simulations while keeping all the atomic positions fixed. The calculatedphase transitiontemperatureis788 K,lowerthan thatfor the pristine structure, suggesting that structural disorder can enhance the configurational disorder; the introduction of structural disorder increases the likelihood of the material being in the configurational disordered phase. A potential avenue for enhancing the performance of GNN models for energy predictions of disordered systems with distorted structures lies in the modification of how crystalstructures are represented in the form of graphs. In our current method, the nodes represent the atomic speciesand the edges contain only bond distance information. But other local chemical information can also be included in the graphs, such as the directional information (for instance, bond directions expanded in spherical harmonic coefficients) and the multiplet interactions that can be included in hypergraphs <sup>42</sup> orhigher-ordergraphs <sup>43</sup> .Thesegraphstructuresmaycapture the much more complex chemical environment of each atom after introducing random atomic displacements. An alternative avenue for improvement is to modify the network structure. For example, the Au concentration can be treated as a global feature for each configuration. This feature could be concatenated with the global features from the nodes and jointly passed through the linear layers to determine the total energy of the configuration. Despite room for these improvements, our current model already suffices for the effective predictions of disorder properties of complex alloy systems with distorted structures. Discussions Next,we would liketo drawthereader’s attentiontothe correlationbetween disorder properties and the optimization process of GNNmodels. From Eq. (1), it can be shown that neither the heat capacity nor the configurational entropy are affected by an overall energy shift ΔE to all configurations (see Supplementary Note 3). Based on this observation, we postulate that when training and selecting the best GNN model to predict configurational entropy and heat capacity, the variance of the differences between EDFT and EGNN among all configurations, instead of the mean of the energy differences, controls the accuracy of predictions and thus can be chosen as the target quantity for optimization. In the following, we denote E <sup>^</sup> i as the energy predicted by GNN models and Ei as the “ground-truth” energy obtained by DFT for configuration i, and their difference as ei ¼ E <sup>^</sup> i � Ei (in the following, thermodynamic quantities with hats are calculated from E <sup>^</sup> i, and those without hats are from Ei). We assume that those energy differences are independent and identically distributed random variables, following the normal distribution N ðμ; σ <sup>2</sup> Þ, with mean μ and variance σ <sup>2</sup> ; thus we have E½ei�¼ μ, E½e <sup>2</sup> i <sup>�¼ μ2 þ σ2, and E½e</sup> i <sup>e</sup> j <sup>�¼ μ2</sup> <sup>for all i and j ≠</sup> <sup>i.</sup> To derive the expected deviations of configurational entropy and the heat capacity due to ei’s, we first focus on the difference of the log-partitionfunction, defined as Δðln ZÞ � ln Z <sup>^</sup> - ln Z ¼ ln <sup>P</sup> i <sup>e�β ^Ei</sup> <sup>�</sup> <sup>ln P</sup> i <sup>e�βEi</sup> <sup>. By</sup> <sup>2</sup> i <sup>�¼ μ2 þ σ2, and E½e</sup> i <sup>e</sup> j <sup>�¼ μ2</sup> <sup>for all i and j ≠</sup> <sup>i.</sup> i <sup>e�β ^Ei</sup> <sup>�</sup> <sup>ln P</sup> function, defined as Δðln ZÞ � ln Z <sup>^</sup> - ln Z ¼ ln <sup>P</sup> i <sup>e�β ^Ei</sup> <sup>�</sup> <sup>ln P</sup> i <sup>e�βEi</sup> <sup>. By</sup> assuming that the errors ei are smaller than the energies Ei, we can perform Taylor expansions on the log-sum-exp function ln <sup>P</sup> i <sup>e�βE ^i</sup> <sup>¼</sup> Taylor expansions on the log-sum-exp function ln <sup>P</sup> i <sup>e�βE ^i</sup> <sup>¼</sup> ln <sup>P</sup> i <sup>e�βðEiþeiÞ</sup> <sup>with respect to ei. As shown in the Supplementary Note 3,</sup> ln <sup>P</sup> i <sup>e�βðEiþeiÞ</sup> <sup>with respect to ei. As shown in the Supplementary Note 3,</sup> aftertakingtheexpectationvaluewith respect totherandomvariables ei, the first-order term vanishes, and we have E½Δðln ZÞ� ≈ <sup><u>1</u></sup> ð2Þ 2 <sup>σ2β2ð1 �</sup> <sup>αÞ</sup> where α ¼ P ð <sup>~~P~~</sup> <u>i</u> <sup>e�2βEi</sup> i <sup>e�βEi Þ</sup> <u>2</u> <sup>. Based on this result, according to Eq. (1), the expected</sup> deviation of the configurational entropy due to the random energy deviations ei, defined as E½ΔS�� E½ <sup>^</sup> S � S�, is given by E½ΔS�¼ � <sup><u>1</u></sup> T <u>∂</u> <u>σ</u> <sup>2</sup> ∂β <sup>E½Δðln ZÞ�þ kBE½Δðln ZÞ�</sup> <sup>≈</sup> <sup>�</sup> 2kBT <sup>2</sup> <sup>ð1 �</sup> <sup>αÞ</sup> ð3Þ where we use the fact that α, though containing β, does not depend on β explicitly. Similarly, the expected deviation of the heat capacity is given by kBT <sup>2</sup> <sup>ð1 �</sup> <sup>αÞ</sup> ð4Þ <u>1</u> E½ΔCv�¼ kBT <sup>2</sup> <u>∂</u> <sup>2</sup> <u>∂</u> <sup>2</sup> <u>σ</u> <sup>2</sup> ∂β <sup>2</sup> <sup>E½Δðln ZÞ�</sup> <sup>≈</sup> kBT The derivation details can be found in Supplementary Note 3. Therefore, both E½ΔS� and E½ΔCv� are linearly dependent on the variance σ <sup>2</sup>, but independent on the mean μ, suggesting that the variance σ <sup>2</sup> of the energy deviations ei among the configurations must be minimized to accurately predict configurational entropy and heat capacity. To numerically verify this, we train our GNN model that is based on Transformerconvolution layers on the pristine AuxCu1−x dataset, using the varianceasthetargetlossfunction.Thevarianceoftheoptimalmodelonthe testing set is 15.82 meV <sup>2</sup> /atom, but the MAE is 4.89 eV/atom; as a comparison,thevarianceofourpreviousmodelusingMSEasthelossfunctionis 13.2meV <sup>2</sup> /atomandtheMAElossis2.76 meV/atom.InFig. 3c,weshowthe comparison between the configurational energies predicted by GNN and DFT, suggesting a global shift of energies for all configurations. We then apply this model to MC simulations, and the predicted ordering-disorder phase transition temperature is 837 K, in good agreement with previous results using MSE as the loss function (870 K). Therefore, as long as the variance is minimized, the predicted configurational entropy and the heat capacity are reliable. Inconclusion,wedemonstratethe capabilityofGNNwithanattention mechanism to accurately predict the configurational disorder properties in compound materials, including configurational entropy and order-disorder phase transition temperature. Using the face-centered tetragonal AuxCu1−x dataset as an example, the predicted phase transition temperature from attention-based GNN models and MC simulations is close to that obtained in experiments. Even when random atomic displacements are introduced, reliable predictions are still achievable. Furthermore, we show that the variance of the configurational energy deviations between GNN and DFT controls the prediction accuracy of these disorder-related properties. These results provide perspectives on the efficient and accurate evaluation of disordered properties in configurationally-complex materials. This contributes to future research focused on the phase stability of such materials and advances the exploration of medium- and high-entropy alloys and related material systems. Methods Density functional theory calculations The first-principles calculations are performed based on DFT, as implemented in Vienna Ab initio Simulation Package <sup>44,45</sup> . We use the projector augmented wave pseudopotentials <sup>46,47</sup>, where 5d and 6s electrons are treated as valence electrons for Au, and 3d and 4s electrons are treated as valence electronsforCu.We used theGGA-PBE functionalforall calculations <sup>48</sup> and 550 eVfor the kinetic energy cutoff of the plane-wave basis sets. The k-point grid density is taken to be 0.03 2π/Å, and the energy convergence threshold is 10 <sup>−7</sup> eV. After variable-cell relaxation, the ground state structure of stoichiometric AuCu is the face-centered-tetragonal structure. The relaxed lattice constants are a = 2.86 Å and c = 3.55 Å. From the relaxed unit cell, we generate the 5 × 5 × 4 supercell, such that the lattice constant along each direction is close to 15 Å. Using the supercell, we generate the AuxCu1−x dataset covering the whole concentration range 0 < x < 1. Constructing and training GNN models In each layer of a GNN, the node features are updated by the features of neighboring nodes according to xi ¼ ϕðxi; xN ðiÞÞ, where xi is the feature of the ith node and N ðiÞ is the adjacent nodes of i. This message aggregation process is repeated multiple times as the convolution layers are stacked, allowing GNNs to capture the long-range interactions in the crystal. Depending on the aggregate function ϕ, various types of GNNs are proposed. In this work, we choose the attention-based Transformer network <sup>34</sup> to construct our GNN and generate the main results in the manuscript. For each layer, we use global mean pooling to extract the global graph feature from all nodes, as we choose the total energy per atom as the target quantity to predict. These global features are added together, forming shortcut connections that allow the gradient to flow more easily during training (benchmark results using only the global features from the last convolution layer can be found in the Supplmentary Note 2). Finally, the global features are passed to two fully-connected linear layers to predict the total energy per atom. For training the GNN models, unless otherwise stated, the target loss function is the MSE and we use the Adam algorithm to minimize the loss function, where both the learning rate and the weight decay are treated as hyperparameters. The validation set is used to prevent overfitting on the trainingset.WhiletrainingtheGNNmodels,wekeep trackof the validation lossandusethemodelwiththesmallestvalidationlossasour finalmodelfor testing and for next-step MC simulations. To choose the optimal set of hyperparameters, we use the Bayesian optimization method as implemented in Optuna <sup>36</sup>, which calculates the expected improvement of the current set of hyperparameters based on results from previous trial runs using Tree-structured Parzen Estimator method <sup>49</sup> . The convergence is achieved when no significantly different hyperparameter values are proposed for consecutive ten trial runs. The hyperparameter set includes the number of convolution layers, the number of hidden channels, the number of attention heads (used only in GNN models with attention mechanisms), learning rate, weight decay, and batch size. Monte Carlo simulations MCsimulationswiththeWang-Landausamplingmethod <sup>21</sup> arethencarried out to obtain the density of states g(E), with the configurational energies evaluated from the trained GNN models. The flatness criterion is achieved when the minimum value of the histogram is no smaller than 80% of the mean value, and the convergence is achieved when the modification factor satisfies ln f <10 <sup>�7</sup> . Since the configurational space of the supercell is complicated, at least around 10 <sup>7</sup> configurations are necessary for the MC simulation to converge. Data availability ThedatasetgeneratedforthisworkareavailableonGithubat [https://github.](https://github.com/qmatyanlab/Configurational-Disorder) [com/qmatyanlab/Configurational-Disorder.](https://github.com/qmatyanlab/Configurational-Disorder) Code availability [The codes used in this work are available on Github at https://github.com/](https://github.com/qmatyanlab/Configurational-Disorder) [qmatyanlab/Configurational-Disorder.](https://github.com/qmatyanlab/Configurational-Disorder) Received: 2 February 2024; Accepted: 19 April 2024; References 1. Anderson, P. W. Absence of diffusion in certain random lattices. Phys. Rev. 109, 1492–1505 (1958). 2. Cutler, M. & Mott, N. F. Observation of anderson localization in an electron gas. Phys. Rev. 181, 1336–1340 (1969). 3. Pu,S., Sreejith,G. J. & Jain,J. K. Andersonlocalization in the fractional quantum hall effect. Phys. Rev. Lett. 128, 116801 (2022). 4. Wang, C., Wu, Y., Pei, Y. & Chen, Y. Dynamic disorder phonon scattering mediated by cu atomic hopping and diffusion in cu3sbse3. npj Comput. Mater. 6, 155 (2020). 5. Alam, A. Phonon transport in disordered alloys: a multiple-scattering approach. Phys. Rev. B 104, 104202 (2021). 6. Huang, M. et al. Thermal conductivity modeling on highly disordered crystalline Y1−xNbxO1.5+x: beyond the phonon scenario. Appl. Phys. Lett. 118, 073901 (2021). 7. Jiang, W., Zhu, Y. & Zhao, Y. Mechanical properties and deformation mechanisms of heterostructured high-entropy and medium-entropy alloys: a review. Front. Mater. 8, 792359 (2022). 8. Zaddach, A. J., Niu, C., Koch, C. C. & Irving, D. L. Mechanical properties and stacking fault energies of nifecrcomn high-entropy alloy. JOM 65, 1780–1789 (2013). 9. Gludovatz, B. et al. A fracture-resistant high-entropy alloy for cryogenic applications. Science 345, 1153–1158 (2014). 10. Zhao, S. et al. Deformation and failure of the crconi medium-entropy alloy subjected to extreme shock loading. Sci. Adv. 9, eadf8602 (2023). 11. Yang,Y. et al. Bifunctional nanoprecipitates strengthen andductilizea medium-entropy alloy. Nature 595, 245–249 (2021). 12. Sharma, R. et al. Crystalline disorder, surface chemistry, and their effects on the oxygen evolution reaction (oer) activity of massproduced nanostructured iridium oxides. ACS Appl. Energy Mater. 4, 2552–2562 (2021). 13. Xie, Y. et al. Atomic disorder enables superior catalytic surface of ptbased catalysts for alkaline hydrogen evolution. ACS Mater. Lett. 3, 1738–1745 (2021). 14. Cliffe, M. J., Dove, M. T., Drabold, D. A. & Goodwin, A. L. Structure determination of disordered materials from diffraction data. Phys. Rev. Lett. 104, 125501 (2010). 15. Cordell, J. J., Pan, J., Tamboli, A. C., Tucker, G. J. & Lany, S. Probing configurational disorder in zngen2 using cluster-based Monte Carlo. Phys. Rev. Mater. 5, 024604 (2021). 16. Yang, J., Wang, J., Yang, C., Zhang, W. & Wei, S.-H. First-principles study of the order-disorder transition and its effects on the optoelectronic property of aBis2 (a = Na, k). Phys. Rev. Mater. 4, 085402 (2020). 17. Reese, W. Studies of phase transitions in order-disorder ferroelectrics. iii. the phase transition in kh2po4 and a comparison with kd2po4. Phys. Rev. 181, 905–919 (1969). 18. Senkov, O., Miller, J., Miracle, D. & Woodward, C. Accelerated exploration of multi-principal element alloys with solid solution phases. Nat. Commun. 6, 6529 (2015). 19. Oses, C., Toher, C. & Curtarolo, S. High-entropy ceramics. Nat. Rev. Mater. 5, 295–309 (2020). 20. Prokhorenko, S., Kalke, K., Nahas, Y. & Bellaiche, L. Large scale hybrid monte carlo simulations for structure and property prediction. npj Comput. Mater. 4, 80 (2018). 21. Wang, F. & Landau, D. P. Efficient, multiple-range random walk algorithm to calculate the density of states. Phys. Rev. Lett. 86, 2050–2053 (2001). 22. Zhou, C., Schulthess, T. C., Torbrügge, S. & Landau, D. P. Wanglandau algorithm for continuous models and joint density of states. Phys. Rev. Lett. 96, 120201 (2006). 23. Sanchez, J. M. Cluster expansions and the configurational energy of alloys. Phys. Rev. B 48, 14013–14015 (1993). 24. Drautz, R. Atomic cluster expansion for accurate and transferable interatomic potentials. Phys. Rev. B 99, 014104 (2019). 25. Seko, A., Koyama, Y. & Tanaka, I. Cluster expansion method for multicomponent systems based on optimal selection of structures for density-functional theory calculations. Phys. Rev. B 80, 165122 (2009). 26. Cao, L., Li, C. & Mueller, T. The use of cluster expansions to predict the structures and properties of surfaces and nanostructured materials. J. Chem. Inf. Model. 58, 2401–2413 (2018). 27. Chang, J. H. et al. Clease: a versatile and user-friendly implementation of cluster expansion method. J. Phys. Condens. Matter 31, 325901 (2019). 28. Barroso-Luque, L. et al. smol: a python package for cluster expansions and beyond. J. Open Source Softw. 7, 4504 (2022). 29. Laks, D. B., Ferreira, L. G., Froyen, S. & Zunger, A. Efficient cluster expansion for substitutional systems. Phys. Rev. B 46, 12587–12605 (1992). 30. Kadkhodaei, S. & Muñoz, J. A. Cluster expansion of alloy theory: a review of historical development and modern innovations. JOM 73, 3326–3346 (2021). 31. Chen, C., Ye, W., Zuo, Y., Zheng, C. & Ong, S. P. Graph networks as a universal machine learning framework for molecules and crystals. Chem. Mater. 31, 3564–3572 (2019). 32. Reiser, P. et al. Graph neural networks for materials science and chemistry. Commun. Mater. 3, 93 (2022). 33. Fung, V., Zhang, J., Juarez, E. & Sumpter, B. G. Benchmarking graph neural networks for materials chemistry. npj Comput. Mater. 7, 84 (2021). 34. Shi, Y. et al. Masked label prediction: Unified message passing model for semi-supervised classification. In Proc. Thirtieth International Joint Conference on Artificial Intelligence, IJCAI-21, 1548–1554 (International Joint Conferences on Artificial Intelligence Organization, 2021). 35. Wei, S. H., Mbaye, A. A., Ferreira, L. G. & Zunger, A. First-principles calculations of the phasediagrams of noble metals: Cu-au, cu-ag, and ag-au. Phys. Rev. B 36, 4163–4185 (1987). 36. Akiba, T., Sano, S., Yanase, T., Ohta, T. & Koyama, M. Optuna: A nextgeneration hyperparameter optimization framework. In Proc 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, 2623–2631 (Association for Computing Machinery, 2019). 37. Veličković, P. et al. Graph attention networks. In Proc. International [Conference on Learning Representations. https://openreview.net/](https://openreview.net/forum?id=rJXMpikCZ) [forum?id=rJXMpikCZ (2018).](https://openreview.net/forum?id=rJXMpikCZ) 38. Brody, S., Alon, U. & Yahav, E. How attentive are graph attention networks? In International Conference on Learning Representations. [https://openreview.net/forum?id=F72ximsx7C1 (2022).](https://openreview.net/forum?id=F72ximsx7C1) 39. 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). 40. Simonovsky, M. & Komodakis, N. Dynamic edge-conditioned filters in convolutional neural networks on graphs. In 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 29–38 (IEEE Computer Society, 2017). 41. Gilmer, J., Schoenholz, S. S., Riley, P. F., Vinyals, O. & Dahl, G. E. Neural message passing for quantum chemistry. In Proc. 34th International Conference on Machine Learning, Vol. 70, 1263–1272 (PMLR, 2017). 42. Feng, Y., You, H., Zhang, Z., Ji, R. & Gao, Y. Hypergraph neural networks. Proc. AAAI Conf. Artif. Intell. 33, 3558–3565 (2019). 43. Morris, C. et al. Weisfeiler and leman go neural: higher-order graph neural networks. Proc. AAAI Conf. Artif. Intell. 33, 4602–4609 (2019). 44. Kresse, G. & Hafner, J. Ab initio molecular dynamics for liquid metals. Phys. Rev. B 47, 558–561 (1993). 45. Kresse, G. & Furthmüller, J. Efficiency of ab-initio total energy calculations for metals and semiconductors using a plane-wave basis set. Comput. Mater. Sci. 6, 15–50 (1996). 46. Kresse, G. & Joubert, D. From ultrasoft pseudopotentials to the projector augmented-wave method. Phys. Rev. B 59, 1758–1775 (1999). 47. Blöchl, P. E. Projector augmented-wave method. Phys. Rev. B 50, 17953–17979 (1994). 48. Perdew, J. P., Burke, K. & Ernzerhof, M. Generalized gradient approximation made simple. Phys. Rev. Lett. 77, 3865–3868 (1996). 49. Bergstra, J., Bardenet, R., Bengio, Y. & Kégl, B. Algorithms for hyperparameter optimization. In Advances in Neural InformationProcessing Systems, Vol. 24 (Curran Associates, Inc., 2011). Acknowledgements Z.F.thankshelpfuladvice fromWeiyi Gongand Dr. BojianHou. Z.F.and Q.Y. acknowledge funding support from the U.S. Department of Energy, Office of Science, Basic Energy Sciences, under Award No. DE-SC0023664. This research used resources of the National Energy Research Scientific Computing Center (NERSC), a U.S. Department of Energy Office of Science User Facility located at Lawrence Berkeley National Laboratory, operated under Contract No. DE-AC02-05CH11231 using NERSC award BESERCAP0029544. Author contributions Z.F. and Q.Y. conceived the experiments. Z.F. wrote the code for graph neural networks and Monte Carlo simulations and performed data analysis. Q.Y. supervised the study. The manuscript was written through contributions fromall authors,andall authorshave given approvaltothe final version of the manuscript. Competing interests The authors declare no competing interests. Additional information Supplementary information The online version contains supplementary material available at [https://doi.org/10.1038/s41524-024-01283-w.](https://doi.org/10.1038/s41524-024-01283-w) Correspondence and requests for materials should be addressed to Zhenyao Fang or Qimin Yan. Reprints and permissions information is available at [http://www.nature.com/reprints](http://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://creativecommons.org/licenses/by/4.0/.](http://creativecommons.org/licenses/by/4.0/) © The Author(s) 2024

섹션 본문 33문단 · 25,349자

(제목 없음)

1The prediction of configurational disorder properties, such as configurational entropy and order-disorder phase transition temperature, of compound materials relies on efficient and accurate evaluations of configurational energies.Previous cluster expansion methods are not applicable to configurationally-complex material systems, including those with atomic distortions and long-range orders.In this work, we propose to leverage the versatile expressive capabilities of graph neural networks (GNNs) for efficient evaluations of configurational energies and present a workflow combining attention-based GNNs and Monte Carlo simulations to calculate the disorder properties.Using the dataset of face-centered tetragonal gold copper without and with local atomic distortions as an example, we demonstrate that the proposed data-driven framework enables the prediction of phase transition temperatures close to experimental values.We also elucidate that the variance of the energy deviations among configurations controls the prediction accuracy of disorder properties and can be used as the target loss function when training and selecting the GNN models.The work serves as a fundamental step toward a new data-driven paradigm for the accelerated design of configurationally-complex functional material systems.

Introduction

2Disordered materials have attracted much attention in the community in recent years due to their exotic structural and electronic properties such as Anderson localization and Mott-like conduction [1][2][3], novel phonon scattering channels and lattice dynamics [4][5][6], enhanced ductility and mechanical strength over a wide temperature range in high-entropy alloys [7][8][9], and regulated electronic states and atomic sites for catalysts [10,11], endowing them with promising applications in electronic devices and energy materials.Depending on its chemical nature, disorder effects in materials can be classified into structural disorder characterized by disrupted chemical bonding network (such as vacancies, dislocations, and dangling bonds) [12], and configurational (compositional) disorder characterized by crystallographic sites being occupied by irregular atomic species [13].In this work, we focus on the latter type of disorder.

3To numerically access the configurational disorder properties, such as the orderdisorder phase transition temperature [14,15] and the configurational entropy [16,17], Monte Carlo (MC) simulations are often carried out with Metropolis sampling [18] or Wang-Landau sampling [19,20].With the Metropolis sampling, the free energy is obtained by performing thermodynamic integration numerically using the average energies at each temperature.As for the Wang-Landau sampling, the density of states, instead of the average energies, is estimated, and the configurational entropy and the heat capacity at any arbitrary temperature can then be evaluated.However, both sampling methods require evaluating a large number of supercell configurational energies efficiently and accurately in order to achieve convergence, thus not applicable to first-principles methods especially when the cell size is very large.

4One commonly used approach to this problem is the cluster expansion (CE) method [21][22][23][24][25][26], where the cell is decomposed into different atomic clusters up to a cutoff size, and the total energy of the cell is expanded into the effective cluster interactions of these clusters.This method has been applied to evaluate the total energies of different configurations and further to calculate the disorder properties effectively.However, it suffers from several limitations.Due to the limited cluster size in practice, it cannot capture long-range orders in materials, which may affect the phase stability and electronic structures [27].Besides, the definitions of clusters strongly depend on the atomic positions, restricting this method from adapting to lattice distortions and local atomic displacements induced by atomic relaxations or thermal effects [28].

5Since 2018, graph neural networks (GNNs) have been applied to studying the structure-property correlation in complex solid-state materials.Instead of relying on human-selected descriptors, GNNs can autonomously learn latent representations of materials and make fast and accurate atom-, bond-, and material-level predictions.[29][30][31] Therefore, in this work, we propose to employ GNNs to evaluate the configurational energies and to access the disorder properties in configurationally-complex compound materials accurately, because of their high representation capability and versatile adaptability to realistic simulation scenarios, including lattice distortions, atomic displacements, and various types of defects [30,31].Especially, we construct attention-based GNN models from Transformer neural networks [32], leveraging masked self-attentional layers to obtain configurational energies efficiently.The model is trained on the face-centered tetragonal (fct) gold copper (Au x Cu 1−x ) alloy dataset obtained from density functional theory (DFT) calculations.The trained model can well reproduce the DFT configurational energies, with a mean absolute error (MAE) of 2.76 meV/atom, which eventually leads to the prediction of order-disorder phase transition temperature that is comparable to experimental observation.When random atomic displacements are introduced, which is beyond the capability of the CE method, the GNN model can still evaluate the configurational energies accurately (with MAE being 5.02 meV/atom).The predicted phase transition temperature is slightly lower than the undistorted case, suggesting structural disorder can enhance the configurational disorder.Furthermore, we reveal the connections between the variance of the energy deviations among configurations and the accuracy of configurational entropy and heat capacity predictions, providing new guidance on future data-driven studies of the configurational disorder properties in materials.

6Fig. 1 A schematic plot of the workflow to use GNN to calculate the disorder properties of compound materials.The input crystal structure is converted to a graph, whose nodes and edges represent the atomic species and the interatomic distances, respectively.Through several attention-based convolution layers, where the node features aggregate and interact with each other, global features are extracted and further processed by linear layers to predict the energy.The well-trained GNN model is subsequently utilized in Monte Carlo simulations to acquire the final disorder-related properties, such as the configurational density of states, configurational entropy, and heat capacity.

Pristine Au x Cu 1−x Structure Dataset

7We choose fct AuCu to construct our dataset.Although both experimental and numerical results on the configurational entropy and the phase transition temperature (683 K) were reported [25,33], those results are based on the face-centered cubic (fcc) structure, which is higher in energy than the ground-state fct structure by 0.016 eV per formula unit and can only be stable under pressure.However, these two structures differ only in the lattice constants (∆a/a = 6.9% and ∆c/c = 15%), and thus we expect their disorder properties, especially the phase transition temperature, to be similar.Using first-principles calculations, we construct our dataset for pristine Au .The MAE of the best GNN model built upon Transformer convolution layers on the testing set of our fct Au x Cu 1−x dataset is 2.76 meV/atom, similar to previously reported cluster expansion methods on fcc-structure AuCu (4.49 meV/atom) [25].The comparison between the predicted energy and the DFT energy is shown in Fig. 2(b), indicating the capability of our attention-based GNN model to evaluate the configurational energies accurately for all compositions of Au x Cu 1−x .

8We compare this result with other commonly used GNNs with attention mechanism, such as the graph attention network [34,35], and those without attention mechanism, including the crystal graph neural network (CGNN) [36] and the edgeconditioned neural network (ECNN) [37,38] (details about these convolution layers can be found in Supplementary Note S1).The MAEs of the best GNN model built for each type of convolution layers are summarized in Tab. 1, suggesting that GNN models with the attention mechanism perform better than those lacking this mechanism when evaluating configurational energies.In attention-based neural networks, node features are updated by summing up adjacent node features weighted by the attention coefficients, calculated from the node features and the edge features and thus containing the information on the similarity between the two nodes.Specifically in Transformer convolution layers, the central node and the adjacent nodes are considered as queries and keys respectively, and the overlap between the queries and the keys reflects the similarity between the two nodes (atoms).This attention mechanism updates the central node features by a linear combination of adjacent node features weighted by the overlap between the query vector and key vectors in the latent space, thus allowing the network to effectively capture the chemical distinctions between neighboring atoms and increasing its efficacy in predicting properties related to crystal structure.Besides, since the attention coefficients depend on the node features, they are dynamic and can vary across different convolution layers, as compared to the static weight matrices that are fixed across the convolution layers in models without the attention mechanism.Therefore, we expect that in general models with the attention mechanism are better than those without it.Finally, we also observe the superior performance of the ECNN model compared to the CGNN model, possibly because the ECNN model adopts a multilayer perceptron layer to process edge features while the CGNN model employs only a linear transformation on edge features.This distinction makes the former more adaptable in evaluating configurational energies.1 The MAE (meV/atom) and the variance (meV 2 /atom) on the pristine AuxCu 1−x datasets using different types of graph neural network models.

GAT

9We then apply the optimal GNN model based on Transformer attention mechanism to MC simulations to obtain the configurational properties of stoichiometric AuCu systems.Because the configurational space is complicated for such large supercells, we choose a bin size of 0.2 eV in the Wang-Landau sampling method to expedite convergence.Since the MAE of the trained GNN model is around 2.76 meV/atom, we anticipate that each configuration has an energy deviation of 0.6 eV/cell on average, justifying our choice of bin size.With this choice of the bin size, the MC simulation takes around 4 × 10 7 steps to converge, beyond the capability of DFT methods.We show the intermediate and final density of states that are fitted to a Gaussian distribution in Fig. 2(c).The density of states is normalized such that the sum of the density of states equals to one; while the normalization constant is the total number of configurations of stoichiometric AuCu in a 200-atom supercell, i.e., Ω max = 100 200 .The peak of the density of states is higher in energy than the ground state by 3.2 eV/cell.From the density of states, we can calculate the configurational entropy and the heat capacity according to Eq. 4, shown in Fig. 2(d).The position of the heat capacity peak, indicating the order-disorder phase transition temperature, is at 870 K (for fct AuCu), similar to the experimental values.As temperature further increases, the configurational entropy gradually approaches the theoretical limit for the fully disordered phase (within a 200-atom supercell) S max = k B ln Ω max = 1.17 × 10 −2 eV/K.

10We also note that while training and selecting the best GNN model for MC simulations, batch normalization features can affect the predictions of disorder properties significantly and should be disallowed.When training GNN models, configurations are grouped into batches of a reasonable size to accelerate the training process.In general, too small batches can lead to instability of gradients and optimization process, while too large batches can lead to huge memory requirements and possible overfitting.However, in MC simulations, energy evaluations are performed on a single configuration consecutively.When using trained models with batch normalized features to predict the energy of one configuration, incorrect predictions may arise because in this case the batch mean and batch variance are highly influenced by the specific configuration in the batch, but not reflecting the distribution of the features of the whole dataset.In Supplementary Note S2, we show benchmark calculations for the GNN model with batch normalization features.By evaluating the configurations in batches (containing 58 configurations), the MAE of the best model is 3.52 meV/atom, but when evaluated consecutively, the MAE loss for the model increases drastically to 2.76 eV/atom, and the corresponding prediction on the order-disorder phase transition is incorrect (183 K).

Distorted Au x Cu 1−x Structure Dataset

11To showcase the adaptability of GNN models to realistic simulation scenarios, such as atomic relaxations where cluster expansion methods face convergence challenges, we constructed another dataset containing 4500 configurations with random atomic displacements.The maximum amount of displacement for each atom is chosen to be 0.35 Å.

12The MAE on the testing set of this dataset containing distorted structures is 6.43 meV/atom, and the comparison between the DFT and GNN energies is shown in Fig. 3(a).Larger deviations from DFT energies are primarily observed in configurations with lower Au concentration.We further apply the trained model to calculate the disorder properties, shown in Fig. 3(b).We generate one supercell with random atomic displacements and apply it for MC simulations while keeping all the atomic positions fixed.The calculated phase transition temperature is 788 K, lower than that for the pristine structure, suggesting that structural disorder can enhance the configurational disorder; the introduction of structural disorder increases the likelihood of the material being in the configurational disordered phase.

13A potential avenue for enhancing the performance of GNN models for energy predictions of disordered systems with distorted structures lies in the modification of how crystal structures are represented in the form of graphs.In our current method, the nodes represent the atomic species and the edges contain only bond distance information.But other local chemical information can also be included in the graphs, such as the directional information (for instance, bond directions expanded in spherical harmonic coefficients) and the multiplet interactions that can be included in hypergraphs [39] or higher-order graphs [40].These graph structures may capture the much more complex chemical environment of each atom after introducing random atomic displacements.An alternative avenue for improvement is to modify the network structure.For example, the Au concentration can be treated as a global feature for each configuration.This feature could be concatenated with the global features from the nodes and jointly passed through the linear layers to determine the total energy of the configuration.Despite room for these improvements, our current model already suffices for the effective predictions of disorder properties of complex alloy systems with distorted structures.

Discussions

14Next, we would like to draw the reader's attention to the correlation between disorder properties and the optimization process of GNN models.From Eq. 4, it can be shown that neither the heat capacity nor the configurational entropy are affected by an overall energy shift ∆E to all configurations (see Supplementary Note S3).Based on this observation, we postulate that when training and selecting the best GNN model to predict configurational entropy and heat capacity, the variance of the differences between E DFT and E GNN among all configurations, instead of the mean of the energy differences, controls the accuracy of predictions and thus can be chosen as the target quantity for optimization.

15In the following, we denote Êi as the energy predicted by GNN models and E i as the "ground-truth" energy obtained by DFT for configuration i, and their difference as e i = Êi − E i (in the following, thermodynamic quantities with hats are calculated from Êi , and those without hats are from E i ).We assume that those energy differences are independent and identically distributed random variables, following the normal distribution N (µ, σ 2 ), with mean µ and variance σ 2 ; thus we have E[e i ] = µ, E[e 2 i ] = µ 2 + σ 2 , and E[e i e j ] = µ 2 for all i and j ̸ = i.

16To derive the expected deviations of configurational entropy and the heat capacity due to e i 's, we first focus on the difference of the log-partition-function, defined as ∆(ln Z) ≡ ln Ẑ − ln Z = ln i e −β Êi − ln i e −βEi .By assuming that the errors e i are smaller than the energies E i , we can perform Taylor expansions on the logsum-exp function ln i e −β Êi = ln i e −β(Ei+ei) with respect to e i .As shown in the Supplementary Note S3, after taking the expectation value with respect to the random .variables e i , the first-order term vanishes, and we have

17where α = i e −2βE i ( i e −βE i ) 2 .Based on this result, according to Eq. ( 4), the expected deviation of the configurational entropy due to the random energy deviations e i , defined as

18where we use the fact that α, though containing β, does not depend on β explicitly.Similarly, the expected deviation of the heat capacity is given by

19The derivation details can be found in Supplementary Note S3.Therefore, both E[∆S] and E[∆C v ] are linearly dependent on the variance σ 2 , but independent on the mean µ, suggesting that the variance σ 2 of the energy deviations e i among the configurations must be minimized to accurately predict configurational entropy and heat capacity.

20To numerically verify this, we train our GNN model that is based on Transformer convolution layers on the pristine Au x Cu 1−x dataset, using the variance as the target loss function.The variance of the optimal model on the testing set is 15.82 meV 2 /atom, but the MAE is 4.89 eV/atom; as a comparison, the variance of our previous model using MSE as the loss function is 13.2 meV 2 /atom and the MAE loss is 2.76 meV/atom.In Fig. 3(a), we show the comparison between the configurational energies predicted by GNN and DFT, suggesting a global shift of energies for all configurations.We then apply this model to MC simulations, and the predicted ordering-disorder phase transition temperature is 837 K, in good agreement with previous results using MSE as the loss function (870 K).Therefore, as long as the variance is minimized, the predicted configurational entropy and the heat capacity are reliable.

21In conclusion, we demonstrate the capability of GNN with an attention mechanism to accurately predict the configurational disorder properties in compound materials, including configurational entropy and order-disorder phase transition temperature.Using the face-centered tetragonal Au x Cu 1−x dataset as an example, the predicted phase transition temperature from attention-based GNN models and MC simulations is close to that obtained in experiments.Even when random atomic displacements are introduced, reliable predictions are still achievable.Furthermore, we show that the variance of the configurational energy deviations between GNN and DFT controls the prediction accuracy of these disorder-related properties.These results provide new perspectives on the efficient and accurate evaluation of disordered properties in configurationally complex materials.This contributes significantly to future research focused on the phase stability of such materials and advances the exploration of highentropy alloys and related material systems.

Density Functional Theory Calculations

22The first-principles calculations are performed based on DFT, as implemented in Vienna Ab initio Simulation Package [41,42].We use the projector augmented wave pseudopotentials [43,44], where 5d and 6s electrons are treated as valence electrons for Au and 3d and 4s electrons are treated as valence electrons for Cu.We used the GGA-PBE functional for all calculations [45] and 550 eV for the kinetic energy cutoff of the plane-wave basis sets.The k-point grid density is taken to be 0.03 2π/ Å, and the energy convergence threshold is 10 −7 eV.

23After variable-cell relaxation, the ground state structure of stoichiometric AuCu is the face-centered-tetragonal structure.The relaxed lattice constants are a = 2.86 Å and c = 3.55 Å.From the relaxed unit cell, we generate the 5 × 5 × 4 supercell, such that the lattice constant along each direction is close to 15 Å.Using the supercell, we generate the Au x Cu 1−x dataset covering the whole concentration range 0 < x < 1.

Constructing and Training GNN models

24In each layer of a GNN, the node features are updated by the features of neighboring nodes according to x i = ϕ(x i , x N (i) ), where x i is the feature of the ith node and N (i) is the adjacent nodes of i.This message aggregation process is repeated multiple times as the convolution layers are stacked, allowing GNNs to capture the long-range interactions in the crystal.Depending on the aggregate function ϕ, various types of GNNs are proposed.In this work, we choose the attention-based Transformer network [32] to construct our GNN and generate the main results in the manuscript.

25For each layer, we use global mean pooling to extract the global graph feature from all nodes, as we choose the total energy per atom as the target quantity to predict.These global features are added together, forming shortcut connections that allow the gradient to flow more easily during training (benchmark results using only the global features from the last convolution layer can be found in the SM).Finally, the global features are passed to two fully-connected linear layers to predict the total energy per atom.

26For training the GNN models, we shuffle the dataset and divide it into the training set, the validation set, and the testing set, allocating them in a 60:20:20 ratio.Unless otherwise stated, the target loss function is the MSE.The validation set is used to prevent overfitting on the training set.While training the GNN models, we keep track of the validation loss and use the model with the smallest validation loss as our final model.

27To choose the optimal set of hyperparameters, we use the Bayesian optimization method as implemented in Optuna [46], which calculates the expected improvement of the current set of hyperparameters based on results from previous trial runs using Tree-structured Parzen Estimator method [47].The convergence is achieved when no significantly different hyperparameter values are proposed for consecutive 10 trial runs.The hyperparameter set includes the number of convolution layers, the number of hidden channels, the number of attention heads (used only in GNN models with attention mechanisms), learning rate, weight decay, and batch size.

Monte Carlo Simulations

28MC simulations with the Wang-Landau sampling method [19] are then carried out to obtain the density of states g(E), with the configurational energies evaluated from the trained GNN models.The flatness criterion is achieved when the minimum value of the histogram is no smaller than 80% of the mean value, and the convergence is achieved when the modification factor satisfies ln f < 10 −7 .Since the configurational space of the supercell is complicated, at least around 10 8 configurations are necessary for the MC simulation to converge, beyond the capabilities of first-principles methods.

29From the density of states, the configurational entropy and the heat capacity at an arbitrary temperature are calculated as

30where the partition function is Z = g(E)e −βE dE, the free energy is F = −k B T ln Z, the expected value for quantity Q is ⟨Q⟩ = 1 Z g(E)Q(E)e −βE dE, and β = 1 k B T .

x

31Cu 1−x containing 4500 configurations in a 5 × 5 × 4 supercell with 200 atoms, covering all chemical compositions x ∈ [0, 1].The concentration distribution of the dataset is shown in Fig. 2(a).

Fig. 2

32Fig. 2 The performance of the Transformer-based GNN model on the pristine AuxCu 1−x structure dataset.(a) The histogram of the number of configurations for each Au concentration.(b) The comparison between the configurational energies (per atom) predicted from DFT (E DFT ) and the optimal GNN model (E GNN ).The color of each point represents the concentration x of Au atoms in the configuration.(c) The calculated normalized density of states of pristine AuCu during the MC simulation process (per cell).The total number of MC steps is 4 × 10 7 .(d) The calculated configurational entropy (black curve) and the heat capacity (red curve) at different temperatures.

Fig. 3

33Fig. 3 The performance on the dataset with random atomic displacements, using MSE as the target loss function.(a) The comparison between the configurational energies (per atom) obtained from DFT (E DFT ) and the optimal GNN model (E GNN ).(b) The calculated configurational entropy (black curve) and the heat capacity (red curve) at different temperatures.(c, d) Same as (a, b), but on a dataset without displacements and using variance as the target loss function.

참고문헌 45건

  1. Phonon transport in disordered alloys: A Multiple-scattering approach Physical review. B./Physical review. B · American Physical Society · 2021 10.1103/physrevb.104.104202
  2. Accelerated exploration of multi-principal element alloys with solid solution phases Nature Communications · Nature Portfolio · 2015 10.1038/ncomms7529
  3. A fracture-resistant high-entropy alloy for cryogenic applications Science · American Association for the Advancement of Science · 2014 10.1126/science.1254581
  4. Projector augmented-wave method Physical review. B, Condensed matter · American Physical Society · 1994 10.1103/physrevb.50.17953
  5. From ultrasoft pseudopotentials to the projector augmented-wave method Physical review. B, Condensed matter · American Physical Society · 1999 10.1103/physrevb.59.1758
  6. Generalized Gradient Approximation Made Simple Physical Review Letters · American Physical Society · 1996 10.1103/physrevlett.77.3865
  7. Cluster expansions and the configurational energy of alloys Physical review. B, Condensed matter · American Physical Society · 1993 10.1103/physrevb.48.14013
  8. Efficient, Multiple-Range Random Walk Algorithm to Calculate the Density of States Physical Review Letters · American Physical Society · 2001 10.1103/physrevlett.86.2050
  9. Efficient cluster expansion for substitutional systems Physical review. B, Condensed matter · American Physical Society · 1992 10.1103/physrevb.46.12587
  10. Efficiency of ab-initio total energy calculations for metals and semiconductors using a plane-wave basis set Computational Materials Science · Elsevier BV · 1996 10.1016/0927-0256(96)00008-0
  11. Mechanical Properties and Stacking Fault Energies of NiFeCrCoMn High-Entropy Alloy JOM · Springer Science+Business Media · 2013 10.1007/s11837-013-0771-4
  12. First-principles calculations of the phase diagrams of noble metals: Cu-Au, Cu-Ag, and Ag-Au Physical review. B, Condensed matter · American Physical Society · 1987 10.1103/physrevb.36.4163
  13. Structure Determination of Disordered Materials from Diffraction Data Physical Review Letters · American Physical Society · 2010 10.1103/physrevlett.104.125501
  14. Cluster expansion method for multicomponent systems based on optimal selection of structures for density-functional theory calculations Physical Review B · American Physical Society · 2009 10.1103/physrevb.80.165122
  15. Studies of Phase Transitions in Order-Disorder Ferroelectrics. III. The Phase Transition in K<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline"><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="normal">H</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math>P<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline"><mml:mrow><mml:msub><mml:mrow><mml:mi mathvariant="normal">O</mml:mi></mml:mrow><mml:mrow><mml:mn>4</mml:… Physical Review · American Institute of Physics · 1969 10.1103/physrev.181.905
  16. <i>Ab initio</i>molecular dynamics for liquid metals Physical review. B, Condensed matter · American Physical Society · 1993 10.1103/physrevb.47.558
  17. Wang-Landau Algorithm for Continuous Models and Joint Density of States Physical Review Letters · American Physical Society · 2006 10.1103/physrevlett.96.120201
  18. Absence of Diffusion in Certain Random Lattices Physical Review · American Institute of Physics · 1958 10.1103/physrev.109.1492
  19. Observation of Anderson Localization in an Electron Gas Physical Review · American Institute of Physics · 1969 10.1103/physrev.181.1336
  20. Dynamic Edge-Conditioned Filters in Convolutional Neural Networks on Graphs 2017 10.1109/cvpr.2017.11
  21. 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
  22. The Use of Cluster Expansions To Predict the Structures and Properties of Surfaces and Nanostructured Materials Journal of Chemical Information and Modeling · American Chemical Society · 2018 10.1021/acs.jcim.8b00413
  23. Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networks arXiv (Cornell University) · Cornell University · 2018
  24. Large scale hybrid Monte Carlo simulations for structure and property prediction npj Computational Materials · Nature Portfolio · 2018 10.1038/s41524-018-0137-0
  25. Atomic cluster expansion for accurate and transferable interatomic potentials Physical review. B./Physical review. B · American Physical Society · 2019 10.1103/physrevb.99.014104
  26. Graph Networks as a Universal Machine Learning Framework for Molecules and Crystals Chemistry of Materials · American Chemical Society · 2019 10.1021/acs.chemmater.9b01294
  27. Optuna 2019 10.1145/3292500.3330701
  28. CLEASE: a versatile and user-friendly implementation of cluster expansion method Journal of Physics Condensed Matter · IOP Publishing · 2019 1010881361648xab1bbc
  29. High-entropy ceramics Nature Reviews Materials · Nature Portfolio · 2020 10.1038/s41578-019-0170-8
  30. First-principles study of the order-disorder transition and its effects on the optoelectronic property of <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>A</mml:mi><mml:mi>Bi</mml:mi><mml:msub><mml:mi mathvariant="normal">S</mml:mi><mml:mn>2</mml:mn></mml:msub></mml:mrow></mml:math> ( <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>A</mml:mi><mml:mo>=</mml:mo><mml:mi>Na</mml:mi></mml:mrow></mml:math> , K) Physical Review Materials · American Physical Society · 2020 10.1103/physrevmaterials.4.085402
  31. Dynamic disorder phonon scattering mediated by Cu atomic hopping and diffusion in Cu3SbSe3 npj Computational Materials · Nature Portfolio · 2020 10.1038/s41524-020-00421-4
  32. Benchmarking graph neural networks for materials chemistry npj Computational Materials · Nature Portfolio · 2021 10.1038/s41524-021-00554-0
  33. Probing configurational disorder in <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:msub><mml:mi>ZnGeN</mml:mi><mml:mn>2</mml:mn></mml:msub></mml:math> using cluster-based Monte Carlo Physical Review Materials · American Physical Society · 2021 10.1103/physrevmaterials.5.024604
  34. Crystalline Disorder, Surface Chemistry, and Their Effects on the Oxygen Evolution Reaction (OER) Activity of Mass-Produced Nanostructured Iridium Oxides ACS Applied Energy Materials · American Chemical Society · 2021 10.1021/acsaem.0c03127
  35. Thermal conductivity modeling on highly disordered crystalline Y1−<i>x</i>Nb<i>x</i>O1.5+<i>x</i>: Beyond the phonon scenario Applied Physics Letters · American Institute of Physics · 2021 10.1063/5.0040546
  36. Bifunctional nanoprecipitates strengthen and ductilize a medium-entropy alloy Nature · Nature Portfolio · 2021 10.1038/s41586-021-03607-y
  37. Masked Label Prediction: Unified Message Passing Model for Semi-Supervised Classification 2021 10.24963/ijcai.2021/214
  38. Anderson Localization in the Fractional Quantum Hall Effect Physical Review Letters · American Physical Society · 2022 10.1103/physrevlett.128.116801
  39. Cluster Expansion of Alloy Theory: A Review of Historical Development and Modern Innovations JOM · Springer Science+Business Media · 2021 10.1007/s11837-021-04840-6
  40. Atomic Disorder Enables Superior Catalytic Surface of Pt-Based Catalysts for Alkaline Hydrogen Evolution ACS Materials Letters · American Chemical Society · 2021 10.1021/acsmaterialslett.1c00559
  41. Mechanical Properties and Deformation Mechanisms of Heterostructured High-Entropy and Medium-Entropy Alloys: A Review Frontiers in Materials · Frontiers Media · 2022 10.3389/fmats.2021.792359
  42. Anderson Localization in the Fractional Quantum Hall Effect Physical Review Letters · American Physical Society · 2022 10.1103/physrevlett.128.116801
  43. smol: A Python package for cluster expansions and beyond The Journal of Open Source Software · Open Journals · 2022 10.21105/joss.04504
  44. Graph neural networks for materials science and chemistry Communications Materials · Nature Portfolio · 2022 10.1038/s43246-022-00315-6
  45. Deformation and failure of the CrCoNi medium-entropy alloy subjected to extreme shock loading Science Advances · American Association for the Advancement of Science · 2023 10.1126/sciadv.adf8602