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

Transferability of Atom-Based Neural Networks

간접 관련 화학·수지 · (21) 에폭시수지 (6) PEM(고분자전해질막)(7) MEA(막전극접합체)

기본 정보

저자
  1. Frederik Ørsted Kjeldal — Technical University of Denmark, Department of Chemistry, DK
  2. Janus J. Eriksen — Technical University of Denmark, Department of Chemistry, DK
DOI
10.1088/2632-2153/ad9709
저널
Machine Learning Science and Technology
발행년도
2024
발행기관
IOP Publishing
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1088/2632-2153/ad9709
토픽
Fuel Cells and Related Materials
OpenAlex ID
W4404678487

평가 내용

관련도
간접 관련
사업분야
화학·수지 · (21) 에폭시수지
부 분야
(6) PEM(고분자전해질막), (7) MEA(막전극접합체)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
Machine-learning models, electronic-structure, atomic energies, molecular datasets, equivariant neural networks
판단 근거
이 논문은 분자의 전자 구조와 원자 에너지를 예측하기 위한 머신러닝(Neural Networks) 모델의 전이성(Transferability)을 다루는 기초 계산 화학 연구입니다. 직접적인 제품 연구는 아니나, 고분자(에폭시, PEM 등)의 화학적 물성 및 반응성을 예측하는 디지털 트윈/시뮬레이션 방법론으로 응용 가능합니다.
R&D 활용 포인트
에폭시 수지나 연료전지용 이온전도성 고분자(PEM)의 새로운 분자 구조 설계 시, 실험 전 머신러닝 모델을 통해 화학적 안정성, 반응성, 에너지 변화를 예측하여 R&D 기간을 단축하는 데 활용할 수 있습니다.
평가 입력
본문 59,626자 중 30,032자 발췌

초록

Machine-learning models in chemistry—when based on descriptors of atoms embedded within molecules—face essential challenges in transferring the quality of predictions of local electronic structures and their associated properties across chemical compound space. In the present work, we make use of adversarial validation to elucidate certain intrinsic complications related to machine inferences of unseen chemistry. On this basis, we employ invariant and equivariant neural networks—both trained either exclusively on total molecular energies or a combination of these and data from atomic partitioning schemes—to evaluate how such models scale performance-wise between datasets of fundamentally different functionality and composition. We find the inference of local electronic properties to improve significantly when training models on augmented data that appropriately expose local functional features. However, molecular datasets for training purposes must themselves be sufficiently comprehensive and rich in composition to warrant any generalizations to larger systems, and even then, transferability can still only genuinely manifest if the body of atomic energies available for training purposes exposes the uniqueness of different functional moieties within molecules. We demonstrate this point by comparing machine models trained on atomic partitioning schemes based on the spatial locality of either native atomic or molecular orbitals.

본문 59,626자

본문 펼치기
# Transferability of Atom-Based Neural Networks #### Frederik Ø. Kjeldal and Janus J. Eriksen ∗ _DTU_ _Chemistry,_ _Technical_ _University_ _of_ _Denmark_ _Kemitorvet_ _Bldg._ _206,_ _2800_ _Kgs._ _Lyngby,_ _Denmark_ E-mail: janus@dtu.dk Abstract Machine-learning models in chemistry—when based on descriptors of atoms embed ded within molecules—face essential challenges in transferring the quality of predictions of local electronic structures and their associated properties across chemical compound space. In the present work, we make use of adversarial validation to elucidate certain intrinsic complications related to machine inferences of unseen chemistry. On this basis, we employ invariant and equivariant neural networks—both trained either exclusively on total molecular energies or a combination of these and data from atomic partition ing schemes—to evaluate how such models scale performance-wise between datasets of fundamentally different functionality and composition. We find the inference of local electronic properties to improve significantly when training models on augmented data that appropriately expose local functional features. However, molecular datasets for training purposes must themselves be sufficiently comprehensive and rich in composi tion to warrant any generalizations to larger systems, and even then, transferability can still only genuinely manifest if the body of atomic energies available for training purposes exposes the uniqueness of different functional moieties within molecules. We demonstrate this point by comparing machine models trained on atomic partitioning schemes based on the spatial locality of either native atomic or molecular orbitals. 1 ### 1 Introduction The success of supervised machine learning (ML) in applications to electronic-structure prob lems relies fundamentally on the ability of such models to transfer performance in predictions from known to unknown chemistry. Given how ML generally excels at interpolation rather than extrapolation to out-of-distribution data, significant challenges are necessarily faced when seeking to infer chemical properties for molecular datasets that are fundamentally different to those available for training and validation. The enhancement of extrapolation performance is therefore not merely a question of designing sufficiently flexible and physically motivated model architectures but also of curating necessary diversity within the underlying training pool, an either costly or inherently scarce resource in the overall design process. One prominent form of such transferability is that which rules across _conformational_ _space_, e.g., when using ML as a vehicle for simulations of molecular dynamics where the number of atoms and chemical composition are kept fixed. Here, unseen chemistry explored in various regions on a potential energy surface must resemble that used to train the ML model in a way that will facilitate predictions to predominantly rely on interpolations. This has been a popular application of ML in quantum chemistry ever since machine potentials first came into existence, <sup>1–7</sup> and it continues to be as much in vogue today as never before. <sup>8–15</sup> An arguably more difficult challenge lies in the application of supervised models to molec ular problems of arbitrary composition, especially given how training pools are typically limited in scope. <sup>16–18</sup> The task of learning chemistry across _compositional_ _space_ in a trans ferable manner is thus contingent on the ability to generalize inferences from smaller to larger and, possibly, more complex molecular systems. Not only will the design of sophisticated encodings of unique atomic environments matter, but so will also the abundance of diverse functional motifs in the training data. The ruling premise here is that if local chemical environments are to be learned and generalized, a spatial localization of the chemistry at 2 hand must somehow be enforced. In the course of the present work, we will demonstrate how to accomplish exactly this by exposing intrinsically local features within the training data, features which are indeed transferable. Qualified predictions of local energy contributions have potential use in genetic algorithms, <sup>19–21</sup> and changes to these along reaction coordinates can help elucidate key chemical concepts, such as, selectivity, reactivity, and stability. <sup>22–24</sup> Over the years, a wealth of different ML architectures have been proposed. The arguably most successful of these are the so-called high-dimensional neural networks (HDNNs), in which the total energy of a molecule is decomposed into a sum of _N_ atomic contributions, _E_ = _N_ _i_ _Ei_ _._ (1) This decomposition inherently allows the model to scale to arbitrary size by treating each atom locally. Descriptors of the local chemical environments around atoms are encoded somehow, and a feed-forward neural network is used to calculate an energy for each atom based on these. Originally, HDNNs were designed to model high-dimensional potential en ergy surfaces (hence their name), but the architecture has since been used to transfer and generalize property predictions across limited regions of chemical compound space as well. Two main flavors of HDNNs exist, differing from one another primarily in how the local chemical environment of an atom embedded within a molecule is represented and, implic itly, how it interacts with its neighbours. Traditional HDNNs are based on fixed analytical descriptors of local chemical environments in terms of atom-centered symmetry functions that encode two- and three-body information within a certain spatial region. <sup>4</sup> Graph-based message-passing neural networks (MPNNs) instead encode such local environments by itera tively exchanging geometric information between atoms through convolutions over neighbors, a process which principally allows for the inclusion of long-range interactions. <sup>25–27</sup> Most re 3 cently, MPNNs relying on equivariances rather than just invariances have started emerging, whereby more (angular) information gets encoded into the representation of atoms. <sup>28,29</sup> While the architecture of neural network models depend crucially on locality assump tions, only modest attention has been paid to the resulting atomic energies or the effect of including reference values for these in the training data. In the present work, we propose the use of local chemical information, namely decomposed atomic energies calculated from electronic-structure methods, as a means to improve the transferability of ML models. By reformulating the loss function from a global to a local quantity, we interpolate between different local chemical moieties instead of directly extrapolating to unseen chemistry, and by incorporating local atomic energies directly in the loss function, we constrain the min imization of the total energy error. This guides the optimization of the neural networks toward other minima, thus permitting different generalization properties. In particular, for low-data tasks, the inclusion of atomic energies steers the network to yield more physically sound atomic energies over those returned by a network trained exclusively on total energies. The present study is outlined as follows. In Sect. 2, we present the specific atomic decomposition schemes, datasets, and machine-learning models used throughout. Sect. 3 covers both proof-of-concept and more realistic experiments relating to transferability across functional and compositional space, while Sect. 4 provides some conclusions and an outlook. ### 2 Computational Details In Sect. 2.1, we begin by introducing the two types of atomic partitioning schemes that we will study within the present work. Next, our MPNN architecture of choice and the training protocol are discussed in Sect. 2.2, before we provide details on our different datasets alongside a brief introduction to the adversarial validation of these in Sects. 2.3 and 2.4. 4 #### 2.1 Atomic Decomposition Schemes As discussed in a recent study of ours, <sup>22</sup> the total molecular energy of a given system at the level of Kohn-Sham density functional theory (KS-DFT) may be decomposed amongst its atoms based on the spatial locality of either its atomic (AOs) or molecular orbitals (MOs). Specifically, in the standard energy density analysis (EDA) scheme of Nakai, <sup>30,31</sup> one partitions the full 1-electron reduced density matrix (1-RDM) on account of which atoms individual AOs are localized on, achieved by simply limiting all necessary trace operations in the energy functional to only those basis functions that are spatially assigned to individual atoms. In the MO-based scheme of Eriksen, <sup>32</sup> on the other hand, atom-specific 1-RDMs are constructed via a set of 1-RDMs unique to the individual occupied MOs and a set of appropriate weights that distribute these among all constituent atoms. These are then the principal 1-RDM objects used to evaluate the KS-DFT energy functional. While the AO based EDA decomposition is invariant with respect to orbital rotations, a suitable combina tion of localized MOs and corresponding populations is required in the MO-based analogue. As has previously been demonstrated, <sup>33–36</sup> intrinsic bond orbitals (IBOs) and Mulliken-like population weights determined in an intermediate basis of intrinsic atomic orbitals (IAOs) constitute excellent choices, <sup>37,38</sup> owing to their stability upon a change of AO basis and ease of chemical interpretation. All decompostions have been performed in the `decodense` code. <sup>39</sup> In contrast to the electronic-structure decomposition schemes discussed above, an atomic partitioning may also be inferred from vast amounts of quantum-chemical data. For instance, in the application of HDNNs, one naturally obtains quantities popularly referred to as atomic energies from the chemical locality assumption underpinning Eq. 1. These energies essen tially serve as additional degrees of freedom that allow for the NN architecture to scale to systems of different composition and size; earlier studies have sought to investigate the physi cal relevance of data-derived atomic energies, e.g., in the stability of aromatic rings or for use in evolutionary algorithms. <sup>19,23,24</sup> Be that as it may, one obvious drawback of these decom 5 positions is the sensitive dependency on the underlying data, which may negatively conflate local chemical information and, in turn, prevent the transferability of atomic properties. #### 2.2 Neural Network Architecture and Training Throughout the present study, we will use `NequIP` <sup>28</sup> —a leading equivariant MPNN—for training all of our proposed machine models. <sup>40</sup> Our loss function is of mean square error (MSE) type with separate weightings of total ( _E_ ) and atomic ( _E_ ) energy error contributions, _N_ _i_ _N_ atoms <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _k_ _L_ = <sup><u>1</u></sup> _N_ _λE_ _N_ �( _E_ <sup>ˆ</sup> _i −_ _Ei_ ) <sup>2</sup> + _λE_ _i_ ( _E_ <sup>ˆ</sup> _i,k −Ei,k_ ) <sup>2�</sup> _._ (2) To train a data-driven decomposition scheme, only the total energies of a given dataset matter, that is, we set _λE_ _≡_ 0 (denoting these as _total_ _energy_ models). For the models trained also on atomic energies from electronic-structure decompositions (EDA or IBO/IAO), we use a uniform weighting, _λE_ _≡_ _λE_ _≡_ 1. The inclusion of total energies has previously been found to be important, as these regularize errors in atomic energies to cancel more favorably. <sup>35</sup> In training our networks, 80% of a given dataset is used for training, leaving 20% for validation, and the test set is trivially kept separate and used only after the network has been trained. Throughout our study, atomic energies will be reported as contributions to molecular atomization energies, that is, with respect to isolated atoms in the gas phase. #### 2.3 Datasets To illustrate some of the inherent difficulties in transferring predictions across different kinds of chemistry, we have curated a number of small datasets with exclusive chemical motifs, namely, hydroxyls, carbonyls, as well as primary and secondary amines. For instance, the exercise of predicting atomization energies of carbonyl-containing compounds by means of a model trained exclusively on molecules containing hydroxyl functional groups is deliberately unrealistic; but, as we will discuss, it may provide key insights into more realistic chemical 6 problems of transferability. These modest datasets have all been derived from QM7. <sup>41</sup> Table 1: Key information about the datasets used in the present study. <u>Name</u> <u>Atomic</u> <u>composition</u> <u>Heavy</u> <u>atoms</u> <u>Size</u> <u>Parent</u> <u>dataset</u> Hydroxyl H, C, O 3 _−_ 7 389 QM7 <u>Carbonyl</u> <u>H,</u> <u>C,</u> <u>O</u> <u>3</u> _<u>−</u>_ <u>7</u> <u>283</u> <u>QM7</u> Primary amine H, C, N 3 _−_ 7 389 QM7 <u>Secondary</u> <u>amine</u> <u>H,</u> <u>C,</u> <u>N</u> <u>3</u> _<u>−</u>_ <u>7</u> <u>405</u> <u>QM7</u> QM7 H, C, N, O, S 1 _−_ 7 7,165 GDB13 <u>QM13</u> <sup>_∗_</sup> <u>H,</u> <u>C,</u> <u>N,</u> <u>O,</u> <u>S</u> <u>13</u> <u>3,553</u> <u>GDB13</u> QM9 <sup><u>42</u></sup> H, C, N, O, F 1 _−_ 9 125,761 GDB17 QM17 <sup>_∗_</sup> H, C, N, O, F 17 4,670 GDB17 Next, two larger datasets have been designed to probe transferability in transitioning from small to larger and more complex molecular systems. The so-called QM13 <sup>_∗_</sup> and QM17 <sup>_∗_</sup> datasets are derived from the parent GDB13 and GDB17 datasets, <sup>41,43</sup> respectively, by re taining only entries that consist of exactly 13 and 17 non-hydrogen atoms. In the case of QM13 <sup>_∗_</sup>, 5,000 random molecules built from H, C, N, O, and S atoms were extracted from the GDB13 dataset so as to align with the chemical composition of QM7. The geome try of each of these molecules was optimized at the B3LYP/6-31G(2df,p) level of theory in `Gaussian16` . <sup>44–46</sup> Single-point calculations in `PySCF` <sup>47,48</sup> and energy decompositions in `decodense` <sup>39</sup> were subequently performed at the B3LYP/pcseg-1 level of theory, <sup>49</sup> resulting in 3,553 entries of the dataset. <sup>50</sup> Likewise, QM17 <sup>_∗_</sup> consists of 4,670 entries drawn from a random pool of 10k molecules from GDB17, of which the QM9 dataset is also a subset. <sup>51</sup> Table 1 provides detailed information on the composition of all datasets of the present study. #### 2.4 Adversarial Validation Beyond statistics about chemical composition, such as, molecular size, atom types, func tional motifs, etc., tangible differences between datasets, particularly on a single-molecule level, may still prove difficult to quantify. One commonly used approach for comparing two chemical datasets involves calculating descriptors for each molecule before performing 7 some form of unsupervised learning, e.g., clustering or dimensionality reductions <sup>52,53</sup> The computation of these descriptors is computationally inexpensive, but the procedure has the distinct disadvantage of relying on fixed chemical descriptors, descriptors which, in the case of MPNNs, are iteratively learned rather than precomputed. One therefore runs the risk of losing or capturing fundamentally different chemical trends than the NN architecture used to train the actual energy regression model in question. As an alternative, one can make use of the latent space (or internal representation) of a trained machine model as the designated description vector prior to applying a subsequent unsupervised clustering algorithm. <sup>54,55</sup> As yet another option, so-called adversarial validation can be used to gauge differences between datasets so as to explain and predict where a given ML model may be expected to suffer inference errors. In adversarial validation, <sup>56,57</sup> two or more datasets are combined and shuffled, upon which a classifier is trained to untangle the datasets, predicting a net label for each molecule. If the classifier is trivially able to discern which dataset a given molecule originally belongs to, the two datasets are categorized as being sufficiently dissimilar in their local chemistry (and _vice_ _versa_ if the classification is less successful). Since adversarial val idation makes use of the original datasets as reference values, this allows for an educated guess at how well the performance of a trained model will transfer to a new dataset before even running any simulations. Furthermore, the validation will rely on the same model ar chitecture as the energy regression and may thus allow for a fine-grained examination of a given dataset. This is particularly fitting for our purposes herein, given how our models have atom-level resolution that allow for the inspection of single atoms or functional groups. One technical note on this type of analysis is warranted. In order to fairly evaluate the classification of any two datasets, a relatively even balance must exist between the volume (composition) of these. Except for the QM9/QM17 <sup>_∗_</sup> pair, this happens to be the case and we therefore generally included all data points in our adversarial validation (80 % retained 8 for training and validation with the remaining 20 % reserved for evaluating the performance of the classifier). The large discrepancy between the QM9 and QM17 <sup>_∗_</sup> datasets, however, demanded some reductions to the former. As such, a random subset of QM9 was selected to limit the combined number of molecules to 10k in this specific adversarial validation. ### 3 Results #### 3.1 Adversarial Validation Starting with our proof-of-concept comparison of the four functional datasets discussed in Sect. 2.3, one would trivially expect the classifier to be able to detect differences at the molecular level, but perhaps less so between the atoms of any two datasets due to many near-identical scaffolds. As evidenced by the accuracy of the classifier in Table 2, alcohols are perfectly distinguished from aldehydes and ketones and primary from secondary amines. The same is observed to hold true for the individual oxygens and nitrogens of the datasets, thus verifying that the model correctly identifies the functional groups containing these as the single most important part of the classification of the four different kinds of molecules. Table 2: Accuracy, _x_, of the adversarial validation classifier across the different datasets for molecules (Mol.), atoms (Atom.), and individual elements (H, C, N, O, S, and F). Accuracies of _x_ = 0 and _x_ = 1 indicate complete failure or success in the classification, respectively. <u>Dataset</u> <u>Mol.</u> <u>Atom.</u> <u>H</u> <u>C</u> <u>N</u> <u>O</u> <u>S</u> <u>F</u> Hydroxyl/Carbonyl 1.00 0.51 0.43 0.53 - 1.00 - <u>Prim./Sec.</u> <u>Amines</u> <u>1.00</u> <u>0.62</u> <u>0.62</u> <u>0.55</u> <u>1.00</u> <u>–</u> <u>–</u> <u>–</u> QM7/QM13 <sup>_<u>∗</u>_</sup> 1.00 0.72 0.61 0.90 0.83 0.70 0.80 QM9/QM17 <sup>_∗_</sup> 0.98 0.65 0.54 0.79 0.80 0.74 - 0.87 However, many of the hydrogens and carbons are clearly misclassified. Using the logits of each atom classification (i.e., the atomic outputs from the neural network before apply ing a sigmoid activation function), whenever these have large amplitudes it will imply that the model has a high confidence in attributing an atom. By plotting these amplitudes as 9 contours superimposed on molecular 2D structures, we can visually identify the important parts of a (mis)classification for a given molecule. Results of this type are presented in Fig. 1. (a) (b) (c) (d) Figure 1: Contour plots of the classifier logits (cf. text for details) for random examples of ( _a_ ) hydroxyls, ( _b_ ) carbonyls, ( _c_ ) primary amines, and ( _d_ ) secondary amines. Red and green contours correspond to negative and positive logits, respectively, which indicate predictions of hydroxyls and primary amines (red) and carbonyls and secondary amines (green). In Fig. 1, we observe how the classification of the alcohol in question focuses almost exclusively on both constituents of the hydroxyl group, with the hydrogen seemingly the most important atom. For the classification of the aldehyde, on the other hand, the foci of the model are less evident. While the carbonyl oxygen is obviously important to the overall classification, it is much less integral than in the hydroxyl case, with all the atoms in the molecule contributing to the correct classification. In the case of the two amine datasets, the nitrogens are similarly always correctly classified (cf. Table 2), while all other atoms are harder to distinguish between the primary and secondary amines. In fact, some of the hydro gens, either attached to or adjacent to a nitrogen, are even misclassified, which appears to 10 indicate that the local electronic structures associated with these two functional groups are more alike than for hydroxyls and carbonyls. This is arguably to be expected on the basis of chemical intuition alone. We here reiterate how these four datasets are intentionally patho logical in that they are limited in scope, and inferences of electronic structures present in one dataset from those in another should be unfeasible. For instance, the atomic energies of het erocyclic amines are known to differ significantly from those of primary ones, <sup>22</sup> and an ML model should thus have no sound basis for predicting the former if trained only on the latter. (a) (b) (c) (d) Figure 2: Contour plots of the classifier logits for random entries of the ( _a_ ) QM7, ( _b_ ) QM13 <sup>_∗_</sup>, ( _c_ ) QM9, and ( _d_ ) QM17 <sup>_∗_</sup> datasets. As in Fig. 1, red/green contours correspond to negative/positive logits, indicating predictions of QM7/9 (red) and QM13 <sup>_∗_</sup> /17 <sup>_∗_</sup> (green). For the QM7/9 and QM13 <sup>_∗_</sup> /17 <sup>_∗_</sup> datasets in Table 2 instead, given how carbon atoms constitute the main backbone of all the molecules of any of these, a fair assumption would be that, upon letting molecules grow in size, the most central carbons should be readily classified as belonging to any of the QM13 <sup>_∗_</sup> /17 <sup>_∗_</sup> datasets. On the other hand, those atoms 11 that reside near or within terminal groups should be harder to classify. An exception to this rule is fluorine, which has a seemingly high accuracy in the adversarial validation across the QM9/QM17 <sup>_∗_</sup> datasets, despite being a terminal atom. This is a result of the low number of molecules that contain F atoms in this restricted analysis (cf. Sect. 2.4); 23 of these belong to QM9 and only 4 to QM17 <sup>_∗_</sup>, which makes the classifier predict all fluorines as be longing to the former (as statistically evidenced by a Matthews correlation coefficient of 0.0). From the random examples in Fig. 2, we generally find these trends to align well with the predicted logits. While the limited sizes of the molecules of QM7 and—to some extent— QM9 allow for positive distinctions from those of QM13 <sup>_∗_</sup> and QM17 <sup>_∗_</sup>, respectively, it is predominantly the innermost elements that are successfully classified as belonging to the larger datasets. As an implication, training an ML model on QM7/9 and next applying it to QM13 <sup>_∗_</sup> /17 <sup>_∗_</sup> should yield small errors for peripheral atoms, with increasing atomic errors upon moving towards the center of the larger molecules of 13 and 17 heavy atoms each, respectively. Also, given how limited in composition the QM7 dataset is (7k molecules, as opposed to more than 125k in QM9), one would expect to see significantly larger overall errors for a model trained on QM7 and applied to QM13 <sup>_∗_</sup> than one trained on QM9 and applied to QM17 <sup>_∗_</sup> . In the following, both of these conjectures will be numerically asserted. #### 3.2 Functional Transferability Fig. 3 reports distributions of reference and predicted atomic energies for the hydroxyl and carbonyl datasets obtained using either data-driven or electronic-structure decompositions (both with respect to energies of atoms in vacuum). In the case of a data-driven decomposi tion ( _E_ NequIP), reference atomic energies are obtained by training and evaluating a standard `NequIP` model on the same dataset (based on total energies), which should then yield close to optimal atomic energies across this. Similar distributions of atomic energies for the primary and secondary amines are presented in Fig. S2 of the supporting information (SI). 12 150 100 50 0 50 100 100 0 100 200 300 H C O-H (ref) C=O (ref) C=O (pred) 100 O 200 300 400 NequIP IBO/IAO EDA Figure 3: Distributions of B3LYP/pcseg-1 reference (ref) atomic energies across the datasets of hydroxyl (O–H) and carbonyl (C=O) compounds alongside predicted (pred) atomic energies for the latter. The energies obtained from the data-driven and two electronic-structure decompositions are denoted as _E_ NequIP, _E_ IBO _/_ IAO, and _E_ EDA, respectively. As was previously studied in Ref. 35, atomic energies from an AO-based partitioning scheme (EDA) in a modest-sized basis set without augmentation by diffuse functions (pcseg 1) tend to all be negative in value and cluster within rather narrow bands without much binning of contributions within these. This observation is confirmed in the results of Fig. 3. In addition, the exact same pattern is observed to hold true, to an even greater extent, for the atomic energies returned by the standard `NequIP` model trained on total energies only. In fact, the separation between aliphatic and hydroxyl hydrogens is even less pronounced in the data-driven results, as is that between the different oxygens, for which the order of stabilization is even reversed with respect to both of the AO- and MO-based partitionings. 13 In the results of the MO-based decomposition (IBO/IAO) in Fig. 3, a much clearer dis tinction is observed between the atoms of the hydroxyl and carbonyl compounds, in support of the earlier observations made in Ref. 35. The same is true with respect to the separation of the nitrogens of the primary and secondary amines in Fig. S2, which also shows the nitrogens (and carbons) of heterocyclic amines as outliers in the energies of the latter set. In Fig. 3, the hydroxyl hydrogens are well separated from those bonded to carbon atoms, as are those adjacent to the C=O groups, and different classes of carbon atoms are binned into individual bands. Among the oxygens of the carbonyl compounds, a distinction between aldehydes and ketones is even observed. Unlike the energies of both the standard `NequIP` model and the AO-based EDA partitioning, those of the MO-based IBO/IAO analogue thus clearly reflect differences in local chemical environments and the electronic structures these give rise to. In Fig. S1 of the SI, we have further isolated atomic energies of carbon atoms belonging to different functional groups to emphasize how the IBO/IAO partitioning is the only among the three in Fig. 3 that convincingly and effectively account for this distinction. From the reference distributions in Fig. 3, alongside our prior knowledge of the hydroxyl and carbonyl datasets, one would expect an ML model trained exclusively on the former and evaluated on the latter to yield large errors, particularly given the unseen chemistry of the C=O groups. Fig. 4 confirms this assumption for a random ketone, in that errors in energies associated with atoms in or close to the carbonyl groups are observed for all three models. From the predicted energies in Fig. 3, the carbon energies in both the standard `NequIP` and EDA-based models are near mirror images of the reference values, while for the MO-based IBO/IAO model, the full destabilization of carbonyl carbons fails to manifest. In the same way, the oxygen energies change only marginally in the model based on EDA, which, given how the reference energies in-between the hydroxyl and carbonyl datasets practically (and fortuitously) coincide, lead to very low errors in the predictions of the trained model. The 14 <u>Total Energy</u> _E_ error = 50.54 kcal/mol <u>IBO/IAO</u> _E_ error = -74.34 kcal/mol <u>EDA</u> _E_ error = -3.9 kcal/mol _E_ error = 9.98 kcal/mol _E_ error = -35.37 kcal/mol _E_ error = -4.97 kcal/mol Figure 4: Errors in atomic energies for a random ketone (upper) and secondary amine (lower). Red and blue contours denote positive and negative errors, respectively. Errors have been normalized across the plots of the upper and lower panels to accentuate differences in results. `NequIP` model, on the other hand, yields positive errors in the oxygen energies, as does the IBO/IAO model. In the former case, this happens because the oxygens are all predicted to be practically identical to the ones of the hydroxyl compounds, whereas in the latter case, all oxygen energies are subject to an upwards shift with respect to the reference values for the hydroxyl compounds, which, although correct, is ultimately too large in magnitude. In terms of transferability across different classes of amines, this is observed to be a fundamentally more manageable task, cf. Fig. S2 of the SI. Errors are generally smaller than those observed for the application in-between hydroxyls and carbonyls, and only the standard (total energy) model exhibits basic problems in predicting the energies of the central nitrogen atoms. Statistics in support of Figs. 3, 4, and S2 are presented in Tables S1 and S2 of the SI. Important in the context of Sect. 3.1 and the discussions to follow in Sect. 3.3 is the fact that IBO/IAO-based errors tend to be large on or near unknown functional moieties, 15 but the smallest among all three models upon moving away from these bond-by-bond. #### 3.3 Compositional Transferability We will now shift focus from functional to compositional transferability. Less so than HDNNs built around fixed descriptors, e.g., atom-centered symmetry functions, message passing models with their learnable descriptors will still fundamentally rely on a set of atomic basis functions. For this reason alone, it is fair to assume some degree of equivalence between the data-driven decomposition of atomic energies from a model like `NeuqIP` and the energies yielded by an AO-based partitioning scheme like EDA, in which all energetic trace operations are restricted to the Gaussian basis functions spatially local to the individual atoms of a molecule. However, this will hold true only in basis sets without diffuse functions. As such, when comparing distributions of atomic energies yielded by either `NeuqIP` or EDA, while not as similar as was reported for the fixed-descriptor results in Ref. 35, the reference results across the QM7/13 <sup>_∗_</sup> and QM9/17 <sup>_∗_</sup> datasets in Figs. S3 and S4 of the SI largely show exactly this. Both sets of results are thus largely predetermined, as also evident from the fact that distributions of reference and predicted atomic energies are practically indistinguishable for both decompositions, regardless of which of the datasets one opts for, and results are further near-identical across all four of these. That being said, some differ ences between the `NeuqIP` and EDA reference results do exist, namely, in the noteworthy case of sulfur (Fig. S3), but on the whole the two resemble one another to a great extent. The results of the MO-based IBO/IAO decomposition, on the other hand, show much more diverse and structured distributions of atomic energies, with clear bands corresponding to specific atomic environments. Be that as it may, this increase in diversity among the atomic energies of the IBO/IAO decomposition, but also notable differences in the distributions of reference energies between training and testing datasets, are both perfectly reproduced in the results for QM13 <sup>_∗_</sup> /17 <sup>_∗_</sup> returned by the models built around the IBO/IAO decomposition. 16 Table 3: Molecular mean absolute errors (in kcal/mol) for the models trained on the QM7 and QM9 datasets and evaluated on QM13 <sup>_∗_</sup> and QM17 <sup>_∗_</sup>, respectively. The mean and standard deviations are obtained through five independent training runs, except for _l_ max = 1 _,_ 2 in the case of the model trained on QM9, for which only three independent runs were performed. <u>Total</u> <u>Energy</u> <u>IBO/IAO</u> <u>EDA</u> _l_ max <u>QM7/13</u> <sup>_<u>∗</u>_</sup> <u>QM9/17</u> <sup>_<u>∗</u>_</sup> <u>QM7/13</u> <sup>_<u>∗</u>_</sup> <u>QM9/17</u> <sup>_<u>∗</u>_</sup> <u>QM7/13</u> <sup>_<u>∗</u>_</sup> <u>QM9/17</u> <sup>_<u>∗</u>_</sup> <u>0</u> <u>17.02</u> _<u>±</u>_ <u>1.41</u> <u>6.06</u> _<u>±</u>_ <u>1.57</u> <u>17.42</u> _<u>±</u>_ <u>1.82</u> <u>5.25</u> _<u>±</u>_ <u>1.41</u> <u>11.37</u> _<u>±</u>_ <u>1.38</u> <u>7.48</u> _<u>±</u>_ <u>4.13</u> <u>1</u> <u>6.22</u> _<u>±</u>_ <u>0.33</u> <u>1.79</u> _<u>±</u>_ <u>0.06</u> <u>6.71</u> _<u>±</u>_ <u>0.32</u> <u>2.46</u> _<u>±</u>_ <u>0.15</u> <u>6.20</u> _<u>±</u>_ <u>0.34</u> <u>3.36</u> _<u>±</u>_ <u>0.33</u> 2 5.70 _±_ 0.53 1.36 _±_ 0.11 5.10 _±_ 0.05 1.77 _±_ 0.08 4.60 _±_ 0.11 2.28 _±_ 0.04 In Table 3, we report mean absolute errors (MAEs) for the transferability tests of the models trained on either QM7 or QM9 and applied to QM13 <sup>_∗_</sup> or QM17 <sup>_∗_</sup>, respectively. We report three different model architectures, where the _l_ max parameter—corresponding to the highest rotation order allowed in the internal `NeuqIP` representation—is varied from 0 to 2. _l_ max = 0 thus provides no equivariance, corresponding to an invariant MPNN, while models with higher values of the _l_ max parameter encode more angular information into the models, at the expense of increased computational costs involved in the training phase. Training curves for _l_ max = 0 _−_ 2 are provided for the models trained on QM9 in Figs. S5–S7 of the SI. For both transferability tests, we see a systematic decrease in the associated errors as _l_ max is increased for all three differently trained models and across both training sets (QM7/9). On the whole, the results in Table 3 appear to show that the individual models perform comparatively well, but also that the QM7 dataset is likely too limited in both size and composition (functional diversity, distinct motifs, etc.) to act as a realistic training pool for inferring electronic structures of larger molecular systems. Drawing also on our adversarial validation in Sect. 3.1, we will now proceed to inspect ( _i_ ) whether QM7 is indeed unfit for purpose and ( _ii_ ) if the different models yield comparative performances for the same reasons. On par with Fig. 4, Fig. 5 shows errors in predicted atomic energies of the different mod 17 <u>Total Energy</u> Eerror = 0.43 kcal/mol <u>IBO/IAO</u> Eerror = 0.33 kcal/mol <u>EDA</u> Eerror = 0.73 kcal/mol Figure 5: Errors in atomic energies for a random QM17 <sup>_∗_</sup> molecule ( _l_ max = 1). els trained on QM9 for a random molecule of the QM17 <sup>_∗_</sup> test set, with additional examples provided in Fig. S9 of the SI. <sup>58</sup> While only individual, selected examples, these results for the models based on IBO/IAO and EDA data appear to support the conclusions drawn from the earlier adversarial validation, namely, that the central atoms exhibit the largest errors. In contrast, for the model based exclusively on total energies across the QM9 dataset, the er rors against a reference data-driven decomposition derived from QM17 <sup>_∗_</sup> itself are distributed across the entire molecule and seemingly lacking any systematic trends ( _vide_ _infra_ ). To further support these claims, we compute dataset-wide statistics for the individual atomic errors by using `RDKit` to identify central atoms and `NetworkX` to traverse outwards away from these in the graphs, one bond at a time, akin to what was done in Tables S1 and S2 of the SI. <sup>59,60</sup> In doing so, we choose to fold in all errors associated with hydrogen atoms onto their nearest heavy atom, like in Fig. 5; given how errors for hydrogens are uniformly small in magnitude, including these individually would risk conflating the general picture. The results in Fig. 6 collectively give rise to a number of key observations of great im portance to the present study. First, the QM7 dataset is obviously not fit for the purpose of generalizing its chemistry to larger systems. As alluded to earlier, this is due to its very limited size but crucially also the fact that the diversity of its chemical composition is in sufficient. A comparison of the learning curves in Fig. S8 of the SI further supports this 18 8 6 4 2 0 2 4 8 6 4 2 0 2 4 8 6 4 2 0 2 <u>lmax = 2</u> <u>Mean Absolute Error</u> <u>Mean Error</u> ~~Total Energy~~ ~~IBO/IAO~~ ~~EDA~~ <u>lmax = 0</u> <u>lmax = 1</u> 4 <u>CA</u> <u>1B</u> <u>2B</u> <u>3B</u> <u>4B</u> <u>5B</u> <u>6B</u> <u>7B</u> <u>CA</u> <u>1B</u> <u>2B</u> <u>3B</u> <u>4B</u> <u>5B</u> <u>6B</u> <u>7B</u> Figure 6: Mean absolute and signed errors (in kcal/mol) for the various models as we traverse _n_ bonds ( _n_ B) away from the central atoms (CA) in QM13 <sup>_∗_</sup> (dashed) and QM17 <sup>_∗_</sup> (solid). observation, as does the alternative version of Fig. 6 in Fig. S10; here, a model built on a reduced QM9 training set of only 10k molecules (comparable to the size of QM7) still produces transferability results in moving from QM9 to QM17 <sup>_∗_</sup> that strongly resemble those in Fig. 6. Regardless of the model of choice, and regardless of whether one chooses to gauge performance based on mean absolute or signed errors, the QM7-based curves in Fig. 6 are observed to plateau, with atomic errors in peripheral regions of the QM13 <sup>_∗_</sup> molecules often as large as those in the most central regions (which are otherwise expected to be the greatest). Second, turning to the models trained exclusively on total energies, while these observe decent overall regression capabilities (particularly in the application to the QM17 <sup>_∗_</sup> dataset when trained on QM9, cf. Table 3 and Fig. S8), the atomic transferability in-between 19 different training pools is inherently poor. Errors associated with the individual atoms are observed to be distinctively erratic and unsystematic, and optimal atomic energies thus differ significantly in moving from one training set to another, e.g., using either QM9 or QM17 <sup>_∗_</sup> for this purpose. In this context, it is important to note that large mean errors for these models in Fig. 6 do not necessarily translate into corresponding errors in predictions of total energies; that being said, the results in Fig. 6 succinctly show how atomic energies from data-driven compositions are but arbitrary variables and, thus, that these cannot reasonably be used to draw conclusions on local electronic structures and associated properties of these. Finally, for the models based on the atomic energies of an MO-based IBO/IAO decompo sition of QM9 (particularly for _l_ max _≥_ 1), errors in ML predictions of the QM17 <sup>_∗_</sup> counterparts are not only observed to be small on average but also well spatially localized around the atoms of regions within the molecules of QM17 <sup>_∗_</sup> that are expected, on the grounds of adversarial validation, to be most foreign to a given model. While the models based on an AO-based EDA decomposition observe the same overall trend, they do so at significantly larger mean absolute errors for the innermost atoms. In addition, it is arguably worth reiterating once more how this type of decomposition is highly sensitive to the composition of an AO basis of choice, unlike the decomposition scheme based on the spatial locality of MOs instead. The IBO/IAO-based models are thus evidently the most systematic in the exercise concerned with inferring local electronic structures of the molecules in QM17 <sup>_∗_</sup> based on those present in QM9, a feature which ultimately lends itself to the fact that these local objects are both physically sound and unique in a robust MO-based decomposition like that based on a com bination of IBOs and IAO weights. As such, the results in Fig. 6 hence give credence to the fundamental premise that local electronic structures around atoms embedded within ex tended molecules can indeed be successfully learned by means of contemporary, atom-based HDNNs, preferably ones that make proper use of equivariance rather than mere invariance. 20 ### 4 Discussion and Conclusions In the present work, we have employed adversarial validation as a means to distinguish be tween different molecular datasets for the task of machine learning both total and atomic energies, with a view to analyzing and predicting when and how transferability between differ ent chemically diverse datasets is to be expected and on what grounds. Using this technique, we have identified which specific parts (atomic regions) of a molecule any rigorous machine model is prone to exhibit larger errors for due to unseen chemical environments. We have demonstrated the usefulness of adversarial validation in two different contexts; first, through the application to two pathological, proof-of-concept examples, in which the datasets for training and testing were intentionally made to contain different functional groups. Second, adversarial validation was used to study transferability with respect to molecular composi tion by gauging when and how generalization to unseen chemistry will be sensible or not. Our deduced similarities and possible discrepancies between any two datasets were next numerically tested by training equivariant neural networks on either total molecular ener gies only or a combination of these and a set of decomposed, atomic energies obtained at the level of Kohn-Sham density functional theory. In tests of both functional and composi tional transferabilty—through applications between both pathological and realistic molecu lar datasets—we have found the inference of physically sound local electronic structures and properties to be feasible only whenever adequate knowledge of these is embedded into the training pool. In other words, only whenever an ML model is trained on sufficient informa tion of the intrinsic local properties associated with different chemical functional groups and motifs will it be reasonable to expect the generalization of atomic errors to align with prior indications of the spatial parts of a molecule for which ML predictions should face difficulties. We find the popular QM7 dataset to be too limited in both size and functional com position to warrant such generalizations to larger systems, while the more comprehensive 21 QM9 dataset may indeed allow for this, given that the body of atomic energies available for training purposes satisfactorily exposes the uniqueness of different functional moieties within molecules. A decomposition scheme based on tailored spatially localized molecular orbitals (IBOs) and a set of appropriate atomic weights (determined from IAOs) has been shown to accommodate these requirements, while alternatives based on the spatial locality of atomic orbitals alone are deemed less fit due to being too insensitive to differences in lo cal atomic environments (even disregarding the strong basis set dependence of such schemes). Moving forward, we foresee that the use of befitting atomic energies for training high dimensional neural networks will be beneficial, particularly in low-data regimes. More data points may be extracted from any given number of electronic-structure simulations and thus be made available in the training pool. Moreover, even for generalization purposes, where one desires to transfer performance in predictions from one diverse dataset to another, may such models have favourable advantages over the current standard of training only on total molecular energies. As we have demonstrated in the course of the present work, chemically intuitive atomic energies can indeed be inferred from common atom-based neural network architectures, especially whenever these implement equivariant features, and this paves the way towards being able to make qualified predictions of local energy contributions and bridge changes in these to key chemical concepts, such as, selectivity, reactivity, and stability. ### Acknowledgments This work was supported by two research grants awarded to JJE, no. 37411 from VILLUM FONDEN (a part of THE VELUX FOUNDATIONS) and no. 10.46540/2064-00007B from the Independent Research Fund Denmark. 22 ### Supporting Information The supporting information (SI) contains two training configurations (as accompanying YAML files) for models based either exclusively on total energies or a combination of these and corresponding atomic energies, `example_total.yaml` and `example_atom.yaml` . In addi tion, Tables S1 and S2 report the spatial (bond-wise) distribution of atomic errors in relation to the results in Sect. 3.2, while Figs. S1 and S2 present further results on par with Fig. 3, and Figs. S3 and S4 presents these same kind of results for the QM7/9 and QM13 <sup>_∗_</sup> /17 <sup>_∗_</sup> datasets. Training curves for the models of Sect. 3.3 are provided in Figs. S5–S7, Fig. S8 presents corresponding learning curves, while Fig. S9 presents results similar to the ones in Fig. 5 but for two other entries of QM17 <sup>_∗_</sup> . Finally, Fig. S10 presents a version of Fig. 6 for which the training set available to the QM9-based model was reduced to 10k molecules. ### Data Availability Data in support of the findings of this study are available within the article, the supporting information, and in a dedicated Zenodo repository (DOI: 10.5281/zenodo.13837539). ### References (1) Blank, T. B.; Brown, S. D.; Calhoun, A. W.; Doren, D. J. Neural Network Models of Potential Energy Surfaces. <u>J.</u> <u>Chem.</u> <u>Phys.</u> 1995, <u>103,</u> 4129. (2) Gassner, H.; Probst, M.; Lauenstein, A.; Hermansson, K. Representation of Intermolec ular Potential Functions by Neural Networks. <u>J.</u> <u>Phys.</u> <u>Chem.</u> <u>A</u> 1998, <u>102,</u> 4596. (3) Lorenz, S.; Groß, A.; Scheffler, M. Representing High-Dimensional Potential-Energy Surfaces for Reactions at Surfaces by Neural Networks. <u>Chem.</u> <u>Phys.</u> <u>Lett.</u> 2004, <u>395,</u> 210. 23 (4) Behler, J.; Parrinello, M. Generalized Neural-Network Representation of High Dimensional Potential-Energy Surfaces. <u>Phys.</u> <u>Rev.</u> <u>Lett.</u> 2007, <u>98,</u> 146401. (5) Handley, C. M.; Hawe, G. I.; Kell, D. B.; Popelier, P. L. A. Optimal Construction of a Fast and Accurate Polarisable Water Potential Based on Multipole Moments Trained by Machine Learning. <u>Phys.</u> <u>Chem.</u> <u>Chem.</u> <u>Phys.</u> 2009, <u>11,</u> 6365. (6) Handley, C. M.; Popelier, P. L. A. Potential Energy Surfaces Fitted by Artificial Neural Networks. <u>J.</u> <u>Phys.</u> <u>Chem.</u> <u>A</u> 2010, <u>114,</u> 3371. (7) Behler, J. Neural Network Potential-Energy Surfaces in Chemistry: A Tool for Large Scale Simulations. <u>Phys.</u> <u>Chem.</u> <u>Chem.</u> <u>Phys.</u> 2011, <u>13,</u> 17930. (8) Li, Z.; Kermode, J. R.; De Vita, A. Molecular Dynamics with On-the-Fly Machine Learning of Quantum-Mechanical Forces. <u>Phys.</u> <u>Rev.</u> <u>Lett.</u> 2015, <u>114,</u> 096405. (9) Hansen, K.; Biegler, F.; Ramakrishnan, R.; Pronobis, W.; Von Lilienfeld, O. A.; Muller, K.-R.; Tkatchenko, A. Machine Learning Predictions of Molecular Properties: Accurate Many-Body Potentials and Nonlocality in Chemical Space. <u>J.</u> <u>Phys.</u> <u>Chem.</u> <u>Lett.</u> 2015, <u>6,</u> 2326. (10) Botu, V.; Ramprasad, R. Adaptive Machine Learning Framework to Accelerate _Ab_ _Initio_ Molecular Dynamics. 2015, <u>115,</u> 1074. (11) Rupp, M.; Ramakrishnan, R.; Von Lilienfeld, O. A. Machine Learning for Quantum Mechanical Properties of Atoms in Molecules. <u>J.</u> <u>Phys.</u> <u>Chem.</u> <u>Lett.</u> 2015, <u>6,</u> 3309. (12) Chmiela, S.; Sauceda, H. E.; Müller, K.-R.; Tkatchenko, A. Towards Exact Molecular Dynamics Simulations with Machine-Learned Force Fields. <u>Nat.</u> <u>Commun.</u> 2018, <u>9,</u> 1. (13) Christensen, A. S.; Von Lilienfeld, O. A. On the Role of Gradients for Machine Learning of Molecular Energies and Forces. <u>Mach.</u> <u>Learn.:</u> <u>Sci.</u> <u>Technol.</u> 2020, <u>1,</u> 045018. 24 (14) Unke, O. T.; Chmiela, S.; Sauceda, H. E.; Gastegger, M.; Poltavsky, I.; Schütt, K. T.; Tkatchenko, A.; Müller, K.-R. Machine Learning Force Fields. <u>Chem.</u> <u>Rev.</u> 2021, <u>121,</u> 10142. (15) Behler, J. Four Generations of High-Dimensional Neural Network Potentials. <u>Chem.</u> <u>Rev.</u> 2021, <u>121,</u> 10037. (16) Rupp, M.; Tkatchenko, A.; Müller, K.-R.; Von Lilienfeld, O. A. Fast and Accurate Modeling of Molecular Atomization Energies with Machine Learning. <u>Phys.</u> <u>Rev.</u> <u>Lett.</u> 2012, <u>108,</u> 058301. (17) Smith, J. S.; Isayev, O.; Roitberg, A. E. `ANI-1` : An Extensible Neural Network Potential with DFT Accuracy at Force Field Computational Cost. <u>Chem.</u> <u>Sci.</u> 2017, <u>8,</u> 3192. (18) Schütt, K. T.; Sauceda, H. E.; Kindermans, P.-J.; Tkatchenko, A.; Müller, K.-R. `SchNet` - A Deep Learning Architecture for Molecules and Materials. <u>J.</u> <u>Chem.</u> <u>Phys.</u> 2018, <u>148,</u> 241722. (19) Chen, X.; Jørgensen, M. S.; Li, J.; Hammer, B. Atomic Energies from a Convolutional Neural Network. <u>J.</u> <u>Chem.</u> <u>Theory</u> <u>Comput.</u> 2018, <u>14,</u> 3933. (20) Meldgaard, S. A.; Kolsbjerg, E. L.; Hammer, B. Machine Learning Enhanced Global Optimization by Clustering Local Environments to Enable Bundled Atomic Energies. <u>The</u> <u>Journal</u> <u>of</u> <u>chemical</u> <u>physics</u> 2018, <u>149.</u> (21) Jensen, J. H. A Graph-Based Genetic Algorithm and Generative Model/Monte Carlo Tree Search for the Exploration of Chemical Space. <u>Chem.</u> <u>Sci.</u> 2019, <u>10,</u> 3567. (22) Kjeldal, F. Ø.; Eriksen, J. J. Properties of Local Electronic Structures. J. Chem. Theory <u>Comput.</u> 2023, <u>19,</u> 9228. (23) Schütt, K. T.; Arbabzadah, F.; Chmiela, S.; Müller, K. R.; Tkatchenko, A. Quantum Chemical Insights from Deep Tensor Neural Networks. <u>Nat.</u> <u>Commun.</u> 2017, <u>8,</u> 13890. 25 (24) Unke, O. T.; Meuwly, M. A Reactive, Scalable, and Transferable Model for Molecular Energies from a Neural Network Approach Based on Local Information. J. Chem. Phys. 2018, <u>148.</u> (25) Gilmer, J.; Schoenholz, S. S.; Riley, P. F.; Vinyals, O.; Dahl, G. E. Neural Message Passing for Quantum Chemistry. <u>Int.</u> <u>Conf.</u> <u>Mach.</u> <u>Learn.</u> 2017, 1263. (26) Unke, O. T.; Meuwly, M. `PhysNet` : A Neural Network for Predicting Energies, Forces, Dipole Moments, and Partial Charges. <u>J.</u> <u>Chem.</u> <u>Theory</u> <u>Comput.</u> 2019, <u>15,</u> 3678. (27) Schütt, K.; Kindermans, P.-J.; Sauceda Felix, H. E.; Chmiela, S.; Tkatchenko, A.; Müller, K.-R. `Schnet` : A Continuous-Filter Convolutional Neural Network for Modeling Quantum Interactions. <u>Adv.</u> <u>Neural</u> <u>Inf.</u> <u>Process</u> <u>Syst.</u> 2017, <u>30.</u> (28) Batzner, S.; Musaelian, A.; Sun, L.; Geiger, M.; Mailoa, J. P.; Kornbluth, M.; Moli nari, N.; Smidt, T. E.; Kozinsky, B. E(3)-Equivariant Graph Neural Networks for Data Efficient and Accurate Interatomic Potentials. <u>Nat.</u> <u>Commun.</u> 2022, <u>13,</u> 2453. (29) Musaelian, A.; Batzner, S.; Johansson, A.; Sun, L.; Owen, C. J.; Kornbluth, M.; Kozin sky, B. Learning Local Equivariant Representations for Large-Scale Atomistic Dynam ics. <u>Nat.</u> <u>Commun.</u> 2023, <u>14,</u> 579. (30) Nakai, H. Energy Density Analysis with Kohn-Sham Orbitals. Chem. Phys. Lett. 2002, <u>363,</u> 73. (31) Kikuchi, Y.; Imamura, Y.; Nakai, H. One-Body Energy Decomposition Schemes Revis ited: Assessment of Mulliken-, Grid-, and Conventional Energy Density Analyses. <u>Int.</u> <u>J.</u> <u>Quantum</u> <u>Chem.</u> 2009, <u>109,</u> 2464. (32) Eriksen, J. J. Mean-Field Density Matrix Decompositions. <u>J.</u> <u>Chem.</u> <u>Phys.</u> 2020, <u>153,</u> 214109. 26 (33) Eriksen, J. J. Electronic Excitations Through the Prism of Mean-Field Decomposition Techniques. <u>J.</u> <u>Chem.</u> <u>Phys.</u> 2022, <u>156,</u> 061101. (34) Eriksen, J. J. Decomposed Mean-Field Simulations of Local Properties in Condensed Phases. <u>J.</u> <u>Phys.</u> <u>Chem.</u> <u>Lett.</u> 2021, <u>12,</u> 6048. (35) Kjeldal, F. Ø.; Eriksen, J. J. Decomposing Chemical Space: Applications to the Ma chine Learning of Atomic Energies. <u>J.</u> <u>Chem.</u> <u>Theory</u> <u>Comput.</u> 2023, <u>19,</u> 2029. (36) Zamok, L.; Eriksen, J. J. Atomic Decompositions of Periodic Electronic-Structure Sim ulations. 2024; arXiv:2407.10148. (37) Knizia, G. Intrinsic Atomic Orbitals: An Unbiased Bridge Between Quantum Theory and Chemical Concepts. <u>J.</u> <u>Chem.</u> <u>Theory</u> <u>Comput.</u> 2013, <u>9,</u> 4834. (38) Lehtola, S.; Jónsson, H. Pipek-Mezey Orbital Localization Using Various Partial Charge Estimates. <u>J.</u> <u>Chem.</u> <u>Theory</u> <u>Comput.</u> 2014, <u>10,</u> 642. (39) Eriksen, J. J. `decodense` : A Decomposed Mean-Field Theory Code. `[https://github.](https://github.com/januseriksen/decodense)` `[com/januseriksen/decodense](https://github.com/januseriksen/decodense)` . (40) For the model configuration, we used the standard `NequIP` defaults. Example configu ration files can be found among the SI as YAML files. In general, no optimization of hyperparameters was done to ensure a fair comparison between the different models. (41) Blum, L. C.; Reymond, J.-L. 970 Million Druglike Small Molecules for Virtual Screening in the Chemical Universe Database GDB-13. <u>J.</u> <u>Am.</u> <u>Chem.</u> <u>Soc.</u> 2009, <u>131,</u> 8732. (42) The pruned QM9 dataset of Ref. 51 contained a total of 130,831 entries. From the single-point calculations in `PySCF` at the B3LYP/pcseg-1 level of theory performed in the course of the present study, alongside the subsequent orbital localizations needed in `decodense`, a total of 125,761 molecules passed all convergence and stability checks. 27 (43) Ruddigkeit, L.; van Deursen, R.; Blum, L. C.; Reymond, J.-L. Enumeration of 166 Billion Organic Small Molecules in the Chemical Universe Database GDB-17. J. Chem. <u>Inf.</u> <u>Model.</u> 2012, <u>52,</u> 2864. (44) Becke, A. D. Density-Functional Thermochemistry. III. The Role of Exact Exchange. <u>J.</u> <u>Chem.</u> <u>Phys.</u> 1993, <u>98,</u> 5648. (45) Stephens, P. J.; Devlin, F. J.; Chabalowski, C. F.; Frisch, M. J. _Ab_ _Initio_ Calculation of Vibrational Absorption and Circular Dichroism Spectra Using Density Functional Force Fields. <u>J.</u> <u>Phys.</u> <u>Chem.</u> 1994, <u>98,</u> 11623. (46) Frisch, M. J.; Trucks, G. W.; Schlegel, H. B.; Scuseria, G. E.; Robb, M. A.; Cheese man, J. R.; Scalmani, G.; Barone, V. P. G. A.; Petersson, G. A.; Nakatsuji, H. J. R. A., et al. `Gaussian` `16`, Revision A. 03. <u>Gaussian</u> <u>Inc.,</u> <u>Wallingford</u> <u>CT</u> 2016, <u>3.</u> (47) Sun, Q.; Berkelbach, T. C.; Blunt, N. S.; Booth, G. H.; Guo, S.; Li, Z.; Liu, J.; McClain, J. D.; Sayfutyarova, E. R.; Sharma, S.; Wouters, S.; Chan, G. K.-L. `PySCF` : The Python-Based Simulations of Chemistry Framework. <u>WIREs</u> <u>Comput.</u> <u>Mol.</u> <u>Sci.</u> 2018, <u>8,</u> e1340. (48) Sun, Q.; Zhang, X.; Banerjee, S.; Bao, P.; Barbry, M.; Blunt, N. S.; Bogdanov, N. A.; Booth, G. H.; Chen, J.; Cui, Z.-H.; Eriksen, J. J.; Gao, Y.; Guo, S.; Hermann, J.; Hermes, M. R.; Koh, K.; Koval, P.; Lehtola, S.; Li, Z.; Liu, J.; Mardirossian, N.; Mc Clain, J. D.; Motta, M.; Mussard, B.; Pham, H. Q.; Pulkin, A.; Purwanto, W.; Robin son, P. J.; Ronca, E.; Sayfutyarova, E. R.; Scheurer, M.; Schurkus, H. F.; Smith, J. E. T.; Sun, C.; Sun, S.-N.; Upadhyay, S.; Wagner, L. K.; Wang, X.; White, A.; Whit field, J. D.; Williamson, M. J.; Wouters, S.; Yang, J.; Yu, J. M.; Zhu, T.; Berkel bach, T. C.; Sharma, S.; Sokolov, A. Y.; Chan, G. K.-L. Recent Developments in the `PySCF` Program Package. <u>J.</u> <u>Chem.</u> <u>Phys.</u> 2020, <u>153,</u> 024109. 28 (49) Jensen, F. Polarization Consistent Basis Sets: Principles. <u>J.</u> <u>Chem.</u> <u>Phys.</u> 2001, <u>115,</u> 9113. (50) From the geometry optimizations, 3,814 molecules converged with no imaginary fre quencies, of which 3,553 successfully passed a subsequent SCF stability check in `PySCF` . (51) Ramakrishnan, R.; Dral, P. O.; Rupp, M.; Von Lilienfeld, O. A. Quantum Chemistry Structures and Properties of 134 Kilo Molecules. <u>Sci.</u> <u>Data</u> 2014, <u>1,</u> 1. (52) Butina, D. Unsupervised Data Base Clustering Based on Daylight’s Fingerprint and Tanimoto Similarity: A Fast and Automated Way to Cluster Small and Large Data Sets. <u>J.</u> <u>Chem.</u> <u>Inf.</u> <u>Comput.</u> <u>Sci.</u> 1999, <u>39,</u> 747. (53) Schneider, N.; Lowe, D. M.; Sayle, R. A.; Landrum, G. A. Development of a Novel Fingerprint for Chemical Reactions and Its Application to Large-Scale Reaction Clas sification and Similarity. <u>J.</u> <u>Chem.</u> <u>Inf.</u> <u>Model.</u> 2015, <u>55,</u> 39. (54) Shrivastava, A. D.; Kell, D. B. `FragNet`, A Contrastive Learning-Based Transformer Model for Clustering, Interpreting, Visualizing, and Navigating Chemical Space. <u>Molecules</u> 2021, <u>26,</u> 2065. (55) Routh, P. K.; Liu, Y.; Marcella, N.; Kozinsky, B.; Frenkel, A. I. Latent Representation Learning for Structural Characterization of Catalysts. <u>J.</u> <u>Phys.</u> <u>Chem.</u> <u>Lett.</u> 2021, <u>12,</u> 2086. (56) Zając, Z. Adversarial Validation, Part One. `[https://fastml.com/](https://fastml.com/adversarial-validation-part-one/)` `[adversarial-validation-part-one/](https://fastml.com/adversarial-validation-part-one/)` (Accessed: September 27, 2024). (57) Walters, P. Getting Real with Molecular Property Predic tion. `[https://practicalcheminformatics.blogspot.com/2023/06/](https://practicalcheminformatics.blogspot.com/2023/06/getting-real-with-molecular-property.html)` `[getting-real-with-molecular-property.html](https://practicalcheminformatics.blogspot.com/2023/06/getting-real-with-molecular-property.html)` (Accessed: September 27, 2024). 29 (58) Unlike in Fig. 4, potential errors in the atomic energies of hydrogens have been folded in onto the nearest heavy atom in the results of both Figs. 5 and S9. (59) `RDKit` : Open-Source Cheminformatics. `[https://www.rdkit.org](https://www.rdkit.org)` (Accessed: Septem ber 27, 2024). (60) Hagberg, A. A.; Schult, D. A.; Swart, P. J. Exploring Network Structure, Dynamics, and Function Using `NetworkX` . Proceedings of the 7th Python in Science Conference (SciPy2008). Pasadena, CA, USA, 2008; p 11. 30

섹션 본문 53문단 · 37,805자

(제목 없음)

1Machine-learning models in chemistry-when based on descriptors of atoms embedded within molecules-face essential challenges in transferring the quality of predictions of local electronic structures and their associated properties across chemical compound space.In the present work, we make use of adversarial validation to elucidate certain intrinsic complications related to machine inferences of unseen chemistry.On this basis, we employ invariant and equivariant neural networks-both trained either exclusively on total molecular energies or a combination of these and data from atomic partitioning schemes-to evaluate how such models scale performance-wise between datasets of fundamentally different functionality and composition.We find the inference of local electronic properties to improve significantly when training models on augmented data that appropriately expose local functional features.However, molecular datasets for training purposes must themselves be sufficiently comprehensive and rich in composition to warrant any generalizations to larger systems, and even then, transferability can still only genuinely manifest if the body of atomic energies available for training purposes exposes the uniqueness of different functional moieties within molecules.We demonstrate this point by comparing machine models trained on atomic partitioning schemes based on the spatial locality of either native atomic or molecular orbitals.

Introduction

2The success of supervised machine learning (ML) in applications to electronic-structure problems relies fundamentally on the ability of such models to transfer performance in predictions from known to unknown chemistry.Given how ML generally excels at interpolation rather than extrapolation to out-of-distribution data, significant challenges are necessarily faced when seeking to infer chemical properties for molecular datasets that are fundamentally different to those available for training and validation.The enhancement of extrapolation performance is therefore not merely a question of designing sufficiently flexible and physically motivated model architectures but also of curating necessary diversity within the underlying training pool, an either costly or inherently scarce resource in the overall design process.

3One prominent form of such transferability is that which rules across conformational space, e.g., when using ML as a vehicle for simulations of molecular dynamics where the number of atoms and chemical composition are kept fixed.Here, unseen chemistry explored in various regions on a potential energy surface must resemble that used to train the ML model in a way that will facilitate predictions to predominantly rely on interpolations.7][18] The task of learning chemistry across compositional space in a transferable manner is thus contingent on the ability to generalize inferences from smaller to larger and, possibly, more complex molecular systems.Not only will the design of sophisticated encodings of unique atomic environments matter, but so will also the abundance of diverse functional motifs in the training data.The ruling premise here is that if local chemical environments are to be learned and generalized, a spatial localization of the chemistry at hand must somehow be enforced.In the course of the present work, we will demonstrate how to accomplish exactly this by exposing intrinsically local features within the training data, features which are indeed transferable.[24] Over the years, a wealth of different ML architectures have been proposed.The arguably most successful of these are the so-called high-dimensional neural networks (HDNNs), in which the total energy of a molecule is decomposed into a sum of N atomic contributions,

4(

5This decomposition inherently allows the model to scale to arbitrary size by treating each atom locally.Descriptors of the local chemical environments around atoms are encoded somehow, and a feed-forward neural network is used to calculate an energy for each atom based on these.Originally, HDNNs were designed to model high-dimensional potential energy surfaces (hence their name), but the architecture has since been used to transfer and generalize property predictions across limited regions of chemical compound space as well.

6Two main flavors of HDNNs exist, differing from one another primarily in how the local chemical environment of an atom embedded within a molecule is represented and, implicitly, how it interacts with its neighbours.Traditional HDNNs are based on fixed analytical descriptors of local chemical environments in terms of atom-centered symmetry functions that encode two-and three-body information within a certain spatial region. 46][27] Most re-cently, MPNNs relying on equivariances rather than just invariances have started emerging, whereby more (angular) information gets encoded into the representation of atoms. 28,29ile the architecture of neural network models depend crucially on locality assump- The present study is outlined as follows.In Sect.2, we present the specific atomic decomposition schemes, datasets, and machine-learning models used throughout.Sect. 3 covers both proof-of-concept and more realistic experiments relating to transferability across functional and compositional space, while Sect. 4 provides some conclusions and an outlook.

Computational Details

7In Sect.

Atomic Decomposition Schemes

8As discussed in a recent study of ours, 22 the total molecular energy of a given system at the level of Kohn-Sham density functional theory (KS-DFT) may be decomposed amongst its atoms based on the spatial locality of either its atomic (AOs) or molecular orbitals (MOs).Specifically, in the standard energy density analysis (EDA) scheme of Nakai, 30,31 one partitions the full 1-electron reduced density matrix ( As has previously been demonstrated, [33][34][35][36] intrinsic bond orbitals (IBOs) and Mulliken-like population weights determined in an intermediate basis of intrinsic atomic orbitals (IAOs) constitute excellent choices, 37,38 owing to their stability upon a change of AO basis and ease of chemical interpretation.All decompostions have been performed in the decodense code. 39 contrast to the electronic-structure decomposition schemes discussed above, an atomic partitioning may also be inferred from vast amounts of quantum-chemical data.For instance, in the application of HDNNs, one naturally obtains quantities popularly referred to as atomic energies from the chemical locality assumption underpinning Eq. 1.These energies essentially serve as additional degrees of freedom that allow for the NN architecture to scale to systems of different composition and size; earlier studies have sought to investigate the physical relevance of data-derived atomic energies, e.g., in the stability of aromatic rings or for use in evolutionary algorithms. 19,23,24Be that as it may, one obvious drawback of these decom-positions is the sensitive dependency on the underlying data, which may negatively conflate local chemical information and, in turn, prevent the transferability of atomic properties.

Neural Network Architecture and Training

9Throughout the present study, we will use NequIP 28 -a leading equivariant MPNN-for training all of our proposed machine models. 40Our loss function is of mean square error (MSE) type with separate weightings of total (E) and atomic (E) energy error contributions,

10To train a data-driven decomposition scheme, only the total energies of a given dataset matter, that is, we set λ E ≡ 0 (denoting these as total energy models).For the models trained also on atomic energies from electronic-structure decompositions (EDA or IBO/IAO), we use a uniform weighting, λ E ≡ λ E ≡ 1.The inclusion of total energies has previously been found to be important, as these regularize errors in atomic energies to cancel more favorably. 35In training our networks, 80% of a given dataset is used for training, leaving 20% for validation, and the test set is trivially kept separate and used only after the network has been trained.Throughout our study, atomic energies will be reported as contributions to molecular atomization energies, that is, with respect to isolated atoms in the gas phase.

Datasets

11To illustrate some of the inherent difficulties in transferring predictions across different kinds of chemistry, we have curated a number of small datasets with exclusive chemical motifs, namely, hydroxyls, carbonyls, as well as primary and secondary amines.For instance, the exercise of predicting atomization energies of carbonyl-containing compounds by means of a model trained exclusively on molecules containing hydroxyl functional groups is deliberately unrealistic; but, as we will discuss, it may provide key insights into more realistic chemical problems of transferability.These modest datasets have all been derived from QM7. 41 Next, two larger datasets have been designed to probe transferability in transitioning from small to larger and more complex molecular systems.The so-called QM13 * and QM17 * datasets are derived from the parent GDB13 and GDB17 datasets, 41,43 respectively, by retaining only entries that consist of exactly 13 and 17 non-hydrogen atoms.In the case of QM13 * , 5,000 random molecules built from H, C, N, O, and S atoms were extracted from the GDB13 dataset so as to align with the chemical composition of QM7.5][46] Single-point calculations in PySCF 47,48 and energy decompositions in decodense 39 were subequently performed at the B3LYP/pcseg-1 level of theory, 49 resulting in 3,553 entries of the dataset. 50Likewise, QM17 * consists of 4,670 entries drawn from a random pool of 10k molecules from GDB17, of which the QM9 dataset is also a subset. 51ble 1 provides detailed information on the composition of all datasets of the present study.

Adversarial Validation

12Beyond statistics about chemical composition, such as, molecular size, atom types, functional motifs, etc., tangible differences between datasets, particularly on a single-molecule level, may still prove difficult to quantify.One commonly used approach for comparing two chemical datasets involves calculating descriptors for each molecule before performing some form of unsupervised learning, e.g., clustering or dimensionality reductions 52,53 The computation of these descriptors is computationally inexpensive, but the procedure has the distinct disadvantage of relying on fixed chemical descriptors, descriptors which, in the case of MPNNs, are iteratively learned rather than precomputed.One therefore runs the risk of losing or capturing fundamentally different chemical trends than the NN architecture used to train the actual energy regression model in question.As an alternative, one can make use of the latent space (or internal representation) of a trained machine model as the designated description vector prior to applying a subsequent unsupervised clustering algorithm. 54,55 yet another option, so-called adversarial validation can be used to gauge differences between datasets so as to explain and predict where a given ML model may be expected to suffer inference errors.In adversarial validation, 56,57 two or more datasets are combined and shuffled, upon which a classifier is trained to untangle the datasets, predicting a net label for each molecule.If the classifier is trivially able to discern which dataset a given molecule originally belongs to, the two datasets are categorized as being sufficiently dissimilar in their local chemistry (and vice versa if the classification is less successful).Since adversarial validation makes use of the original datasets as reference values, this allows for an educated guess at how well the performance of a trained model will transfer to a new dataset before even running any simulations.Furthermore, the validation will rely on the same model architecture as the energy regression and may thus allow for a fine-grained examination of a given dataset.This is particularly fitting for our purposes herein, given how our models have atom-level resolution that allow for the inspection of single atoms or functional groups.

13One technical note on this type of analysis is warranted.In order to fairly evaluate the classification of any two datasets, a relatively even balance must exist between the volume (composition) of these.Except for the QM9/QM17 * pair, this happens to be the case and we therefore generally included all data points in our adversarial validation (80 % retained for training and validation with the remaining 20 % reserved for evaluating the performance of the classifier).The large discrepancy between the QM9 and QM17 * datasets, however, demanded some reductions to the former.As such, a random subset of QM9 was selected to limit the combined number of molecules to 10k in this specific adversarial validation.

14Starting with our proof-of-concept comparison of the four functional datasets discussed in Sect.2.3, one would trivially expect the classifier to be able to detect differences at the molecular level, but perhaps less so between the atoms of any two datasets due to many near-identical scaffolds.As evidenced by the accuracy of the classifier in Table 2, alcohols are perfectly distinguished from aldehydes and ketones and primary from secondary amines.

15The same is observed to hold true for the individual oxygens and nitrogens of the datasets, thus verifying that the model correctly identifies the functional groups containing these as the single most important part of the classification of the four different kinds of molecules.However, many of the hydrogens and carbons are clearly misclassified.Using the logits of each atom classification (i.e., the atomic outputs from the neural network before applying a sigmoid activation function), whenever these have large amplitudes it will imply that the model has a high confidence in attributing an atom.By plotting these amplitudes as contours superimposed on molecular 2D structures, we can visually identify the important parts of a (mis)classification for a given molecule.Results of this type are presented in Fig. 1.In Fig. 1, we observe how the classification of the alcohol in question focuses almost exclusively on both constituents of the hydroxyl group, with the hydrogen seemingly the most important atom.For the classification of the aldehyde, on the other hand, the foci of the model are less evident.While the carbonyl oxygen is obviously important to the overall classification, it is much less integral than in the hydroxyl case, with all the atoms in the molecule contributing to the correct classification.In the case of the two amine datasets, the nitrogens are similarly always correctly classified (cf.Table 2), while all other atoms are harder to distinguish between the primary and secondary amines.In fact, some of the hydrogens, either attached to or adjacent to a nitrogen, are even misclassified, which appears to indicate that the local electronic structures associated with these two functional groups are more alike than for hydroxyls and carbonyls.This is arguably to be expected on the basis of chemical intuition alone.We here reiterate how these four datasets are intentionally pathological in that they are limited in scope, and inferences of electronic structures present in one dataset from those in another should be unfeasible.For instance, the atomic energies of heterocyclic amines are known to differ significantly from those of primary ones, 22 and an ML model should thus have no sound basis for predicting the former if trained only on the latter.For the QM7/9 and QM13 * /17 * datasets in Table 2 instead, given how carbon atoms constitute the main backbone of all the molecules of any of these, a fair assumption would be that, upon letting molecules grow in size, the most central carbons should be readily classified as belonging to any of the QM13 * /17 * datasets.On the other hand, those atoms that reside near or within terminal groups should be harder to classify.An exception to this rule is fluorine, which has a seemingly high accuracy in the adversarial validation across the QM9/QM17 * datasets, despite being a terminal atom.This is a result of the low number of molecules that contain F atoms in this restricted analysis (cf.Sect.2.4); 23 of these belong to QM9 and only 4 to QM17 * , which makes the classifier predict all fluorines as belonging to the former (as statistically evidenced by a Matthews correlation coefficient of 0.0).

16From the random examples in Fig. 2, we generally find these trends to align well with the predicted logits.While the limited sizes of the molecules of QM7 and-to some extent-QM9 allow for positive distinctions from those of QM13 * and QM17 * , respectively, it is predominantly the innermost elements that are successfully classified as belonging to the larger datasets.As an implication, training an ML model on QM7/9 and next applying it to QM13 * /17 * should yield small errors for peripheral atoms, with increasing atomic errors upon moving towards the center of the larger molecules of 13 and 17 heavy atoms each, respectively.Also, given how limited in composition the QM7 dataset is (7k molecules, as opposed to more than 125k in QM9), one would expect to see significantly larger overall errors for a model trained on QM7 and applied to QM13 * than one trained on QM9 and applied to QM17 * .In the following, both of these conjectures will be numerically asserted.

Functional Transferability

17Fig. 3 reports distributions of reference and predicted atomic energies for the hydroxyl and carbonyl datasets obtained using either data-driven or electronic-structure decompositions (both with respect to energies of atoms in vacuum).In the case of a data-driven decomposition (E NequIP ), reference atomic energies are obtained by training and evaluating a standard NequIP model on the same dataset (based on total energies), which should then yield close to optimal atomic energies across this.Similar distributions of atomic energies for the primary and secondary amines are presented in Fig. S2 of the supporting information (SI).As was previously studied in Ref. 35, atomic energies from an AO-based partitioning scheme (EDA) in a modest-sized basis set without augmentation by diffuse functions (pcseg-1) tend to all be negative in value and cluster within rather narrow bands without much binning of contributions within these.This observation is confirmed in the results of Fig. 3.

18In addition, the exact same pattern is observed to hold true, to an even greater extent, for the atomic energies returned by the standard NequIP model trained on total energies only.

19In fact, the separation between aliphatic and hydroxyl hydrogens is even less pronounced in the data-driven results, as is that between the different oxygens, for which the order of stabilization is even reversed with respect to both of the AO-and MO-based partitionings.

20In the results of the MO-based decomposition (IBO/IAO) in Fig. 3, a much clearer distinction is observed between the atoms of the hydroxyl and carbonyl compounds, in support of the earlier observations made in Ref. 35.The same is true with respect to the separation of the nitrogens of the primary and secondary amines in Fig. S2, which also shows the nitrogens (and carbons) of heterocyclic amines as outliers in the energies of the latter set.

21In Fig. 3, the hydroxyl hydrogens are well separated from those bonded to carbon atoms, as are those adjacent to the C=O groups, and different classes of carbon atoms are binned into individual bands.Among the oxygens of the carbonyl compounds, a distinction between aldehydes and ketones is even observed.Unlike the energies of both the standard NequIP model and the AO-based EDA partitioning, those of the MO-based IBO/IAO analogue thus clearly reflect differences in local chemical environments and the electronic structures these give rise to.In Fig. S1 of the SI, we have further isolated atomic energies of carbon atoms belonging to different functional groups to emphasize how the IBO/IAO partitioning is the only among the three in Fig. 3 that convincingly and effectively account for this distinction.

22From the reference distributions in Fig. 3, alongside our prior knowledge of the hydroxyl and carbonyl datasets, one would expect an ML model trained exclusively on the former and evaluated on the latter to yield large errors, particularly given the unseen chemistry of the C=O groups.Fig. 4 confirms this assumption for a random ketone, in that errors in energies associated with atoms in or close to the carbonyl groups are observed for all three models.

23From the predicted energies in Fig. 3 Red and blue contours denote positive and negative errors, respectively.Errors have been normalized across the plots of the upper and lower panels to accentuate differences in results.

24NequIP model, on the other hand, yields positive errors in the oxygen energies, as does the IBO/IAO model.In the former case, this happens because the oxygens are all predicted to be practically identical to the ones of the hydroxyl compounds, whereas in the latter case, all oxygen energies are subject to an upwards shift with respect to the reference values for the hydroxyl compounds, which, although correct, is ultimately too large in magnitude.

25In terms of transferability across different classes of amines, this is observed to be a fundamentally more manageable task, cf.S1 and S2 of the SI.Important in the context of Sect.3.1 and the discussions to follow in Sect.3.3 is the fact that IBO/IAO-based errors tend to be large on or near unknown functional moieties, but the smallest among all three models upon moving away from these bond-by-bond.

Compositional Transferability

26We will now shift focus from functional to compositional transferability.Less so than HDNNs built around fixed descriptors, e.g., atom-centered symmetry functions, messagepassing models with their learnable descriptors will still fundamentally rely on a set of atomic basis functions.For this reason alone, it is fair to assume some degree of equivalence between the data-driven decomposition of atomic energies from a model like NeuqIP and the energies yielded by an AO-based partitioning scheme like EDA, in which all energetic trace operations are restricted to the Gaussian basis functions spatially local to the individual atoms of a molecule.However, this will hold true only in basis sets without diffuse functions.

27As such, when comparing distributions of atomic energies yielded by either NeuqIP or EDA, while not as similar as was reported for the fixed-descriptor results in Ref. 35, the reference results across the QM7/13 * and QM9/17 * datasets in Figs.S3 and S4 of the SI largely show exactly this.Both sets of results are thus largely predetermined, as also evident from the fact that distributions of reference and predicted atomic energies are practically indistinguishable for both decompositions, regardless of which of the datasets one opts for, and results are further near-identical across all four of these.That being said, some differences between the NeuqIP and EDA reference results do exist, namely, in the noteworthy case of sulfur (Fig. S3), but on the whole the two resemble one another to a great extent.

28The results of the MO-based IBO/IAO decomposition, on the other hand, show much more diverse and structured distributions of atomic energies, with clear bands corresponding to specific atomic environments.Be that as it may, this increase in diversity among the atomic energies of the IBO/IAO decomposition, but also notable differences in the distributions of reference energies between training and testing datasets, are both perfectly reproduced in the results for QM13 * /17 * returned by the models built around the IBO/IAO decomposition.

29Table 3: Molecular mean absolute errors (in kcal/mol) for the models trained on the QM7 and QM9 datasets and evaluated on QM13 * and QM17 * , respectively.The mean and standard deviations are obtained through five independent training runs, except for l max = 1, 2 in the case of the model trained on QM9, for which only three independent runs were performed.In Table 3, we report mean absolute errors (MAEs) for the transferability tests of the models trained on either QM7 or QM9 and applied to QM13 * or QM17 * , respectively.We report three different model architectures, where the l max parameter-corresponding to the highest rotation order allowed in the internal NeuqIP representation-is varied from 0 to 2.

30l max = 0 thus provides no equivariance, corresponding to an invariant MPNN, while models with higher values of the l max parameter encode more angular information into the models, at the expense of increased computational costs involved in the training phase.Training curves for l max = 0 − 2 are provided for the models trained on QM9 in Figs.S5-S7 of the SI.

31For both transferability tests, we see a systematic decrease in the associated errors as l max is increased for all three differently trained models and across both training sets (QM7/9).

32On the whole, the results in Table 3 appear to show that the individual models perform comparatively well, but also that the QM7 dataset is likely too limited in both size and composition (functional diversity, distinct motifs, etc.) to act as a realistic training pool for inferring electronic structures of larger molecular systems.Drawing also on our adversarial validation in Sect.3.1, we will now proceed to inspect (i) whether QM7 is indeed unfit for purpose and (ii) if the different models yield comparative performances for the same reasons.

33On par with Fig. 4, Fig. 5 shows errors in predicted atomic energies of the different mod- In contrast, for the model based exclusively on total energies across the QM9 dataset, the errors against a reference data-driven decomposition derived from QM17 * itself are distributed across the entire molecule and seemingly lacking any systematic trends (vide infra).

34To further support these claims, we compute dataset-wide statistics for the individual atomic errors by using RDKit to identify central atoms and NetworkX to traverse outwards away from these in the graphs, one bond at a time, akin to what was done in Tables S1 and S2 of the SI. 59,60In doing so, we choose to fold in all errors associated with hydrogen atoms onto their nearest heavy atom, like in Fig. 5; given how errors for hydrogens are uniformly small in magnitude, including these individually would risk conflating the general picture.

35The results in Fig. 6 collectively give rise to a number of key observations of great importance to the present study.First, the QM7 dataset is obviously not fit for the purpose of generalizing its chemistry to larger systems.As alluded to earlier, this is due to its very limited size but crucially also the fact that the diversity of its chemical composition is insufficient.A comparison of the learning curves in Fig. S8 of the SI further supports this observation, as does the alternative version of Fig. 6 in Fig. S10; here, a model built on a reduced QM9 training set of only 10k molecules (comparable to the size of QM7) still produces transferability results in moving from QM9 to QM17 * that strongly resemble those in Fig. 6.Regardless of the model of choice, and regardless of whether one chooses to gauge performance based on mean absolute or signed errors, the QM7-based curves in Fig. 6 are observed to plateau, with atomic errors in peripheral regions of the QM13 * molecules often as large as those in the most central regions (which are otherwise expected to be the greatest).

36Second, turning to the models trained exclusively on total energies, while these observe decent overall regression capabilities (particularly in the application to the QM17 * dataset when trained on QM9, cf.Table 3 and Fig. S8), the atomic transferability in-between different training pools is inherently poor.Errors associated with the individual atoms are observed to be distinctively erratic and unsystematic, and optimal atomic energies thus differ significantly in moving from one training set to another, e.g., using either QM9 or QM17 * for this purpose.In this context, it is important to note that large mean errors for these models in Fig. 6 do not necessarily translate into corresponding errors in predictions of total energies; that being said, the results in Fig. 6 succinctly show how atomic energies from data-driven compositions are but arbitrary variables and, thus, that these cannot reasonably be used to draw conclusions on local electronic structures and associated properties of these.

37Finally, for the models based on the atomic energies of an MO-based IBO/IAO decomposition of QM9 (particularly for l max ≥ 1), errors in ML predictions of the QM17 * counterparts are not only observed to be small on average but also well spatially localized around the atoms of regions within the molecules of QM17 * that are expected, on the grounds of adversarial validation, to be most foreign to a given model.While the models based on an AO-based EDA decomposition observe the same overall trend, they do so at significantly larger mean absolute errors for the innermost atoms.In addition, it is arguably worth reiterating once more how this type of decomposition is highly sensitive to the composition of an AO basis of choice, unlike the decomposition scheme based on the spatial locality of MOs instead.The IBO/IAO-based models are thus evidently the most systematic in the exercise concerned with inferring local electronic structures of the molecules in QM17 * based on those present in QM9, a feature which ultimately lends itself to the fact that these local objects are both physically sound and unique in a robust MO-based decomposition like that based on a combination of IBOs and IAO weights.As such, the results in Fig. 6 hence give credence to the fundamental premise that local electronic structures around atoms embedded within extended molecules can indeed be successfully learned by means of contemporary, atom-based HDNNs, preferably ones that make proper use of equivariance rather than mere invariance.

Discussion and Conclusions

38In the present work, we have employed adversarial validation as a means to distinguish between different molecular datasets for the task of machine learning both total and atomic energies, with a view to analyzing and predicting when and how transferability between different chemically diverse datasets is to be expected and on what grounds.Using this technique, we have identified which specific parts (atomic regions) of a molecule any rigorous machine model is prone to exhibit larger errors for due to unseen chemical environments.We have demonstrated the usefulness of adversarial validation in two different contexts; first, through the application to two pathological, proof-of-concept examples, in which the datasets for training and testing were intentionally made to contain different functional groups.Second, adversarial validation was used to study transferability with respect to molecular composition by gauging when and how generalization to unseen chemistry will be sensible or not.

39Our deduced similarities and possible discrepancies between any two datasets were next numerically tested by training equivariant neural networks on either total molecular energies only or a combination of these and a set of decomposed, atomic energies obtained at the level of Kohn-Sham density functional theory.In tests of both functional and compositional transferabilty-through applications between both pathological and realistic molecular datasets-we have found the inference of physically sound local electronic structures and properties to be feasible only whenever adequate knowledge of these is embedded into the training pool.In other words, only whenever an ML model is trained on sufficient information of the intrinsic local properties associated with different chemical functional groups and motifs will it be reasonable to expect the generalization of atomic errors to align with prior indications of the spatial parts of a molecule for which ML predictions should face difficulties.

40We find the popular QM7 dataset to be too limited in both size and functional composition to warrant such generalizations to larger systems, while the more comprehensive QM9 dataset may indeed allow for this, given that the body of atomic energies available for training purposes satisfactorily exposes the uniqueness of different functional moieties within molecules.A decomposition scheme based on tailored spatially localized molecular orbitals (IBOs) and a set of appropriate atomic weights (determined from IAOs) has been shown to accommodate these requirements, while alternatives based on the spatial locality of atomic orbitals alone are deemed less fit due to being too insensitive to differences in local atomic environments (even disregarding the strong basis set dependence of such schemes).

41Moving forward, we foresee that the use of befitting atomic energies for training highdimensional neural networks will be beneficial, particularly in low-data regimes.More data points may be extracted from any given number of electronic-structure simulations and thus be made available in the training pool.Moreover, even for generalization purposes, where one desires to transfer performance in predictions from one diverse dataset to another, may such models have favourable advantages over the current standard of training only on total molecular energies.As we have demonstrated in the course of the present work, chemically intuitive atomic energies can indeed be inferred from common atom-based neural network architectures, especially whenever these implement equivariant features, and this paves the way towards being able to make qualified predictions of local energy contributions and bridge changes in these to key chemical concepts, such as, selectivity, reactivity, and stability.

42tions, only modest attention has been paid to the resulting atomic energies or the effect of including reference values for these in the training data.In the present work, we propose the use of local chemical information, namely decomposed atomic energies calculated from electronic-structure methods, as a means to improve the transferability of ML models.By reformulating the loss function from a global to a local quantity, we interpolate between different local chemical moieties instead of directly extrapolating to unseen chemistry, and by incorporating local atomic energies directly in the loss function, we constrain the minimization of the total energy error.This guides the optimization of the neural networks toward other minima, thus permitting different generalization properties.In particular, for low-data tasks, the inclusion of atomic energies steers the network to yield more physically sound atomic energies over those returned by a network trained exclusively on total energies.

Figure 1 :

43Figure 1: Contour plots of the classifier logits (cf.text for details) for random examples of (a) hydroxyls, (b) carbonyls, (c) primary amines, and (d) secondary amines.Red and green contours correspond to negative and positive logits, respectively, which indicate predictions of hydroxyls and primary amines (red) and carbonyls and secondary amines (green).

Figure 2 :

44Figure 2: Contour plots of the classifier logits for random entries of the (a) QM7, (b) QM13 * , (c) QM9, and (d) QM17 * datasets.As in Fig. 1, red/green contours correspond to negative/positive logits, indicating predictions of QM7/9 (red) and QM13 * /17 * (green).

Figure 3 :

45Figure 3: Distributions of B3LYP/pcseg-1 reference (ref) atomic energies across the datasets of hydroxyl (O-H) and carbonyl (C=O) compounds alongside predicted (pred) atomic energies for the latter.The energies obtained from the data-driven and two electronic-structure decompositions are denoted as E NequIP , E IBO/IAO , and E EDA , respectively.

46, the carbon energies in both the standard NequIP and EDA-based models are near mirror images of the reference values, while for the MO-based IBO/IAO model, the full destabilization of carbonyl carbons fails to manifest.In the same way, the oxygen energies change only marginally in the model based on EDA, which, given how the reference energies in-between the hydroxyl and carbonyl datasets practically (and fortuitously) coincide, lead to very low errors in the predictions of the trained model.TheE error = 50.54kcal/mol Total Energy E error = -74.34kcal/mol IBO/IAO E error = -3.9kcal/mol EDA Eerror = 9.98 kcal/mol Eerror = -35.37kcal/mol Eerror = -4.97kcal/mol

Figure 4 :

47Figure 4: Errors in atomic energies for a random ketone (upper) and secondary amine (lower).Red and blue contours denote positive and negative errors, respectively.Errors have been normalized across the plots of the upper and lower panels to accentuate differences in results.

48Fig. S2 of the SI.Errors are generally smaller than those observed for the application in-between hydroxyls and carbonyls, and only the standard (total energy) model exhibits basic problems in predicting the energies of the central nitrogen atoms.Statistics in support of Figs. 3, 4, and S2 are presented in Tables

EFigure 5 :

49Figure 5: Errors in atomic energies for a random QM17 * molecule (l max = 1).

Figure 6 :

50Figure 6: Mean absolute and signed errors (in kcal/mol) for the various models as we traverse n bonds (nB) away from the central atoms (CA) in QM13 * (dashed) and QM17 * (solid).

Table 1 :

51Key information about the datasets used in the present study.

Table 2 :

52Accuracy, x, of the adversarial validation classifier across the different datasets for molecules (Mol.), atoms (Atom.), and individual elements (H, C, N, O, S, and F).Accuracies of x = 0 and x = 1 indicate complete failure or success in the classification, respectively.

53± 1.41 6.06 ± 1.57 17.42 ± 1.82 5.25 ± 1.41 11.37 ± 1.38 7.48 ± 4.13 1 6.22 ± 0.33 1.79 ± 0.06 6.71 ± 0.32 2.46 ± 0.15 6.20 ± 0.34 3.36 ± 0.33 2 5.70 ± 0.53 1.36 ± 0.11 5.10 ± 0.05 1.77 ± 0.08 4.60 ± 0.11 2.28 ± 0.04

참고문헌 57건

  1. Machine Learning Predictions of Molecular Properties: Accurate Many-Body Potentials and Nonlocality in Chemical Space The Journal of Physical Chemistry Letters · American Chemical Society · 2015 10.1021/acs.jpclett.5b00831
  2. Machine Learning for Quantum Mechanical Properties of Atoms in Molecules The Journal of Physical Chemistry Letters · American Chemical Society · 2015 10.1021/acs.jpclett.5b01456
  3. Representation of Intermolecular Potential Functions by Neural Networks The Journal of Physical Chemistry A · American Chemical Society · 1998 10.1021/jp972209d
  4. Unsupervised Data Base Clustering Based on Daylight's Fingerprint and Tanimoto Similarity: A Fast and Automated Way To Cluster Small and Large Data Sets Journal of Chemical Information and Computer Sciences · American Chemical Society · 1999 10.1021/ci9803381
  5. Energy density analysis with Kohn–Sham orbitals Chemical Physics Letters · Elsevier BV · 2002 10.1016/s0009-2614(02)01151-x
  6. Generalized Neural-Network Representation of High-Dimensional Potential-Energy Surfaces Physical Review Letters · American Physical Society · 2007 10.1103/physrevlett.98.146401
  7. Polarization consistent basis sets: Principles The Journal of Chemical Physics · American Institute of Physics · 2001 10.1063/1.1413524
  8. Molecular Dynamics with On-the-Fly Machine Learning of Quantum-Mechanical Forces Physical Review Letters · American Physical Society · 2015 10.1103/physrevlett.114.096405
  9. Neural network potential-energy surfaces in chemistry: a tool for large-scale simulations Physical Chemistry Chemical Physics · Royal Society of Chemistry · 2011 10.1039/c1cp21668f
  10. Development of a Novel Fingerprint for Chemical Reactions and Its Application to Large-Scale Reaction Classification and Similarity Journal of Chemical Information and Modeling · American Chemical Society · 2014 10.1021/ci5006614
  11. Neural network models of potential energy surfaces The Journal of Chemical Physics · American Institute of Physics · 1995 10.1063/1.469597
  12. Potential Energy Surfaces Fitted by Artificial Neural Networks The Journal of Physical Chemistry A · American Chemical Society · 2010 10.1021/jp9105585
  13. Quantum chemistry structures and properties of 134 kilo molecules Scientific Data · Nature Portfolio · 2014 10.1038/sdata.2014.22
  14. Intrinsic Atomic Orbitals: An Unbiased Bridge between Quantum Theory and Chemical Concepts Journal of Chemical Theory and Computation · American Chemical Society · 2013 10.1021/ct400687b
  15. Optimal construction of a fast and accurate polarisable water potential based on multipole moments trained by machine learning Physical Chemistry Chemical Physics · Royal Society of Chemistry · 2009 10.1039/b905748j
  16. Fast and Accurate Modeling of Molecular Atomization Energies with Machine Learning Physical Review Letters · American Physical Society · 2012 10.1103/physrevlett.108.058301
  17. Enumeration of 166 Billion Organic Small Molecules in the Chemical Universe Database GDB-17 Journal of Chemical Information and Modeling · American Chemical Society · 2012 10.1021/ci300415d
  18. Adaptive machine learning framework to accelerate <i>ab initio</i> molecular dynamics International Journal of Quantum Chemistry · Wiley · 2014 10.1002/qua.24836
  19. Representing high-dimensional potential-energy surfaces for reactions at surfaces by neural networks Chemical Physics Letters · Elsevier BV · 2004 10.1016/j.cplett.2004.07.076
  20. Exploring Network Structure, Dynamics, and Function using NetworkX Proceedings of the Python in Science Conferences · 2008 10.25080/tcwv9851
  21. Density-functional thermochemistry. III. The role of exact exchange The Journal of Chemical Physics · American Institute of Physics · 1993 10.1063/1.464913
  22. Ab Initio Calculation of Vibrational Absorption and Circular Dichroism Spectra Using Density Functional Force Fields The Journal of Physical Chemistry · American Chemical Society · 1994 10.1021/j100096a001
  23. 970 Million Druglike Small Molecules for Virtual Screening in the Chemical Universe Database GDB-13 Journal of the American Chemical Society · American Chemical Society · 2009 10.1021/ja902302h
  24. One‐body energy decomposition schemes revisited: Assessment of Mulliken‐, Grid‐, and conventional energy density analyses International Journal of Quantum Chemistry · Wiley · 2009 10.1002/qua.22017
  25. Pipek–Mezey Orbital Localization Using Various Partial Charge Estimates Journal of Chemical Theory and Computation · American Chemical Society · 2014 10.1021/ct401016x
  26. Quantum-chemical insights from deep tensor neural networks Nature Communications · Nature Portfolio · 2017 10.1038/ncomms13890
  27. ANI-1: an extensible neural network potential with DFT accuracy at force field computational cost Chemical Science · Royal Society of Chemistry · 2017 10.1039/c6sc05720a
  28. Neural Message Passing for Quantum Chemistry arXiv (Cornell University) · Cornell University · 2017 10.48550/arxiv.1704.01212
  29. P<scp>y</scp>SCF: the Python‐based simulations of chemistry framework Wiley Interdisciplinary Reviews Computational Molecular Science · Wiley · 2017 10.1002/wcms.1340
  30. A reactive, scalable, and transferable model for molecular energies from a neural network approach based on local information The Journal of Chemical Physics · American Institute of Physics · 2018 10.1063/1.5017898
  31. Atomic Energies from a Convolutional Neural Network Journal of Chemical Theory and Computation · American Chemical Society · 2018 10.1021/acs.jctc.8b00149
  32. Machine learning for molecular and materials science Nature · Nature Portfolio · 2018 10.1038/s41586-018-0337-2
  33. A graph-based genetic algorithm and generative model/Monte Carlo tree search for the exploration of chemical space Chemical Science · Royal Society of Chemistry · 2019 10.1039/c8sc05372c
  34. PhysNet: A Neural Network for Predicting Energies, Forces, Dipole Moments, and Partial Charges Journal of Chemical Theory and Computation · American Chemical Society · 2019 10.1021/acs.jctc.9b00181
  35. Machine Learning Interatomic Potentials as Emerging Tools for Materials Science Advanced Materials · 2019 10.1002/adma.201902765
  36. Recent developments in the P<scp>y</scp>SCF program package The Journal of Chemical Physics · American Institute of Physics · 2020 10.1063/5.0006074
  37. On the role of gradients for machine learning of molecular energies and forces Machine Learning Science and Technology · IOP Publishing · 2020 10.1088/2632-2153/abba6f
  38. Neural Network Potential Energy Surfaces for Small Molecules and Reactions Chemical Reviews · American Chemical Society · 2020 10.1021/acs.chemrev.0c00665
  39. Towards exact molecular dynamics simulations with machine-learned force fields Nature Communications · Nature Portfolio · 2018 10.1038/s41467-018-06169-2
  40. Mean-field density matrix decompositions The Journal of Chemical Physics · American Institute of Physics · 2020 10.1063/5.0030764
  41. Equivariant message passing for the prediction of tensorial properties and molecular spectra arXiv (Cornell University) · Cornell University · 2021 10.48550/arxiv.2102.03150
  42. Latent Representation Learning for Structural Characterization of Catalysts The Journal of Physical Chemistry Letters · American Chemical Society · 2021 10.1021/acs.jpclett.0c03792
  43. Machine Learning Force Fields Chemical Reviews · American Chemical Society · 2021 10.1021/acs.chemrev.0c01111
  44. Four Generations of High-Dimensional Neural Network Potentials Chemical Reviews · American Chemical Society · 2021 10.1021/acs.chemrev.0c00868
  45. FragNet, a Contrastive Learning-Based Transformer Model for Clustering, Interpreting, Visualizing, and Navigating Chemical Space Molecules · Multidisciplinary Digital Publishing Institute · 2021 10.3390/molecules26072065
  46. Decomposed Mean-Field Simulations of Local Properties in Condensed Phases The Journal of Physical Chemistry Letters · American Chemical Society · 2021 10.1021/acs.jpclett.1c01375
  47. Learning molecular potentials with neural networks Wiley Interdisciplinary Reviews Computational Molecular Science · Wiley · 2021 10.1002/wcms.1564
  48. Gaussian Process Regression for Materials and Molecules Chemical Reviews · American Chemical Society · 2021 10.1021/acs.chemrev.1c00022
  49. NewtonNet: a Newtonian message passing network for deep learning of interatomic potentials and forces Digital Discovery · Royal Society of Chemistry · 2022 10.1039/d2dd00008c
  50. Ab Initio Machine Learning in Chemical Compound Space Chemical Reviews · American Chemical Society · 2021 10.1021/acs.chemrev.0c01303
  51. Electronic excitations through the prism of mean-field decomposition techniques The Journal of Chemical Physics · American Institute of Physics · 2022 10.1063/5.0082938
  52. E(3)-equivariant graph neural networks for data-efficient and accurate interatomic potentials Nature Communications · Nature Portfolio · 2022 10.1038/s41467-022-29939-5
  53. SchNet: A continuous-filter convolutional neural network for modeling\n quantum interactions arXiv (Cornell University) · Cornell University · 2017 10.48550/arxiv.1706.08566
  54. Learning local equivariant representations for large-scale atomistic dynamics Nature Communications · Nature Portfolio · 2023 10.1038/s41467-023-36329-y
  55. Decomposing Chemical Space: Applications to the Machine Learning of Atomic Energies Journal of Chemical Theory and Computation · American Chemical Society · 2023 10.1021/acs.jctc.2c01290
  56. Properties of Local Electronic Structures Journal of Chemical Theory and Computation · American Chemical Society · 2023 10.1021/acs.jctc.3c00963
  57. Atomic Decompositions of Periodic Electronic-Structure Simulations The Journal of Physical Chemistry A · American Chemical Society · 2024 10.1021/acs.jpca.4c06651