선정목록으로
A fast neural network approach for direct covariant forces prediction in complex multi-element extended systems
간접 관련 수소연료전지 · (6) PEM(고분자전해질막) (5) 연료전지용 수분제어장치(가습기)(7) MEA(막전극접합체)
기본 정보
- 저자
- DOI
- 10.1038/s42256-019-0098-0
- 저널
- Nature Machine Intelligence
- 발행년도
- 2019
- 발행기관
- Nature Portfolio
- 피인용수
- 43
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1038/s42256-019-0098-0
- 토픽
- Fuel Cells and Related Materials
- OpenAlex ID
- W2976347420
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 수소연료전지 · (6) PEM(고분자전해질막)
- 부 분야
- (5) 연료전지용 수분제어장치(가습기), (7) MEA(막전극접합체)
- R&D 측면
- 분석·모델링
- 확신도
- 0.80
- 근거 용어
- Neural network force field, long polymer electrolyte chains, amorphous oxide electrolyte, molecular dynamics, atomic force prediction
- 판단 근거
- 이 논문은 머신러닝(NNFF)을 이용해 복잡한 다원소 시스템의 원자력을 빠르게 예측하는 방법론을 다룹니다. 연구 대상 중 '장쇄 고분자 전해질(long polymer electrolyte chains)'과 '비정질 산화물 전해질(amorphous oxide electrolyte)'이 언급되어 있어, 코오롱인더스트리의 수소연료전지용 PEM 및 전해질 관련 R&D에 응용 가능한 시뮬레이션 기술입니다.
- R&D 활용 포인트
- 고분자 전해질막(PEM)이나 수분제어장치용 소재의 이온 전도성, 화학적 열화, 계면 반응 등을 양자역학 계산보다 훨씬 빠르게 시뮬레이션하여 신소재 설계 및 성능 예측에 활용할 수 있습니다.
- 평가 입력
- 본문 74,262자 중 30,032자 발췌
초록
초록이 없습니다.
본문 74,262자
본문 펼치기
# Fast Neural Network Approach for Direct Covariant Forces Prediction in Complex Multi-Element Extended Systems
Jonathan P. Mailoa, <sup>1*</sup> Mordechai Kornbluth, <sup>1</sup> Simon L. Batzner, <sup>2,3</sup> Georgy Samsonidze, <sup>1</sup>
Stephen T. Lam, <sup>1,2</sup> Chris Ablitt, <sup>1,4</sup> Nicola Molinari, <sup>1,3</sup> and Boris Kozinsky <sup>3,1*</sup>
1) Bosch Research and Technology Center, Cambridge, MA 02139, USA
2) Massachusetts Institute of Technology, Cambridge, MA 02139, USA
3) Harvard School of Engineering and Applied Sciences, Cambridge, MA 02138, USA
4) Imperial College London, London SW7 2AZ, UK
- corresponding author: <u>jpmailoa@alum.mit.edu, bkoz@seas.harvard.edu</u>
# Fast Neural Network Approach for Direct Covariant Forces Prediction in Complex Multi-Element Extended Systems
## Abstract
Neural network force field (NNFF) is a method for performing regression on atomic structure –
force relationships, bypassing expensive quantum mechanics calculation which prevents the execution of
long ab-initio quality molecular dynamics simulations. However, most NNFF methods for complex multi
element atomic systems indirectly predict atomic force vectors by exploiting just atomic structure
rotation-invariant features and the network–feature spatial derivatives which are computationally
expensive. We develop a staggered NNFF architecture exploiting both rotation-invariant and covariant
features separately to directly predict atomic force vectors without using spatial derivatives, thereby
reducing expensive structural feature calculation by ~180–480×. This acceleration enables us to develop
NNFF which directly predicts atomic forces in complex ternary and quaternary–element extended systems
comprised of long polymer chains, amorphous oxide, and surface chemical reactions. The staggered
rotation-invariant-covariant architecture described here can also directly predict complex covariant
vector outputs from local physical structures in domains beyond computational material science.
## Introduction
Ab-initio molecular dynamics (AIMD) is an atomistic simulation method widely used to study the
movement of atoms in a physical system, where the forces experienced by each atom in the system is
calculated using a quantum mechanics method such as density functional theory (DFT). Quantum
interatomic force calculations are produced by solving a many-body system including electrons (e.g.
Schrödinger, Kohn-Sham equations). The computational cost of these methods make AIMD
computationally challenging for realistic physical phenomena that can be explored only when the
simulated system is sufficiently large (many atoms) and/or has run for a long time (many time steps).
However, AIMD is still widely used (despite the limitations in size and time scale) because it requires no
prior assumption on the potential energy surface, and it can be used to accurately simulate interesting
phenomena such as chemical reactions, phase changes, ionic transport, surface interactions, etc in a wide
variety of material systems.
Classical molecular dynamics (MD) methods based on fast force calculations using pre-fitted
empirical functions are 10 <sup>5</sup> –10 <sup>6</sup> × faster than AIMD, but the limitations of simple empirical functions often
mean that they cannot be used to study complex atomic interactions, e.g. chemical reactions. Machine
learning methods have increasingly been used to perform atomistic computations of energies and atomic
forces with greater accuracy than empirical functions. <sup>1–11</sup> Some of these latest methods have shown high
force prediction accuracy (error within 1 kcal/mol∙Å = 0.043 eV/Å) for single-molecule systems in
vacuum, <sup>12,13</sup> but may be unsuitable for extended solid-state atomistic systems containing large number of
atoms. Other kernel-based methods such as the Gaussian process regression have been used for
developing force fields for single-element nanocluster in vacuum (force error within 0.20 eV/Å for many
body kernels). <sup>14</sup> The neural network force field (NNFF) utilizes flexible neural network (NN) functions at
fixed computation cost (independent of training sample size), which in turn enables indirect atomic
structure – force regression involving many-body interactions, and has been used for complex multi
element extended systems. <sup>15–17</sup> Due to the vast number of possible atomic configurations in 3
dimensional space, NNFF models were difficult to train. <sup>18</sup> The development of ‘atomic fingerprints’, by
Behler and Parrinello (B–P) and others, <sup>15,19</sup> has enabled a step-change improvement in the accuracy of
NNFF. Similar to convolutional and graph neural network (CNN and GNN), <sup>20–22</sup> the atomic fingerprints rely
on features obtained from localized proximity in space. Unlike CNN and GNN which utilize fixed-size grid
based and graph-based feature space respectively, Behler-Parrinello style atomic fingerprints use a fixed
based and graph-based feature space respectively, Behler-Parrinello style atomic fingerprints use a fixed
size symmetry-function-based feature space utilizing all atoms located at ??⃗?? within a specified cutoff radius
_R_ c from the target central atom _i_ ( �?? <sup>�⃗</sup> ??�= �??⃗?? for �??⃗? ? �< ????, ??≠??� ). These symmetry functions ??̅?? work well
size symmetry-function-based feature space utilizing all atoms located at ??⃗?? within a specified cutoff radius
_R_ c from the target central atom _i_ ( �?? <sup>�⃗</sup> ??�= �??⃗?? for �??⃗? ? �< ????, ??≠??� ). These symmetry functions ??̅?? work well
for describing �?? <sup>�⃗</sup> ??� because they exhibit translational, rotational, and same-element-permutation
_R_ c from the target central atom _i_ ( �?? <sup>�⃗</sup> ??�= �??⃗?? for �??⃗? ? �< ????, ??≠??� ). These symmetry functions ??̅?? work well
for describing �?? <sup>�⃗</sup> ??� because they exhibit translational, rotational, and same-element-permutation
invariance, as well as smoothly decaying contributions from atoms farther away from the central atom. <sup>15</sup>
invariance, as well as smoothly decaying contributions from atoms farther away from the central atom. <sup>15</sup>
invariance, as well as smoothly decaying contributions from atoms farther away from the central atom. <sup>15</sup>
Equations (1-3) are examples of standard B–P symmetry functions, where ???? is cutoff function, ?? is
distance, ?? is symmetry function, ??, ?? are atomic elements, ??⃗? ? is relative position of atom _j_ from atom _i_,
? ? ? ?
Equations (1-3) are examples of standard B–P symmetry functions, where ???? is cutoff function, ?? is
distance, ?? is symmetry function, ??, ?? are atomic elements, ??⃗? ? is relative position of atom _j_ from atom _i_,
cos ??? ? ?? = ??⃗? ? ∙??⃗? ��??⃗? ? �|??⃗? ? |, and ??, ????, ??, ?? are the function parameters. The illustration of the B–P atomic
distance, ?? is symmetry function, ??, ?? are atomic elements, ??⃗? ? is relative position of atom _j_ from atom _i_,
cos ??? ? ?? = ??⃗? ? ∙??⃗? ��??⃗? ? �|??⃗? ? |, and ??, ????, ??, ?? are the function parameters. The illustration of the B–P atomic
fingerprint scheme is shown in Figure 1a .
? ? ? ?
fingerprint scheme is shown in Figure 1a .
(1)
????(??) = � <sup>0.5 ∙[cos(?</sup> ⁄????) + 1] for ??≤????
0 for ??> ????
? <sup>?</sup> ?
??
??∈??
2−? ? ? ��?? <sup>�⃗</sup> ??��= ∑ ?? <sup>−??��??⃗?</sup> <sup>?</sup> <sup>�−????�</sup>
? ?
??
??2−? ? ?
?
? <sup>?</sup> ?
??,?? ? ?
??∈??
3−? ? ? ��?? <sup>�⃗</sup> ??��= 2 <sup>1−??</sup> ∑ �1 + ??cos ??? ? ??�????−??��??⃗? ?
??∈??
??≠??
?
??,??
??3−? ? ?
2 (2)
??∈??
?? <sup>−??��??⃗?</sup> <sup>?</sup> <sup>�−????�</sup> ????��??⃗? ? ��
? ?
? ? ? ? ?
<sup>?</sup> ?
2+|??⃗? ? |2+�??⃗? ? ??∈??
�1 + ??cos ??? ? ??�????−??��??⃗? ? - 2�????��??⃗? ? ��????(|??⃗? ? |)????��??⃗? ? ��
??∈??
??≠??
(3)
Figure 1 . a) Behler – Parrinello local atomic environment rotation-invariant feature extraction scheme. b)
Indirect force prediction in standard Behler–Parrinello (B–P) NNFF scheme from network and feature
differentiation. Pink arrow indicates the differentiation computation pathway needed for just one of the
atoms in the system. c) Direct covariant forces (DCF) prediction scheme utilizing rotation-invariant and
covariant features which bypass the need for computationally intensive feature differentiation.
Nevertheless, NNFFs based exclusively on rotation-invariant atomic fingerprints (standard NNFF)
are still computationally expensive for atomic force calculations. Because the input atomic fingerprints
are rotationally-invariant (contains no directional information), these features cannot be used to perform
regression on Cartesian force vectors outputted by a quantum mechanical simulation (contains directional
information). These fingerprints are instead used to perform neural network regression on rotationally
invariant outputs such as energy, followed by differentiation of the energy with respect to the Cartesian
space to obtain the Cartesian force vectors. Unfortunately, in practice this requires the derivative of the
energy neural network with respect to all of the atomic fingerprints, followed by differentiation of each
of the atomic fingerprints with respect to all of the atomic positions within the range of the fingerprint
function’s cutoff radius _R_ c as shown in Figure 1b . The computational cost of atomic fingerprints is high,
especially if including 3-body terms, and it constitutes the computation bottleneck of each NNFF MD time
step. Having to perform differentiation of those fingerprints multiplies the computation cost by
approximately 3 _m_, with _m_ being the average number of atoms within each fingerprint function’s _R_ c. For
fingerprint functions with _R_ c = 6.5 Å within AIMD simulations in this work, _m_ is in the range of 58–157,
which means the fingerprint derivative operation slows down NNFF training and test evaluation time by
which means the fingerprint derivative operation slows down NNFF training and test evaluation time by
~180–480× per iteration, depending on the environment �?? <sup>�⃗</sup> ??� under evaluation. Furthermore, because
the NNFF output (system energy) is a combined property of all the atoms in the system, atomic force
the NNFF output (system energy) is a combined property of all the atoms in the system, atomic force
training and prediction for different atoms are coupled. If the force prediction on a rare atomic event of
interest (a few atoms in a chemical reaction, for example) is inaccurate, the training set can only be
interest (a few atoms in a chemical reaction, for example) is inaccurate, the training set can only be
improved by adding entire simulation frames which contains many additional �?? <sup>�⃗</sup> ??� of little interest. It is
worth noting that alternatives to the B–P approach have been formulated that bypass the explicit
worth noting that alternatives to the B–P approach have been formulated that bypass the explicit
construction of the symmetry functions and rely instead on deeper network architectures; <sup>23,24</sup> these
approaches also predict total energies of molecules and also require differentiation of the entire network
to calculate the forces.
In this study, we present a neural network based approach for direct covariant forces, or DCF, that
enables prediction of Cartesian force vectors in extended solid-state systems from just multi-element local
atomic environments while maintaining the benefit of rotation-invariant atomic fingerprint features and
bypassing the requirement to perform expensive Cartesian space derivatives of these atomic fingerprint
features. By its nature, this means the training and prediction of atomic forces for atoms in our DCF
algorithm will be significantly faster than in the standard NNFF algorithm (~180–480x speedup expected)
and requires only local atomic environments. We will further discuss the benefits of being able to
decouple total system energy from the force prediction algorithm at the end of this manuscript. The
acceleration in DCF enables us to develop NNFF which directly predicts atomic forces in complex ternary
and quaternary–element extended systems comprised of long polymer electrolyte chains, amorphous
oxide electrolyte, and surface chemical corrosion reactions. Beyond the domains of computational
materials science, the approach described here is relevant for machine learning in other physical systems
where the rotational symmetry of physical laws can be exploited for vector output prediction, e.g. fluid
dynamics <sup>25,26</sup> and mass/heat transport. <sup>27</sup>
_Notation_ : We use an arrow vector ??⃗ to refer to a quantity that is directional in Cartesian space,
??̅ refers to an array of scalars, e.g. a list of
_Notation_ : We use an arrow vector ??⃗ to refer to a quantity that is directional in Cartesian space,
e.g. position, force, or a reference axis. A straight-line vector ??̅ refers to an array of scalars, e.g. a list of
coefficients or a set of fingerprints for a given atom. The two together, i.e. an array of directional vectors,
coefficients or a set of fingerprints for a given atom. The two together, i.e. an array of directional vectors,
is represented as {??⃗}, e.g. a set of positions or a list of forces.
## Direct Covariant Forces Prediction Algorithm
The general architecture of the NN capable of performing direct force vector prediction from a
local atomic environment is shown in Figure 1c, which is enabled by the inclusion of rotation-covariant
atomic fingerprints �??⃗??� in addition to the rotation-invariant fingerprints ??̅?? . The key component of this
approach is the usage of rotation-invariant features to predict a smaller number of rotation-invariant
intermediate hidden states, followed by later inclusion of rotation-covariant features to predict the final
rotation-covariant output vector. Physically, �??⃗??� describes internal orientation reference axes for atom
_i_ ’s �?? <sup>�⃗</sup> ??� . As shown in equation (4), �??⃗??� (unlike ??̅?? ) encode directionality information. Just like ??̅??, �??⃗??� are
rotation-covariant output vector. Physically, �??⃗??� describes internal orientation reference axes for atom
_i_ ’s �?? <sup>�⃗</sup> ??� . As shown in equation (4), �??⃗??� (unlike ??̅?? ) encode directionality information. Just like ??̅??, �??⃗??� are
smoothly decaying functions of �?? <sup>�⃗</sup> ??� exhibiting input translation and same-element permutation
_i_ ’s �?? <sup>�⃗</sup> ??� . As shown in equation (4), �??⃗??� (unlike ??̅?? ) encode directionality information. Just like ??̅??, �??⃗??� are
smoothly decaying functions of �?? <sup>�⃗</sup> ??� exhibiting input translation and same-element permutation
invariance (except for when there is only one atom _j_ of element ?? entering/exiting �?? <sup>�⃗</sup> ??� ). However, �??⃗??�
smoothly decaying functions of �?? <sup>�⃗</sup> ??� exhibiting input translation and same-element permutation
invariance (except for when there is only one atom _j_ of element ?? entering/exiting �?? <sup>�⃗</sup> ??� ). However, �??⃗??�
features are rotation-covariant in nature, defined as the commutation of the rotation transformation ??
invariance (except for when there is only one atom _j_ of element ?? entering/exiting �?? <sup>�⃗</sup> ??� ). However, �??⃗??�
features are rotation-covariant in nature, defined as the commutation of the rotation transformation ??
with the dependence of �??⃗??� on atomic positions �?? <sup>�⃗</sup> ??� : �??⃗??��??�?? <sup>�⃗</sup> ??��= ??�??⃗??���?? <sup>�⃗</sup> ??�� . One example is given
features are rotation-covariant in nature, defined as the commutation of the rotation transformation ??
with the dependence of �??⃗??� on atomic positions �?? <sup>�⃗</sup> ??� : �??⃗??��??�?? <sup>�⃗</sup> ??��= ??�??⃗??���?? <sup>�⃗</sup> ??�� . One example is given
in equation (4-5).
in equation (4-5).
?
??
?? <sup>�⃗</sup> 2−? ? ?
?
??
??∈??
2−? ? ? ��?? <sup>�⃗</sup> ??��= ∑ ??⃗? ? ?? <sup>−??��??⃗?</sup> <sup>?</sup> <sup>�−????�</sup>
?
?
? ?
? ? <sup>?</sup>
??
?? 0 for ?? <sup>�⃗</sup> 2−? ? ?
2−? ? ? ��?? <sup>�⃗</sup> ??��= � ?? ??
?? <sup>�⃗</sup> 2−? ? ? ��?? <sup>�⃗</sup> 2−? ? ????�
?
??
??⃗2−? ? ?
2 (4)
??∈??
??⃗? ? ?? <sup>−??��??⃗?</sup> <sup>?</sup> <sup>�−????�</sup> ????��??⃗? ? ��
?
? ?
? <sup>?</sup>
?
??
?? <sup>�⃗</sup> 2−? ? ?
? <sup>?</sup> ?
??
0 for ?? <sup>�⃗</sup> 2−? ? ? = 0
?? ??
2−? ? ? ��?? <sup>�⃗</sup> 2−? ? ????� otherwise
? <sup>?</sup> ?
??
2−? ? ? = 0
? ????�
(5)
? ?
Once we have these rotation-invariant and rotation-covariant features defined, we start building
our NNFF in a decoupled manner to ease the learning process. First, we build a rotation-invariant network
our NNFF in a decoupled manner to ease the learning process. First, we build a rotation-invariant network
NN1 for each atom element consisting of exclusively ??̅?? as its input ( Figure 2 ). Because ??̅?? is rotation
invariant, NN1 can only be used to perform regression on rotation-invariant outputs. Both the atomic
invariant, NN1 can only be used to perform regression on rotation-invariant outputs. Both the atomic
forces on atom _i_ ( ??⃗?? ) and internal axes �??⃗??� are rotation-covariant. However, the projection of ??⃗?? onto �??⃗??�
is rotation-invariant. <sup>28</sup> Hence we can define a rotation-invariant value ‘internal force’ ?? <sup>�</sup> ? ? ??,?? = �??⃗??�∙??⃗??,
forces on atom _i_ ( ??⃗?? ) and internal axes �??⃗??� are rotation-covariant. However, the projection of ??⃗?? onto �??⃗??�
is rotation-invariant. <sup>28</sup> Hence we can define a rotation-invariant value ‘internal force’ ?? <sup>�</sup> ? ? ??,?? = �??⃗??�∙??⃗??,
which we can use as the intermediate output of NN1, and perform ??̅?? →?? <sup>�</sup> ? ? ??,?? regression training. As it
turns out, ??̅?? can contain sufficient physical information to describe the quantum-mechanical output ?? <sup>�</sup> ? ? ??,??
which we can use as the intermediate output of NN1, and perform ??̅?? →?? <sup>�</sup> ? ? ??,?? regression training. As it
turns out, ??̅?? can contain sufficient physical information to describe the quantum-mechanical output ?? <sup>�</sup> ? ? ??,??
which is directly related to the rotation-covariant value ??⃗?? we are interested in (see Supplementary Figure
?
?
which is directly related to the rotation-covariant value ??⃗?? we are interested in (see Supplementary Figure
S1 ).
S1 ).
The subsequent step is in contrast to the pseudoinverse approach taken in previous Gaussian
The subsequent step is in contrast to the pseudoinverse approach taken in previous Gaussian
process work, <sup>28</sup> which tends to diverge when �??⃗??� does not span the full orthogonal 3-dimensional space
(see Supplementary Information). In order to transform rotation-invariant value ?? <sup>�</sup> ? ? ??,?? back into the
?
process work, <sup>28</sup> which tends to diverge when �??⃗??� does not span the full orthogonal 3-dimensional space
(see Supplementary Information). In order to transform rotation-invariant value ?? <sup>�</sup> ? ? ??,?? back into the
Cartesian space vector ??⃗??, we build a second network NN2 with ?? <sup>�</sup> ? ? ??,?? and �??⃗??� as the input and ??⃗?? as the
(see Supplementary Information). In order to transform rotation-invariant value ?? <sup>�</sup> ? ? ??,?? back into the
Cartesian space vector ??⃗??, we build a second network NN2 with ?? <sup>�</sup> ? ? ??,?? and �??⃗??� as the input and ??⃗?? as the
output ( Figure 2 ). Unfortunately none of the widely-used hidden nodes available in the Python
?
output ( Figure 2 ). Unfortunately none of the widely-used hidden nodes available in the Python
TensorFlow package have 3D-rotation-covariance built in. Because of that, the practical solution we have
chosen to enforce rotation-covariance on NN2 is to perform data-augmentation. In addition to having
? ?
chosen to enforce rotation-covariance on NN2 is to perform data-augmentation. In addition to having
�?? <sup>�</sup> ? ? ??,??, �??⃗??��→??⃗?? in the training set, we also include �?? <sup>�</sup> ? ? ??,??, ??�??⃗??��→????⃗?? pairs, where _T_ is a random 3D
rotation matrix. In principle, one can augment the data with many different _T_ matrices to improve data
?
? ?
rotation matrix. In principle, one can augment the data with many different _T_ matrices to improve data
?
? ?
rotation matrix. In principle, one can augment the data with many different _T_ matrices to improve data
augmentation. In practice, we have chosen to incorporate as many unique �?? <sup>�</sup> ? ? ??,??, �??⃗??��→??⃗?? pairs as
possible and only augment each data point with an appropriate number of �?? <sup>�</sup> ? ? ??,??, ??�??⃗??��→????⃗??
augmentation. In practice, we have chosen to incorporate as many unique �?? <sup>�</sup> ? ? ??,??, �??⃗??��→??⃗?? pairs as
possible and only augment each data point with an appropriate number of �?? <sup>�</sup> ? ? ??,??, ??�??⃗??��→????⃗??
replicated pairs depending on the data size of the unique pairs (10 augmentation for system A, 1
?
replicated pairs depending on the data size of the unique pairs (10 augmentation for system A, 1
augmentation for system B and C). Unlike NN1 which learns to interpolate quantum mechanical forces
augmentation for system B and C). Unlike NN1 which learns to interpolate quantum mechanical forces
using high-dimensional fingerprints ??̅??, the role of NN2 is simply to perform geometric inverse projection
using much lower dimensional inputs �?? <sup>�</sup> ? ? ??,??, �??⃗??�� . Similarly, we show that �?? <sup>�</sup> ? ? ??,??, �??⃗??�� contains sufficient
using high-dimensional fingerprints ??̅??, the role of NN2 is simply to perform geometric inverse projection
using much lower dimensional inputs �?? <sup>�</sup> ? ? ??,??, �??⃗??�� . Similarly, we show that �?? <sup>�</sup> ? ? ??,??, �??⃗??�� contains sufficient
information to perform regression on ??⃗?? (see Supplementary Figure S2 ). We note that this is not a true
? ?
information to perform regression on ??⃗?? (see Supplementary Figure S2 ). We note that this is not a true
covariant operation, and a better approach should be implemented in the future to enforce true
covariant operation, and a better approach should be implemented in the future to enforce true
covariance in the model upon inclusion of covariant features. We note that recent approaches were
proposed in this direction to directly predict truly covariant force vectors, but they require
implementation of new custom-built 3D covariant neural network nodes and as a result are
computationally and practically more complex, and have not been demonstrated in extended systems. <sup>29,30</sup>
Figure 2 . DCF network NN3 composed of rotation-invariant (NN1) and rotation-covariant (NN2) ?
components of the network were trained independently using rotation-invariant scalars Figure 2 . DCF network NN3 composed of rotation-invariant (NN1) and rotation-covariant (NN2) ?? <sup>�</sup> ? ? ??,?? as the
intermediary nodes. NN2 is biased toward becoming like a rotation-covariant function using data
?
intermediary nodes. NN2 is biased toward becoming like a rotation-covariant function using data
augmentation.
Finally, we build the final network combining the architecture of NN1 and NN2 ( Figure 2 ). This full ?
network NN3 has the exact sub-geometries of NN1 and NN2, where the nodes representing Finally, we build the final network combining the architecture of NN1 and NN2 ( Figure 2 ?? <sup>�</sup> ). This full ? ? ??,?? now
appearing as hidden states. After performing transfer learning to move the trained weights and biases
?
appearing as hidden states. After performing transfer learning to move the trained weights and biases
from NN1 and NN2 into NN3, we perform additional training cycles on NN3 using the �??̅??, �??⃗??��→??⃗??
dataset. Effectively, what we have done is to let NN1 learn quantum mechanics, NN2 learn inverse
dataset. Effectively, what we have done is to let NN1 learn quantum mechanics, NN2 learn inverse
geometry projection, and NN3 minimizes the regression error from the NN1-NN2 combined system. In ?
the beginning of the training, NN3 is initiated with geometry projection, and NN3 minimizes the regression error from the NN1-NN2 combined system. In ?? <sup>�</sup> ? ? ??,?? as target values for the rotation-invariant hidden
states but is eventually allowed to find different hidden states which locally minimize the error. See
?
states but is eventually allowed to find different hidden states which locally minimize the error. See
supplementary Table S1–S3 for the network architectures and the set of hyperparameters we have
chosen for ??̅??, �??⃗??�, and _R_ c in this work. More importantly, because there is no need to take the derivative
of the entire model to compute forces, expensive fingerprint calculation only needs to be performed once
of the entire model to compute forces, expensive fingerprint calculation only needs to be performed once
of the entire model to compute forces, expensive fingerprint calculation only needs to be performed once
for each �?? <sup>�⃗</sup> ??� during both training and MD runtime instead of ~3 _m_ times needed for training of the original
B–P algorithm.
B–P algorithm.
## Evaluation of DCF on Complex Atomistic Systems
We now investigate the performance of DCF on the test set. We use three complex atomistic
systems to evaluate the performance of DCF. The first system (A, Figure 3a ) is a polyethylene oxide (PEO)
polymer consisting of 10 chains of 100 monomers each. PEO is an important material because it is the
polymer electrolyte most widely used for solid-state Lithium-polymer battery applications. <sup>31,32</sup> Long-time
polymer dynamics are difficult to study using ab-initio MD because of the large number of atoms
necessary to represent the amorphous structure of the polymer in a periodic simulation box. The polymer
geometry snapshots were obtained using classical MD, but the ??⃗?? outputs were then computed using
quantum mechanics on the extracted mini-snapshots. This polymer system contains 7090 atoms per MD
frame (2020 C, 4060 H, and 1010 O atoms) and was run at temperature _T_ = 353 K (typical polymer
electrolyte operating temperature). The second system (B, Figure 3b ) is amorphous lithium phosphate
(Li4P2O7) oxide, a promising Li-ion conducting solid electrolyte. The structure consists of 208 atoms (64 Li
atoms, 112 O atoms, and 32 P atoms) melted at _T_ = 3000 K. This ab-initio MD melt simulation is interesting
because it represents the rapid thermal annealing process which can be used to turn crystalline Li4P2O7
(poor Li conductor) into amorphous Li4P2O7 (better Li conductor), <sup>16</sup> where different phases of the oxide
are present during the simulation. The third system (C, Figure 3c ) is the surface of aluminum oxide (Al2O3)
in the presence of high concentration of hydrofluoric acid (HF) gas. This structure consists of 228 atoms
(64 Al, 34 F, 34 H, and 96 O atoms) and was run at _T_ = 1000 K. This system is interesting because during
the simulation, the Al2O3 surface gets corroded by the chemical reaction with HF molecules.
Understanding such corrosion reactions is important in many technological applications, such as proton
exchange membrane (PEM) fuel cell bipolar plate corrosion which significantly reduces fuel cell lifetime. <sup>33</sup>
See Methods & Supplementary Information for details on quantum mechanical simulation & data
extraction.
Figure 3 . Structures being used for DCF training: a) amorphous polyethylene oxide (PEO) polymer
electrolyte, b) amorphous Li4P2O7 oxide electrolyte, c) Al2O3 surface reaction with HF molecules. The DCF
force prediction correlation plots (blue dots) are shown for: d) H atoms in PEO which are the easiest atoms
to perform regression on, and e) P atoms in Li4P2O7 which are the hardest atoms to perform regression
on. Classical FF force predictions (red triangles) are shown for comparison.
One of the first distinct observations we learned from the DCF algorithm is that different atoms
have different levels of learning difficulty. Forces for atoms in relatively simpler chemical environments,
such as single-bonded H or F atoms are relatively easy to learn using smaller number of atomic
environments. This can immediately be seen in Figure 3d, where the blue data points corresponding to
DCF ??⃗?? regression on the test set showing very good force accuracy for H atoms in system A. On the other
hand, atoms in more complex chemical environments, such as P atoms in tetragonal PO4 sites in system
B, are significantly more difficult to train the NNFF on. As shown by the blue DCF regression data points in
Figure 3e, while there is a clear correlation trend of predicted ??⃗?? with input quantum mechanical forces,
it is clear that such system can be improved further to reach the level of accuracy seen in Figure 3d .
We evaluate the force prediction accuracy of DCF for system A, B and C in Table 1 . For reference,
we include the prediction accuracy of classical force field (FF) when available. For system A reference, we
use the commercial OPLS 2005 force field <sup>34</sup> implemented in the Schrodinger software package which is
primarily used for simulating organic materials. For system B reference, we use a force field from the
literature developed for oxide systems. <sup>35</sup> There is no classical force field available for simulating Al2O3 –
HF chemical reaction, so the corresponding blocks in Table 1 has been left blank. To the best of the
authors’ knowledge, the only alternative form of classical force field capable of simulating chemical
reaction is the ReaxFF force field. <sup>36</sup> Such force fields are very complicated to hand-craft and parametrize,
and none has been developed for surface chemical reactions including the Al2O3–HF reaction. From Table
1 it can be seen that the DCF algorithm has lower mean-absolute-error (MAE) force error prediction
compared to the off-the-shelf classical FF. More comprehensive error evaluation for these three systems
are shown in Supplementary Information.
For system A, the training data source comes from classical MD geometry snapshots separated by
5 ns intervals (long MD time scale) over a 200 ns long simulation, making the training data snapshots
geometrically more diverse by construction. Because the QM simulations for system A are performed on
individual atomic environments, we were only able to generate ~40,000 DFT calculations for each of C, H,
and O atoms. On the other hand, the training data snapshots for systems B and C are separated by 2.0 fs
and 0.5 fs (short MD time scale), respectively. Significantly more data points can be generated for these
systems because the QM simulations are done on full-system snapshots, but the training data is
geometrically less diverse because the simulated physical time is short.
~~<u>?</u>~~ <u>??⃗</u> ? <u>??</u> ~~<u>� 〈�?</u>~~ ?⃗ ~~<u>�〉</u>~~
<u>FF</u> <u>NN</u>
NN
<u>(eV/Å)</u>
<u>???⃗</u> ? <u>??</u>
DFT
<u>(eV/Å)</u>
<u>〈�??⃗�〉</u>
System Atom
?⃗ ? ? ?⃗
<u>Train</u> <u>Test</u> <u>(eV/Å)</u> <u>(eV/Å)</u> <u>(eV/Å)</u> <u>FF</u> <u>NN</u>
?⃗ ? ? ?⃗ ? ? ?⃗
<u>Sample #</u> FF
<u>Train</u> <u>Test</u> <u>(eV/Å)</u>
<u>???⃗</u> ? <u>??</u>
(A)
PEO
353 K
(B)
Li4P2O7
3000 K
(C)
Al2O3 – HF
1000 K
<u>C</u> <u>36360</u> <u>4040</u> <u>1.222</u> <u>0.361</u> <u>2.365</u> <u>52%</u> <u>15%</u>
<u>H</u> <u>36540</u> <u>4060</u> <u>1.088</u> <u>0.128</u> <u>1.411</u> <u>77%</u> <u>9%</u>
<u>O</u> <u>39996</u> <u>4444</u> <u>0.93</u> <u>0.431</u> <u>1.736</u> <u>54%</u> <u>25%</u>
<u>Li</u> <u>675000 75000</u> <u>2.736</u> <u>0.603</u> <u>1.629</u> <u>168%</u> <u>37%</u>
<u>O</u> <u>675000 75000</u> <u>5.521</u> <u>0.864</u> <u>3.446</u> <u>160%</u> <u>25%</u>
<u>P</u> <u>675000 75000</u> <u>4.919</u> <u>2.375</u> <u>5.868</u> <u>84%</u> <u>40%</u>
<u>Al</u> <u>450000 50000</u>
<u>0.617</u> <u>1.846</u>
<u>33%</u>
<u>F</u> <u>450000 50000</u> <u>0.333</u> <u>1.525</u> <u>22%</u>
N/A
N/A
<u>H</u> <u>450000 50000</u> <u>0.249</u> <u>1.116</u> <u>22%</u>
<u>O</u> <u>450000 50000</u> <u>0.538</u> <u>1.551</u> <u>35%</u>
?
<u>O</u> <u>450000 50000</u> <u>0.538</u> <u>1.551</u> <u>35%</u>
Table 1 . Evaluation of force prediction accuracy for the new DCF algorithm. We define ??⃗? ? ?? =
〈�??⃗? −??⃗? ? ??�〉 . A more complete table of the model’s accuracy is shown in the Supplementary
Table 1 . Evaluation of force prediction accuracy for the new DCF algorithm. We define ??⃗? ? ?? =
〈�??⃗? −??⃗? ? ??�〉 . A more complete table of the model’s accuracy is shown in the Supplementary
Information.
?
Information.
Some evaluation of standard B–P algorithm force accuracy for multi-element solid-state systems
is available in the literature, but not directly comparable to this work because the training data is
generated from ab-initio MD running at different or unspecified temperatures, and sometimes the error
of predicted Cartesian force components is reported instead of the full force vector error. <sup>37,38</sup> Hence we
focus on reporting a more comparable metric such as ??⃗? ? ??�〈�??⃗�〉 rather than focusing on ??⃗? ? ??
magnitude, to be used for future comparisons of NNFF algorithms’ performance. In the current
implementation of DCF, this value ranges from 9% for H atoms in system A (simple single-bond –CH
environment) running at 353 K to 40% for P atoms in system B (complex PO4 environment) running at
3000 K. DCF prediction correlation for all atoms in system A, B, and C are included in supplementary Figure
S3 .
We also evaluate the computational speed of a DCF NN algorithm for system B, for which a
comparison with both full QM (DFT) and classical FF are available, as shown in Figure 4 . For this system,
DFT QM force calculation is ~10 <sup>6</sup> × slower than classical FF, while the standard NNFF algorithm written in
the PROPhet plugin for LAMMPS (C++) is ~350× slower than classical FF. <sup>39</sup> Because of the unavailability of
the PROPhet plugin for LAMMPS (C++) is ~350× slower than classical FF. <sup>39</sup> Because of the unavailability of
some fingerprint functions of standard B–P in the AMP software package, we use a simplified set of ??̅
functions for directly comparing the speed of standard B–P and DCF NNFF algorithms compared to the set
functions for directly comparing the speed of standard B–P and DCF NNFF algorithms compared to the set
used for accuracy evaluation in Table 1 (see Table S4 ). The DCF algorithm implementation today (in
Python) is ~60% faster than the standard B–P algorithm implementation (in C++). While this Python DCF
implementation is still much slower than classical FF in LAMMPS, further investigation of computational
cost reveals that the majority of this cost is incurred due to the slow atomic fingerprint calculation code
written in Python. The speed of the NN component of DCF (optimized TensorFlow library written in C++)
is comparable to the speed of classical FF. In future implementations, the fingerprint calculation code will
be ported directly into an MD engine such as LAMMPS (written in C++), therefore bypassing the Python
computation bottleneck. Based on the available computational cost data, we can estimate that the DCF
algorithm integrated into the PROPhet plugin implementation for LAMMPS (C++) will only be ~2.7× slower
than classical FF (see Methods). <sup>37,39</sup> We again emphasize that this speedup is enabled by the elimination
of fingerprint derivative calculations in an algorithm which directly predicts force vectors.
Figure 4 . Computation cost for running molecular dynamics (MD) in system B for different methods such
as DFT in Fortran, standard B–P in C++, DCF in Python (plus C++ speed estimation), and classical FF in C++.
We estimate that the integration of DCF into PROPhet plugin for LAMMPS will accelerate NNFF runtime
by ~127x over standard B–P scheme.
Finally, we quantify the performance of the DCF NNFF algorithm on the most difficult data set we
have available, which is the reaction dataset of system C. Unlike system A and system B, which only
consists of covalent bond vibration and atomic/ionic hops, system C contains chemical reactions where
chemical compounds form from distinct reactants. These are rare events; there are relatively fewer
atomic snapshots corresponding to the chemical reaction, making these snapshots a very small fraction
of the training set data. Nevertheless, we can construct a test dataset consisting of all of the reaction
snapshots from the full dataset (larger than and including a very small fraction of the training set data of
system C), and perform force prediction on many reaction snapshots which have not been seen in the
training set. The extraction of ‘reacting atomic snapshots’ from the AIMD trajectories is done using a
combination of tools based on molecular graph analysis and a Hidden Markov Models (see Methods). We
demonstrate this result in Table 2, showing the prediction of forces on atoms in system C for both
standard and reaction test data set. It can be seen from Figure 5a–b that the performance of the NNFF
trained on a typical data set performs reasonably well on the reaction data set for Al, F, and H atoms,
albeit slightly worse than the performance on standard data set. In Figure 5, we also show some loops
corresponding to a few rare reaction trajectories where the DCF fails to accurately capture forces (which
is especially bad on O atoms). We hypothesize that the performance on F and H reaction snapshots are
excellent because they stay in geometrically simple single-bond configurations during chemical reactions.
On the other hand, the performance on O reaction snapshots is the worst because there are very few O
snapshots which are involved in chemical reactions in the full dataset. These ultra-rare events constitute
only ~0.065% of the entire O environment dataset, making force prediction on those chemical reaction
events difficult.
Figure 5 . DCF force correlation plot for the ‘chemical reaction test set’ (red triangles) of system C, where
a) Al, b) F, and c) O atoms are shown. Performance on the standard test set (clue does) is overlaid on top
of the reaction test set for direct visual comparison. F and H atoms’ force regressions are the best and
comparable to those of the standard test set (H atoms not shown). While Al force regression on the
reaction test set shows poor performance on some chemical pathways (small loops), the overall
regression error is comparable to that of the standard test set. However, O atoms’ regression on the
chemical reaction test set are very poor compared to that of the standard test set, likely because the
reaction test snapshots correspond to ultra-rare events.
<u>Standard Test Set</u> <u>Reaction Test Set</u> <u>Rare Event</u>
Atom Sample Sample Occurrence
<u>Count</u> <u>(eV/Å)</u> <u>Count</u> <u>(eV/Å)</u>
~~<u>??</u>~~ ?⃗ ? ~~<u>?</u>~~ ? ~~<u>??</u>~~ ?⃗ ? ~~<u>?</u>~~ ?
<u>Al</u> <u>50000</u> <u>0.617</u> <u>18583</u> <u>0.713</u> <u>1.97%</u>
<u>F</u> <u>50000</u> <u>0.333</u> <u>30798</u> <u>0.338</u> <u>6.15%</u>
<u>H</u> <u>50000</u> <u>0.249</u> <u>15477</u> <u>0.352</u> <u>3.09%</u>
<u>O</u> <u>50000</u> <u>0.538</u> <u>920</u> <u>1.879</u> <u>0.065%</u>
Atom
<u>Standard Test Set</u> <u>Reaction Test Set</u> <u>Rare Event</u>
Sample Sample Occurrence
?⃗ ? ? ?⃗ ? ?
<u>Count</u>
<u>(eV/Å)</u>
~~<u>??</u>~~ ?⃗ ? ~~<u>?</u>~~ ?
<u>0.617</u>
Sample
<u>Count</u>
Table 2 . DCF algorithm prediction accuracy for the standard and chemical reaction test set of system C.
We define ??⃗? ? ?? = 〈�??⃗? −??⃗? ? ??�〉 . A more complete table of the model’s accuracy is shown in the
Supplementary Information. Rare event occurrence = (reaction set sample count / full trajectory sample
? ?
Supplementary Information. Rare event occurrence = (reaction set sample count / full trajectory sample
count) for each of the elements. Chemical reaction test set ??⃗ regression does not work well when the rare
event occurrence is << 1%.
event occurrence is << 1%.
Going forward, it will be important to increase the fraction of training data set related to atomic
events of interest such as chemical reaction. This is very difficult to do in a standard B–P NNFF algorithm
because all of the atoms in a simulation frame are coupled by the system total energy. On the other hand,
data snapshots in the DCF algorithm are decoupled. This last property is of great interest because in order
to improve the prediction accuracy for specific rare atomic event of interest, it is straightforward to simply
add atomic environments corresponding to those rare events without having to add significantly more
samples which are not physically interesting, a well-known data imbalance problem in the machine
learning community. <sup>40</sup> In addition, limiting the force prediction input from just a decoupled local atomic
environment may eventually enable researchers to share and mix structure–force training data from
different AIMD simulations, eliminating the need for over-redundant force field training data generation.
For example, an AIMD training set for ionic diffusion in a bulk electrolyte combined with an AIMD training
set for cation dissolution from a cathode surface into the electrolyte may enable large-scale NNFF-MD
simulation of cation dissolution from the cathode surface into the bulk electrolyte, a very important
phenomenon to study for battery and fuel cell applications.
## Conclusions
We have enabled the direct force vector prediction from local atomic snapshots through the
usage of both rotation-invariant and rotation-covariant fingerprint features. This approach enables us to
bypass costly fingerprint derivative calculations, typically the computation bottleneck of existing neural
network force fields approach, by 180–480×, which may effectively accelerate NNFF-based MD
computation speed by similar magnitude. Atomic force projections onto internal covariant axes serve as
rotation-invariant hidden states, which were then used to separately train the rotation-invariant and
rotation-covariant parts of the network. Finally, transfer learning is used to transfer the NN weights to the
full network before further optimization, leading to direct atomic force prediction of a polymer
electrolyte, amorphous oxide electrolyte, and oxide surface acid corrosion; practical systems relevant for
material discovery and degradation prevention in applications such as batteries and fuel cells.
This force calculator can be directly implemented within a molecular dynamics engine, provided
that either a thermostat is used (so total energy need not be conserved) or an efficient neural-network
architecture is found that conserves total energy. Beyond atomistic simulation, the rotation
invariant/covariant neural network can be applied to a variety of physical domains to enforce physical
symmetries. Future improvements may include more automated fingerprint selection <sup>38</sup> or data
representation through the use of generative adversarial networks (GAN) <sup>41</sup> or graph convolutional neural
networks, <sup>22</sup> applied separately on the rotation-invariant and covariant components, to further the
accuracy of this direct covariant force vector prediction algorithm’s accuracy further. Furthermore, true
rotation-covariant operation should be implemented for the NN model’s component utilizing the
covariant features.
## Data availability
The atomic structure–force dataset (for system A, B, and C) and the Python code for training the
NNFF of the DCF approach of this work is publicly available at … and can be requested from the
corresponding authors.
## References
1. Butler, K. T., Davies, D. W., Cartwright, H., Isayev, O. & Walsh, A. Machine learning for molecular
and materials science. _Nature_ 559, 547–555 (2018).
2. Gastegger, M. & Marquetand, P. High-dimensional neural network potentials for organic
reactions and an improved training algorithm. _J. Chem. Theory Comput._ 11, 2187–2198 (2015).
3. Bassman, L. _et al._ Active learning for accelerated design of layered materials. _npj Comput. Mater._
4, 74 (2018).
4. Huan, T. D. _et al._ A universal strategy for the creation of machine learning-based atomistic force
fields. _npj Comput. Mater._ 3, 37 (2017).
5. Friederich, P., Konrad, M., Strunk, T. & Wenzel, W. Machine learning of correlated dihedral
potentials for atomistic molecular force fields. _Sci. Rep._ 8, 2559 (2018).
6. Li, Y. _et al._ Machine learning force field parameters from ab initio data. _J. Chem. Theory Comput._
13, 4492–4503 (2017).
7. Smith, J. S., Isayev, O. & Roitberg, A. E. ANI-1: an extensible neural network potential with DFT
accuracy at force field computational cost. _Chem. Sci._ 8, 3192–3203 (2017).
8. Zong, H., Pilania, G., Ding, X., Ackland, G. J. & Lookman, T. Developing an interatomic potential
for martensitic phase transformations in zirconium by machine learning. _npj Comput. Mater._ 4,
48 (2018).
9. Jha, D. _et al._ ElemNet: Deep learning the chemistry of materials from only elemental
composition. _Sci. Rep._ 8, 17593 (2018).
10. Meredig, B. _et al._ Combinatorial screening for new materials in unconstrained composition space
with machine learning. _Phys. Rev. B - Condens. Matter Mater. Phys._ 89, 094104 (2014).
11. Glielmo, A., Sollich, P. & De Vita, A. Accurate interatomic force fields via machine learning with
covariant kernels. _Phys. Rev. B_ 95, 214302 (2017).
12. Chmiela, S. _et al._ Machine learning of accurate energy-conserving molecular force fields. _Sci. Adv._
3, e1603015 (2017).
13. Chmiela, S., Sauceda, H. E., Müller, K. R. & Tkatchenko, A. Towards exact molecular dynamics
simulations with machine-learned force fields. _Nat. Commun._ 9, 3887 (2018).
14. Zeni, C. _et al._ Building machine learning force fields for nanoclusters. _J. Chem. Phys._ 148, 241379
(2018).
15. Behler, J. Atom-centered symmetry functions for constructing high-dimensional neural network
potentials. _J. Chem. Phys._ 134, 074106 (2011).
16. Li, W., Ando, Y., Minamitani, E. & Watanabe, S. Study of Li atom diffusion in amorphous Li3PO4
with neural network potential. _J. Chem. Phys._ 147, 214106 (2017).
17. Rajak, P., Kalia, R. K., Nakano, A. & Vashishta, P. Neural network analysis of dynamic fracture in a
layered material. _MRS Adv._ 1–9 (2019). doi:10.1557/adv.2018.
18. Handley, C. M. & Popelier, P. L. A. Potential energy surfaces fitted by artificial neural networks. _J._
_Phys. Chem. A_ 114, 3371–3383 (2010).
19. Behler, J. & Parrinello, M. Generalized neural-network representation of high-dimensional
potential-energy surfaces. _Phys. Rev. Lett._ 98, 146401 (2007).
20. Krizhevsky, A., Sutskever, I. & Hinton, G. E. ImageNet classification with deep convolutional
neural networks. _Adv. Neural Inf. Process. Syst._ 25, (2012).
21. Niepert, M., Ahmed, M. & Kutzkov, K. Learning convolutional neural networks for graphs. _Proc._
_33rd Int. Conf. Mach. Learn._ 48, 2014–2023 (2016).
22. Xie, T. & Grossman, J. C. Crystal graph convolutional neural networks for an accurate and
interpretable prediction of material properties. _Phys. Rev. Lett._ 120, 145301 (2018).
23. 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. _J. Chem. Phys._ 148, (2018).
24. Zhang, L., Han, J. & Car, R. Deep potential molecular dynamics : A scalable model with the
accuracy of quantum mechanics. _Phys. Rev. Lett._ 120, 143001 (2018).
25. Kutz, J. N. Deep learning in fluid dynamics. _J. Fluid Mech._ 814, 1–4 (2017).
26. McCracken, M. F. Artificial neural networks in fluid dynamics: A novel approach to the NavierStokes equations. _Proc. Pract. Exp. Adv. Res. Comput._ 80 (2018). doi:10.1145/3219104.3229262
27. Yang, K.-T. Artificial Neural Networks (ANNs): A new paradigm for thermal science and
engineering. _J. Heat Transfer_ 130, 093001 (2008).
28. Li, Z., Kermode, J. R. & De Vita, A. Molecular dynamics with on-the-fly machine learning of
quantum-mechanical forces. _Phys. Rev. Lett._ 114, 1–5 (2015).
29. Kondor, R. N-body networks: a covariant hierarchical neural network architecture for learning
atomic potentials. _arXiv_ 1803.01588 (2018).
30. Thomas, N. _et al._ Tensor field networks: Rotation- and translation-equivariant neural networks
for 3D point clouds. _arXiv_ 1802.08219 (2018).
31. Molinari, N., Mailoa, J. P. & Kozinsky, B. Effect of Salt Concentration on Ion Clustering and
Transport in Polymer Solid Electrolytes: A Molecular Dynamics Study of PEO-LiTFSI. _Chem. Mater._
30, 6298–6306 (2018).
32. Brooks, D. J., Merinov, B. V., Goddard, W. A., Kozinsky, B. & Mailoa, J. Atomistic Description of
Ionic Diffusion in PEO-LiTFSI: Effect of Temperature, Molecular Weight, and Ionic Concentration.
_Macromolecules_ 51, 8987–8995 (2018).
33. Hermann, A., Chaudhuri, T. & Spagnol, P. Bipolar plates for PEM fuel cells: A review. _Int. J._
_Hydrogen Energy_ 30, 1297–1302 (2005).
34. Banks, J. L. _et al._ Integrated Modeling Program, Applied Chemical Theory (IMPACT). _J. Comput._
_Chem._ 26, 1752–1780 (2005).
35. Pedone, A., Malavasi, G., Menziani, M. C., Cormack, A. N. & Segre, U. A new self-consistent
empirical interatomic potential model for oxides, silicates, and silicas-based glasses. _J. Phys._
_Chem. B_ 110, 11780–11795 (2006).
36. van Duin, A. C. T., Dasgupta, S., Lorant, F. & Goddard, W. A. ReaxFF: A reactive force field for
hydrocarbons. _J. Phys. Chem. A_ 105, 9396–9409 (2001).
37. Khorshidi, A. & Peterson, A. A. Amp: A modular approach to machine learning in atomistic
simulations. _Comput. Phys. Commun._ 207, 310–324 (2016).
38. Imbalzano, G. _et al._ Automatic selection of atomic fingerprints and reference configurations for
machine-learning potentials. _J. Chem. Phys._ 148, 241730 (2018).
39. Kolb, B., Lentz, L. C. & Kolpak, A. M. Discovering charge density functionals and structureproperty relationships with PROPhet: A general framework for coupling machine learning and
first-principles methods. _Sci. Rep._ 7, 1192 (2017).
40. Pinker, E. Reporting accuracy of rare event classifiers. _npj Digit. Med._ 1, 56 (2018).
41. Gupta, A. & Zou, J. Feedback GAN for DNA optimizes protein functions. _Nat. Mach. Intell._ 1, 105–
111 (2019).
## Methods System A Quantum Data Generation
A low-density MD structure for PEO was first generated and its force field parametrized using
Schrodinger Suite and the OPLS 2005 force field. Classical MD was subsequently run in the LAMMPS to
compress, anneal, cool, and decompress the structure, bringing it into a PEO state close to equilibrium at
operating pressure of _P_ = 1 atm and _T_ = 80 C. The equilibrated structure was then run for 200 ns in an NPT
ensemble, and atomic frame snapshots are recorded every 5 ns. Afterward, we extract the local atomic
ensemble, and atomic frame snapshots are recorded every 5 ns. Afterward, we extract the local atomic
coordinate environment �?? <sup>�⃗</sup> ??� for each of the atoms in the simulation box up to a radius of 10 Å and place
them in a large cubic simulation box. DFT simulation was then run using the SIESTA software package, <sup>1</sup>
them in a large cubic simulation box. DFT simulation was then run using the SIESTA software package, <sup>1</sup>
using GGA-PBE functional (and default setting for the rest of the DFT parameters) to calculate the force
on central atom ??⃗?? .
## System B & C Quantum Data Generation
System B was a Li4P2O7 crystalline system simulated at high temperature via ab-initio molecular
dynamics (AIMD). The starting structure was a supercell of Li4P2O7 crystal (space group P21/c) of sixteen
formula units, arranged in an orthorhombic simulation box of 10.4 x 14.0 x 16.0 Å with periodic boundary
conditions. Simulations were performed using the Vienna Ab-Initio Simulation Package (VASP) <sup>2-4</sup> with a
generalized gradient PBE functional, <sup>5</sup> project-augmented-wave (PAW) pseudopotentials, <sup>6</sup> a Γ-point
reciprocal-space mesh, and a plane-wave cutoff of 400 eV. The AIMD had a timestep of 2 fs with a Nosé
Hoover thermostat <sup>7</sup> at 3000 K, for a total simulation time of 50 ps.
System C was an alumina surface exposed to HF molecules. The monoclinic cell had β=60°, a=10.5
Å, and c=26.6 Å with periodic boundary conditions. The c-axis contained 10 Å of vacuum with 34 HF
molecules; the rest was 32 formula units of Al2O3 cut along (111). Here too the simulations were
performed with VASP, a PBE functional, and PAW pseudopotentials at the Γ point. The plane-wave cutoff
was 450 eV. The Nosé thermostat was set at 1000 K and timesteps of 0.5 fs for a total simulation time of
20 ps.
## Cost Benchmarking
The standard B–P neural networks <sup>8</sup> were trained using the “Atomistic Machine-learning Package”
(AMP). <sup>9</sup> Several different architectures were trained using both energies and forces in a joint loss function.
The final model used for the evaluation of prediction time was a network with two hidden layers with 50
nodes per layer, using a cutoff radius of 6.5 Å. Once trained, the AMP network was converted into a
PROPhet potential file <sup>10</sup> in order to use the efficient, C++-based coupling of PROPhet to the LAMMPS
code. <sup>11</sup> The PROPhet standard B–P MD simulation was then run in an NVT simulation at 3000 K for 50 ps
at a time step of 1 fs using the Nose-Hoover thermostat.
The DCF NNFF algorithm is similarly trained using cutoff radius of 6.5 Å, two hidden layers with 50
nodes per layer on the rotation-invariant part, and two hidden layers with 40 nodes per layer on the
rotation-covariant part. The fingerprint calculation for training and testing are written in Python, while
the neural network model calculation is done in Python’s TensorFlow module under the Keras framework.
To estimate the evaluation time of DCF were it to be implemented within PROPhet’s efficient C++ code,
we first assume that standard B–P NNFF computational cost in C++ is vastly dominated by the calculation
of the fingerprint and its derivatives (a fair assessment given the NN and classical FF overhead shown in
Figure 4 ). In DCF, the fingerprint derivative calculation is eliminated. For an average of _m_ = 101 atoms
within the 6.5 A cutoff radius for Li4P2O7 system, the fingerprint component of DCF is estimated to be 1 /
(1 + 3*101) = 0.0033 that of standard NNFF computational cost. Here we have assumed that fingerprint
derivative calculation cost is just as expensive as the fingerprint function calculation cost for simplicity,
while in reality the fingerprint derivative functional form should be more computationally expensive to
calculate. We then added back the LAMMPS and TensorFlow computational overhead from Figure 4 to
obtain the estimate that DCF based MD will be ~127x faster than standard NNFF based MD for system B.
This acceleration estimate depends on _m_ and should be mostly independent from the size of system B.
## Hidden Markov Model Reaction Snapshot Extraction
In order to generate the reaction data set for system C, a graph-based approach was used to
identify molecules based on atomic connectivity. Interatomic connections are made based on radial cutoff
of ???
?? . <sup>12</sup>
?? + ????
??? < 1.4 ∗(????
??), where ????
?? and ????
??
?? are the covalent radii of the chemical species of atom ?? and
of ????? < 1.4 ∗(?????? + ??????), where ?????? and ?????? are the covalent radii of the chemical species of atom ?? and
?? . <sup>12</sup> The graph at each time step ???? is represented as a connectivity matrix, which contains connected
subgraphs as molecules, located by breadth-first-search. Erroneous connections are made at each
subgraphs as molecules, located by breadth-first-search. Erroneous connections are made at each
snapshot due to thermal vibration and molecular collision. Thus, the presence of each molecule through
the trajectory is described by a binary time-series, which is noise-filtered by describing the system as a
Hidden Markov Model with observed (connectivity) and hidden states (bonds). <sup>13</sup> The Viterbi algorithm is
used to find the filtered signal, which is the most probable hidden state sequence for the Markov chain.
The parameters of the HMM are 1) the probability of state change at each time step which was set to a
value of 1e-5, 2) the probability of observed state matching the hidden state set to 0.6, and 3) the initial
probability of each state which was 0.5. Similar to methods used by Wang and Zheng, <sup>14-15</sup> changes in the
connectivity matrix are detected across different frames and changes to subgraphs indicate molecular
transformations via chemical reaction. Chemical reactions are verified by balancing reactants and
products with the same participating atoms, allowing automated and precise detection of reactivity
throughout the course of the simulation.
## Method References
1 Junquera, J., Paz, O., Sánchez-Portal, D., & Artacho, E. Numerical atomic orbitals for linear-scaling
calculations, _Phys. Rev. B_ 64, 235111, (2001).
2 Kresse, G. & Hafner, J. Ab initio molecular dynamics for liquid metals. _Phys. Rev. B_ 47, 558 (1993).
3 Kresse, G. & Furthmuller, J. Efficiency of ab-initio total energy calculations for metals and
semiconductors using a plane-wave basis set. _Comput. Mat. Sci._ 6, 15 (1996).
4 Kresse, G. & Furthmuller, J. Efficient iterative schemes for ab initio total-energy calculations using
a plane-wave basis set. _Phys. Rev. B_ 54, 169 (1996).
5 Perdew, J. P., Burke, K. & Ernzerhof, M. Generalized gradient approximation made simple. _Phys._
_Rev. Lett._ 77, 3865 (1996).
6 Kresse, G. & Joubert, D. From ultrasoft pseudopotentials to the projector augmented-wave
method. _Phys. Rev._ 59, 1758 (1999).
7 Nosé, S. A unified formulation of the constant temperature molecular dynamics methods. _J. Chem._
_Phys._ 81, 511 (1984).
8 <mark>Behler, J. & Parrinello, M. Generalized neural-network representation of high-dimensional</mark>
<mark>potential-energy surfaces.</mark> _<mark>Phys. Rev. Lett.</mark>_ <mark>98</mark> <mark>, 146401 (2007).</mark>
9 <mark>Khorshidi, A. & Peterson, A. A. Amp: A modular approach to machine learning in atomistic</mark>
<mark>simulations.</mark> _<mark>Comput. Phys. Commun.</mark>_ <mark>207</mark> <mark>, 310-324 (2016).</mark>
10 <mark>Kolb, B., Lentz, L. C. & Kolpak, A. M. Discovering charge density functionals and structure-property</mark>
<mark>relationships with PROPhet: A general framework for coupling machine learning and first-</mark>
<mark>principles methods.</mark> _<mark>Sci. Rep.</mark>_ <mark>7</mark> <mark>, 1192 (2017).</mark>
11 <mark>Plimpton, S. Fast parallel algorithms for short-range molecular dynamics.</mark> _<mark>J. Comput. Phys.</mark>_ <mark>117</mark> <mark>, 1-</mark>
<mark>19 (1995).</mark>
12 Cordero, B., Gómez, V., Platero-Prats, A. E., Revés, M., Echeverría, J., Cremades, E., Barragána, F.
& Alvarez, S. Covalent radii revisited. _Dalton Trans._ 0, 2832–2838 (2008).
13 Press, W. H., Teukolsky, S. A., Vetterling, W. T. & Flannery, B. P. Numerical Recipes 3 <sup>rd</sup> Edition: The
Art of Scientific Computing, 3 <sup>rd</sup> ed. New York, NY, USA: Cambridge University Press (2007).
14 Wang, L. P., Titov, A., McGibbon, R., Liu, F., Pande, V. S. & Martinez, T. J. Discovering chemistry
with an ab initio nanoreactor. _Nat. Chem._ 6, 1044–1048 (2014).
15 Zheng, S. & Pfaendtner, J. Car–Parrinello molecular dynamics + metadynamics study of hightemperature methanol oxidation reactions using generic collective variables. _J. Phys. Chem. C_ 118,
10764–10770 (2014).
## Acknowledgements
The authors thank S. Falkner and C. Cunha from Bosch Center for Artificial Intelligence (BCAI) for
feedback on NNFF algorithm accuracy improvement. This research used resources of the Oak Ridge
Leadership Computing Facility at Oak Ridge National Laboratory, which is supported by the Office of
Science of the Department of Energy under Contract DE-AC05-00OR22725. The research was partially
funded by the Advanced Research Projects Agency – Energy (ARPA-E), U.S. Department of Energy, under
Award Number DE-AR0000775.
## Author contributions
J.P. Mailoa conceived and implemented the staggered rotation-invariant and covariant feature
separation algorithm. J.P. Mailoa, M. Kornbluth, G. Samsonidze, S.T. Lam, C. Ablitt, and N. Molinari
generated the training and test dataset for system A, B, and C. J.P. Mailoa evaluated the NNFF accuracy.
J.P. Mailoa, S.L. Batzner, and M. Kornbluth performed the computational cost analysis. S.T. Lam developed
the Hidden Markov Model for system C reaction dataset generation. J.P. Mailoa wrote the manuscript. All
authors contributed in the manuscript preparation.
## Competing interests
The authors declare no competing interests.
## Materials & Correspondence
Correspondence regarding this manuscript and material requests should be addressed to
Jonathan Mailoa at <u>jpmailoa@alum.mit.edu</u> or Boris Kozinsky at <u>bkoz@seas.harvard.edu.</u>
# Electronic Supplementary Information Fast Neural Network Approach for Direct Covariant Forces Prediction in Complex Multi‐Element Extended Systems
Jonathan P. Mailoa, <sup>1*</sup> Mordechai Kornbluth, <sup>1</sup> Simon L. Batzner, <sup>2,3</sup> Georgy Samsonidze, <sup>1</sup>
Stephen T. Lam, <sup>1,2</sup> Chris Ablitt, <sup>1,4</sup> Nicola Molinari, <sup>1,3</sup> and Boris Kozinsky <sup>3,1*</sup>
1) Bosch Research and Technology Center, Cambridge, MA 02139, USA
2) Massachusetts Institute of Technology, Cambridge, MA 02139, USA
3) Harvard School of Engineering and Applied Sciences, Cambridge, MA 02138, USA
4) Imperial College London, London SW7 2AZ, UK
- corresponding author: <u>jpmailoa@alum.mit.edu, bkoz@seas.harvard.edu</u>
# Data Generation using Quantum Mechanics Tools
System A
Polyethylene oxide (PEO) system consisting of 10 polymer chains 100 monomer each was built
and equilibrated using classical OPLS 2005 force field designed for organic chemistries in LAMMPS
software package. There are 7090 atoms in the system (2020 C atoms, 4060 H atoms, and 1010 O atoms).
Classical MD frame snapshots were outputted every 5 ns of NPT ensemble run, and 40 frames were
outputted. Out of those 40 frame snapshots, spherical atomic snapshots with cutoff radius of 10 Å were
extracted (40400 C, 40600 H, and 44440 O atomic snapshots were chosen). After terminating the open
bonds with hydrogen, SIESTA DFT software package was used on these 10 Å radius structures to generate
the force on central atom. The training and test dataset are then taken from these atomic snapshots.
System B
Li4P2O7 structure with 208 atoms (64 Li, 112 O, and 32 P atoms) was run using ab‐initio MD in VASP
software package. A frame snapshot was outputted every 2.0 fs during a 50 ps ab‐initio MD run, leading
to the generation of 25000 frame snapshots (5.2 million atomic snapshots). Out of those, 750000 atomic
snapshots were randomly chosen for each of Li, O, and P atoms. The training and test dataset are then
taken from these atomic snapshots.
System C
Al2O3 surface structure in the presence of HF molecules with 228 atoms (64 Al, 34 F, 34 H, and 96
O atoms) was run using ab‐initio MD in VASP software package. A frame snapshot was outputted every
0.5 fs during a 7.3685 ps ab‐initio MD run, leading to the generation of 14737 frame snapshots (3360036
atomic snapshots). Out of those, 500000 atomic snapshots were randomly chosen for each of Al, F, H, and
O atoms. The training and test dataset are then taken from these atomic snapshots.
# Hyperparameter for ? � and �? ��⃗ � Fingerprints
First we outline the fingerprint hyperparameters we used to generate direct NNFF models for
system A, B and C in the main text’s Table 1 . The relevant 2‐body and 3‐body functions for ?̅ and �?⃗� and
are listed in equation (2‐8):
⁄ ��1� for ?�?�
?��?��� <sup>0.5 ∙�cos�???�</sup> (1)
0 for ?�?�
?������?�⃗����∑�∈��� ?���?⃗���� (2)
������?�⃗����∑�∈��� ? <sup>�����⃗�������</sup>
?�
�∈��� ? <sup>�����⃗�������</sup> ?���?⃗���� (3)
?������?�⃗����∑�∈��� cos�?�?⃗����?���?⃗���� (4)
?����,�����?�⃗����2��� ∑�∈����1 �?cos ?�����?�����⃗�����|�⃗��|����⃗�����?���?⃗����?��|?⃗��|�?���?⃗����
�∈���
���
(5)
(6)
?����,�����?�⃗����2��� ∑�∈����1 �?cos ?�����?�����⃗�����|�⃗��|��?���?⃗����?��|?⃗��|�
�∈���
���
������?�⃗����∑�∈��� ?⃗��? <sup>�����⃗�������</sup>
? <sup>�⃗</sup>
�∈��� ?⃗��? <sup>�����⃗�������</sup> ?���?⃗���� (7)
0 for ? <sup>�⃗</sup>
������?�⃗�����
?⃗�
? <sup>�⃗</sup>
�����?�⃗����� otherwise
��� �0
(8)
<u>Center Atom</u> <u>Function</u> <u>Parameters</u> <u>Count</u>
Rotation‐Invariant Features
<u>?��</u>
?��
<u>?��</u>
C, H, O
C
H
O
<u>?��, ?��, ?��</u> ?� �6, ?�100, ?� ��2.0, 2.2, 2.4, 2.6� <u>12</u>
?��, ?��, ?�� ?� �6, ?��1.0, 2.0, 3.0, 4.0, 5.0� <u>15</u>
<u>��, ?��, ?��</u> <u>?�</u> <u>�6</u> <u>3</u>
?� �6, ?� <u>�0.5, 1.0, 1.5�,</u>
��, ?��, ?�� 45
<u>?�</u> <u>��1.0, 2.0, 3.0, 4.0, 5.0�</u>
<u>��, ?��, ?��</u> <u>?�</u> <u>�6, ?�1000, ?�</u> <u>��1.0, 1.1, 1.2, 1.3, 1.4, 1.5�</u> <u>18</u>
<u>��, ?��, ?��</u> ?� �6, ?�100, ?� ��2.0, 2.2, 2.4, 2.6� <u>12</u>
<u>��, ?��, ?��</u> ?� �6, ?��1.0, 2.0, 3.0, 4.0, 5.0� <u>15</u>
<u>?��⃗</u>
<u>?��⃗</u>
<u>?��⃗</u>
<u>?��⃗</u>
<u>?��⃗</u>
<u>?��⃗</u>
<u>?��⃗</u>
<u>?��⃗</u>
<u>?��⃗</u>
<u>��⃗</u> <u>?�</u> <u>�6, ?�100, ?�</u> <u>��1.5, 2.4�</u> <u>6</u>
<u>��⃗</u> <u>?�</u> <u>�6, ?�100, ?�</u> <u>��1.0, 1.1, 1.2�</u> <u>9</u>
<u>��⃗</u> <u>?�</u> <u>�6, ?�100, ?�</u> <u>��1.4, 2.4�</u> <u>6</u>
<u>��⃗</u> <u>?�</u> <u>�6, ?�100, ?�</u> <u>��1.1, 2.1�</u> <u>6</u>
<u>��⃗</u> <u>?�</u> <u>�6, ?�100, ?�</u> <u>��1.7, 2.2�</u> <u>6</u>
<u>��⃗</u> <u>?�</u> <u>�6, ?�100, ?�</u> <u>��1.9, 2.1�</u> <u>6</u>
<u>��⃗</u> <u>?�</u> <u>�6, ?�100, ?�</u> <u>��1.3, 1.5. 2.05, 2.2�</u> <u>12</u>
<u>��⃗</u> <u>?�</u> <u>�6, ?�100, ?�</u> <u>��1.95, 2.0, 2.1, 2.2�</u> <u>12</u>
?��,�, ?��,�, ?��,�,
?��,�, ?��,�, ?��,�
��,�, ?��,�, ?��,�, ?� �6, ζ ��1, 2, 4, 16, 64�, λ ��1, �1�,
480
<u>��,�, ?��,�, ?��,�</u> ?��0.01, 0.05, 0.1, 0.2, 0.5, 1.0, 2.0, 5.0�
��,�, ?��,�, ?��,�, ?� �6, ζ ��1, 2, 4, 16, 64�, λ ��1, �1�,
480
<u>��,�, ?��,�, ?��,�</u> ?��0.01, 0.05, 0.1, 0.2, 0.5, 1.0, 2.0, 5.0�
?�
?��,�, ?��,�, ?��,�,
?��,�, ?��,�, ?��,�
?�
<u>Rotation‐Covariant Features</u>
⃗
<u>?��⃗</u> <u>?�</u> <u>�6, ?�100, ?�</u> <u>��2.0, 2.2�</u> <u>6</u>
Table S1. <u>Selected rotation‐invariant and rotation‐covariant fingerprint features for system A (</u> Table 1 in
the main text), amorphous polyethylene oxide polymer (PEO). NN1 consists of 2 hidden layers, 120 nodes
each for each ?���,� node. NN2 consists of 2 hidden layers, 40 nodes each for each ?� node.
<u>Center Atom</u> <u>Function</u> <u>Parameters</u> <u>Count</u>
<u>Rotation‐Invariant Features</u>
Li, O, P
?���,��, ?���,�, ?���,�,
<u>?��,�, ?��,�, ?��,�</u>
?�
���,��, ?���,�, ?���,�, ?� �6.5, ζ ��1, 4, 16�, λ ��1, �1�,
108
<u>��,�, ?��,�, ?��,�</u> <u>?�</u> �0.005, 0.02, 0.1�
?���
?� �6.5, ?� <u>�0.05, 4, 20, 80�,</u>
���, ?��, ?�� 36
<u>?�</u> <u>��0, 1, 3�</u>
?� �6.5, ?�1000,
���, ?��, ?�� 24
<u>?�</u> <u>��1.4, 1.6, 1.8, 2.0, 2.5, 2.7, 3.0, 3.3�</u>
O ?���
<u>Rotation‐Covariant Features</u>
<u>���⃗</u> <u>, ?��⃗</u> <u>, ?��⃗</u> <u>?�</u> <u>�6.5, ?�1.0, ?�</u> <u>�0</u> <u>9</u>
<u>���⃗</u> <u>, ?��⃗</u> <u>, ?��⃗</u> <u>?�</u> <u>�6.5, ?�2.0, ?�</u> <u>�1.0</u> <u>9</u>
<u>?���⃗</u> ⃗
Li, O, P
⃗ ⃗
<u>?���⃗</u> ⃗
⃗ ⃗
<u>���⃗</u> <u>?�</u> <u>�6.5, ?�10, ?�</u> <u>�1.4</u> <u>3</u>
O
<u>?���⃗</u>
<u>?��⃗</u>
<u>?��⃗</u>
⃗
<u>��⃗</u> <u>?�</u> <u>�6.5, ?�10, ?�</u> <u>�2.0</u> <u>3</u>
⃗
<u>?��⃗</u> <u>?�</u> <u>�6.5, ?�100, ?�</u> <u>��1.6, 1.8�</u> <u>6</u>
Table S2 <u>. Selected rotation‐invariant and rotation‐covariant fingerprint features for system B (</u> Table 1 in
the main text), amorphous Li4P2O7. NN1 consists of 2 hidden layers, 50 nodes each for each ?���,� node.
NN2 consists of 2 hidden layers, 40 nodes each for each ?� node.
<u>Center Atom</u> <u>Function</u> <u>Parameters</u> <u>Count</u>
<u>Rotation‐Invariant Features</u>
?���
Al, F, H, O
?���,��, ?���,�, ?���,�, ?���,�,
?��,�, ?��,�, ?��,�, ?��,�,
?�
?���
?� �6.5, ?� <u>�0.05, 4, 20, 80�,</u>
���, ?��, ?��, ?�� 48
<u>?�</u> <u>��0, 1, 3�</u>
?� �6.5, ?�1000,
���, ?��, ?��, ?�� 20
<u>?�</u> <u>��1.0, 1.7, 1.8, 1.9, 2.0�</u>
?� �6.5, ζ ��1, 4, 16�, λ ��1, �1�,
180
?��0.005, 0.02, 0.1�
?��,�, ?��,�, ?��,�, ?��,�,
<u>?��,�, ?��,�</u>
<u>��,�, ?��,�</u>
?� �6.5, ?�200,
���, ?��, ?��, ?�� 16
<u>?�</u> <u>��2.2, 2.3, 2.4, 2.5�</u>
Al ?���
<u>Rotation‐Covariant Features</u>
<u>�⃗��</u> <u>?�</u> <u>�6.5, ?�5.0, ?�</u> <u>��2.3, 2.7, 3.1�</u> <u>9</u>
Al
<u>?�⃗��</u>
<u>?��⃗</u>
<u>?��⃗</u>
<u>?��⃗</u>
⃗
<u>��⃗</u> <u>?�</u> <u>�6.5, ?�50, ?�</u> <u>��1.8, 1.9�</u> <u>6</u>
<u>��⃗</u> <u>?�</u> <u>�6.5, ?�50, ?�</u> <u>��2.4, 2.6, 2.8�</u> <u>9</u>
<u>��⃗</u> <u>?�</u> <u>�6.5, ?�50, ?�</u> <u>��1.8, 1.95, 2.1�</u> <u>9</u>
⃗
?� �6.5, ?�100,
���, ?⃗��, ?⃗��, ?⃗�� 48
<u>?�</u> <u>��1.0, 1.6, 1.8, 2.0�</u>
F, H ?⃗���
<u>�⃗��</u> <u>?�</u> <u>�6.5, ?�100, ?�</u> <u>��1.7, 1.9, 2.1�</u> <u>9</u>
O
<u>?�⃗��</u>
<u>?��⃗</u>
<u>?��⃗</u>
<u>?��⃗</u>
⃗
<u>��⃗</u> <u>?�</u> <u>�6.5, ?�50, ?�</u> <u>��2.3, 2.7, 3.1�</u> <u>9</u>
<u>��⃗</u> <u>?�</u> <u>�6.5, ?�50, ?�</u> <u>�1.0</u> <u>3</u>
⃗
<u>?��⃗</u> <u>?�</u> <u>�6.5, ?�50, ?�</u> <u>��1.5, 2.4, 2.8, 3.2�</u> <u>12</u>
Table S3 <u>. Selected rotation‐invariant and rotation‐covariant fingerprint features for system C (</u> Table 1 in
the main text), Al2O3 surface – HF reaction. NN1 consists of 2 hidden layers, 50 nodes each for each ?���,�
node. NN2 consists of 2 hidden layers, 40 nodes each for each ?� node.
<u>Center Atom</u> <u>Function</u> <u>Parameters</u> <u>Count</u>
<u>Rotation‐Invariant Features</u>
Li, O, P
?���,��, ?���,�, ?���,�,
<u>?��,�, ?��,�, ?��,�</u>
?�
���,��, ?���,�, ?���,�, ?� �6.5, ζ ��1, 4�, λ ��1, �1�,
24
<u>��,�, ?��,�, ?��,�</u> <u>?�0.005</u>
?���
?� �6.5, ?� <u>�0.05, 4, 20, 80�,</u>
���, ?��, ?�� 12
<u>?�</u> <u>�0</u>
<u>Rotation‐Covariant Features</u>
<u>���⃗</u> <u>, ?��⃗</u> <u>, ?��⃗</u> <u>?�</u> <u>�6.5, ?�1.0, ?�</u> <u>�0</u> <u>9</u>
⃗ ⃗
<u>?���⃗</u> ⃗
Li, O, P
⃗ ⃗
⃗ ⃗ ⃗
<u>?���⃗</u> <u>, ?��⃗</u> <u>, ?��⃗</u> <u>?�</u> <u>�6.5, ?�2.0, ?�</u> <u>�1.0</u> <u>9</u>
Table S4 . Selected rotation‐invariant and rotation‐covariant fingerprint features for system B ( Figure 4 in
<u>?���⃗</u> ⃗
the main text), amorphous Li4P2O7. Rotation‐invariant features are used by both standard B–P and DCF
NNFF algorithm, while the rotation‐covariant features are only used by the DCF NNFF algorithm. In the
standard B – P algorithm, 2 hidden layers with 50 nodes on each layer are used. In the DCF algorithm, NN1
consists of 2 hidden layers, 50 nodes each for each ?���,� node, while NN2 consists of 2 hidden layers, 40
nodes each for each ?� node.
# Quantum Force Information Encoded within ? � and �? ��⃗ �
Figure S1 . ? <sup>�</sup> ��� component prediction by NN1 for H atoms in system A. Examples are shown for: a) well‐
chosen ?⃗ and b) less relevant ?⃗ .
Figure S2 . ?⃗ component prediction by NN2 for H atoms in system A using a relevant set of �?⃗� .
# DCF Force Prediction Evaluation on Standard Test Set
Figure S3 . DCF force prediction correlation plot on the standard test set for system A, B, and C. Classical
FF prediction is shown when available.
# DCF Force Prediction Evaluation on System C Reaction Test Set
Figure S4 . DCF force prediction correlation plot for H atoms in the reaction test set of system C (red
triangle), showing slightly worse performance than the prediction on the standard test set (blue dots).
<u>?����⃗</u>
<u>〈�?���⃗</u> <u>�〉</u>
<u>?���⃗</u>
<u>〈�?���⃗</u> <u>�〉</u>
?⃗���
System Atom
<u>(eV/Å)</u>
?⃗����
<u>(eV/Å)</u>
〈�?⃗����〉
<u>(eV/Å)</u>
Al2O3–HF
reaction test
set
⃗ ⃗
<u>Al</u> <u>0.713</u> <u>0.841</u> <u>2.216</u> <u>32%</u> <u>38%</u>
<u>F</u> <u>0.338</u> <u>0.412</u> <u>1.71</u> <u>20%</u> <u>24%</u>
<u>H</u> <u>0.352</u> <u>0.424</u> <u>1.64</u> <u>21%</u> <u>26%</u>
<u>O</u> <u>1.879</u> <u>4.231</u> <u>1.791</u> <u>105%</u> <u>236%</u>
Table S5 . DCF algorithm prediction accuracy for the standard and chemical reaction test set of system C.
We define ?⃗��� �〈�?⃗�� �?⃗����〉 and ?⃗���� - <sup>�</sup> 〈�?⃗�� �?⃗����
�〉 .
# Large Force Error Propagation in Pseudoinverse Method
During the step of performing �? <sup>�</sup> ���,�, �?⃗���→?⃗� prediction, one analytical method which has
been proposed is the usage of pseudoinverse. <sup>1</sup> In this pseudoinverse method, one takes pseudoinverse of
the relationship ? <sup>�</sup> ���,� ��?⃗��∙?⃗� to calculate ?⃗� ���?⃗��
��?⃗����� �?⃗��� ∙?����,� . In ideal situations when
�?⃗�� spans the full orthogonal 3‐dimensional space and there is small error on ? <sup>�</sup> ���,� prediction, this
pseudoinverse method can analytically determine ?⃗� . However, in practice there is no guarantee that �?⃗��
will span the entire 3‐dimensional space. In those instances, the matrix inversion tends to diverge and the
?⃗� pseudoinverse function tends to significantly amplify errors in the ? <sup>�</sup> ���,� prediction.
# References
1. Li, Z., Kermode, J. R. & De Vita, A. Molecular dynamics with on‐the‐fly machine learning of
quantum‐mechanical forces. _Phys. Rev. Lett._ 114, 1–5 (2015).
섹션 본문
섹션 본문이 없습니다.
참고문헌 57건
- Computational aspects of many-body potentials MRS Bulletin · Springer Nature · 2012 10.1557/mrs.2012.96
- Machine learning for molecular and materials science Nature · Nature Portfolio · 2018 10.1038/s41586-018-0337-2
- High-Dimensional Neural Network Potentials for Organic Reactions and an Improved Training Algorithm Journal of Chemical Theory and Computation · American Chemical Society · 2015 10.1021/acs.jctc.5b00211
- Active learning for accelerated design of layered materials npj Computational Materials · Nature Portfolio · 2018 10.1038/s41524-018-0129-0
- A universal strategy for the creation of machine learning-based atomistic force fields npj Computational Materials · Nature Portfolio · 2017 10.1038/s41524-017-0042-y
- Machine learning of correlated dihedral potentials for atomistic molecular force fields Scientific Reports · Nature Portfolio · 2018 10.1038/s41598-018-21070-0
- Machine Learning Force Field Parameters from Ab Initio Data Journal of Chemical Theory and Computation · American Chemical Society · 2017 10.1021/acs.jctc.7b00521
- 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
- Developing an interatomic potential for martensitic phase transformations in zirconium by machine learning npj Computational Materials · Nature Portfolio · 2018 10.1038/s41524-018-0103-x
- ElemNet: Deep Learning the Chemistry of Materials From Only Elemental Composition Scientific Reports · Nature Portfolio · 2018 10.1038/s41598-018-35934-y
- Combinatorial screening for new materials in unconstrained composition space with machine learning Physical Review B · American Physical Society · 2014 10.1103/physrevb.89.094104
- Accurate interatomic force fields via machine learning with covariant kernels Physical review. B./Physical review. B · American Physical Society · 2017 10.1103/physrevb.95.214302
- Machine learning of accurate energy-conserving molecular force fields Science Advances · American Association for the Advancement of Science · 2017 10.1126/sciadv.1603015
- Towards exact molecular dynamics simulations with machine-learned force fields Nature Communications · Nature Portfolio · 2018 101038s41467018061692
- Gaussian Approximation Potentials: The Accuracy of Quantum Mechanics, without the Electrons Physical Review Letters · American Physical Society · 2010 10.1103/physrevlett.104.136403
- Building machine learning force fields for nanoclusters The Journal of Chemical Physics · American Institute of Physics · 2018 10.1063/1.5024558
- On-the-fly active learning of interpretable Bayesian force fields for atomistic rare events npj Computational Materials · Nature Portfolio · 2020 10.1038/s41524-020-0283-z
- Atom-centered symmetry functions for constructing high-dimensional neural network potentials The Journal of Chemical Physics · American Institute of Physics · 2011 10.1063/1.3553717
- Study of Li atom diffusion in amorphous Li3PO4 with neural network potential The Journal of Chemical Physics · American Institute of Physics · 2017 10.1063/1.4997242
- Neural Network Analysis of Dynamic Fracture in a Layered Material MRS Advances · Springer Science+Business Media · 2019 10.1557/adv.2018.673
- Potential Energy Surfaces Fitted by Artificial Neural Networks The Journal of Physical Chemistry A · American Chemical Society · 2010 10.1021/jp9105585
- Generalized Neural-Network Representation of High-Dimensional Potential-Energy Surfaces Physical Review Letters · American Physical Society · 2007 10.1103/physrevlett.98.146401
- Proceedings of the 23rd international conference on Machine learning 2006
- Crystal Graph Convolutional Neural Networks for an Accurate and Interpretable Prediction of Material Properties Physical Review Letters · American Physical Society · 2018 10.1103/physrevlett.120.145301
- SchNet – A deep learning architecture for molecules and materials The Journal of Chemical Physics · American Institute of Physics · 2018 10.1063/1.5019779
- Deep Potential Molecular Dynamics: A Scalable Model with the Accuracy of Quantum Mechanics Physical Review Letters · American Physical Society · 2018 10.1103/physrevlett.120.143001
- End-to-end Symmetry Preserving Inter-atomic Potential Energy Model for Finite and Extended Systems arXiv (Cornell University) · Cornell University · 2018 10.48550/arxiv.1805.09003
- Deep learning in fluid dynamics Journal of Fluid Mechanics · Cambridge University Press · 2017 10.1017/jfm.2016.803
- Artificial Neural Networks in Fluid Dynamics Proceedings of the Practice and Experience on Advanced Research Computing · 2018 10.1145/3219104.3229262
- Artificial Neural Networks (ANNs): A New Paradigm for Thermal Science and Engineering Journal of Heat Transfer · ASM International · 2008 10.1115/1.2944238
- Tensor field networks: Rotation- and translation-equivariant neural networks for 3D point clouds arXiv (Cornell University) · Cornell University · 2018 10.48550/arxiv.1802.08219
- Effect of Salt Concentration on Ion Clustering and Transport in Polymer Solid Electrolytes: A Molecular Dynamics Study of PEO–LiTFSI Chemistry of Materials · American Chemical Society · 2018 10.1021/acs.chemmater.8b01955
- Atomistic Description of Ionic Diffusion in PEO–LiTFSI: Effect of Temperature, Molecular Weight, and Ionic Concentration Macromolecules · American Chemical Society · 2018 10.1021/acs.macromol.8b01753
- Bipolar plates for PEM fuel cells: A review International Journal of Hydrogen Energy · Elsevier BV · 2005 10.1016/j.ijhydene.2005.04.016
- Integrated Modeling Program, Applied Chemical Theory (IMPACT) Journal of Computational Chemistry · Wiley · 2005 10.1002/jcc.20292
- A New Self-Consistent Empirical Interatomic Potential Model for Oxides, Silicates, and Silica-Based Glasses The Journal of Physical Chemistry B · American Chemical Society · 2006 10.1021/jp0611018
- ReaxFF: A Reactive Force Field for Hydrocarbons The Journal of Physical Chemistry A · American Chemical Society · 2001 10.1021/jp004368u
- Amp: A modular approach to machine learning in atomistic simulations Computer Physics Communications · Elsevier BV · 2016 10.1016/j.cpc.2016.05.010
- Automatic selection of atomic fingerprints and reference configurations for machine-learning potentials The Journal of Chemical Physics · American Institute of Physics · 2018 10.1063/1.5024611
- Discovering charge density functionals and structure-property relationships with PROPhet: A general framework for coupling machine learning and first-principles methods Scientific Reports · Nature Portfolio · 2017 10.1038/s41598-017-01251-z
- Testing for physical validity in molecular simulations PLoS ONE · Public Library of Science · 2018 10.1371/journal.pone.0202764
- Feedback GAN for DNA optimizes protein functions Nature Machine Intelligence · Nature Portfolio · 2019 10.1038/s42256-019-0017-4
- Numerical atomic orbitals for linear-scaling calculations Physical review. B, Condensed matter · American Physical Society · 2001 10.1103/physrevb.64.235111
- <i>Ab initio</i>molecular dynamics for liquid metals Physical review. B, Condensed matter · American Physical Society · 1993 10.1103/physrevb.47.558
- Efficiency of ab-initio total energy calculations for metals and semiconductors using a plane-wave basis set Computational Materials Science · Elsevier BV · 1996 10.1016/0927-0256(96)00008-0
- Efficient iterative schemes for<i>ab initio</i>total-energy calculations using a plane-wave basis set Physical review. B, Condensed matter · American Physical Society · 1996 10.1103/physrevb.54.11169
- Generalized Gradient Approximation Made Simple Physical Review Letters · American Physical Society · 1996 10.1103/physrevlett.77.3865
- From ultrasoft pseudopotentials to the projector augmented-wave method Physical review. B, Condensed matter · American Physical Society · 1999 10.1103/physrevb.59.1758
- A unified formulation of the constant temperature molecular dynamics methods The Journal of Chemical Physics · American Institute of Physics · 1984 10.1063/1.447334
- Metadynamics for training neural network model chemistries: A competitive assessment The Journal of Chemical Physics · American Institute of Physics · 2018 10.1063/1.5020067
- Fast Parallel Algorithms for Short-Range Molecular Dynamics Journal of Computational Physics · Elsevier BV · 1995 10.1006/jcph.1995.1039
- Covalent radii revisited Dalton Transactions · Royal Society of Chemistry · 2008 10.1039/b801115j
- Discovering chemistry with an ab initio nanoreactor Nature Chemistry · Nature Portfolio · 2014 10.1038/nchem.2099
- Car–Parrinello Molecular Dynamics + Metadynamics Study of High-Temperature Methanol Oxidation Reactions Using Generic Collective Variables The Journal of Physical Chemistry C · American Chemical Society · 2014 10.1021/jp500398k
- High-dimensional neural network potentials for metal surfaces: A prototype study for copper Physical Review B · American Physical Society · 2012 10.1103/physrevb.85.045439
- Machine learning molecular dynamics for the simulation of infrared spectra Chemical Science · Royal Society of Chemistry · 2017 10.1039/c7sc02267k
- Reporting accuracy of rare event classifiers npj Digital Medicine · Nature Portfolio · 2018 10.1038/s41746-018-0062-0