WorksPhysics and Astronomy
Atomic cluster expansion for quantum-accurate large-scale simulations of carbon
Abstract
We present an atomic cluster expansion (ACE) for carbon that improves over available classical and machine learning potentials. The ACE is parameterized from an exhaustive set of important carbon structures at extended volume and energy range, computed using density functional theory (DFT). Rigorous validation reveals that ACE predicts accurately a broad range of properties of both crystalline and amorphous carbon phases while being several orders of magnitude more computationally efficient than available machine learning models. We demonstrate the predictive power of ACE on three distinct applications, brittle crack propagation in diamond, evolution of amorphous carbon structures at different densities and quench rates and nucleation and growth of fullerene clusters under high pressure and temperature conditions.
Introduction
Carbon is one of the most important elements in materials science, chemistry and biology. However, its versatile chemical bonding presents a formidable challenge for the development of accurate and transferable atomistic simulation models. The development of interatomic potentials for carbon started in the 1980’s with empirical formulations of the bond order[1, 2] and culminated with the rigorous derivation of bond-order potentials (BOP) from the electronic structure. [3] When it became possible to carry out large numbers of electronic structure calculations, mainly using density functional theory (DFT), [4, 5] machine learning (ML) potentials superseded the classical potentials since they were able to reproduce the DFT data with minimal errors. Yet the inherent dependence on the reference data and poor extrapolative capabilities limit the transferability of ML potentials and often lead to nonphysical predictions for atomic configurations not included in the training dataset.
Emerging alternatives to these pioneering ML potentials are polynomial/tensorial expansions, in particular the moment tensor potentials (MTP)[6] and the atomic cluster expansion (ACE).[7] By employing a mathematically complete basis of the atomic environment,[8] it was demonstrated that ML frameworks like neural networks or kernel-based Gaussian process regression are not necessary for obtaining accurate interatomic potentials. In fact, ACE was shown to be not only superior in terms of accuracy but also computational efficiency.[9]
The difficulty of modeling carbon is reflected by the fact that the pioneering developments of Tersoff[2] and Brenner[10] followed the Finnis-Sinclair (FS)[11] and embedded atom method (EAM)[12] potentials for metals. Different from the metallic potentials, which focus on atomic energies, Tersoff introduced an empirical expression for angularly dependent bond order[13] to model the formation of covalent directional bonds in C and Si. The Tersoff potential as well as the family of reactive empirical bond order (REBO) potentials [10] [14] were applied widely to study properties of crystalline, amorphous and molecular carbon structures. 15–17 Nevertheless, these early potentials had a number of limitations, such as short interaction ranges, neglect of bonding or missing van der Waals (vdW) interactions. 18–20 Some of these deficiencies were improved in subsequent modifications, for example, by introducing screening functions for a better description of bond breaking, 21,21,22 or explicit terms to capture long-range dispersion forces.23–25 Other successful carbon potentials, such as the environment dependent interaction potential (EDIP) 26,27 or ReaxFF,28,29 followed similar strategies of employing suitable functional forms based on physical and chemical intuition, yet still in an empirical way. Rigorous derivations of the and bond orders were eventually carried out by Pettifor and co-workers 30,31 based on a quantum-mechanical tight-binding model.[3] [31, 32, 33]
Despite their relatively short history, several ML potentials have already been developed for carbon. They can be characterized by how the local atomic environment is sensed via descriptor functions.34 To fulfill fundamental physical symmetries, these functions should be invariant under translation, rotation, inversion, and permutation of atoms of the same chemical species. For every atom, usually hundreds or thousands of different descriptor functions need to be evaluated such that their numerical values form the input for an ML algorithm that predicts the atomic property. The most prominent ML approaches include neural network potentials (NNP)35 and kernel based methods, in particular the Gaussian approximation potentials (GAP),36 with descriptors based on the atom centered symmetry functions (ACSF)37 or the smooth overlap of atomic positions (SOAP),38 respectively.
First NNP models were tailored for specific applications, such as transformations between graphite and diamond or behavior of multilayered graphene.39–41 Recent NNPs aim at improved transferability by employing comprehensive reference datasets; PANNA42 was built using an iterative self-consistent workflow, and DeepMD43 was trained on a large dataset of bulk and low dimensional phases as well as snapshots from ab initio molecular dynamics (AIMD). Parallel to the NNPs, several GAP parametrizations for carbon were also developed. The first GAPs focused on simulations of liquid and amorphous carbon44 and pristine graphene.45 In 2020, a large number of diverse carbon structures were employed to obtain a widely transferable GAP (GAP20).46 A closely related TurboGAP parametrization used a more efficient implementation of the SOAP descriptor.47,48 These GAPs were applied to study complex phenomena, such as vapour deposition of amorphous carbon films49 or the effect of defects on the corrugation of graphene.50 Overall, a GAP was found to be the most accurate model among fourteen carbon potentials in predicting realistic amorphous structures in a recent benchmark study.19
Different from these ML potentials, which often employ empirical descriptor functions, the basis of ACE is mathematically complete. This means that ACE parameterizations can be improved and converged systematically. Furthermore, the hierarchical basis not only enables ACE to represent many other ML potentials[7] but also to relate ACE to physically and chemically intuitive classical models. The physically motivated representation, which can be linear or mildly non-linear (see below), in combination with a consistent reference dataset helps to ensure that ACE asserts genuine transferability and is not plagued by the reproducibility-crisis of ML-based science.51
Here we present a first ACE parametrization for carbon which is not only more accurate and transferable than any of the previous potentials but also significantly more computationally efficient. We compare it in detail to the best available ML potentials for carbon and provide performance indicators for several other potentials. The excellent transferability and predictive power of ACE is highlighted on three distinct applications - brittle crack propagation in diamond, formation of amorphous carbon structures at different quench rates, and nucleation and growth of fullerene clusters from gas phase at high pressures and temperatures.
The paper is organized as follows. In the following two sections, we provide a brief theoretical overview of the ACE formalism and elucidate how common classical potentials can be understood as simplified representations of a general ACE descriptor. In section 4, we describe the training dataset and the fitting protocol employed for construction of the carbon model. A detailed assessment of the parametrization with respect to a test dataset to determine the general quality of the parametrization is also provided. In section 5, we subject the potential to multiple validation tests that show the model’s ability to predict structural, elastic, vibrational and thermodynamic properties of perfect bulk phases as well as defects. The ACE predictions are compared with those of the reference electronic structure calculations and the latest available ML carbon potentials, namely GAP20, TurboGAP and PANNA. In section 6, we apply the model to perform three large scale simulations to investigate the brittle crack propagation in diamond, the formation of amorphous carbon structures, and the growth of fullerene molecules from the gas phase.
Basics of the atomic cluster expansion
The atomic cluster expansion provides a complete set of basis functions that span the space of local atomic environments. We summarize only the essentials of ACE here and direct interested readers to Refs. [7, 9] [52, 53, 54]
An atomic property that is a function of the local atomic environment of atom is expanded as
with expansion coefficients , and basis functions with multi-indices . The energy of atom can then be evaluated using a linear expansion as
for only one atomic property (). Or alternatively, if more properties are used,
where in general is a non-linear function. In the present ACE model, the energy is expressed using two contributions, a linear term and a square root term,
The basis functions depend on atomic positions and are ordered hierarchically, which enables a systematic convergence of ACE by incrementally increasing the number of basis functions. The basis functions fulfill the fundamental translation, rotation, inversion and permutation (TRIP) invariances for the representation of scalar variables, or equivariances for the expansion of vectorial or tensorial quantities. This is achieved by taking linear combinations of basis functions, which do not necessarily fulfill any particular symmetries, as
where the generalized Clebsch-Gordan coefficients act as a filter and remove basis functions that are not invariant under rotation or inversion.
For numerical efficiency the basis functions are constructed recursively, [9] [52] and the order of the product determines the body order of a basis function
The atomic base is obtained by projecting local basis functions on the atomic density
with the atomic density centered on atom
The local basis functions are expressed as
with being the distance from atom to that enters in the radial functions , while the spherical harmonics depend on the direction . The index is cumulative, where differentiates between orbitals with the same angular quantum number and .
The basis functions can represent local descriptor functions that are used in ML potentials as well as density and angular functions from classical potentials. [7] [53] If decomposed into explicit many-atom functions, the two-body basis functions are given by radial functions
while the three-body terms have the form
with Legendre polynomials . Expressions for higher body orders can also be obtained but are more complex. [7]
ACE as a generalization of classical potentials
To elucidate that ACE is not only a formally complete expansion but that it also can be considered as a systematic generalization of classical interatomic potentials, we sketch the link between ACE and the second-moment approximation (SMA) of electronic structure. 55–58
Starting from DFT, the energy functional can be decomposed into the band energy and a double-counting contribution,
The band energy is given by , with occupation numbers and eigenvalues . The eigenstates can then be expanded using local orbitals [cf. Eq. (9)] as
We assume the basis to be complete and for ease of notation consider the local orbitals to be orthonormal. The band energy is then represented as
The first identity is the the so-called onsite representation of the band energy, where the local density of states of orbital on atom is filled with electrons up to the Fermi level . 1 The second identity, the so-called intersite representation, involves the density matrix/bond order
and Hamiltonian matrix elements . A formal expansion of the DFT functional with respect to charge density 56,59–64 presents the basis of modern tight-binding (TB) models and results in a partitioning of the energy as
where for simplicity we neglected charge transfer. If there is no promotion of electrons and the energy scale is set such that , the band and bond energies are identical, . The repulsive energy , comprising the double-counting contribution and Coulomb interactions between the atomic cores, is often approximated by a pair potential
For the derivation of the second-moment approximation for metals, we utilize a local expansion of the band energy for an atom
We next construct the local density of states from the information about the local atomic environment. This is achieved by the recursion method.57,58,65 If the recursion is continued with constant coefficients after the first recursion level, only information up to the second moment of the density of states enters the expansion. The second moment, given by
is determined by Hamiltonian matrix elements that rapidly decay with increasing distance between atoms and . As the zeroth moment and the first moment was set to , it can be viewed merely as a consequence of appropriate scaling that in second-moment approximation55,66,67
where the pre-factor is a function of band filling and is the coordination, the number of nearest neighbors, of atom . The total atomic energy can then be written as
As is strictly positive, it may also be understood as an atomic density computed from pairwise functions to neighboring atoms. In this way, one obtains immediately the Finnis-Sinclair potential.[11] If the square root function is replaced by a general, concave embedding function one arrives at the EAM formulation.[12] Therefore, the cohesion in metals in second-moment approximation does not increase linearly with increasing coordination and correctly reflects the unsaturated nature of the metallic bond.55,68
The derivation of the second-moment approximation expressions for covalent elements is
somewhat more involved and requires explicit consideration of the angular character of atomic orbitals. By equivalence of the onsite and intersite representations of the band energy [cf. Eq. (14)], second-moment approximation for the band energy also implies a corresponding expression for the bond order. We assume the Slater-Koster two-center approximation69 with the -axis of the coordinate system aligned along the bond . For a d-valent atom, the Hamiltonian matrix is diagonal with the matrix elements equal to two-center distance-dependent bond integrals , and . The second moment is then by construction invariant under rotation and given by
where the summation is over the neighbors of atom . The bond order for the bond (with analogous expressions for the and bond orders) is expressed as55,56
and is thus inversely proportional to the square root of the number of neighbors of atoms . Note that the bond order is not symmetric with respect to exchange of atoms and and therefore the denominator needs to be replaced by . Next, since the bond (or band) energy of atom
is obtained as the sum over all neighbors, it attains the square root dependence with the number of neighbors as in Eq. (20). The derivation for sp-valent elements follows along the same lines but needs to take into account the directionality of the hybrid orbitals and the energy splitting of the s and p orbitals. The hybrid orbitals oriented along the -axis are formed as
where , and correspond to sp, sp and sp hybrids, respectively. The bond integral of the hybrid is given as
where , and are Slater-Koster two-center bond integrals. The second moment takes the form 55
which differs from Eq. (24) due to the angular functions and which depend on the angle between bonds.30,55 Different from the -valent case, the second moment is not rotationally invariant and the orientation of the -axis along the bond has to be given explicitly. The bond order retains a form analogous to Eq. (23),
This expression for the bond order is not dissimilar from the empirical bond order introduced by Tersoff.[13] Derivations of the bond order and the promotion energy, which are important for the bond formation in carbon, can be found in Refs.30,32,55,56
The aim of this analysis was to show that the most important classical potentials for metals and covalent semiconductors can be understood from the second-moment approximation. The crucial point is that for both these materials, second-moment approximation predicts the bond energy to scale as a square root of the local atomic density. This suggests that a physically based model of the atomic energy should comprise an attractive part with a square-root dependence on the number of neighbors, and a pair-wise repulsive part which scales linearly with the number of neighbors. This expression for the energy,
mimics the ACE formulation in Eq. (4). If we limit ACE to two-body basis functions, the representation of the energy is closely related to Finnis-Sinclair models. If 2-body and 3-body contributions are included in the ACE basis, we expect ACE to reproduce not only the original Tersoff formulations but also Stillinger-Weber,70 EDIP27 and other empirical bond order potentials. Incorporation of basis functions with higher body orders then represents a systematic generalization. The higher body orders are similar to including higher moments of the density of states as required for more accurate structural differentiation.55 An ACE parametrization with contributions up to the body order of six was developed recently for metallic Cu.[9] Here we show that this approach also works extremely well for covalent carbon, where directional bonding is much more important and delicate.
Training of the ACE for carbon
An accurate and consistent reference dataset that covers a large part of the phase space of atomic configurations is critical for the construction of an ACE model. Such a dataset consists of a series of atomic structures and their corresponding energies, forces and stresses, typically evaluated using electronic structure methods such as DFT. In this section, we describe the details of our DFT calculations including peculiarities related to carbon, present our strategy to generate an exhaustive and balanced set of reference structures, and show how the ACE parametrization is carried out.
DFT reference and dispersion interactions
The DFT reference calculations were performed using the Vienna Ab-initio Simulation Package (VASP), 71–73 version 5.4.4. The exchange-correlation energy was computed using the Perdew-Burke-Ernzerhof (PBE) generalized gradient approximation (GGA) 74 and the core electrons were modeled by the Projector-Augmented Wave (PAW) 75,76 method (). We carried out highly converged calculations with tight settings of the principal parameters in order to obtain accurate results for the energy and forces. Specifically, the energy cutoff for the plane-wave basis was set to 500 eV and the convergence threshold for the energy to eV. Gaussian smearing with a width of 0.1 eV was applied. For periodic structures, the Brillouin zone was sampled using a dense -centered k-point mesh with the spacing between the k-point of 0.125 per while for non-periodic clusters only the point was used. An additional support grid was employed for the calculation of forces help reduce the noise.
While the PBE functional describes accurately covalent bonds, it does not capture long-range dispersion interactions. As the vdW interaction plays a crucial role in the stabilization of many important carbon structures, such as graphite and its derivatives, PBE data alone is not suitable for the parametrization of a fully transferable carbon model.
There exist various approaches to account for dispersion interactions within DFT. 77–82 We decided to employ additive corrections, which allow us to parameterize ACE based on standard PBE data, which is significantly shorter ranged than the vdW interactions, and then to amend the ACE model with a correction term in analogy to most dispersion-corrected DFT approaches. 83 This approach not only results in an efficient model with the correct description at long interatomic distances, but it also gives the flexibility to employ correction terms of different complexity or even switch off the long-range interactions when required.
Finally, ACE is parametrized such that the interaction between C atoms approaches zero at infinite separation to ensure that the fitted energies correspond to cohesive energies. This is done by taking the energy of an isolated spin-unpolarized atom as the reference zero energy.
Reference dataset
We constructed an extensive reference dataset consisting of 17,293 structures with a total number of 366,763 atoms. The reference structures were chosen to sample a broad range of atomic configurations for carbon to ensure good transferability of the ACE parametrization.
We divided the reference structures into five categories. The first category contains carbon structures with prototypical bonding, including a variety of bulk graphite structures, 2D graphene sheets, molecular fullerenes and nanotubes. The second category contains four-fold coordinated crystalline diamond structures and their high pressure variants. In both categories, we sampled the structures over a broad range of interatomic distances, shape distortions, random displacements of atoms, and incorporated point and planar defects such as vacancies, Stone-Wales defects, surfaces, interfaces, etc. These two categories were complemented by structures from MD simulations of amorphous and liquid carbon46 and multilayered graphene41. As the MD structures are highly correlated, we included a relatively small number of atomic configurations from these two collections. The last two categories, referred to as ‘general bulk’ and ‘general clusters’, consist of general crystal structures, e.g., fcc, bcc, sc, hcp, A15, and isolated random clusters containing up to six carbon atoms. These two categories serve to sample a broader region of configurational space and allow the potential to model close-packed atomic environments. A summary of the five categories is provided in Table 1. From the total number of atoms, in most cases each atom has a unique environment and provides important information for the ACE fit.
| Category | Description | Number of structures | Number of atoms | (eV/atom) | NNB range (Å) |
| structures | graphene, graphite, fullerenes, nanotubes, incl. defects | 3532 | 88 358 | [-9.07, 78.50] | [0.7, 4.4] |
| structures | cubic and hexagonal diamond, high-pressure phases (bc8, st12, m32, etc.), incl. defects | 3407 | 84 290 | [-8.93, 36.99] | [0.9, 4.9] |
| amorphous/liquid | selected from available datasets; amorphous and liquid phases⁴⁶; MD trajectories of multilayered graphene⁴¹ | 2642 | 146 188 | [-9.06, -3.18] | [1.0, 1.7] |
| general bulk | basic crystals; fcc, hcp, bcc, sc, A15, etc. over broad range of volume and random displacements of atoms/cell deformations | 5 342 | 39 126 | [-8.06, 82.17] | [0.9, 4.4] |
| general clusters | non-periodic clusters with 2-6 atoms | 2370 | 8 801 | [-6.19, 83.28] | [0.6, 5.0] |
Table 1. A description of the training dataset used in this work.
Figure 1 shows the cohesive energy for the reference structures as a function of the shortest bond length within each structure (left panel) and the distribution of structures within the corresponding energy range (right panel). The standard PBE functional without any vdW correction predicts the graphene phase to have the lowest cohesive energy of eV/atom and an equilibrium bond length of 1.45 Å. The energies of most structures from the first three categories lie within 3 eV/atom above the ground state energy, while the remaining two categories are characterized by cohesive energies mostly greater than eV/atom.

Figure 1. Training dataset visualized as a scatter plot of energy per atom with respect to the nearest interatomic distance within each structure and (b) the distribution of cohesive energies.
ACE implementation and efficiency
For the parameterization of ACE we employed the software package pacemaker.54 The simulations for validation and applications were carried out using LAMMPS84 with the PACE package.[9] Both pacemaker and LAMMPS + PACE can be executed on CPU and GPU architectures. The computational performance of ACE in comparison with other ML methods is shown in Figure 2. The graph displays the CPU/GPU times for a single MD time step per atom from representative MD simulations of liquid carbon at 4000 K with density of 2 g/cm (using a periodic supercell containing 1000 atoms for 1000 time steps). For TurboGAP we used the value reported in Ref.47, since it is not available in LAMMPS. On CPU, ACE is more than 1-2 orders of magnitude faster than the other models in accordance with our previous benchmarks.[9] On GPU, ACE reaches efficiency comparable to that of classical interatomic potentials.

Figure 2. A comparison of typical CPU (AMD Ryzen 5 3600X) and GPU (Tesla V100S-PCIE 32 GB) times for ACE, TurboGAP, PANNA and GAP20 (for TurboGAP the value was taken from Ref.47). CPU times are given per core and GPU times are per device.
Training
Training a carbon potential for an optimal balance between accuracy and transferability is more challenging than most other elemental systems. The potential must simultaneously reproduce minute energy differences between the most stable phases and allotropes while being able to capture large energy changes associated with breaking and re-arrangement of the strong directional covalent bonds that occur during phase transformations or in the vicinity of structural defects.
For ACE training, we employed a hierarchical optimization strategy implemented in the pacemaker code that sequentially adds basis functions in predefined steps. The radial basis functions represented by exponentially-scaled Chebshev polynomials were also included in the optimization. Structures with low cohesive energies (3 eV above the ground state) were assigned higher weights in the loss function. The employed training dataset together with the input for the pacemaker code is provided in the supplementary material.85
The presented ACE parametrization comprises of 488 basis functions containing terms up to the fifth body order, which is sufficient
to attain an outstanding overall accuracy while remaining computationally efficient. As shown for the test fit feature curve in Figure 3(a), the accuracy can be further improved by increasing the number of basis functions,54 while the scaling of the computational time, shown in Figure 3(b), remains linear.[9] The breakdown of RMSEs for different categories predicted by the largest potential with 1950 functions is given in Table S2 in the supplementary material.85

Figure 3. (a) The feature curves showing the RMSE of energy and force as a function of the number of basis functions; (b) the scaling of ACE computational time on GPU with the number of basis functions; vertical dashed lines mark the presented ACE parametrization with 488 basis functions.
Table S2: Test RMSEs for a larger ACE fitted with 1950 functions, as indicated by the final point in Figure 3 in the main paper. Uniform weights are applied over all the structures. Numbers in brackets correspond to the number of structures for each category, respectively. Energies are in meV/atom and forces in meV/Å.
| Category (test size) | ||
| structures (385) | 23 | 284 |
| structures (378) | 57 | 229 |
| amorphous/liquid (297) | 50 | 542 |
| general bulk (606) | 49 | 492 |
| general clusters (246) | 161 | 666 |
Table S2.
The root mean square errors (RMSE) for the different subsets are given in Table 2. The fact that RMSE for train and test sets are comparable demonstrates that the model is not overfitted. The optimized potential has an energy RMSE of 21 meV/atom for the structures within 3 eV/atom from the ground state and 166 meV/atom for the complete dataset. The corresponding force RMSE amount to 218 and 689 meV/, respectively. Most large force errors arise from high energy structures, specially from the ‘general bulk’ and ‘general clusters’ categories (see Figure S4 in the supplementary material 85) and structures with short interatomic distances, which contain forces up to 100 eV/. As reported in the supplementary material,85 previous carbon models exhibit even larger errors for both forces and energies (see Table S1 and Figure S5).
| Category (train/test) | ||||
| structures (3532/385) | 29 | 28 | 465 | 499 |
| structures (3407/378) | 59 | 74 | 307 | 367 |
| amorphous/liquid (2642/315) | 56 | 54 | 587 | 567 |
| general bulk (5342/606) | 97 | 114 | 1332 | 1420 |
| general clusters (2370/246) | 154 | 186 | 1120 | 1195 |
Table 2. Energy and force RMSE for each category of the reference dataset. Numbers in brackets correspond to the number of structures for training and testing, respectively. Energies are in meV/atom and forces in meV/Å.
Table S1: Comparison of RMSE values for energies and forces for the considered models computed from a test dataset. RMSE values are calculated with respect to PBE data. Energies are expressed in terms of relative cohesive energy with respect to ground state of the given potential to account for different references.
| Potential | (meV/atom) | (meV/Å) |
| ACE | 102 | 539 |
| TurboGAP | 238 | 883 |
| DeepMD | 841 | 942 |
| GAP20 | 1083 | 725 |
| hNN Gr | 1552 | 1982 |
| PANNA | 1793 | 1327 |
Table S1.

Figure S4. Fit metrics for 10% split test datasets corresponding to different categories.
Figure S5. (a) Cohesive energy and (b) force validation plots for considered models for a split test dataset with 1912 structures. RMSE values are given in Table S1. Points are colored according to the legend given in Figure 1 in the main paper.
An overall assessment of the accuracy of presented ACE parametrization is given in Figure 4. Figure 4(a) shows the predicted ACE energies with respect to the reference PBE data for a 10% split test set with 1,912 structures. The effect of higher weighting of the low energy structures is clearly visible. Most structures with energies below −6.2 eV/atom, indicated by the vertical line, match the reference very clesely. For structures with higher energies (and lower weights), the deviations are larger. Figure 4(b) details the distribution of energy errors for the different categories. As these are not normalized distributions, the area under the peaks corresponds to the total number of structures within each category. The standard deviations associated with each category are considerably different, with the sp² and sp³ structures having the most narrow distributions. The force cross-correlation and error distribution are plotted for all categories in Figure 4(c) and (Figure 4d), respectively.

Figure 4. Energy and force errors for a split test dataset consisting of 1,912 structures; the dashed vertical line in (a) marks the boundary of differently weighted data.
Figure 5 shows the binding energy between the layers of graphite as a function of the interlayer separation. The standard PBE functional gives a negligible binding energy of 1 meV/atom at around 4.5 , i.e., essentially only a short range repulsive interactions between the graphene sheets. This PBE reference is reproduced accurately by the base ACE (referred to as ACE), that was trained on the uncorrected PBE data. By adding the D2 correction with a long range cutoff of 9 , ACE achieves an excellent description of cohesion in graphite, very close to that of TurboGAP. While qualitatively similar, GAP20 shows rather oscillatory behavior whereas for PANNA the range of vdW interactions is significantly underestimated. Additional results for other dispersion corrections and other NNPs are given in Figure S1 and Figure S2 in the supplementary material.85

Figure 5. Energy as a function of interlayer separation in graphene. Results for other dispersion corrections and the other models are shown in the supplementary material.85

Figure S1. Binding of graphite as a function of interlayer separation, as predicted by different dispersion corrections to (a), and the computational time for each method (b).

Figure S2. Binding of graphite as a function of interlayer separation (a), and the transformation path from graphite to diamond (b), as predicted by hNN_Gr and DeepMD potentials.
Validation
We carried out multiple validation tests to assess the performance of the carbon ACE. In the following we present key tests and compare the predictions of ACE to those of the best available potentials. Further validations are provided in the supplementary material. 85
Stability of bulk phases
One of the peculiarities of bonding in carbon is that the energy of three-fold coordinated graphite and graphene is nearly the same as that of four-fold coordinated diamond, while the energy of the carbon dimer is much higher. This illustrates the importance of strong angular bond contributions as well as weak dispersion interactions. According to our PBE+D2 calculations, the graphite ground state is separated from those of diamond and graphene by only 29 and 50 meV/atom, respectively. This energy ordering is in agreement with experimental86 as well as recent theoretical predictions using a high-level coupled cluster theory, according to which diamond lies less than 30 meV/atom above graphite. 87,88 These subtle energy differences are, however, not captured correctly by all DFT functionals. While our PBE+D2 results agree well with those of the PBE+MBD89,90 functional, which was used to generate the TurboGAP reference data, the hybrid optB88-vdW91–94 and rVV1095 functionals, which were used for the GAP20 and PANNA datasets, respectively, predict diamond to have a significantly larger energy than both graphite and graphene. The consequence of different training data is illustrated in Figure 6, which shows the relative stability of the three structures as a function of nearest-neighbor (NNB) distance obtained by ACE, TurboGAP, GAP20 and PANNA. While ACE and TurboGAP match closely the PBE+D2 reference data, GAP20 and PANNA predict that diamond is substantially less stable than both sp allotropes.

Figure 6. Relative stability of graphite, graphene and diamond as predicted by PBE+D2, ACE and the best available models. with respect to graphite as given by the respective potential. Result for other NNPs are presented. 85
Figure 7 shows the energy barrier associated with the transformation between AB-stacked rhombohedral graphite and diamond, which proceeds by simultaneous buckling and lateral compression of graphene sheets. 96 According to PBE+D2, the barrier is 350 meV/atom with respect to graphite. ACE reproduces the barrier within a few meV. TurboGAP, GAP20 and PANNA overestimate it by 164, 97 and 95 meV/atom, respectively. In Figure 8 we compare binding energy curves for various carbon structures obtained by ACE, TurboGAP, GAP20 and PANNA. Results for other carbon potentials are provided in Figure S6 in the supplementary material. 85 ACE describes the binding energy curves in excellent agreement with the DFT+D2 reference over the whole range of considered NNB distances. This may be attributed to the extensive reference dataset and the extrapolation capabilities of ACE basis functions. [9] In contrast, TurboGAP, GAP20 and PANNA reveal the well known inability of most ML potentials to extrapolate outside of the reference dataset. The three models were fitted mostly to configurations with densities close to those of equilibrium graphite and diamond, and they clearly fail to describe the low-density structures. The problem is more severe for GAP20, as it predicts large unphysical oscillations for nearly all structures beyond the NNB distance of about 1.7 Å. For all structures there exist multiple local minima. These can lead to occurrence of spurious phases, for instance, in the vicinity of defects or when the system is subject to external loads. The local minima and maxima can further affect forces and undermine the description of bond making and breaking. 22 Finally, even though carbon does not readily form structures like fcc, bcc or sc, it is advisable to reproduce properties of these structures as well, as they may occur in MD simulations under non-equilibrium conditions or at high pressure. For example, atomistic models of amorphous carbon are often generated by melting a sc lattice of C atoms, 19,20,97 and the sc phase is even found to be stable at extreme pressures. 98,99

Figure 7. Energy barrier associated with the graphite to diamond transformation; with respect to graphite.

Figure 8. Binding energy vs NNB distance for various carbon structures predicted by ACE, TurboGAP, GAP20 and PANNA. Symbols in ACE panel represent the PBE+D2 reference. Binding energies for other carbon potentials can be found in the supplementary material. 85
Figure S6. Energy volume curves for some bulk phases as predicted by (a) DeepMD NNP, [8] (b) Tight Binding model parametrized by Xu et al., [9] (c) ReaxFF for hydrocarbon oxidation. [10] (d) NNP for multilayered graphene, [11] (e) AIREBO with Morse modification [12] and (f) LCBOP potentials [13]
It is worth mentioning that the energy of an isolated atom, which represents the reference for the cohesive energy, is different for the four models. For ACE, the energy of a nonmagnetic free atom is subtracted from the reference data, as discussed in § 4.1, and therefore the energy tends to zero as the atoms are pulled apart beyond the chosen cutoff. For TurboGAP, GAP20 and PANNA, this limit is not zero (cf. Figure 8) but −0.51, +0.94 and −249.96 eV/atom, respectively.
Elastic and vibrational properties
The computed elastic moduli for graphene, diamond and graphite are listed in Table 3 and the phonon spectra plotted along high symmetry directions of the Brillouin zone and the corresponding phonon densities of states are shown in Figure 9. The ACE predictions agree closely with the PBE+D2 reference for all three structures. As pointed out by the PANNA developers, 42 long wavelength undulations of graphene or graphite sheets are sensitive to numerical details and can induce slightly negative phonon branches close to the point as well as slightly negative elastic moduli. Elastic and phonon properties for other bulk structures are provided in the supplementary material. 85 Most of these phases show a number of elastic and phonon instabilities that are accurately captured by ACE but not by TurboGAP, GAP20 or PANNA.

Figure 9. Phonon band structures and densities of states for (a) graphene, (b) graphite, and (c) diamond predicted by ACE (solid lines) and PBE+D2 (dashed lines).
| PBE+D2 | ACE | TurboGAP | GAP20 | PANNA | |||||||||||
| Gr-ite | Dia | Gr-ene | Gr-ite | Dia | Gr-ene | Gr-ite | Dia | Gr-ene | Gr-ite | Dia | Gr-ene | Gr-ite | Dia | Gr-ene | |
| 1045 | 1004 | 275 | 945 | 1024 | 261 | 1022 | 924 | 273 | 1045 | 1054 | 235 | ||||
| 182 | 141 | 44 | 142 | 104 | 39 | 210 | 24 | 47 | 213 | 131 | 58 | ||||
| 13 | 12 | 24 | -8 | 24 | -8 | ||||||||||
| 27 | 186 | 110 | 33 | 110 | 33 | ||||||||||
| 9 | 537 | 10 | 524 | 35 | 474 | -9 | 461 | ||||||||
| 431 | 115 | 402 | 111 | 406 | 113 | 403 | 89 |
Table 3. Elastic moduli of graphite (Gr-ite), graphene (Gr-ene) and diamond (Dia); all values are in GPa.
Point defects
The directional covalent bonds in carbon generally imply large point defect energies and significant local reconstructions. Vacancies and their clusters influence a broad range of electronic, physical and mechanical properties in graphene. 100–104 An unreconstructed monovacancy in graphene, formed by removing a single carbon atom, has a three-fold symmetry with three dangling bonds. It undergoes a Jahn-Teller distortion 102 and reconstructs to a configuration with lower symmetry consisting of 5- and 9-membered rings. In Figure 10 we show that ACE correctly reproduces this reconstruction, including an out of plane displacement of the central atom. The energy difference between unreconstructed and reconstructed configuration presents an upper bound of the monovacancy migration barrier, predicted to be 0.37 eV by ACE, in close agreement with a range of DFT values. 102 Most classical as well as the considered ML potentials are unable to account for the reconstruction and predict the three-fold symmetric structure as the only stable monovacancy configuration. 105

Figure 10. Three-fold (left) and reconstructed (right) monovacancy predicted by ACE. Bottom panel: side view of graphene sheet, out-of-plane displacement of the marked atom is about 0.4 Å.
The removal of two neighbouring atoms in graphene allows for a better saturation of dangling bonds. There exist three stable divacancy configurations. The simplest one consists of one 8-membered ring with two adjacent 5-membered rings (5-8-5 configuration). A rotation of a pair of bonds in the 8-member ring results in two further configurations with lower energies, the 555-777 and 5555-6-7777 configurations, with increased numbers of the adjacent rings. The formation energies of various configurations are reported in Table S3 in the supplementary material. 85 ACE predicts correctly that the 555-777 divacancy is more stable than the 5-8-5 and 5555-6-7777 configurations by about 0.8 and 0.5 eV, respectively. Since, the formation energies of divacancies are comparable to that of the monovacancy, it is favorable for two monovacancies to coalesce.
| DFT* | ACE | GAP20 | PANNA | hNN | DeepMD | |
| Graphene | ||||||
| ine Stone-Wales | 4.9 | 4.9 | 4.8 | 4.6 | 5.3 | 4.8 |
| Monovacancy | 7.7 | 5.8 | 7.0 | 6.5 | 7.9 | 6.2 |
| Divacancy (5-8-5) | 7.4 | 7.2 | 7.9 | 7.0 | 8.0 | 7.2 |
| Divacancy (555-777) | 6.6 | 6.4 | 6.9 | 6.0 | 6.9 | 6.5 |
| Divacancy (5555-6-7777) | 6.9 | 6.9 | 7.4 | 6.3 | 7.3 | 8.0 |
| Adatom | 6.4 | 6.4 | 5.9 | 10.8 | 8.3 | 6.7 |
| Diamond | ||||||
| Monovacancy | 6.6 | 5.8 | 4.3 | 5.0 | 5.7 | |
| Divacancy | 9.1 | 12.0 | 6.6 | 11.0 | 11.6 |
Table S3. Formation energies for point defects in graphene and diamond lattice
Figure 11 (left panel) shows a comparison of computed energies for unreconstructed vacancy defects in graphene. For a fair comparison, the DFT references are those used for the construction of the potentials, namely, PBE+D2 for ACE, PBE+MBD for TurboGAP, and optB88-vdw for GAP20. 46

Figure 11. Point defects in graphene (left panel) and surfaces in diamond (right panel). See text for details on DFT calculations ; the empty bars for the (110) surface correspond to values reported in the original GAP20 reference.46
and optB88-vdw for GAP20. 46 The DFT data for PANNA were not provided, but we assume them to be similar to those for GAP20. It should be noted that the differences between different DFT methods are comparable to the differences between the fitted and reference values.
The point defect in graphene with the lowest energy is the Stone-Wales (SW) defect. It is formally generated by a 90° rotation of one C-C bond, transforming four 6-member rings into two 5-member rings and two 7-member rings. A consistent description of the SW defect and its formation mechanism implies that a potential models local changes in hybridization correctly and is critical for simulating more complex structures, such as the recently reported monolayer amorphous graphene. 106 We computed the energy barrier associated with C-C bond rotation to be eV and the energy of the SW defect as 4.91 eV, both in excellent agreement with PBE+D2 reference as shown in Figure 12.

Figure 12. Bond rotation for formation of Stone-Wales (SW) defect.
Overall, ACE predicts structures and energies of basic point defects in graphene in close agreement with the reference DFT values and a comparable level of accuracy is obtained also for other defects. 85
Diamond surfaces
The right panel of Figure 11 shows the energy of relaxed but unreconstructed low-index diamond surfaces. The empty bars for the (110) surface correspond to the values reported in the original GAP20 publication, 46 which we were unable to reproduce. ACE predicts the energies of all surfaces within 3% error, while the errors of TurboGAP and GAP20 are larger.
Reconstructions of diamond surfaces driven by relaxation of dangling bonds induce subtle atomic displacement patterns that are a challenging test for interatomic potentials. For example, due to dangling bonds the unreconstructed (111) and (100) surfaces have significantly higher energies than the (110) surface. Two distinct surface terminations, with three (3db) and with one (1db) dangling bonds, exist for the (111) surface. We examined surface reconstructions by relaxing atomic positions to minimize the energy of larger supercells. The simulations were initialized to break the symmetry of the unreconstructed surfaces, either manually or by short MD simulations.
Figure 13 shows side and top views of the ideal and reconstructed (100), 3db-(111) and 1db-(111) surfaces. Surface atoms with low coordinations tend to rearrange to achieve a more favourable (green) hybridization. The 3db-(111) surface undergoes the so-called Pandey-chain reconstruction,107 which rearranges surface atoms into -bonded chain structures. It is a delicate reconstruction and the surface layers show a strong tendency to graphitize.108 The 1db-(111) surface instead creates -bonded chains between the surface atoms. All reconstructions have a dramatic effect on the surface energies, which are reduced by 2.4, 7.3 and 0.3 J/m for the (100), 3db-(111) and 1db-(111) surfaces, respectively. The surface energies are summarized in Table 4.
| Surface | DFT | ACE | TurboGAP | GAP20 | PANNA |
| (100) | |||||
| Ideal | 9.33 (9.33) | 9.10 | 11.85 | 10.09 | 8.97 |
| Relaxed | 9.04 (9.08) | 8.78 | 10.25 | 9.13 | 5.92 |
| Reconstr. | 4.97 (4.83) | 6.08 | 5.45 | 4.96 | 5.92 |
| 3db-(111) | |||||
| Ideal | 13.01 (13.02) | 12.72 | 11.37 | 13.45 | 12.81 |
| Relaxed | 12.93 (12.98) | 12.71 | 11.37 | 12.17 | 12.65 |
| Reconstr. | 7.36 | 6.56 | 6.24 | 6.72 | |
| 1db-(111) | |||||
| Ideal | 7.25 (8.10) | 6.72 | 6.56 | 5.12 | 4.80 |
| Relaxed | 5.72 (6.46) | 5.28 | 4.48 | 3.68 | 3.84 |
| Reconstr. | 3.51 (3.76) | 4.96 | 4.32 | 3.68 | 4.00 |
| (110) | |||||
| Ideal | 6.77 (7.46) | 7.13 | 6.88 | 5.76 | 5.12 |
| Relaxed | 5.76 (6.50) | 5.73 | 4.80 | 4.16 | 3.52 |
Table 4. Surface energies in J/m for ideal, relaxed and reconstructed low-index diamond surfaces. DFT: PBE+D2, in brackets: B3LYP from 109
In addition to static surface calculations, we carried out cleavage simulations to assess smoothness of the energy landscape during bond breaking. A bulk diamond cubic crystal was rigidly separated, excluding relaxations and reconstructions, in the direction normal to the surface using periodic supercells with 32 (for the (100) surface) or 48 (for the (110) and (111) surfaces) atoms. The corresponding variations of the energy as a function of the separation are shown for all orientations in Figure 14. The energy increase is steepest for the (111) surface orientation, for which one set of the C-C bonds is oriented parallel to the loading direction. DFT (PBE+D2) predicts that the energy plateaus at a separation of ≈ 2 Å with a shallow maximum between 1.0 and 1.5 Å. For the (100) and (110) surface orientations, with bonds inclined with respect to the loading direction, the energy increases less steeply and without any barrier. For the three orientations, ACE captures the PBE+D2 reference closely. TurboGAP and especially GAP20 exhibit oscillations, while PANNA predicts relatively smooth decohesion curves.

Figure 14. Decohesion of unrelaxed, unreconstructed diamond crystals along the (111), (110) and (100) crystallographic orientations.

Figure 13. Top views of the (a) (100) and (b,c) (111) surfaces with reconstructions predicted by ACE. White, red, green and blue corresponds to 1-fold, 2-fold, 3-fold and 4-fold coordinated atoms.
Applications
Brittle fracture of diamond
Fracture simulations of brittle materials are very challenging as they require transferable models which are able to describe bond breaking processes under large and inhomogeneous stresses. At the same time, the models need to remain numerically efficient to be able to simulate large supercells with complex crack geometries at finite temperatures and over realistic time scales.¹¹⁰,¹¹¹ Here we present MD simulations of brittle cleavage of diamond performed using ACE, GAP20 and PANNA potentials, mostly intended to compare the predictions of these three models. More extended study of diamond fracture will be presented elsewhere.
We simulated semi-infinite cracks with periodic boundary conditions applied along the crack front. The atomic configurations were generated by applying a given stress intensity factor, , to model the asymptotic crack tip region in linear elastic fracture mechanics without applying traction on the outer cell boundaries¹¹⁰ using the code atomsk.¹¹² Depending on the magnitude of the applied , the crack either tends to heal or to propagate during the simulation. By varying , one can estimate the critical stress intensity factor, .
We simulated nine cracks with different magnitudes of the stress intensity factor using LAMMPS.⁸⁴ The simulation cells (shown in Figure S8 in Supplementary material⁸⁵) contain 5280 atoms with the crack plane normal oriented along the direction and the propagation direction.⁸⁵ The initial crack tip was always located in between two planes in the center of the simulation cell. We followed the crack evolution for 2 ps using MD simulations at K. The change of the interatomic distance between two atoms at the initial crack tip (see the supplementary material⁸⁵) was used to quantify the healing or propagation of the crack. The variation , where is the initial bond length, as a function of the applied is plotted for ACE, GAP20 and PANNA in Figure 15. We were not able to run equivalent simulations using TurboGAP since it is not implemented in LAMMPS.

Figure 15. Relative distance between atoms at crack tip as function of applied stress intensity factor .

(a)

(b)
Figure S8. An example of simulation cell consisting of 5280 atoms used to study the brittle crack propagation in diamond (a) and a close-up of the crack tip region (b).
Our simulations show that below the critical loading all models predict a closing of the crack along the crack plane. However, ACE is the only model that sustains brittle cleavage, when the loading exceeds the critical value of about 4.2 MPa m. Both GAP20 and PANNA show instead local structural transformations into graphitic structures which lead to blunting of the crack tip, as displayed in Figure 16. The formation of the graphitic structures explains the sharp drop of for both potentials visible in Figure 15. To our best knowledge this behavior has not been observed in any theoretical or experimental studies. As discussed in § 5.1, the phase transformation may be related to the overestimated energy of the diamond phase with respect to those of graphene and graphite due to the DFT reference data employed in the construction of the GAP20 and PANNA potentials.

Figure 16. Snapshots of crack configurations at MPa m after 1 ps as predicted by different models; Green color highlights the atoms with sp bonding. GAP20 and PANNA show local structural transformations into graphitic structures at the crack tip, while ACE demostrates brittle cleavage.
Amorphous carbon
The great variability of amorphous carbon (a-C) networks, governed by competing sp, sp and sp hybridizations, poses another difficult challenge for atomistic simulations. Two extensive comparative studies of fourteen interatomic potentials¹⁹,²⁰ showed that there exist marked differences in the predictions of structural and physical properties of a-C systems. Among the investigated models, GAP1744 was found to provide the most reliable description (except of some unphysical predictions of 5-fold coordinated atoms at high densities). However, it had by far the highest computational cost of all potentials, limiting its use in large-scale simulations. Even though GAP17 was successfully applied to study the deposition of thin a-C films,49,113 larger system sizes and extended simulation times are crucial to achieve realistic amorphous networks. For instance, Jana et al.97 investigated in detail the effect of quench rates on the formation and properties of a-C structures using GAP17, the screened Tersoff (Tersoff-S) potential21 and DFT. The simulations revealed a crucial role of the quench rate on the resulting a-C morphology. Slower cooling rates allowed the atoms to achieve energetically more favourable configurations, thus giving rise to structures with lower cohesive energies, while fast cooling rates resulted in more distorted and less stable forms of a-C.
We studied properties of bulk a-C samples prepared with the liquid-quench MD protocol from Ref.97 Simple cubic supercells containing 8000 atoms were melted during 4.0 ps using MD at 12000 K, employing the Nosé-Hoover thermostat and time step of 1 fs. The liquid phase was then equilibrated at 8000 K for 10 ps before quenching it to 300 K by linearly decreasing the temperature. We employed three different quench rates: fast at 1000 K/ps,
medium at 100 K/ps, and slow at 10 K/ps. The final structures were optimized by relaxing either the atomic positions only or both the atomic positions and the cell vectors to minimize the stresses in the cells. For the latter protocol, we observed negligible changes of densities in most samples. For each quench rate, we generated ten a-C samples with densities ranging from 1.8 to 3.5 g/cm. This range encompasses low-density nanoporous structures, crystalline graphite ( g/cm), and diamond ( g/cm).
Snapshots of representative a-C structures with three different densities generated using the fast and slow quench rates are depicted in Figure 17. Samples generated with the fast and medium quench rates exhibit uniformly disordered structures that differ in the fraction of sp and sp bonded atoms, in agreement with Ref.97 The structures of lowest density ( g/cm) are composed of highly distorted and defective graphene sheets with a considerable number of nanovoids and sp-bonded carbon chains connecting the sheets. The structures of intermediate densities ( to 2.9 g/cm) correspond to commonly synthesized a-C structures and the fast and medium quench rates result in disordered glassy networks with a homogeneous mixture of sp and sp bonded atoms. The structures with the highest density ( g/cc) contain mostly sp bonded, diamond-like atoms.

Figure 17. Representative a-C structures at three densities using 1000 K/ps (left) and 10 K/ps (right) quench rate. Shown are slices of 1 nm thickness that were cut out of the simulation cell. White, red, green and blue colors correspond to 1-fold, 2-fold, 3-fold and 4-fold coordinated atoms, respectively. Coordination from 1.85 Å cutoff.
In the thermodynamic limit of infinitesimally slow cooling we expect graphite, diamond or co-existing graphite and diamond at relative phase fractions that are determined by density. At the slow cooling rate we observe the onset of phase separation and the occurrence of ordered structures with separated sp and sp regions. For the lowest density, slow quenching leads to more extended sheets with fewer defects. Such graphitized nanostructures have been observed in previous simulations with GAP17,20,97, TurboGAP47 and experimentally motivated simulations by Bhattarai et al.114,115
Figure 18 displays how the fraction of sp bonded atoms changes as a function of density for different quench rates and potentials. Results for GAP17 (4087 atoms) and DFT (216 atoms) were taken from Ref.97, PANNA (216 atoms) was taken from Ref.42 As expected the sp fraction increases with density for all methods and quench rates. For the first time we observe a clear influence of quench rate on the a-C morphology with a non-classical potential. For the fast quench at 1000 K/ps, which is also feasible with DFT, the sp fraction increases almost linearly with density and leads to a homogeneous amorphous network, see Figure 17. In contrast, at the slow quench rate of 10 K/ps the sp fraction is almost negligible up to g/cm and then increases sharply to reach the high values of diamond-like a-C structures. In Figure 18, we mark the equilibrium densities of graphite and diamond by dashed vertical lines. The solid vertical line indicates the density at which the free energies of homogeneously compressed graphite and dilated diamond coincide at K.

Figure 18. Variation of sp bond fraction in a-C with density for different quench rates and methods (see text for details).
The distribution of Voronoi atomic volumes, calculated using pyscal2, for the slowly quenched samples with densities of 2.0, 2.9 and 3.4 g/cm, are plotted in Figure 19 (a). For the highest density sample, there is a single peak (dark blue) centered about the atomic volume of diamond. In contrast, the sample with the intermediate density is characterized by two peaks (dark red). The smaller peak coincides again with the volume of diamond while the higher peak is located in between the diamond and graphite volumes. This results is in accordance with the phase separation into sp and sp dominated regions observed in Figure 17. The position of the higher peak indicates that the sp phase is a compressed form of amorphous graphite as it is located below the equilibrium volume of crystalline graphite. The distribution of the low density sample (green) is broadest and skewed towards larger volumes due to the existence of nanovoids.

Figure 19. Distribution of (a) Voronoi atomic volumes and (b) bond angles in a-C structures at densities 2.0, 2.9 and 3.4 g/cc, quenched at 10 K/ps with ACE.
A qualitatively similar outcome can be seen on the distributions of bond angles displayed Figure 19 (b). The angular distribution function (ADF) enables to characterize lattice distortions by comparing the positions and widths of the ADF peaks with bond angles in ideal graphite and diamond. The ADFs are centered around for the high-density sample and for the low-density sample. For the intermediate-density sample, the distribution is significantly broader and clearly composed of two overlapping peaks centered at the angles mentioned above. The ADFs for structures generated using the medium and high quench rates are shown in Figure S10 in the supplementary material.3
Figure S10. A comparison of angular distribution functions for a-C structures at different quench rates
Fullerene formation
Carbon clusters are often formed during combustion of carbon-rich materials at high temperatures and pressures. The nucleation and growth process of carbon was the subject of various experimental and theoretical studies. 117–122 Here, we present long-time MD simulations of the nucleation and growth of molecular fullerenes from gas phase carbon at high pressure and temperature.
As the starting configuration, in a cubic supercell of side 47.6 Å, 402 C atoms and 2973 Ar atoms were arranged randomly. The Ar-Ar and Ar-C interactions were modeled using a simple Lennard-Jones potential with parameters taken from Refs. 120,123, while the carbon interactions were modelled using ACE. The Ar atoms serve as a proxy to exert pressure in the cell and to induce collisions between the C atoms, but do not participate in chemical reactions. The ensemble was used to run MD at 3000 K for 12 nanoseconds. Snapshots from the simulation are shown in Figure 20. (See Figure S11 in the supplementary material3 for snapshots predicted by PANNA, showing clear qualitative deviations from ACE predictions.)

Figure 20. Formation of fullerenes from gas phase during combustion simulation. Small dots are Ar atoms.
Figure S11. Formation of fullerenes from gas phase during combustion simulation as predicted by PANNA. In contrast to ACE, PANNA predicts formation of only defective graphitic flakes up to 1 ns rather than fullerene molecules.
Similar to the findings of Pineau et al.,4 ACE predictions show the gas phase carbon atoms bonding together early in the simulation to form small buckyball molecules. As the system evolves, the buckyballs interact and coalesce into larger fullerenes. Eventually, at around 12 ns all 402 atoms have merged into a large sp2 bonded fullerene cluster.
Summary and conclusions
We developed a general purpose ACE parametrization for carbon that surpasses the accuracy and transferability of state-of-the-art ML models at a fraction of their computational cost. The outstanding predictive power of ACE stems from its physically and chemically motivated formulation, smooth extrapolative properties of the ACE basis, and carefully chosen and internally consistent training data.
We validated the potential extensively through a number of challenging tests. ACE predicts accurately structural and thermodynamic properties for a broad range of ideal and defective carbon polytypes and captures the complex bonding of carbon including bond distortions and bond breaking and making. We showed several exemplary cases where the best available ML potentials fail while ACE predictions are correct.
The efficiency and robustness of ACE was demonstrated on three distinct applications. In simulations of diamond fracture we showed that ACE maintains brittle cleavage when the system is strained beyond the critical load. In contrast, GAP20 and PANNA both predict a graphitic phase transformation at the crack tip. Simulations of non-equilibrium amorphous carbon structures reveal that their structural morphology depends not only on the density but also strongly on the quenching rate. This result could only be achieved due to the outstanding computational efficiency of ACE that enables much slower quenching rates than was possible with other ML potentials. Lastly, we examined the capability of ACE to describe the evolution of large fullerene clusters during combustion at high temperatures and pressures. The nucleation and growth of these clusters requires not only long-time MD simulations but also a reliable description of bond formation under highly non-equilibrium conditions.
In summary, the carbon ACE opens new possibilities for structural modeling of carbon at the atomic scale. It not only describes the fundamental properties of carbon allotropes with DFT accuracy, but is also able to maintain this accuracy in large-scale simulations. If necessary, the ACE accuracy and transferability can be further improved systematically, either by tailoring of the training dataset for the required application or by extending the ACE basis. The increased complexity of the ACE parametrization increases the computational costs only linearly, in contrast to other ML models.⁹ Finally, the elemental ACE models can be readily extended or combined to address multicomponent systems, such as hydrocarbon systems or transition metal carbides.
Acknowledgements
The authors acknowledge valuable discussions with Lars Pastewka, Romain Perriot and Bernd Meyer. MQ acknowledges funding through a scholarship from the International Max Planck Research School for Interface Controlled Materials for Energy Conversion (IMPRS-SurMat). This work was in part supported by the German Science Foundation (DFG), projects 405621081 and 405621217.
Supporting Information
The ACE potential file, training dataset and running examples are included with this work. An additional document85 including further details of the dispersion corrections, fitting statistics and predictions by other carbon models is also provided. This information is available free of charge via the Internet at https://pubs.acs.org
References
Dispersion corrections
The base ACE model (termed ) is parametrized to DFT data computed with the PBE functional which is not able to capture the long-range dispersion interactions. As a result, is unable to describe binding in graphite. For a transferable carbon potential, dispersion interactions need to be taken into account and this can be achieved by additive corrections that are applied on top of .
A number of such corrections for DFT have been proposed, most notably the D2, D3 and D4 corrections by Grimme and co-workers [1, 2, 3, 4, 5, 6]. Figure S1 shows a comparison between the different correction methods for the binding between graphite layers as a function of the inter-layer separation. As seen in Figure S1, the binding energies of graphite predicted by the D2, D3 and D4 corrections are in close agreement (within meV/atom). However, since the D3 and D4 correction include environment dependent terms, they are considerably more expensive to evaluate than the pairwise D2 correction, as shown in Figure S1.
Considering the significant difference in computational costs and the negligible differences to reproduce basic dispersion interactions, we employed the simplest D2 correction in the present study (see below for details). However, it is noted that it can be readily replaced by more elaborate correction schemes if necessary (e.g., for studies of friction between graphene layers).
D2 Correction
The D2 term in ACE is expressed as a simple pair potential
where the damping function is given by
The dispersion coefficient , the damping factor , and the vdW radius were parameterized for all elements up to Xe. [1] The global scaling parameter depends on the specific DFT functional used and is set to 0.75 for PBE.
Validation of neural network models
This section includes additional validation of the recent NN models hNN_Gr and DeepMD.

Figure S3. Relative stability of the three lowest energy phases of carbon, as predicted by DFT and NN-based models. refers to the energy difference with respect to graphite given by the respective potential. Solid, dashed and dotted lines refer to graphite, graphene and diamond phase respectively.
Comparison of RMSE values for energies and forces
Validation of additional models and properties
*DFT reference is taken from [7] and is given for optB88-vdW DFT functional.
Figure S7. Computed phonon band structures for fcc, bcc and sc bulk phases; all three phases are dynamically unstable according to DFT.
Diamond fracture
Amorphous carbon
Figure S9. Width of Voronoi volume distribution as a function of density for all generated a-C structures
Fullerene formation
Data availability
To help prospective users getting started with the ACE potential, some files are provided:
ACE potential: The ACE potential file ‘c_ace.yace’ along with a lammps implementation of D2 ‘d2.table’ is provided in the directory ‘potential_file’.
LAMMPS example: The directory ‘c_pace_eq_melt’ contains an input lammps script to run an example simulation of melting of a C supercell. The directory also contains a ‘README’ file explaining the compilation of lammps and use of the potential, both with python and with lammps.
Training dataset: The training dataset used to parametrize the ACE is provided as a ‘pckl.gzip’ file. It can be readily used with the provided pacemaker input file ‘fit_c_ACE.yaml’ to parametrize a new ACE potential. The training dataset can be analyzed using the python script ‘read_datasey.py’. More information on the dataset format and pacemaker can be found at https://github.com/ICAMS/python-ace
Dispersion correction: A jupyter notebook ‘dispersion_corrections.ipynp‘ is included which shows how to include different vdW corrections such as D2, D3 and D4 with the ACE potential.
References
- [1]Grimme, S. Semiempirical GGA-type density functional constructed with a long-range dispersion correction. J. Comput. Chem. 2006, 27, 1787–1799.pubmed.ncbi.nlm.nih.gov/16955487
- [2]Grimme, S.; Antony, J.; Ehrlich, S.; Krieg, H. A consistent and accurate ab initio parametrization of density functional dispersion correction (DFT-D) for the 94 elements H-Pu. J. Chem. Phys. 2010, 132, 154104.DOI
- [3]Grimme, S.; Ehrlich, S.; Goerigk, L. Effect of the damping function in dispersion corrected density functional theory. J. Comput. Chem. 2011, 32, 1456–1465.DOI
- [4]Caldeweyher, E.; Bannwarth, C.; Grimme, S. Extension of the D3 dispersion coefficient model. J. Chem. Phys. 2017, 147, 034112.DOI
- [5]Caldeweyher, E.; Ehlert, S.; Hansen, A.; Neugebauer, H.; Spicher, S.; Bannwarth, C.; Grimme, S. A generally applicable atomic-charge dependent London dispersion correction. J. Chem. Phys. 2019, 150, 154122.DOI
- [6]Caldeweyher, E.; Mewes, J.-M.; Ehlert, S.; Grimme, S. Extension and evaluation of the D4 London-dispersion model for periodic systems. Phys. Chem. Chem. Phys. 2020, 22, 8499–8512.DOI
- [7]Rowe, P.; Deringer, V. L.; Gasparotto, P.; Csányi, G.; Michaelides, A. An accurate and transferable machine learning potential for carbon. J. Chem. Phys. 2020, 153, 034702.DOI
- [8]Wang, J.; Shen, H.; Yang, R.; Xie, K.; Zhang, C.; Chen, L.; Ho, K.-M.; Wang, C.-Z.; Wang, S. A deep learning interatomic potential developed for atomistic simulation of carbon materials. Carbon 2022, 186, 1–8.DOI
- [9]Xu, C. H.; Wang, C. Z.; Chan, C. T.; Ho, K. M. A transferable tight-binding potential for carbon. J. Phys.: Condens. Matter 1992, 4, 6047–6054.DOI
- [10]Chenoweth, K.; van Duin, A. C. T.; Goddard, W. A. ReaxFF Reactive Force Field for Molecular Dynamics Simulations of Hydrocarbon Oxidation. J. Phys. Chem. A 2008, 112, 1040–1053.DOI
- [11]Wen, M.; Tadmor, E. B. Hybrid neural network potential for multilayer graphene. Phys. Rev. B 2019, 100, 195419.DOI
- [12]O’Connor, T. C.; Andzelm, J.; Robbins, M. O. AIREBO-M: A reactive model for hydrocarbons at extreme pressures. J. Chem. Phys. 2015, 142, 024903.DOI
- [13]Los, J. H.; Fasolino, A. Intrinsic long-range bond-order potential for carbon: Performance in Monte Carlo simulations of graphitization. Phys. Rev. B 2003, 68, 024107.