본문 펼치기
### ARTICLE
https://doi.org/10.1038/s41467-020-18282-2 OPEN
## Reinforcing materials modelling by encoding the structures of defects in crystalline solids into distortion scores
Alexandra M. Goryaeva 1✉, Clovis Lapointe1, Chendi Dai1, Julien Dérès1, Jean-Bernard Maillet2 &
1✉
Mihai-Cosmin Marinica
This work revises the concept of defects in crystalline solids and proposes a universal
strategy for their characterization at the atomic scale using outlier detection based on sta
tistical distances. The proposed strategy provides a generic measure that describes the
distortion score of local atomic environments. This score facilitates automatic defect localization and enables a stratified description of defects, which allows to distinguish the zones
with different levels of distortion within the structure. This work proposes applications for
advanced materials modelling ranging from the surrogate concept for the energy per atom to
the relevant information selection for evaluation of energy barriers from the mean force.
Moreover, this concept can serve for design of robust interatomic machine learning potentials and high-throughput analysis of their databases. The proposed definition of defects
opens up many perspectives for materials design and characterization, promoting thereby the
development of novel techniques in materials science.
1 Université Paris-Saclay, CEA, Service de Recherches de Métallurgie Physique, Gif-sur-Yvette 91191, France. 2 CEA - DAM, DIF, Arpajon Cedex F-91297,
France. <sup>✉</sup> email: [alex.goryaeva@gmail.com;](mailto:alex.goryaeva@gmail.com) [mihai-cosmin.marinica@cea.fr](mailto:mihai-cosmin.marinica@cea.fr)
perfect crystal is a purely theoretical concept. Real-world
crystals contain imperfections, also called defects. Some
simple defects, such as vacancies, are always present in
# A
crystals at a concentration of thermodynamic equilibrium. The
concentration and morphology of defects influence the properties
of crystalline solids. For instance, the scattering of electrons and
phonons on defects underlies the electronic and thermal conductivity. Furthermore, the energy and kinetics of defects essentially control the material’s plasticity, viscosity and evolution of its
microstructure. As a result, the ability of crystalline materials to
fulfil a set of design criteria is controlled by static and kinetic
properties of defects population, either in thermodynamic equilibrium or non-equilibrium. Identification and characterization of
defects provide crucial information for interpretation of simulations and experiments that bridge the gap between atomic and
micrometre scales. This work introduces a novel concept of defect
characterization at the atomic scale with the aim to reinforce the
cutting-edge methods of materials modelling, such as free energy
evaluation from the mean force, quantum mechanics/molecular
mechanics (QM/MM) simulations and the design of robust
interatomic machine learning (ML) potentials.
Present-day materials science enables simulations of defect
nucleation, recombination, migration and transition at the atomic
scale by means of ultra large scale experiments <sup>1–3</sup> . Facilitated by
the continuous increase in computational power and parallel
computing, these objectives are achieved using traditional molecular dynamics (MD), quantum-classical QM/MM simulations <sup>4–6</sup>
and by a rapidly growing number of fast exploring, biased in
energy <sup>7</sup> or mean force <sup>8,9</sup> methods and other simulation schemes,
such as accelerated MD <sup>10</sup> or statistical learning approaches <sup>11</sup> .
However, the application of these methods is often hindered by
the general inability to extract the relevant information about the
defects or to define a suitable set of collective variables that drive
the physical process. Moreover, an accurate interpretation of
these calculations requires processing enormous amounts of data,
to select the information related to the defects. Understanding
which particles are associated with defects, and which belong to
the bulk structure, is not trivial. The vast majority of methods for
structural identification are based on geometrical analysis of local
atomic environments (LAEs), e.g., coordination analysis, bondangle and common neighbour analysis <sup>12,13</sup>, Voronoi cell and
polyhedral template matching <sup>14,15</sup>, etc. In order to accurately
analyse and identify a defect structure, the geometry-based order
parameters should be complemented with some local physical
properties. Most commonly, the relevant properties, such as
energy or stress per atom <sup>3,16</sup>, are derived from a series of force
field calculations. However, these properties are not always
available, which hampers a universal strategy of structural analysis. For instance, energy and stress per atom cannot be directly
extracted from the widely used ab initio plane-wave (PW)
methods. In this case, a post treatment, such as projection on
local orbitals or Mulliken analysis, is needed. In some multiscale
simulations, e.g., in QM/MM, even the concept of total energy is
not well defined. Thus, introducing a defect detection strategy
that is (i) independent of the force field method and, (ii) at the
same time, can quantitatively describe the distortion degree of
each atomic environment, will improve the means and universality of defect characterization. Here, we propose a method
based on the so-called distortion score of atomic environments,
which can be naturally provided by the distance-based ML outlier/anomaly detection methods.
Detection of deviating instances is of primary importance in
many disciplines, such as economics and finances <sup>17,18</sup>, medical
diagnostics and image processing <sup>19–21</sup>, psychology and social
sciences <sup>22,23</sup>, meteorology and climatology <sup>24,25</sup>, etc. The practical
importance of outlier and novelty detection has led to the
development of multiple numerical approaches, based on robust
statistics <sup>26,27</sup>, support vector machine (SVM) methods <sup>28,29</sup>,
neural networks (NNs) <sup>30,31</sup>, Bayesian formalism <sup>32,33</sup>, etc. For the
majority of these methods, the outlier detection task is solved in a
feature space by distinguishing the normal data instances (inliers)
from other data points. The description of inliers is learned
by constructing a model with well sampled data instances. The
unseen samples are then compared to the learned data patterns
and characterized by a score or distance, which describes the
proximity of new instances to the inliers. This distance is compared to a decision threshold of the trained model and the tested
data are classified as outlier if the critical threshold is exceeded. In
materials science, outlier detection methods are still rarely applied
for atomic systems and rather serve as a preliminary step, needed
to isolate the perfect structure <sup>34</sup> .
In the present study, we propose to use the distances provided
by outlier detection models, such as minimum covariance
determinant (MCD) or support vector machine (SVM) methods,
as a quantitative description of LAEs, hereafter called distortion
score. Based on these local distortion scores, we identify structural
defects as atoms-outliers deviating from the bulk structure. This
strategy is well adapted for detection of structural defects and
monitoring their trajectories, as well as for tracking the structural
changes during phase transitions or crystallization. We demonstrate how the stratified definition of defects based on the local
distortion scores can serve for reconstruction of energy profiles in
mean force calculations. Furthermore, the defect detection is
coupled with ML techniques to establish a qualitative criterion for
transferability/reliability of kernel ML potentials for modelling a
given defect structure.
Results
Distortion score and its correlation with energy per atom. The
distortion score of LAEs describes a statistical distance from a
reference distribution in the feature space of atomic descriptors,
such as those described in refs. <sup>35,36</sup> . The reference distribution
can be constructed from LAEs of a defect-free crystalline system
at a given temperature or from a subset of atoms of particular
interest. Figure 1a depicts the schema for computing the distortion score with respect to defect-free bulk structure. The training
data set is formed by reference LAEs of the bulk structure
represented in the feature space of atomic descriptors. The
reference distribution is then learned by a ML algorithm. In this
study, we mainly use the MCD <sup>27,37</sup> . To the best of our knowledge,
MCD has never been applied for the needs of atomistic materials
science. MCD is an affine equivariant estimator, i.e., the data
might be rotated, translated or rescaled (e.g., due to a change of
the measurement units) without affecting the results <sup>27</sup> . It is worth
mentioning that MCD is tailor-made for unimodal distributions.
Consequently, a careful selection of the training data should be
performed (see Supplementary Note 2 for more details).
The distortion score is computed for each atom in the analysed
system via computing the statistical distance of the LAE with
respect the learned distribution of the reference structure LAEs.
The distortion score from MCD corresponds to the robust
distance dRB (see “Methods”, Eq. (5)). Figure 1b shows the
distortion scores computed for a simulation cell with 132 atoms,
which contains four self-interstital atoms forming a threedimensional (3D) C15 cluster <sup>38</sup> in bcc Fe. The detected cluster
of atoms outliers (Fig. 1b, inset A) includes the defect itself and its
nearest atomic environment. The difference in magnitude of the
distortion scores within the outlier cluster enables the stratified
description of the defect and allows to distinguish the zones with
different level of atomic distortion (as depicted with dashed grey
lines in Fig. 1b). The atoms forming the defect (Fig. 1b, inset C) are
a
Bulk database Defect detection
Outlier detection:
System to examine
Structures <sup>3N</sup> Descriptor <sup>D</sup> or other methodsMCD/OCSVM Descriptor <sup>D</sup> Structures <sup>3N</sup>
training
test
data
data
b
C
30
25
20
15
10
5
0
A
0.0 0.2 0.4 0.6 0.8 1.0
Atom id/Number of atoms
C B
B
A
Fig. 1 Defect detection and stratification based on the distortion score. a Scheme of the defect detection. The training data set consists of the defect-free
bulk structures. The structures for the training and test are represented in the same feature space R <sup>D</sup> of atomic descriptors. To perform defect detection,
each atomic environment from the test system is compared to the learned bulk structures and characterized by distortion score. Atoms with scores above
the critical threshold are classified as structural outliers that form the defect. b Detection and stratification of four self-interstitials cluster with C15
morphology <sup>38</sup> —I <sup>C15</sup> 4 <sup>—based on the distortion score provided by robust MCD. Each point on the plot represents an atom in the simulation box. The colour of</sup>
points corresponds to the colour of atoms in the inset structures. The threshold between the bulk (atoms-inliers) and defect (atoms-outliers) is indicated
with a dashed red line, labelled as A. The grey dashed lines B and C indicate the possibilities for defect stratification. The defect structures A, B, C are
obtained using the corresponding thresholds.
characterized by bigger dRB distances compared to their nearest
environment. Here we exemplified the case with single type of
reference structure, given by the bcc bulk. Each LAE can be
characterized by a multi-dimensional distortion score, subsequently
computed with respect to various reference structures, e.g., to
different structural types of bulk or even to the structures of
particular defects of interest (see the analysis of a displacement
cascade in Supplementary Note 2).
When computed with respect to the distribution of the
underlying bulk structure, the distortion score exhibits a correlation
with the local atomic energy (Fig. 2). Both concepts, local atomic
energy and distortion score, encode the local geometric information.
The link between the local atomic energy and the LAEs was
established in the early days of atomistic materials science. For
metals, the tight binding approximation <sup>39,40</sup> has formalized the
basis of this relation.
With the appearance of semi-empirical potentials <sup>40–42</sup>, the tight
binding second moment was replaced by ad-hoc local functions that
should be fitted against the bulk properties, defect formation and
migration energies, etc. Not limited to metals, the functional form
of the local energy on the local coordination is the basis of empirical
many-body force fields. These functions have simple analytic forms,
such as the number of first and/or second neighbours, radial
functions <sup>43–45</sup> or somewhat more complex functions accounting for
angular information <sup>46</sup> . Regardless of the analytic form, all these
functions have the same utility and provide the fingerprints of
atomic environments. Furthermore, the present-day ML potentials <sup>47–49</sup> propose a direct multivariate regression, in the descriptor
space, between the LAE and the atomic energy. Here we
demonstrate that the geometric information of LAE, encoded via
MCD robust distance dRB, is intrinsically related to the local atomic
energy (see the “Methods” section). Figure 2 reports the observed
correlation between the distortion score dRB and the local atomic
energy in bcc Fe. The comparison is performed for the atomic
arrays with three classes of structural defects: vacancies, selfinterstitials and stacking faults (SFs; also called γ-surfaces). These
configurations are included in the training database of the Gaussian
Approximation Potential (GAP) for Fe <sup>50</sup> . The atomic energies were
computed using the same potential. The kernel formalism of GAP
potential ensures the high accuracy of the atomic energy of the
training configurations <sup>50</sup> . For all three defect classes (Fig. 2), the
determination-correlation coefficient R <sup>2</sup> between dRB and local
energy is higher than 80%. The present approach completes
the previous observation of Sharp et al. <sup>2</sup> in grain boundaries. The
study <sup>2</sup> monitors the likelihood of atoms to rearrange within
the grain boundaries through the so-called softness of atoms. The
softness is a continuous, signed, scalar quantity that captures
the relevant properties of the LAEs based on the binary
classification using SVM. Likewise, the potential energy of atom is
positively correlated with its softness <sup>2</sup>, although there is a large
spread for a given energy value. In this study, we observe the higher
variance of dSVM compared to the statistical distances dRB,
a Vacancies b Self-interstitials c Stacking faults
1.0
0.8
1.0
0.8
0.6
0.4
0.2
0.0
0.0 0.0
10.0 20.0 30.0 40.0 50.0 10.0 20.0 30.0 40.0
1.0
0.8
_R_ <sup>2</sup> =0.803 _R_ <sup>2</sup> =0.807 _R_ <sup>2</sup> =0.895
0.6
0.4
0.2
0.6
0.4
0.2
10.0 20.0 30.0 40.0
_d_ RB
0.0
10.0 20.0 30.0 40.0
_d_ RB
_d_ RB
Fig. 2 The correlation between energy per atom and the distortion score. The distortion score is described via robust MCD distance dRB in bcc Fe
systems with: a vacancies; b self-interstitials; c stacking faults. Each point on the plot represents an individual atom in a simulation box. The atomic arrays
are taken from the GAP potential database <sup>50</sup> . The correlation is performed over 103,000 LAEs and each defect class gathers diverse instances from 0 K
static relaxation to molecular dynamics simulations at various temperatures. MCD analysis is performed on the structural data represented using
bispectrum SO(4) <sup>36,48</sup> with the angular moment jmax ¼ 4:5. The atomic energies are computed with the GAP potential <sup>50</sup> .
consistent with that previously reported by Sharp et al. <sup>2</sup> (see
Supplementary Note 1).
The remarkable accuracy in the relation between the distortion
score described via statistical distances and the local energy (see
the “Methods” section) opens up many perspectives for further
developments in analysis and modelling of defects in crystalline
solids. To demonstrate the importance and perspectives of the
present concept, we present in the following sections three
promising applications of the stratified definition of the defects.
Application 1: detection and structural analysis of defects.
Based on topology, defects are generally classified as 0D or point
defects, one-dimensional (1D) or line defects, two-dimensional
(2D) or planar defects, and 3D defects. Structural analysis of
different defect classes typically requires using different strategies
of structural analysis <sup>14,15,51</sup>, which impends a universal strategy
for defect identification. Here we propose a universal scheme for
localization and analysis of defects based on the distortion score
provided by robust MCD and consider the examples of cubic
metals, fcc Al and bcc Fe (Fig. 1).
The conventional geometry-based techniques for structural
analysis are often sensitive to atomic perturbations <sup>14,52</sup> . This
shortcoming may hamper structural interpretation in systems at
high temperature and/or under large deformation. Here, to avoid
sensitivity of the defect detection model to atomic perturbations,
the defect-free training data set incorporates systems with some
noise around the perfect atomic positions (see “Methods” for
more details). In this section, the structural data are represented
in the feature space of bispectrum SO(4) <sup>36,48</sup> . This type of atomic
descriptor was previously used for the development of ML
interatomic potentials <sup>47–49</sup> .
In Al, the outlier detection strategy was tested for the typical
defects for fcc structures, namely for the mobile <sup><u>1</u></sup> 2 <sup>h110if111g loop,</sup>
neighbour analysis (CNA). The three methods are consistent in
identification of the dislocation partials ξ1 and ξ2 (Fig. 3c). However,
structural analysis based on the distortion score better reproduces
the core spreading than CNA. The CNA analysis identifies a
structural type of each atomic environment without providing any
appropriate measure of distortion within a given structural class,
which hampers estimation of the core spreading with this method.
For bcc Fe, we examine the performance of outlier detection
methods for point defects and their clusters (Fig. 4a–d), SFs
(Fig. 4e) and <sup><u>1</u></sup> 2 <sup>h111i screw dislocation dipole (Fig. 4f). It is worth</sup>
(Fig. 4e) and <sup><u>1</u></sup> 2 <sup>h111i screw dislocation dipole (Fig. 4f). It is worth</sup>
emphasizing that the structures of Gao-triangles I <sup>NP</sup> 2 <sup>,</sup> <sup>also</sup> <sup>called</sup>
non-parallel clusters, and I <sup>C15</sup> 4 self-interstitial atom (SIA) clusters
(Fig. 4c, d) are often misinterpreted by conventional geometrybased methods. The Gao-triangle configuration I <sup>NP</sup> 2 (Fig. 4c) is a
SIA cluster with three interstitial atoms in the {111} plane and
one vacancy in the in centre of triangle. This interstitial defect is
the precursors of the C15 Laves phase clusters <sup>38</sup> . The C15 cluster
I <sup>C15</sup> 4 (Fig. 4d) has a well-defined 3D crystallographic structure
I <sup>C15</sup> 4 (Fig. 4d) has a well-defined 3D crystallographic structure
being close to two attached Frank–Kasper polyhedra. Both I <sup>NP</sup> 2
2
and I <sup>C15</sup> 4 are immobile and very stable and, therefore, they
<sup>NP</sup> 2 and I <sup>C15</sup> 4
defects for fcc structures, namely for the mobile <sup><u>1</u></sup> 2 <sup>h110if111g loop,</sup>
the sessile <sup><u>1</u></sup> 3 <sup>h111if111g</sup> <sup>Frank</sup> <sup>loop</sup> <sup>and</sup> <sup>for</sup> <sup>the</sup> <sup><u>1</u></sup> 2 <sup>h110if111g</sup> <sup>edge</sup>
and I <sup>C15</sup> 4 are immobile and very stable and, therefore, they
represent important instances in the energy landscape of SIAs in
bcc Fe <sup>38</sup> . Due to their structure, the I <sup>NP</sup> 2 and I <sup>C15</sup> 4 defects can be
only partially detected by the Wigner–Seitz analysis and require
the use of complementary methods, such as polyhedral
template matching (PTM) <sup>15</sup> or energy per atom calculations.
The tested robust MCD approach exhibits an excellent performance for these complex defect structures and, in contrast to the
conventional methods, it implies neither preliminary knowledge
of the defect structure (for effective PTM) nor energy per atom
calculations. This is especially valuable for the detection and the
characterization of previously unseen defects, which, for instance,
can form in materials under extreme conditions.
the sessile <sup><u>1</u></sup> 3 <sup>h111if111g</sup> <sup>Frank</sup> <sup>loop</sup> <sup>and</sup> <sup>for</sup> <sup>the</sup> <sup><u>1</u></sup> 2 <sup>h110if111g</sup> <sup>edge</sup>
dislocation. All the defect structures are correctly identified based
on the distortion score metrics (Fig. 3). In contrast to
the <u>12</u> <sup>h110if111g</sup> <sup>loop</sup> <sup>(Fig.</sup> <sup>3b),</sup> <sup>the</sup> <u>13</u> <sup>h111if111g</sup> <sup>Frank</sup> <sup>loop</sup>
(Fig. 3a) contains a SF, which prevents it from gliding. In fcc
structures, <u>12</u> <sup>h110i</sup> <sup>dislocations</sup> <sup>dissociate</sup> <sup>into</sup> <sup>two</sup> <sup>dislocation</sup>
partials separated by the SF according to the reaction
<u>12</u> <sup>h110i !</sup> <sup><u>1</u></sup> 6 <sup>h211i þ</sup> <sup><u>1</u></sup> 6 <sup>h21�1i.</sup> The dissociated dislocation core
described via the distortion score (Fig. 3a) is compared with those
from the energy per atom calculations and from the common
Application 2: distortion score for mean force calculations. The
proposed stratified definition of defects can be of great help for
calculations where relevant local properties from interatomic
force field are not available. For instance, in the case of widely
used PW electronic structure calculations, the definition of energy
per atom is ambiguous and requires to project delocalized electron density on local atomic orbitals.
The definition of energy profile is critical in many statistical
learning approaches, including QM/MM methods, which are
currently at the forefront of computational materials science <sup>4–6</sup> .
fcc Al
a
b
Robust
distance
30
20
10
0
Robust
distance
30
20
10
0
c
free surface
MCD
E/atom
CNA
Edge dislocation
1 <sup>/</sup> 2 110 {111}
ξ1 ξ2
Robust
distance
15.0
10.0
5.0
0
_E_ - _E_ <sup>coh</sup>
0.05 eV
0.025 eV
0.00 eV
fcc
hcp
unknown
Loops
Fig. 3 Structural defects in fcc Al detected using the distortion score. a Frank loop 3 <sup><u>1</u></sup> <sup>h111if111g;</sup> <sup>b</sup> 2 <sup><u>1</u></sup> <sup>h110if111g</sup> <sup>loop;</sup> <sup>c</sup> 2 <sup><u>1</u></sup> <sup>h110i</sup> <sup>dissociated edge dislocation.</sup>
The atoms are coloured according to their distortion score, as provided by robust MCD distance. The atoms identified as fcc bulk are shown in transparent
purple. The dissociated edge dislocation core structure c is compared with those provided by energy per atom (E/atom) and CNA. The energy per atom is
calculated using EAM potential by Liu et al. <sup>69</sup> . The two dislocation partials are indicated as ξ1 and ξ2.
bcc Fe
a b
c d
Di-interstitial I2NP Quadri-interstitial I4C15
Quadri-interstitial I4
Robust
distance
30
20
10
0
Robust
distance
5.0
2.5
0
110 NP
Mono-interstitial I1 Di-interstitial I2
110
Screw dislocation dipole
e
Di-vacancy V2
Stacking fault
f
1 <sup>/</sup> 2 111
Fig. 4 Structural defects in bcc Fe detected using the distortion score. a Divacancy; b–d various interstitial defects; e stacking fault; and f 2 <sup><u>1</u></sup> <sup>h111i</sup> <sup>screw</sup>
dislocation dipole. The types of defects are indicated on each subplot. The atoms are coloured according to their distortion score, as provided by robust
MCD distance. The atoms identified as bcc bulk are shown in transparent purple. For the interstitial clusters (b–d), the atoms with the robust distance
dRB < 17 are set transparent.
In this method, the system commonly consists of the two parts:
the core, which is described using ab initio, and the outer part,
which follows classical mechanics or surrogate tight binding
Hamiltonian (the main contribution that has fast force evaluation). The interaction of these parts and description of the whole
system are given solely by the forces, which are well defined local
quantities. However, the total energy of the system cannot be well
defined in this case. Moreover the wavefunction of the core part is
highly perturbed by the buffer region between the two parts of the
system, which makes the attempts to define the local energy
difficult. As a consequence, QM/MM methods cannot have access
neither to local nor to total energies.
Without direct access to the energy of the system, the migration
and transformation energy barriers can be fully recovered from the
atomic forces using the mean force concept <sup>8,9</sup> both for the 0 K <sup>53</sup>
and finite temperature calculations <sup>10</sup> . Here we consider an example
The above equation is the exact form of the 0 K energy profile
along the migration pathway that can effectively circumvent
of P images from a migration trajectory obtained using a standard
pathway method, e.g., nudged elastic band (NEB) <sup>54</sup> . In this
migration path, qi 2 R <sup>3N</sup> is the i <sup>th</sup> image along the system
trajectory. The path is indexed by a reaction coordinate ζ ∈ [0, 1] in
such a way that q(ζ = 0) = q1 and q(ζ = 1) = qP. This reaction
coordinate can be achieved by a spline interpolation of all the
intermediate NEB images along the migration pathway. The
corresponding energy profile can be then recovered from the mean
force ∂ζF(ζ) <sup>8,9</sup>, i.e., the derivative of the free energy F(ζ) with respect
the reaction coordinate:
ΔEðζÞ ¼ EðζÞ � Eð0Þ ¼
Z ζ
∂ζ <sup>0</sup> Fðζ <sup>0</sup> Þdζ <sup>0</sup> : ð1Þ
0
a A B C D E F
0.8
0.4
b
0.0
-0.4
-0.8
-1.2
NEB energy
Mean force: all atoms
Mean force: _d_ RB=3.9
Mean force: _d_ RB=12
Mean force: _d_ RB=17
0.0 0.2 0.4
0.6 0.8 1.0
Reaction coordinate ζ
c d
A B C D E F
_d_ RB
0 10 20 30
_d_ RB = 2.9 _d_ RB = 1.5 _d_ RB = 1.0
_d_ RB
0 5 10 15 20
0.15
0.10
0.05
0.00
Mean force: all atoms Mean force: _d_ RB=2.9
NEB energy Mean force: _d_ RB=1.45
Mean force: _d_ RB=1.0
0.0 0.2 0.4
0.6 0.8 1.0
Reaction coordinate ζ
Fig. 5 Reconstruction of defect energy profiles from mean force calculations. a Energy profile along the I <sup>C15</sup> 2
<sup>C15</sup> 2 ! I <sup>NP</sup> 2
Fig. 5 Reconstruction of defect energy profiles from mean force calculations. a Energy profile along the I <sup>C15</sup> 2 ! I <sup>NP</sup> 2 SIA transition pathway in bcc Fe.
Comparison of the total energy NEB calculations with the mean force integration over the confidence region νMCD defined by different distortion score
cutoff. The calculations are performed using Marinica EAM potential <sup>38,45</sup> . b Evolution of the defect structure along the I <sup>C15</sup> 2 ! I <sup>NP</sup> 2 transition path provided
by the distortion scores based on the robust MCD analysis. The stratified defect structures are shown for the cutoff distortion scores dRB = 3.9 (full defect
cluster), dRB = 12 and dRB = 17. The atoms are coloured according to their distortion scores. The colour code corresponds to the scale bar provided in d. The
depicted atomic clusters are oriented along the 〈111〉 direction. c Energy profile of the screw 2 <sup><u>1</u></sup> <sup>h111i</sup> <sup>dislocation</sup> <sup>dipole</sup> <sup>glide</sup> <sup>in</sup> <sup>{110}</sup> <sup>plane</sup> <sup>in</sup> <sup>bcc</sup> <sup>Fe.</sup>
Comparison of the total energy NEB calculations with the mean force integration over the confidence region νMCD defined by different distortion score
cutoffs. The calculations are performed using Ackland-Mendelev EAM potential <sup>44</sup> . d The stratified structures of the dislocation cores with different
distortion score dRB based on the robust MCD analysis. The critical MCD threshold of the bulk structure is dRB = 2.9. The atoms are coloured according to
their distortion scores. The depicted structures are oriented along the 〈111〉 direction.
<sup>C15</sup> 2 ! I <sup>NP</sup> 2
direct total energy calculations along the pathway. Using the
explicit form of the mean force ∂ζF(ζ) and derivatives of the spline
interpolation of atomic coordinates <sup>10,53</sup>, the migration energy
profile becomes:
Z ζ
0
X
α¼x;y;z
like dislocations. Here we suggest using the distortion score to
define the confidence region based solely on geometric information of LAEs. The atoms from the core and the outer part of the
system are treated on the same footing. Using the distortion score
as local information we are able to indicate the atoms that are
more likely to contribute to the mean force of the system. Finally,
we integrate the mean force along the complex reaction
coordinate and find the migration/transformation energy barrier
for systems where the energy cannot be directly defined. For such
a defect cluster, the expression of the energy profile becomes:
ΔEðζÞ ¼ �
X
i2box
<u>∂qiαðζ</u> <sup>0</sup> <u>Þ</u>
f iαðζ <sup>0</sup> Þdζ <sup>0</sup> ; ð2Þ
∂ζ <sup><u>0</u></sup>
where fiα is the force acting of the i <sup>th</sup> atom along the Cartesian
α = x, y or z direction; qiαðζ <sup>0</sup> Þ is the interpolated coordinate of the
same atom with the ζ <sup>0</sup> as reaction coordinate. Figure 5a compares
the energy profile obtained directly from NEB calculations with
those from the mean force (Eq. (2)) integration. When integrating
over the forces of all atoms in the system, the agreement between
the two energy barriers is excellent (Fig. 5a).
However, in calculations like QM/MM, it is impossible to take
the forces on all atoms. As such, a confidence region with major
contribution to the mean force of the system should be defined.
As a possible solution, a geometrical cutoff around the defect can
be applied <sup>53</sup> . This simple approach is sufficient for the
calculations of particular class of compact defects, like interstitial
clusters, but it does not provide a universal solution, e.g., it is not
applicable for the defect structures that cannot be well localized,
where vMCD is the confidence region defined by the set of atoms
with dRB bigger than a critical threshold. The geometric criterion
in direct Cartesian space is replaced here by the distortion score
of LAEs. The energy barriers obtained from the mean force
integration (Eq. (3)) of atomic clusters and screw dislocations in
bcc Fe with different dRB cutoff are reported in Fig. 5. Figure 5a
depicts the minimum energy pathway of the I <sup>C15</sup> 2 ! I <sup>NP</sup> 2
transformation. For these defects, all the atoms with dRB > 3.9
are identified as structural outliers by robust MCD (Fig. 1b). The
Z ζ
0
X
α¼x;y;z
ΔEðζÞ ��
X
i2vMCD
<u>∂qiαðζ</u> <sup>0</sup> <u>Þ</u>
f iαðζ <sup>0</sup> Þdζ <sup>0</sup> ; ð3Þ
∂ζ <sup><u>0</u></sup>
number of atoms in the detected defect clusters (Fig. 5b, dRB =
3.9) varies from 57 to 32 along the transition path. The mean
force integration of these clusters is in a good agreement with the
reference NEB curve. When increasing the cutoff distance dRB up
to 12 and 17 (defect stratification according to Fig. 1b, lines B and
C), the nearest environment of the defect is disregarded. This
allows to better visualize the transition mechanism (Fig. 5b).
However, at the same time, it results in underestimated energy
barriers (Fig. 5a). Thus, the contribution of mild outliers into the
system’s mean force is important and cannot be neglected.
The selection of a confidence region based on distortion score
can be especially useful for the reconstruction of the energy
profiles in situations where the relevant region is not local and
hardly can be grasped using a geometrical cutoff around defects.
Figure 5c illustrates the Peierls barrier of a <u>12</u> <sup>h111i</sup> <sup>screw</sup>
dislocation dipole gliding in {110} plane in bcc Fe. In the
depicted simulation cell (Fig. 5d), the dislocations are only distant
by 17.45 Å, which imposes a strong elastic interaction between
the cores. The complex interaction is deconvoluted using various
cutoff of the distortion score dRB (Fig. 5d). The extracted
information is subsequently used to reconstruct the migration
energy profile. In contrast to the above defects (Fig. 5a, b), the
local definition of the dislocation core is not sufficient to
accurately reconstruct the Peierls barrier. When considering
exclusively the atom outliers (Fig. 5d with dRB = 2.9), the barrier
is underestimated by more than 20%. Hence, it is necessary to
include distorted bulk in the confidence region for the mean force
integration. The elastic interaction of dislocations produces
relaxation patterns that are captured by the distortion score
(Fig. 5d). Including the relevant bulk atoms improves the energy
barrier (Fig. 5c). Thus, we are able to reconstruct the NEB barrier
within 4 meV deviation, i.e., with more than 95% accuracy. Such
analysis and reconstruction of the Peierls barrier also holds for
bigger simulation cells (see Supplementary Note 3) with less
important interactions between the dislocation cores.
These results open up many perspectives in computational
materials science. Beyond the selection of relevant structural
information, the detected patterns of atoms can indicate the
areas with strong interaction between defects or/and nonhomogeneous distribution of strain in the simulation cell. This
information is useful in QM/MM to qualitatively verify the
convergence of the calculations as well as to handle the frontier
between the QM and MM domains. Moreover, the automatic
selection of relevant atoms can set the basis for finding
appropriate collective variables, which is currently recognized
as a critical problem that hinders implementation of free
energy methods using automated and unsupervised simulation
schemes <sup>8,10</sup> .
Application 3: analysis of kernel ML potentials. Nowadays, ML
force field models represent a worthwhile alternative to conventional interatomic potentials. The vast majority of existing ML force
fields for MD calculations are based on kernel methods <sup>11,48,55,56</sup> .
Accuracy and numerical cost of these potentials intrinsically depend
on the diversity and number of LAEs M in the training database.
The force fields built within the GAP framework <sup>48</sup> are among of the
most commonly used ones. For the structures close to those from
the potential database, GAP can be as accurate as ab initio
methods <sup>48,50,57</sup> . However, application of these potentials for modelling configurations beyond the potential database is rarely
discussed.
Uncertainty quantification of the Gaussian process regression
can provide a qualitative estimate of the potential’s accuracy for
each atom in a given system. An example of such an estimation
was recently demonstrated in ref. <sup>57</sup> . The local error is an
appropriate measure of the potential reliability; however, its
computational cost ascends to M <sup>2</sup>, whereas the MD calculations
with GAP scale linearly with the size of the database M. Here we
propose a less costly strategy, able to provide a qualitative
estimate of the potential’s transferability for modelling targeted
defects. The method is based on the outlier analysis and performs
examination of defect clusters from the potential database and
compares them with the defect structures of interest. Figure 6
illustrates a general workflow for the proposed transferability
analysis strategy.
As a study case, we examine the performance of GAP potential
for bcc Fe <sup>50</sup> . We have tested this potential to compute various
radiation-induced defects, including those beyond the potential
database. The results are reported in detail in the Supplementary
Note 4. Overall, the GAP potential is remarkably more accurate
than any existing semi-empirical potential. However, for few
defects, the tested potential exhibits a limited transferability.
Among the examined defect structures, we identify (i) the
C15 clusters and (ii) the saddle-point configuration V <sup>max</sup> 3 of tri
vacancy migration as “failed” system to test further. For the small
size I <sup>C15</sup> 2;3 <sup>clusters, GAP</sup> <sup>potential provides the formation energies</sup>
ca. 2.5 eV higher than those of SIA dumbbells (Supplementary
Fig. 10b). This yields an impossible formation of C15 in bcc Fe,
which is not consistent with the density functional theory (DFT)
predictions <sup>58</sup> . For the tri-vacancies V3, the computed migration
energy barrier V <sup>max</sup> 3 is almost 60% lower than the DFT migration
energy (Supplementary Fig. 11b). Such an error will have
an impact on predictions of defect kinetics under irradiation
and interpretation of processes during resistivity recovery
experiments <sup>59</sup> .
Besides these two defects, we also examine (iii) <sup><u>1</u></sup> 2 <sup>h111i</sup> <sup>screw</sup>
dislocation core and (iv) its saddle point configuration on the top
of the Peierls potential. These structures were not explicitly
included into the GAP database; however, the potential performs
as accurate as ab initio methods for these defects <sup>60</sup> . The ML
algorithm that underlays the GAP potential, Gaussian Processes,
is non-parametric and can integrate all the information provided
by the projection of the database into the descriptor space R <sup>D</sup> .
Most likely, the “failed” configurations (i)–(ii) deviate from the
defects in the training database, whereas the dislocation structures
(iii)–(iv) are similar to those learned by the potential. To check
this assumption, we have examined how the defect clusters (i)–(ii)
are related to the defect structures from the potential database.
For the dislocations (iii)–(iv), we only employ the detected LAEs
of SFs as a training data for the transferability analysis. The latter
will allow to estimate if accurate modelling of dislocations can be
ensured by the presence of SFs in the potential database. The
majority of atoms in the “failed” defect clusters (i)–(ii) (Fig. 7a, b)
are identified as pronounced outliers, characterized by negative
SVM distances. Consequently, the GAP potential mainly performs in extrapolation regime for these defects. The predictions
in this regime are not necessarily accurate. Hence, it is not
surprising that the energy profiles of those defects predicted by
GAP do not agree with DFT calculations. In contrast, the
dislocation cores (iii)–(iv) (Fig. 7c, d) do not contain any
anomalous instances. Thus, the structural information provided
by the SFs was sufficient to ensure good accuracy of the potential
for dislocation core structure and its migration barrier.
The proposed strategy for transferability analysis (Figs. 6 and
7) provides a qualitative estimate of the potential performance.
The outlier-based analysis can indicate if the information
necessary for modelling certain defects is missing in the potential
database. To improve the performance of the tested ML potential
for the systems with pronounced outliers (Fig. 7a, b), their
structures should be added to the potential database. At the stage
Defect detection in the potential database
Defect detection in the system to examine
Bulk DB
Defect detection
DB configuration 3
training
MCD DB configuration 3 Bulk DB Defect detection System to examine
test
data
DB configuration 2
training
Structures <sup>3N</sup> Descriptor <sup>D</sup> training MCD test Descriptor <sup>D</sup> Structure <sup>3N</sup>
Structures <sup>3N</sup> Descriptor <sup>D</sup> data data DB configuration 2 MCD
test
data
Descriptor <sup>D</sup>
data
DB configuration 1
data
Descriptor <sup>D</sup>
Potential transferability test
Structures <sup>3N</sup>
Defect database Transferability analysis
Defect to examine
test
data
Descriptor <sup>D</sup>
Descriptor <sup>D</sup>
training
data
OCSVM with kernel
of the potential
Atoms-inliers:
high fidelity
Atoms-outliers:
low fidelity
Fig. 6 Workflow for transferability analysis of kernel ML potentials using outlier detection. The structural data are represented in the feature space of
atomic descriptor similar to that originally used to design the potential <sup>50</sup> . The first step of the analysis (upper panel) implies detection of defects both in the
potential database and in the atomic systems to examine using MCD, one-class support vector machine (OCSVM) or any other relevant method. The second
step (lower panel) is aimed at transferability analysis of the potential. The detected defect clusters from the potential database form a new training data set with
the structures-inliers known by the potential. The new outlier detection model is trained on these configurations using a kernel method, e.g., OCSVM, with the
kernel function identical to that of the tested ML potential. Identification of atoms-outliers within the examined defect cluster implies that these atomic
environments are missing in the training database and, therefore, the tested ML potential may provide poor energetic properties for this defect.
of the potential development, the proposed defect detection
protocol coupled with ML outlier detection methods (Fig. 6) can
be used to optimize the content of the database, to improve the
potential accuracy for modelling targeted defects and their
properties.
Discussion
This work suggests a definition of defects in crystalline solids
using the distortion score of atomic environments provided by
the means of distance-based ML outlier detection, notably by
robust MCD. Each atom in the analysed system is described by a
distortion score, which corresponds to the statistical distance of
its LAE in the descriptor space from the distribution of LAEs in
the reference structure. The reference structures to learn is a user
choice, driven by the objectives to achieve. In this work, we have
mainly employed as reference the defect-free bulk structures with
some noise around perfect atomic positions.
We have numerically demonstrated that the atomic distortion
score, which is based solely on geometrical information, is correlated with the local atomic energies. This finding opens up
many perspectives in the field of computational materials science,
with several promising applications, ranging from the qualitative
substitution of the concept of energy per atom to the selection of
the relevant structural information in materials design.
The present study proposes significant improvement of
methods relevant for different fields of materials science and
demonstrates the possibilities to overcome some blocking points
in (i) structural analysis; (ii) design of new ML potentials and
transferability analysis of existing ones; and (iii) advanced
numerical modelling and characterization of energy landscapes.
The defect detection strategy using the distortion score is
universal, i.e., in contrast to conventional geometry-based
methods, it performs well for defects of a different origin. The
same ML technique can be applied for the detection and analysis
of dislocations, interstitial atoms, vacancies and other defects. The
proposed definition of defects through the distortion score can be
used to analyse the output of various numerical methods such as
massive atomistic MD (see Supplementary Note 2), Monte Carlo,
metadynamics, hyperdynamics and free energy simulations.
Moreover, the distortion score can be used to control the degree
of precision for the relevant information to be extracted and
stored. This metric can serve as a fingerprint for filtering databases with atomic structures to select and/or classify defects.
The proposed definition of defects serves to reinforce not only
the performance of traditional approaches, but also of modern
ML methods in materials science. Here we have demonstrate how
the new concept of defects can be effectively applied for the
analysis of kernel ML potentials and their databases. This
approach allows optimizing the database content in order to
improve the potential accuracy for modelling targeted defects and
their properties. This type of potentials is able to approach DFT
accuracy and can cope with large systems where the computational cost beyond the scope of ab initio methods. Improvement
of these potentials can enable accurate calculations of such
important physical properties, as formation and migration energy
of large defects, e.g., straight dislocations and kink pairs, loops,
large 3D clusters, etc. In the perspective, similar approaches can
be applied to large biological/chemical molecules.
The distortion score can be applied for characterization of
energy landscapes. Here, using the stratified definition of defects
via distortion score, we identified the atoms with the most
important contribution to the mean force of the system. Using
this strategy allowed to accurately reconstruct the migration
barriers from the mean force calculations of complex interstitial
clusters and screw dislocations. Such an approach is of particular
interest for defect localization in the simulations such as QM/
MM, where the definition of total energy is ambiguous. Furthermore, the link between the distortion score and local energy
C15 cluster
a
16
12
8
4
0
–60 –40 –20 0 20 40 60 80 100 120 140
Tri-vacancy migration: saddle point
14
12
10
8
6
4
2
0
32
24
16
8
0
24
20
16
12
8
4
0
b
–60 –40 –20 0 20 40 60 80 100 120 140
Screw dislocation core
c
–60 –40 –20 0 20 40 60 80 100 120 140
Peierls barrier: saddle point
d
–60 –40 –20 0 20 40
SVM distance
60 80 100 120 140
Fig. 7 Qualitative estimation of a kernel potential performance for given defects. Histogram of the number of atoms vs. the dSVM distance is plotted for
the four defects not included in the database of the tested GAP potential <sup>50</sup> for bcc Fe, for which: a, b the potential exhibits a limited transferability; c, d the
potential performs well. The inset structures from subplots (a–d) illustrate the cores of defects detected using the distortion score for the I <sup>C15</sup> 2;3 <sup>cluster, the</sup>
saddle point configuration of tri-vacancy migration, the minimum energy and the saddle point configurations of screw dislocations, respectively. The
vertical dotted line indicates the decision boundary between the outliers (negative values) and the inliers (positive values).
opens up many perspectives for advanced MD techniques. By
now, the utility of popular methods for accelerated MD, such as
metadynamics <sup>7</sup> or mean force <sup>8,9</sup>, statistical learning approaches <sup>11</sup>
and temperature-accelerated dynamics/hyperdynamics <sup>61</sup>, is
often hindered by the general inability to extract the relevant
information about the defects or by the definition of collective
variables that are needed to compute free energy landscapes.
The suggested strategy for the identification of the high-energy
atoms can serve to find an appropriate reaction coordinate. This
promising application has a very broad interest for the materials
science community and can be further developed for the
communities of chemistry or biology, e.g., it can be applied for
automated simulation schemes combined with ab initio sampling
strategies.
In perspective, the notion of the distortion score based on
statistical distances can be extended beyond the structural
properties of defects and numerical methods of materials
characterization. The present concept can be useful for the
organization and the classification of multivariate data provided
by experimental techniques, where the atomic coordinates are
provided, such as atom probe or transmission electron microscopy tomography.
a b
0 1.0
Mono-vacancy V1
20
40
60
80
100
120
0.8
0.6
0.4
0.2
0.0
0 5 10 15
Descriptor component _Bij_
20 25
Fig. 8 Mono-vacancy in bcc Fe represented in the descriptor space. The 127-atom cell is represented based on the bispectrum SO(4) with Rc = 4.0 Å and
jmax ¼ 3:5 resulting in 26 descriptor components. a Heatmap of the bispectrum components. The lines deviating from the rest of the map correspond to the
atomic environments impacted by the mono-vacancy. b Representation of the atomic array based on the first descriptor component. The atoms are
coloured according to the first column, indicated with an arrow in a. Purple atoms correspond to the first coordination sphere of the vacancy, blue
corresponds to the second and green corresponds to the third.
Methods
Representation of structural data and training data sets. In this work, the
training and test structural data are represented in the feature space of atomic
descriptors. All atomic descriptors are calculated using the MiLaDy package <sup>49</sup> .
Below we provide the details about atomic descriptors and the training data sets for
each application presented in this study.
For the Application 1, the structural data are represented using spectral atomic
descriptor, bispectrum SO(4) <sup>36</sup>, with the angular moment jmax ¼ 3:5 and only the
diagonal bi-spectral components, which results in D = 26 descriptor components,
as was previously described in ref. <sup>49</sup> . Using this representation, each atomic system
with a structural defect becomes a N × 26 matrix, with N being the number of
atoms in the simulation cell. For bcc Fe and fcc Al, we employ the cutoff distance of
the descriptor function Rc = 4.0 Å and Rc = 5.0 Å, respectively, which is sufficient
to take into account the nearest distorted zone around the defects. Figure 8
illustrates a 127-atom bcc Fe system with mono-vacancy represented in such a
descriptor space.
The training data sets for the defect detection consist of defect-free bcc Fe and
fcc Al systems. Overall, the defect detection models are trained on ca. M = 16,200
LAEs for each structural type. Thus, the training data sets with the bulk structures
become 16,200 × 26. The training bulk structures contain some random noise
within the Gaussian distribution with the standard deviation σ = 0.08 Å of atomic
displacements, which was applied to the perfect atomic positions. Including
configurations with noise into the training data set allows to prevent sensitivity of
the model to atomic perturbations from their perfect positions.
For the Application 2, the reconstruction of the I <sup>C15</sup> 2 ! I <sup>NP</sup> 2 SIA transition
barrier in bcc Fe (Fig. 5a, b) is performed using the descriptors and training
structures identical to those, applied for the Application 1. Reconstruction of the
Peierls barrier (Fig. 5c, d) requires an accurate description of the long-range
displacement field within the bulk structure of a material, which is not localized
around the dislocation lines. Therefore, reconstruction of the barrier requires a
very accurate description of any marginal perturbations within the bulk
structure. To ensure a proper description of the displacement field produced by
dislocations, we employ bispectrum SO(4) <sup>36</sup> with the angular moment jmax ¼ 4:0
and Rc = 5.0 Å, and use the diagonal and non-diagonal components, i.e., D = 55
descriptor components per atom. In this case, we find that the structural
description provided by jmax ¼ 4:0 is sufficient to capture the subtle structural
details (see comparison with jmax ¼ 4:5 in the Supplementary Note 3). The
defect-free training data set is formed by MD calculations of bcc Fe at 300 K at
constant volume of 0 K using the same interatomic potential <sup>44</sup>, as was used to
compute the migration profile of dislocations. The training data set consist of M
= 25,800 atomic environments. In the case of dislocations, employing proper
MD calculations to generate the training data are preferable to application of
random noise to perfect structures, as it allows to ensure an accurate description
of the subtle changes in the bulk structure.
For analysis of the GAP potential transferability in the Application 3, we
represent the structural data using smooth overlap of atomic positions (SOAPs)
descriptor <sup>36</sup> with nmax ¼ 12 and lmax ¼ 12 for radial and angular channels,
respectively, which results in dimensionality D = 1,014. The cutoff distance is set to
For the Application 2, the reconstruction of the I <sup>C15</sup> 2
<sup>C15</sup> 2 ! I <sup>NP</sup> 2
Rc = 5.0 Å. The same form of the SOAP descriptor was used to design the GAP
potential <sup>50</sup> .
The detection of defect clusters in the GAP database <sup>50</sup> is performed on the ca.
100,000 test atomic environments. After performing the outlier detection to isolate
structural defects of the database, we consider ca. M <sup>def</sup> = 17,300 atomic
environments as belonging to defects. These M <sup>def</sup> atomic environments form the
training data set (Fig. 6) for transferability analysis of the potential.
The structural data for analysis of the correlation between statistical distances
and energy per atom from GAP potential in Fe (Fig. 2 and figures in the “Methods”
section below) is represented with bispectrum SO(4) using Rc = 5.0 Å and jmax ¼
4:5 with all bi-spectral components. The correlations in W (in the “Methods”
section below) are examined using bispectrum SO(4) with jmax ¼ 4:5, resulting in
dimensionality D = 70 and Rc = 4.7 Å, which correspond to the descriptor settings
of the linear ML (LML) potential used to compute the local energies. For Fe, the
training bulk structures contain ca. 103,000 atomic environments from MD
calculations at 300–800 K at the constant volume of 0 K using the GAP potential.
In case of W, the training was performed on 40,500 atomic environments from MD
calculations at 800 K using the corresponding LML potential.
Choosing an optimal outlier detection method. In this work, we intend to use
such an outlier detection method that not only performs well for a binary distinction between inliers and outliers but also provides a smooth decision function,
which correctly reflects the detailed structure of the training and test instances. In
general, density-based and clustering methods are not well adapted for the subject
of the paper.
The most suitable methods should: (i) provide a smooth decision function or a
similarity measure for each data point (atomic environment) with respect to the
reference data cloud (e.g., defect-free structures), which can be used as a distortion
score and a reliable measure of LAEs; (ii) be adapted for multivariate data sets with
dimensionality from few tens (typical for the atomic descriptors used in the
Applications 1 and 2) to few thousands (typical for the atomic descriptors coupled
with the tested GAP potential in the Applications 3); (iii) be fast (not slower than
atomistic calculations themselves) and possible to use for large systems (e.g., atomic
arrays with few million atoms)—we decided to avoid methods based on non-linear
kernels, as their learning process requires M <sup>3</sup> numerical operations; and (iv) be
easy to implement and use for researchers from materials science community who
are not necessarily experienced in ML.
Computing statistical distances is fast and more straightforward than using NNs
and SVM. Moreover, there is no need to optimize hyperparameters (e.g., via grid
search combined with error minimization procedures). In addition to that, it was
previously demonstrated in the literature <sup>62–64</sup> that in some cases with relatively
poorly sampled learning space, recognition of outliers can be better performed
using Mahalanobis distances than with SVM and NNs. For the applications
reported in our study, it is possible that the amount of available structural data for
training is limited (for instance, when the data are generated from costly ab initio
calculations), which can yield the situations similar to those described in refs. <sup>62–64</sup> .
In addition to these arguments, we compare the ability of MCD and linear SVM to
provide the distortion score of LAEs by measuring the correlation with the local
energy and examine their ability to provide detailed stratification of complex
defects. The results are reported in the Supplementary Note 1. For both
applications, MCD exhibits a better performance. For the reasons listed above, in
this study we have opted to define the distortion scores based on Mahalanobis
distance and robust statistical distance variants, such as robust MCD and
Hotteling’s distance T <sup>2</sup> . These distances also were used for data mining and
advanced analysis in medical and industrial applications (see the references of the
review papers <sup>26,27</sup> ).
Minimum covariance determinant. The strategy of outlier detection using MCD
consists of computing a statistical distance from each observable to the centre of
the data cloud <sup>27,65</sup> . An outlier is then defined as a point with a statistical distance
larger than some critical cutoff. In order to describe the distance from the centre of
the data and take into account the shape of the cloud, one should consider the
contribution of the statistical sample covariance matrix. A classical estimator of i⋆
data point distance, among M data points, is the Mahalanobis distance based on
the sample covariance matrix ΣM 2 R <sup>D ´ D</sup> :
spectrum of H/Σb, which define the Hilbert space of the problem given by the
Hamiltonian or sample covariance matrix, respectively, projected on measured
state. The sum is weighed with the ϵn(ϵ) and with the inverse of the variance (the
precision) in the case of electronic structure and of statistical distance, respectively.
The completeness of the Hamiltonian basis gives the capacity of the model to
predict new states. The similar situation concerns the statistical distance. The
reliable estimation is obtained for a complete or exhaustive collection of points
fjxmig that define the sample covariance matrix.
Based on this observation, we introduce an array of statistical distances that use
various weights, such as powers of eigenvalues of the sample covariance matrix, to
approach the corresponding values from QM. For example, the QM of classical
fermions (high temperature or β → 0) suggests a weight similar to observable that
gives the local energy and implies using λ <sup>α</sup> expðβλÞ instead of 1/λ, where α and β
are constants to determine. Here we propose the statistical distances with the
following functional form:
di? ¼
" #γ
X
λ <sup>α</sup> m <sup>eβλm</sup> <sup>jhi</sup> ? <sup>jmij2</sup>
m
ð6Þ
�Z �γ
dλρi? ðλÞλ <sup>α</sup> e <sup>βλ</sup> ¼
X
λ <sup>α</sup> m
-
dMAH xi? ¼
qf f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f
ðxi? - hxiÞ <sup>T</sup> Σ <sup>�</sup> M <sup>1ðx</sup> i? <sup>�</sup> h <sup>x</sup> iÞ
ð4Þ
The Mahalanobis distance dMAHðxi? Þ describes how far is the point xi? from the
centre hxi of the data cloud, taking into account the shape of the data distribution
via ΣM.
However, as was previously discussed in refs. <sup>27,65</sup>, the estimators based solely
on Mahalanobis distance may fail to detect mild outliers. To improve the
performance of the method and annihilate the effect of outliers on the sample
covariance matrix and, consequently, on the distance estimator, the so-called
robust MCD estimator is used:
ð5Þ
f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f iffi
-
The standard MCD distance/Hotteling’s T <sup>2</sup> estimator is given by the parameters
α = −1, β = 0, γ = 0.5. In case when the reference local energies are available, the
parameters α, β, γ can be set to some optimal values. The standard choice and
few sets of optimal values of these parameters for the proposed array of statistical
distances are presented in the Fig. 9 for Fe and W, using two ML formalisms:
GAP <sup>50</sup> and LML <sup>49</sup> . It is interesting to note that the distances inspired by the QM
formalism (Fig. 9b–d, f–h) slightly outperform the standard MCD distance/
Hotteling’s T <sup>2</sup> estimator (Fig. 9a, e) to provide a better correlation with local
energies. In this work we gave a preference to standard MCD robust distances,
which do not require any information about the energy of the system.
The perspective of using a more complex function for the weight factor can
be further generalized using statistical distances defined in the framework of
kernel formalism. For example, with the procedure proposed in ref. <sup>66</sup>, the
authors make use of the advantages of kernel whitening and kernel PCA to
compute Mahalanobis distance in the feature space by projecting the data into
the subspace spanned by the most relevant eigenvectors of the covariance matrix.
This extension can entirely recover the kernel formalism that underlies the GAP
potential and can potentially improve the estimation of LAEs via distortion
score. In conclusion, with the above considerations we found the distortion score
based on various statistical distances as appropriate for measuring the distortion
score of the LAEs. It worth to note that this procedure does not require any
information about the energy of the system, making this conjecture particularly
useful and surprising. Furthermore, when the information about the local
energies is available, we propose a procedure to improve this conjecture
(Eq. 6, Fig. 9).
One-class support vector machine. One-class support vector machine (OCSVM) <sup>29</sup>
is a subclass of widely used support vector machine methods <sup>67</sup> . This approach
separates inliers from outliers by finding a maximal margin hyperplane between
them <sup>29,67,68</sup> . The vectors that determine the optimal separating hyperplane are called
support vectors. OCSVM is similar to binary SVM classification, where the regular
training data with the bulk structure (inliers) belongs to the first class, and the defects
(outliers) belong to the second class. The proportion of outliers that contaminate the
database, ν, is an input parameter. The hyperplane between the two classes is the
decision boundary, which can be defined both for linearly separable data and more
complex non-linear cases.
For linearly separable data, the hyperplane can be described by the classification
rule:
f ðxmÞ ¼ hw; xmi þ b; ð7Þ
where w is the normal vector and b is a bias term. Both parameters w and b are
learned from the positive class (bulk) database. For each point xm, the value f(xm) is
determined by evaluating on which side of the hyperplane it falls on (in feature
space). The function is positive for the inlier data points (bulk structures) and
negative for the outliers (structural defects). The distance dSVM from the origin to a
point x along the direction w is given by:
dRBðxmÞ ¼
qf f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f iffi
- �T ^Σ�1 - �T
f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f f f
- �1 xm � μ^0�T ^ΣM0 <sup>x</sup> m <sup>�</sup> <sup>μ^</sup> 0
where μ^0 and Σ <sup>^</sup> M0 are the MCD estimates of the data cloud centre and of the
MCD statistical covariance, respectively <sup>26</sup> . Within the MCD formalism, the
whole sample covariance matrix ΣM is approximated by the covariance matrix
ΣM0 of a data subset with M0 < M points, for which the determinant of the
sample covariance matrix is minimal. The exact MCD calculation is laborious
and implies computing C <sup>M</sup> M <sup>0</sup> <sup>determinants.</sup> <sup>In</sup> <sup>this</sup> <sup>work,</sup> <sup>we</sup> <sup>use</sup> <sup>FAST-MCD</sup>
algorithm <sup>37</sup>, one of the most efficient, robust and widely used version of MCD
estimator <sup>27,65</sup> . The MCD has the ability to exclude outliers from the reduced
covariance matrix, and, consequently, to increase the norm of the outliers points.
MCD is an affine equivariant estimator, i.e., the data might be rotated, translated
or rescaled (e.g., due to a change of the measurement units) without affecting the
outlier detection diagnostics <sup>27</sup> . This makes MCD particularly suitable for the
tasks of structural analysis. In this work, we employ robust MCD distance dRB
(Eq. (5)) as a measure of local atomic distortion score to detect and analyse the
defect structures. The outlier detection with MCD is performed on the structural
data sets (see Representation of the structural data section) with contamination
factor ν = 0.07.
It should be noted that MCD is designed for the data with a unimodal
distribution. Practically, it means that the model can be directly trained for
detection of defects embedded in the structure with unimodal distribution of LAEs,
e.g., in bcc anf fcc cubic metals. In order to train the model on more complex
structural data with multimodal distribution of LAEs, calculations of a
multidimensional distortion score can be enabled by modal decomposition of the
training database. For instance, a multimodal training database D can be
decomposed in various unimodal sub-databases D1 �D2 � ¼ �Dn and a
statistical distance can be computed with respect to each sub-database Di,
providing thus an n-dimensional distortion score. Supplementary Note 2 provides
an example of the training database decomposition and demonstrates the utility of
multidimensional distortion score for the analysis of complex structural damage
produced by displacement cascades.
Statistical distances and their QM-inspired variants. From mathematical point
of view, there is a similitude between the formalism that describes the local
atomic energy of materials in quantum mechanics (QM) and the statistical
distances based on sample covariance matrix. As emphasized in Table 1, the
observables to be evaluated are the energy of the quantum state ji?i and the
statistical distance of the data point jxi? i in descriptor space. The local orbital
basis fj ii g is equivalent to the learning database fjxmig of the M atomic
environments. The eigenelement of the Hamiltonian fϵm; jmig and fλm; jvmig of
the sample covariance matrix have similar meanings, giving the total energy (Eq.
t.5) and the trace of the sample covariance matrix as the total variance (Eq. t.6).
The difference here is that the occupation of each state follows a specific statistics, i.e., in QM the electrons obey Fermi-Dirac occupation n(ϵ), whereas in
statistics the occupation is n(λ) = 1 for all sample points. The similar definition
of global quantities, energy and variance, suggests the similar definitions of local
density of states (Eqs. t.7 and t.8).
Moreover, the Eqs. t.9 and t.10 suggest that local energy and the statistical
distance measure the contribution of square amplitude of probabilities of the entire
dSVM ¼ w <sup>T</sup> x=ðw <sup>T</sup> wÞ1=2: ð8Þ
Similarly to the MCD robust distance dRB, the distance dSVM can be used as the
metric of the distortion score for each atom.
In order to perform non-linear classification and obtain more complex decision
boundaries, the kernel trick can be applied, as was originally proposed by Vapnik <sup>67</sup> .
In this case, the data are implicitly mapped into a high-dimensional space through
a non-linear function Φ(x). The distance between the data points in the new nonlinear space is then measured using a non linear kernel
Kðxm; xm0 Þ ¼ ΦðxmÞ � Φðxm0 Þ. In this higher dimensional space the data points
become linearly separable and the above linear formalism (Eq. (7)) can be applied.
Most common non-linear kernels have a Gaussian (radial-basis function) or a
polynomial form. For the Gaussian kernel:
Kðxm; xm0 Þ ¼ expð�γðk xm � xm0 kÞ <sup>2</sup> Þ ; ð9Þ
Table 1 Comparison of the quantum mechanics (QM) and machine learning (ML) formalism.
<u>QM</u> <u>ML</u>
Consider an archetypal case, which does not reduce the generality, a solid
with one orbital j ii per atomic site i. In tight-binding formalism using the
hopping integrals tij, the probability of transition from the orbital j ii to
orbital j ij, the Hamiltonian reads: H ¼ <sup>P</sup> i;j <sup>t</sup> ij <sup>j ii</sup> <sup>h jj</sup> <sup>. The energy levels of the</sup>
system are the eigenvalues of Schrödinger equation: H mj i ¼ ϵmjmi. We
are interested in the estimation of the local energy ϵi? associated with the
atom i⋆.
Consider that we have learned the sample covariance matrix Σb of M data
points, xm 2 R <sup>D</sup> . The data are centred to mean zero. The m <sup>th</sup> element of
the descriptor space can be written in an initial basis as jxmi ¼ <sup>P</sup> x <sup>i</sup> m <sup>jii.</sup>
The eigenelement of Σb is fλm; jvmig. We are interested in the statistical
distance di? of the data point jxi? i.
atom i
H ¼ <sup>P</sup>
m <sup>i</sup> <sup>xj</sup>
PM
m <sup>xi</sup>
�M1�1 PMm <sup>x</sup> m <sup>i</sup> <sup>xj</sup> m�j ii h jj (t.2)
<u>1</u>
M�1
H ¼ <sup>P</sup> m <sup>ϵ</sup> mj <sup>m</sup> ihmj (t.3) Σb ¼ <sup>P</sup> im;j <sup>λ</sup> mM��� <sup>v</sup> 1m��vm�� m (t.4)
E = ∑m∫dϵn(ϵ)ϵδ(ϵ - ϵm) (t.5) Tr(Σb) = ∑m∫dλλδ(λ - λm) (t.6)
ρi? ðϵÞ ¼ <sup>P</sup> m�� <sup>hi</sup> ? <sup>jmi</sup> ��2δðϵ � ϵmÞ (t.7) ρi? ðλÞ ¼ <sup>P</sup> m <sup>jhx</sup> i? <sup>jv</sup> m <sup>ij2δðλ �</sup> <sup>λ</sup> m <sup>Þ</sup> (t.8)
H ¼ <sup>P</sup>
i;j <sup>t</sup> ij <sup>j ii</sup> <sup>h jj</sup> (t.1) Σb ¼ <sup>P</sup>
m <sup>ϵ</sup> mj <sup>m</sup> ihmj (t.3) Σb ¼ <sup>P</sup>
i;j
m <sup>λ</sup> m <sup>v</sup> m
n(ϵ)ϵδ(ϵ - ϵm) (t.5) Tr(Σb) =
m�� <sup>hi</sup> ? <sup>jmi</sup> ��2δðϵ � ϵmÞ (t.7) ρi? ðλÞ ¼ <sup>P</sup>
ρi? ðϵÞ ¼ <sup>P</sup> m�� <sup>hi</sup> ? <sup>jmi</sup> ��2δðϵ � ϵmÞ (t.7) ρi? ðλÞ ¼ <sup>P</sup> m <sup>jhx</sup> i? <sup>jv</sup> m <sup>ij2δðλ �</sup> <sup>λ</sup> m <sup>Þ</sup> (t.8)
ϵi? ¼ <sup>R</sup> dϵρi? ðϵÞϵnðϵÞ (t.9) d <sup>2</sup> i? <sup>¼ R</sup> <sup>dλρ</sup> i? <sup>ðλÞ</sup> λ <sup><u>1</u></sup> (t.10)
m <sup>hi</sup> ? <sup>jmi</sup>
m <sup>jhx</sup> i?
<sup>2</sup>
i? <sup>¼ R</sup> <sup>dλρ</sup> i? <sup>ðλÞ</sup> λ <sup><u>1</u></sup>
ϵi? ¼ <sup>R</sup> dϵρi? ðϵÞϵnðϵÞ (t.9) d <sup>2</sup> i? <sup>¼ R</sup> <sup>dλρ</sup> i? <sup>ðλÞ</sup> λ <sup><u>1</u></sup> (t.10)
pðϵi? Þ / expð�βϵi? Þ for β ! 0 (t.11) pðxi? Þ / expð�d <sup>2</sup> i? <sup>=2Þ</sup> (t.12)
<sup>2</sup> i? <sup>=2Þ</sup> (t.12)
Commonly used quantum mechanics (QM) formalism of local energies (on left) is compared with ML formalism of sample covariance matrix and statistical distances (on right). To emphasize the
similarities between the two approaches, we adopt the QM bra-ket notation for statistical distance. The data points of the descriptor space are the ket vectors jxi ¼ x 2 R <sup>D ´ 1</sup>, whereas the bra vectors
are the transposed vectors hxj ¼ x <sup>T</sup> 2 R <sup>1 ´ D</sup> . ρi? and ρλ are the local density of states and variance, respectively, for the state ���i? / data point jxi? i. pðϵi? Þ is the probability of the state ���i? in the limit of
similarities between the two approaches, we adopt the QM bra-ket notation for statistical distance. The data points of the descriptor space are the ket vectors jxi ¼ x 2 R <sup>D ´ 1</sup>, whereas the bra vectors
are the transposed vectors hxj ¼ x <sup>T</sup> 2 R <sup>1 ´ D</sup> . ρi? and ρλ are the local density of states and variance, respectively, for the state ���i? / data point jxi? i. pðϵi? Þ is the probability of the state ���i? in the limit of
high temperature, where the Fermi-Dirac distribution becomes classical Boltzmann distribution. pðxi? Þ is the marginal likelihood of the data point jxi? i.
jxi ¼ x 2 R <sup>D ´ 1</sup>
��� ���
i? / data point jxi? i. pðϵi? Þ is the probability of the state i?
α = – 1.0, β = 0, γ = 0.5 α = – 1.15, β = 0, γ = 0.5 α = –0.17, β = – 0.01, γ = 0.5 α = –0.3, β = – 0.02, γ = 0.39
1.0
0.8
0.6
0.4
0.2
0.0
0.0 0.5 1.0 1.5 0.0 1.0 2.0 3.0 4.0
1.4
1.2
1.4
1.2
1.0
0.8
0.6
0.4
0.2
a 1.4 b 1.4 c 1.4 d
R <sup>2</sup> =0.846
R <sup>2</sup> =0.852 R <sup>2</sup> =0.852 R <sup>2</sup> =0.891
Fe-GAP
1.4
1.2
1.0
0.8
0.6
0.4
0.2
0.0 0.0
0.0 0.5 1.0 0.0 0.5 1.0 1.5
1.4
1.2
1.0
0.8
0.6
0.4
0.2
0.0
d1 <sup>MCD</sup> × 10 <sup>–3</sup>
2
1 <sup>MCD</sup> × 10 <sup>–3</sup> d2 <sup>MCD</sup> × 10 <sup>–2</sup>
3 <sup>MCD</sup> × 10 <sup>–2</sup> d4 <sup>MCD</sup> × 10 <sup>–2</sup>
4
d3 <sup>MCD</sup> × 10 <sup>–2</sup>
α = – 1.0, β = 0, γ = 0.5 α = – 1.15, β = 0, γ = 0.5 α = – 0.17, β = – 0.01, γ = 0.5 α = –0.3, β = – 0.02, γ = 0.39
e f g h
2.0
1.5
1.0
0.5
0.0
R <sup>2</sup> =0.869 2.0 R <sup>2</sup> =0.947 2.0 R <sup>2</sup> =0.947 2.0 R <sup>2</sup> =0.947
2.0
2.0
2.0
1.5
1.0
0.5
0.0
1.5
1.0
0.5
0.0
W-LML
1.5
1.0
0.5
0.0
0.0 0.2 0.5 0.8 1.0 0.0 0.5 1.0 1.5 0.0 0.5 1.0 1.5 0.0 2.0 4.0 6.0 8.0
1 <sup>MCD</sup> × 10 <sup>–4</sup> d2 <sup>MCD</sup> × 10 <sup>–2</sup>
4
d1 <sup>MCD</sup> × 10 <sup>–4</sup>
2 <sup>MCD</sup> × 10 <sup>–2</sup> d3 <sup>MCD</sup> × 10 <sup>–2</sup>
3 <sup>MCD</sup> × 10 <sup>–2</sup> d4 <sup>MCD</sup> × 10 <sup>–1</sup>
Fig. 9 Correlation of the local energy with various statistical distances. Correlation with the local energy from (a–d) GAP interatomic potential for Fe and
(e–h) linear ML (LML) interatomic potential for W. The subplots (a, e) illustrate the standard MCD/Hotteling’s T <sup>2</sup> estimator; (b–d) and (f–h) correspond to
the variations of statistical distances inspired by QM.
where k xm � xm0k is the Euclidean distance between the two data points in the
descriptor space; γ > 0 is a free parameter that determines the width of the Gaussian
Kernel. For Polynominal kernel:
Kðxm; xm0 Þ ¼ ðγðxm � xm0 Þ þ cÞ <sup>p</sup> ; ð10Þ
where p stands for the p-degree of the polynomial, c ≥ 0 is a parameter that controls
the influence of higher-order vs. lower-order terms in the polynomial and γ is a
hyper parameter.
In this work, the structural analysis of defects is performed using OCSVM with
Gaussian kernel with γ = 0.03. For the transferability analysis of the GAP potential, we
employ a polynomial kernel identical to that, which was originally used for the design of
the ML potential <sup>50</sup>, i.e., with p = 4 and c = 0 (homogeneous kernel). With this choice of
the kernel parameters, γ is a scaling factor that impacts the magnitude of the distances
between configurations. For transferability analysis of the potential, contamination
factor ν (the upper bound on the fraction of training errors and a lower bound of the
fraction of support vectors) is set to 10 <sup>−3</sup>, to obtain a tight decision boundary.
Reporting summary. Further information on research design is available in the Nature
Research Reporting Summary linked to this article.
Data availability
The training databases for Fe and Al as well as the analysed configurations are available
in public GitHub repository at [https://github.com/mcmarinica/DefectsDetection.](https://github.com/mcmarinica/DefectsDetection)
Code availability
The descriptors for various structures were computed using MiLaDy package and the
structural analysis was performed using Unseen package. The relevant codes to
reproduce the results presented in this paper are available upon request from the
corresponding authors.
Received: 12 February 2020; Accepted: 13 August 2020;
References
1. Zepeda-Ruiz, L. A., Stukowski, A., Oppelstrup, T. & Bulatov, V. V. Probing the
limits of metal plasticity with molecular dynamics simulations. Nature 550,
492 (2017).
2. Sharp, T. A. et al. Machine learning determination of atomic dynamics at
grain boundaries. Proc. Natl Acad. Sci. USA 115, 10943–10947 (2018).
3. Proville, L., Rodney, D. & Marinica, M.-C. Quantum effect on thermally
activated glide of dislocations. Nat. Mater. 11, 845–849 (2012).
4. Sernicola, G. et al. In situ stable crack growth at the micron scale. Nat.
Commun. 8, 108 (2017).
5. Kermode, J. R. et al. Low-speed fracture instabilities in a brittle crystal. Nature
455, 1224–1227 (2008).
6. Kermode, J. R. et al. Low speed crack propagation via kink formation and
advance on the silicon (110) cleavage plane. Phys. Rev. Lett. 115, 135501
(2015).
7. Laio, A. & Parrinello, M. Escaping free-energy minima. Proc. Natl Acad. Sci.
USA 99, 12562–12566 (2002).
8. Lelièvre, T., Stoltz, G. & Rousset, M. Free Energy Computations: A
Mathematical Perspective (Imperial College Press, 2010).
9. Darve, E., Rodríguez-Gómez, D. & Pohorille, A. Adaptive biasing force
method for scalar and vector free energy calculations. J. Chem. Phys. 128,
144120 (2008).
10. Swinburne, T. D. & Marinica, M.-C. Unsupervised calculation of free energy
barriers in large crystalline systems. Phys. Rev. Lett. 120, 135503 (2018).
11. Ghiringhelli, L. M., Vybiral, J., Levchenko, S. V., Draxl, C. & Scheffler, M. Big
data of materials science: critical role of the descriptor. Phys. Rev. Lett. 114,
105503 (2015).
12. Ackland, G. J. & Jones, A. P. Applications of local crystal structure measures in
experiment and simulation. Phys. Rev. B 73, 054104 (2006).
13. Faken, D. & Jónsson, H. Systematic analysis of local atomic structure
combined with 3D computer graphics. Comput. Mater. Sci. 2, 279–286 (1994).
14. Lazar, E. A., Han, J. & Srolovitz, D. J. Topological framework for local
structure analysis in condensed matter. Proc. Natl Acad. Sci. USA 112,
E5769–E5776 (2015).
15. Larsen, P. M., Schmidt, S. & Schiøtz, J. Robust structural identification via
polyhedral template matching. Model. Simul. Mater. Sci. Eng. 24, 055007 (2016).
16. Landeiro Dos Reis, M., Proville, L. & Sauzay, M. Modeling the climb-assisted
glide of edge dislocations through a random distribution of nanosized vacancy
clusters. Phys. Rev. Mater. 2, 093604 (2018).
17. Ahmed, M., Mahmood, A. N. & Islam, M. R. A survey of anomaly detection
techniques in financial domain. Future Gener. Comput. Syst. 55, 278–288
(2016).
18. Ngai, E., Hu, Y., Wong, Y., Chen, Y. & Sun, X. The application of data mining
techniques in financial fraud detection: a classification framework and an
academic review of literature. Decis. Support Syst. 50, 559–569 (2011).
19. Taboada-Crispi, A., Hichem, S., Hernandez-Pacheco, D. & Falcon-Ruiz, A. In
Handbook of Research on Advanced Techniques in Diagnostic Imaging and
Biomedical Applications 426–446 (IGI Global, Hershey, PA, 2009).
20. Tarassenko, L., Hayton, P., Cerneaz, N. & Brady, M. Novelty detection for the
identification of masses in mammograms. IET Conf. Proc. 442–447 (1995).
21. Hauskrecht, M. et al. Outlier detection for patient monitoring and alerting. J.
Biomed. Inform. 46, 47–55 (2013).
22. O’Boyle Jr., E. & Aguinis, H. The best and the rest: revising the
norm of normality of individual performance. Pers. Psychol. 65, 79–119
(2012).
23. Leys, C., Klein, O., Dominicy, Y. & Ley, C. Detecting multivariate outliers: use
a robust variant of the Mahalanobis distance. J. Exp. Soc. Psychol. 74, 150–156
(2018).
24. Minguez, R., Reguero, B. G., Luceno, A. & Méndez, F. J. Regression models for
outlier identification (hurricanes and typhoons) in wave hindcast databases. J.
Atmos. Ocean. Tech. 29, 267–285 (2012).
25. Qian, W., Jiang, N. & Du, J. Anomaly-based weather analysis versus
traditional total-field-based weather analysis for depicting regional heavy rain
events. Weather Forecast. 31, 71–93 (2016).
26. Rousseeuw, P. J. & Hubert, M. Anomaly detection by robust statistics. WIREs
Data Min. Knowl. 8, e1236 (2018).
27. Hubert, M., Debruyne, M. & Rousseeuw, P. J. Minimum covariance
determinant and extensions. WIRES Comp. Stat. 10, e1421 (2018).
28. Schölkopf, B., Williamson, R., Smola, A., Shawe-Taylor, J. & Platt, J. in
Advances in Neural Information Processing Systems 12, 582–588 (MIT Press,
2000).
29. Schölkopf, B., Platt, J. C., Shawe-Taylor, J., Smola, A. J. & Williamson, R. C.
Estimating the support of a high-dimensional distribution. Neural Comput.
13, 1443–1471 (2001).
30. Bishop, C. M. Novelty detection and neural network validation. IEE Proc. Vis.
Image Signal Process. 141, 217–222 (1994).
31. Markou, M. & Singh, S. Novelty detection: a review-part 2: neural network
based approaches. Signal Process. 83, 2499 - 2521 (2003).
32. Bernardo, J. M. & Smith, A. F. M. Bayesian Theory (Wiley, 1994).
33. Chaloner, K. & Brant, R. A Bayesian approach to outlier detection and
residual analysis. Biometrika 75, 651–659 (1988).
34. Himanen, L., Rinke, P. & Foster, A. S. Materials structure genealogy and highthroughput topological classification of surfaces and 2D materials. npj
Comput. Mater. 4, 52 (2018).
35. Behler, J. Atom-centered symmetry functions for constructing highdimensional neural network potentials. J. Chem. Phys. 134, 074106 (2011).
36. Bartók, A. P., Kondor, R. & Csányi, G. On representing chemical
environments. Phys. Rev. B 87, 184115 (2013).
37. Rousseeuw, P. J. & van Driessen, K. A fast algorithm for the minimum
covariance determinant estimator. Technometrics 41, 212–223 (1999).
38. Marinica, M.-C., Willaime, F. & Crocombette, J.-P. Irradiation-induced
formation of nanocrystallites with C15 laves phase structure in bcc iron. Phys.
Rev. Lett. 108, 025501 (2012).
39. Friedel, J. Electronic structure of primary solid solutions in metals. Adv. Phys.
3, 446 (1954).
40. Ducastelle, F. & Cyrot-Lackmann, F. Moments developments and their
application to the electronic charge distribution of d bands. J. Phys. Chem.
Solids 31, 1295–1306 (1970).
41. Finnis, M. W. & Sinclair, J. E. A simple empirical N-Body potential for
transition metals. Philos. Mag. A 50, 45–55 (1984).
42. Desjonquères, M. C. & Spanjaard, D. Concepts in Surface Physics (SpringerVerlag, New York, 1993).
43. Daw, M. S. & Baskes, M. I. Embedded-atom method: derivation and
application to impurities, surfaces, and other defects in metals. Phys. Rev. B 29,
6443–6453 (1984).
44. Ackland, G. J., Mendelev, M. I., Srolovitz, D. J., Han, S. & Barashev, A. V.
Development of an interatomic potential for phosphorus impurities in α-iron.
J. Phys. Condens. Matter 16, S2629 (2004).
45. Malerba, L. et al. Comparison of empirical interatomic potentials for iron
applied to radiation damage studies. J. Nucl. Mater. 406, 19–38 (2010).
46. Baskes, M. I. Modified embedded-atom potentials for cubic materials and
impurities. Phys. Rev. B 46, 2727 (1992).
47. Thompson, A., Swiler, L., Trott, C., Foiles, S. & Tucker, G. Spectral neighbor
analysis method for automated generation of quantum-accurate interatomic
potentials. J. Comp. Phys. 285, 316–330 (2015).
48. Bartók, A. P., Payne, M. C., Kondor, R. & Csányi, G. Gaussian approximation
potentials: the accuracy of quantum mechanics, without the electrons. Phys.
Rev. Lett. 104, 136403 (2010).
49. Goryaeva, A. M., Maillet, J.-B. & Marinica, M.-C. Towards better efficiency of
interatomic linear machine learning potentials. Comput. Mater. Sci. 166,
200–209 (2019).
50. Dragoni, D., Daff, T. D., Csányi, G. & Marzari, N. Achieving DFT accuracy
with a machine-learning interatomic potential: thermomechanics and defects
in bcc ferromagnetic iron. Phys. Rev. Mater. 2, 013808 (2018).
51. Stukowski, A. Computational analysis methods in atomistic modeling of
crystals. JOM 66, 399–407 (2014).
52. Stukowski, A. Structure identification methods for atomistic simulations of
crystalline materials. Model. Simul. Mater. Sci. Eng. 20, 045021 (2012).
53. Swinburne, T. D. & Kermode, J. R. Computing energy barriers for rare events
from hybrid quantum/classical simulations through the virtual work principle.
Phys. Rev. B 96, 144102 (2017).
54. Henkelman, G., Uberuaga, B. P. & Jónsson, H. A climbing image nudged
elastic band method for finding saddle points and minimum energy paths.
J. Chem. Phys. 113, 9901–9904 (2000).
55. Hofmann, T., Schölkopf, B. & Smola, A. J. Kernel methods in machine
learning. Ann. Stat. 36, 1171–1220 (2008).
56. Li, Z., Kermode, J. R. & De Vita, A. Molecular dynamics with on-the-fly machine
learning of quantum-mechanical forces. Phys. Rev. Lett. 114, 096405 (2015).
57. Bartók, A. P., Kermode, J., Bernstein, N. & Csányi, G. Machine learning a
general-purpose interatomic potential for silicon. Phys. Rev. X 8, 041048 (2018).
58. Alexander, R. et al. Ab initio scaling laws for the formation energy of
nanosized interstitial defect clusters in iron, tungsten, and vanadium. Phys.
Rev. B 94, 024103 (2016).
59. Fu, C.-C., Torre, J. D., Willaime, F., Bocquet, J.-L. & Barbu, A. Multiscale
modelling of defect kinetics in irradiated iron. Nat. Mater. 4, 68–74 (2005).
60. Maresca, F., Dragoni, D., Csányi, G., Marzari, N. & Curtin, W. A. Screw
dislocation structure and mobility in body centered cubic Fe predicted by a
gaussian approximation potential. npj Comput. Mater. 4, 69 (2018).
61. Perez, D., Uberuaga, B. P., Shim, Y., Amar, J. G. & Voter, A. F. Accelerated
molecular dynamics methods: introduction and recent developments. Annu.
Rep. Comput. Chem. 5, 79–98 (2009).
62. Ghasemi, E. et al. An evaluation of Mahalanobis-Taguchi system and neural
network for multivariate pattern recognition. J. Ind. Syst. Eng. 1, 139 (2007).
63. Su, C.-T., Wang, P.-C., Chen, Y.-C. & Chen, L.-F. Data mining techniques for
assisting the diagnosis of pressure ulcer development in surgical patients.
J. Med. Syst. 36, 2387 (2012).
64. Ghasemi, E., Aaghaie, A. & Cudney, E. Taguchi system: a review. Int. J. Qual.
Reliab. Manag. 32, 291 (2015).
65. Hubert, M. & Debruyne, M. Minimum covariance determinant. WIRES
Comp. Stat. 2, 36–43 (2010).
66. Nader, P., Honeine, P. & Beauseroy, P. Mahalanobis-based one-class
classification. In 2014 IEEE Int. Workshop on Machine Learning for Signal
Processing (MLSP) (IEEE, 2014).
67. Vapnik, V. N. The Nature of Statistical Learning Theory (Speinger-Verlag,
New-York, 1998).
68. Smola, A. & Schölkopf, B. A tutorial on support vector regression. Stat.
Comput. 14, 199–222 (2004).
69. Liu, X.-Y., Ohotnicky, P., Adams, J., Rohrer, C. & Hyland, R. Anisotropic
surface segregation in Al-Mg alloys. Surf. Sci. 373, 357–370 (1997).
Acknowledgements
This work was financially supported by the Cross-Disciplinary Program on Numerical
Simulation of CEA, the French Alternative Energies and Atomic Energy Commission. A.
M.G., C.L., J.D. and M.C.M. acknowledge the support from GENCI - (CINES/CCRT)
computer centre under Grant number A0070906973. This work has been carried out
within the framework of the EUROfusion Consortium and has received funding from the
Euratom research and training programme 2014–2018 and 2019–2020 under grant
agreement number 633053. The views and opinions expressed herein do not necessarily
reflect those of the European Commission. This work also received funding from the
Euratom research and training programme 2019–2020 under grant agreement number
755039. A.M.G. acknowledges Marie Landeiro dos Reis for providing simulation cells
with dislocations in fcc Al.
Author contributions
A.M.G. and M.C.M. designed the study. M.C.M. and J.B.M. supervised the study. A.M.G.
performed the structural analysis. C.L., C.D. and J.D. performed atomistic calculations.
All authors participated in discussion and interpretation of the results. A.M.G. and
M.C.M. wrote the manuscript.
Competing interests
The authors declare no competing interests.
Additional information
[Supplementary information is available for this paper at https://doi.org/10.1038/s41467-](https://doi.org/10.1038/s41467-020-18282-2)
[020-18282-2.](https://doi.org/10.1038/s41467-020-18282-2)
Correspondence and requests for materials should be addressed to A.M.G. or M.-C.M.
Peer review information Nature Communications thanks Albrecht Zimmermann and
the other, anonymous, reviewer(s) for their contribution to the peer review of this work.
Peer review reports are available.
Reprints and permission information is available at [http://www.nature.com/reprints](http://www.nature.com/reprints)
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in
published maps and institutional affiliations.
Open Access This article is licensed under a Creative Commons
Attribution 4.0 International License, which permits use, sharing,
adaptation, distribution and reproduction in any medium or format, as long as you give
appropriate credit to the original author(s) and the source, provide a link to the Creative
Commons license, and indicate if changes were made. The images or other third party
material in this article are included in the article’s Creative Commons license, unless
indicated otherwise in a credit line to the material. If material is not included in the
article’s Creative Commons license and your intended use is not permitted by statutory
regulation or exceeds the permitted use, you will need to obtain permission directly from
the copyright holder. To view a copy of this license, visit [http://creativecommons.org/](http://creativecommons.org/licenses/by/4.0/)
[licenses/by/4.0/.](http://creativecommons.org/licenses/by/4.0/)
© The Author(s) 2020