Machine-learning interatomic potentials from a users perspective: A comparison of accuracy, speed and data efficiency
간접 관련 화학·수지 · (21) 에폭시수지 (6) PEM(고분자전해질막)(16) CPI(투명 폴리이미드)(23) 컴파운드
기본 정보
- 저자
- DOI
- 10.1088/1361-651x/adf56d
- 저널
- Modelling and Simulation in Materials Science and Engineering
- 발행년도
- 2025
- 발행기관
- IOP Publishing
- 피인용수
- 8
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1088/1361-651x/adf56d
- 토픽
- Electron and X-Ray Spectroscopy Techniques
- OpenAlex ID
- W4413097963
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 화학·수지 · (21) 에폭시수지
- 부 분야
- (6) PEM(고분자전해질막), (16) CPI(투명 폴리이미드), (23) 컴파운드
- R&D 측면
- 분석·모델링
- 확신도
- 0.70
- 근거 용어
- Machine-learning interatomic potentials, atomistic modeling, density functional theory, molecular dynamics, Si-O system
- 판단 근거
- 이 논문은 머신러닝 기반 원자간 포텐셜(MLIP)을 활용한 원자 단위 시뮬레이션 방법론을 다룹니다. 이는 코오롱인더스트리의 고분자(에폭시, PEM, CPI 등) 및 복합소재의 미세 구조, 물성, 열화 메커니즘을 예측하는 계산 과학 R&D에 간접적으로 활용될 수 있습니다.
- R&D 활용 포인트
- 신규 고분자 소재(에폭시, 폴리이미드 등) 설계 시, 실험 전 머신러닝 시뮬레이션을 통해 원자 단위의 결합 에너지, 열적 안정성 및 기계적 물성을 예측하여 R&D 효율성을 높일 수 있습니다.
- 평가 입력
- 본문 71,449자 중 30,032자 발췌
초록
본문 71,449자
본문 펼치기
섹션 본문 73문단 · 45,136자
(제목 없음)
1Machine learning interatomic potentials (MLIPs) have massively changed the field of atomistic modeling.They enable the accuracy of density functional theory in large-scale simulations while being nearly as fast as classical interatomic potentials.Over the last few years, a wide range of different types of MLIPs have been developed, but it is often difficult to judge which approach is the best for a given problem setting.For the case of structurally and chemically complex solids, namely Al-Cu-Zr and Si-O, we benchmark a range of machine learning interatomic potential approaches, in particular, the Gaussian approximation potential (GAP), high-dimensional neural network potentials (HDNNP), moment tensor potentials (MTP), the atomic cluster expansion (ACE) in its linear and nonlinear version, neural equivariant interatomic potentials (NequIP), Allegro, and MACE.We find that nonlinear ACE and the equivariant, message-passing graph neural networks NequIP and MACE form the Pareto front in the accuracy vs. computational cost trade-off.In case of the Al-Cu-Zr system we find that MACE and Allegro offer the highest accuracy, while NequIP outperforms them for Si-O.Furthermore, GPUs can massively accelerate the MLIPs, bringing them on par with and even ahead of non-accelerated classical interatomic potentials (IPs) with regards to accessible timescales.Finally, we explore the extrapolation behavior of the corresponding potentials, probe the smoothness of the potential energy surfaces, and finally estimate the user friendliness of the corresponding fitting codes and molecular dynamics interfaces.
Introduction
2In recent years, the field of atomistic modeling has been revolutionized by the advent of machine learning interatomic potentials (MLIPs).More than ten years ago, mainly two methods were used to approximate the potential energy surface (PES), namely density-functional theory (DFT) and classical interatomic potentials [1,2].However, in recent years, new approaches based on machine learning have entered the field [3,4].DFT calculations in general provide an accurate description of the energy landscape, given that an appropriate exchangecorrelation functional is at hand, but are computationally costly and limited to a small number of atoms.Classical interatomic potentials, on the contrary, often lack accuracy and transferability but are computationally much cheaper.MLIPs have overcome these issues by providing the accuracy of DFT data at computational costs close to classical interatomic potentials.The concept of MLIPs is represented graphically in Fig. 1.Technologically, the field of MLIPs has seen significant progress over the last few decades.The first attempts to describe small atomic systems using neural networks as a global descriptor date back around 30 years [6,7].Behler and Parinello [8] released these limitations using a local description of atomic environments to calculate the atomic energies.They applied atomic neural networks trained on atom-centered symmetry functions as descriptors and termed them high-dimensional neural network potential (HDNNP) [9,10].A few years later, Bartók et al. proposed the Gaussian approximation potentials (GAPs) [11], where the PES is determined by the similarity of the atomic environments to the learned data using Gaussian process regression, while the Smooth (2) A representation of these atomic configurations is needed, which is translationally and rotationally invariant or equivariant.Here, two different types are established.The descriptor based approach takes a descriptor vector as fingerprint of each local environment in a given cutoff radius.Graph networks messages, in contrast, are transmitted between neighboring atoms, providing information about their environment to those neighbors.Using multiple message passing iterations allows these approaches to have a higher effective cutoff and therefore, to include additional semi-local information.This is depicted by the graph network on the right in (2), where the blue atom can receive information about atoms that would otherwise only be seen by the green atom.(3) The corresponding representation techniques are combined with a variation of different machine-learning techniques to relate these representations with local and global properties of the given point cloud.As a feature, various machine-learning techniques allow to assess a uncertainty for estimating the reliability of a potential in certain parts of configurational space.Overlap of Atomic Positions (SOAP) descriptor is typically used to describe atomic environments [12].In the subsequently developed Spectral Neighbor Analysis Potential (SNAP) [13], Moment Tensor Potential (MTP) [14] and Atomic Cluster Expansion (ACE) [15] linear and slightly nonlinear machine learning techniques are used, which obtain their accuracy from complex descriptors of the atomic environment.All of these and most other MLIPs employ descriptors that are invariant against rotations, translations, and permutations of atoms of the same species.In Neural Equivariant Interatomic Potentials (NequIP) [16], Allegro [17] and MACE [18] rotationally equivariant descriptors are used in combination with suitable equivariant operations in their network architecture to ensure the rotational invariance of energies.
3The representation of atomic structures by graphs with nodes representing atomic positions and edges representing bonds [19] is an extension to descriptor-based approaches.Here, each atom has a feature vector which is constructed again from descriptors, but can be updated over several iterations, possibly including so-called messages from neighboring nodes.In this way, they are able to include semi-local interactions with an effectively increased cutoff radius.However, only by including equivariant features in such graph neural networks improved accuracy could be achieved compared to other MLIPs.NequIP [16] and MACE [18,20] both, use multiple message passing layers.Consequently, their effective cutoff is a multiple of the actual value, leading to poor scalability and difficult parallelization.The MACE framework includes higher-order features within messages, in an attempt to reduce the necessary number of message-passing layers, i.e. the effective cutoff, necessary to achieve a certain accuracy and partly solve the scalability problem.
4Another interesting MLIP included in our tests is the recently introduced Allegro approach [17], which also uses learnable equivariant basis functions, but without message passing.Therefore, it is strictly local, allowing for better scalability and parallelization.From a users perspective the plethora of available MLIPs, even in addition to the ones discussed here [22][23][24][25][26][27][28][29][30][31][32] naturally leads to the question which of them is most suitable in terms of computationally efficiency and accuracy for a given problem setting.An in-depth description of different descriptor and regression techniques can be found in a recent review by Thiemann et al. [33].The accuracy and computational cost of HDNNP, GAP, SNAP and MTP have been evaluated by Zuo et al. [34] for different elemental systems.In a recent study, the performance of PaiNN [35], REANN [36], MACE, and ACE has been evaluated for the case of hydrogen dynamics on metal surfaces [37].However, a comparative benchmark study of MLIPs for structurally and chemically complex solids is so far missing.
5In this study, we fill this gap by assessing various invariant MLIPs and the new equivariant and message-passing neural networks for complex multi-element systems from a user perspective.We test HDNNP [8], GAP [11], MTP [14], ACE [15], NequIP [16], Allegro [17] and MACE [18,20] potentials with regard to computational and data efficiency, accuracy, and extrapolation behavior.The choice of these specific frameworks is motivated by the fact that there is a LAMMPS implementation available.We do not test the accuracy for molecular systems, as has been done in previous studies [16,18,[37][38][39].
6As materials, we employ Si-O and Al-Cu-Zr systems, which are representatives of ionic-covalent and metalliccovalent bonding materials with complex crystalline and amorphous structures.By this, we aim to provide comprehensive guidelines that help users choose between different potential types for their problem setting.
Accuracy and computational cost
7From a user perspective, the main quality of an interatomic potential (IP) is its accuracy, and the primary limiting factor is computational costs.Together, these factors determine for which problems an IP can be applied.To evaluate the properties of the tested MLIPs, we show the energy and force prediction accuracy for testing data sets and the time needed to calculate an MD step per atom in Fig.In the case of Al-Cu-Zr the GAPs are trained with only 10 % of the training data, because of their large RAM requirement during the process, indicated by the white pattern in plot marks.For the Al-Cu-Zr system the speed of the widely used Cu-Zr embedded atom method (EAM) potential by Mendelev is additionally indicated by the gray line [21].Speed measurements have been performed on the Horeka supercomputer on a single core of a Intel Xeon Platinum 8368 processor.Amorphous systems with sizes of 1372 and 768 atoms were used for Al-Cu-Zr and Si-O, respectively.Due to the larger size of the Al-Cu-Zr training dataset and the higher chemical complexity and therefore higher computational costs of fitting less fits are available.The potentials we used in our later tests are marked by a cross.ica.Speed measurements have been performed on the Horeka supercomputer on 1 Nvidia A100 GPU.The gray shapes correspond to the computational costs on a single CPU core (see Figure 2).
8while MACE achieves slightly worse accuracies and Allegro is significantly further off.In the case of Si-O, the message-passing of MACE and NequIP is obviously improving the accuracy, as the equivariant Allegro does worse than these approaches and shows only similar accuracy as nonlinear ACE.However, at the same time it comes at a much higher computational cost than nonlinear ACE.This is most likely caused by long-range ionic interactions in the Si-O system, which do not play a role in Al-Cu-Zr.A further hint towards the importance of non-local interactions for the Si-O system is the more pronounced improvement in achievable accuracies when going from the strictly local ACE to the semi-local MACE and NequIPs.For Si-O GAP (which does not perform well for Al-Cu-Zr due to the reduced training data set) performs similar to linear ACE and MTPs.Furthermore HDNNPs also achieve good accuracies especially for energy predictions, for the Si-O system.However, we note that the HDNNP parameters leading to high accuracy in forces correspond to those with low energy accuracy and vice versa.Thus, even though they seem to perform well in the metrics on first glance, there is an additional trade-off here not being directly visible.Another interesting factor is the systematic improvability of the accuracy of MLIPs at the expanse of higher computational cost.In our case, all tested MLIPs but the HDNNPs offer a suitable parameter for this.Examples are the level of MTPs, the amount of basis functions in ACE or the message passing channels in MACE.
9Finally, we assessed the speed of GPU accelerated variants of the MLIPs when available.In the case of ACE, MACE and Allegro they are implemented in LAMMPS via the KOKKOS package [40,41].For NequIP the GPU acceleration is achieved by running the underlying pytorch library on the GPU.The results are shown in Fig. 3. ACE, MACE and and Allegro run around two orders of magnitude faster on the employed NVIDIA A100 GPUs compared to their CPU versions, so their relative order does not change.The NequIPs which were slowest on CPUs, i.e. those with many message-passing iterations show a similar speedup, but the faster ones profit less, causing the spread between them to reduce.A similar effect, but to a lesser extent is also observed for MACE and Allegro.This presumably stems from the lack of a KOKKOS implementation for NequIP, leading to an increased amount of time consuming data transfers between CPU and GPU.We note that NequIP does not offer MPI parallelization and consequently can not use more than a single GPU.Our data shows that GPU accelerated message-passing and equivariant MLIPs can compete with MTPs and HDNNPs on CPUs.In the following sections, we compare the MLIPs in several simulation scenarios.For these tests, we chose specific models from Figure 2, which are marked by a black cross.In case of the Si-O models, we fitted further potentials, which are far from the Pareto front and only shown in Supplementary Fig. 3.
Smoothness of the PES
10In order to test whether the PESs predicted by MLIPs are reasonably smooth for molecular dynamics (MD), we performed NVE simulations and monitored energy conservation.We used different initial temperatures and ran the simulations for 100 ps with a timestep of 1 fs.For Al-Cu-Zr, a glassy structure with 1372 atoms was used; in the case of Si-O, we studied an amorphous silica structure with 768 atoms.We initialized the MD with 10 ps of NVT simulation to start with an equilibrated system at the desired temperature.The maximum deviation of total energy to the initial value is shown in Fig. 4. For Al-Cu-Zr all MLIPs but the HDNNP only show a small drift.In the HDNNP simulations a sudden massive increase of temperature can be observed, indicating the occurrence of extremely high forces on some atoms during the simulation, i.e. very steep gradients in the PES, which is clearly an artifact of the MLIP.With higher temperatures, the shift becomes larger because of the higher velocities within the MD simulation.In the case of the Si-O system, the HDNNP shows significantly lower losses.While we could not identify a clear reason for the differences in performance compared to the Al-Cu-Zr fits, we want to note that more parameter sets were tested in the case of Si-O.Tests to the same extent were not feasible for Al-Cu-Zr due to the larger amount of structures.In contrast, Allegro and NequIP exhibit We used a time step of 1 fs for all simulations.Indeed, for simulations at higher temperatures a lower time step might be necessary to still conserve the energy.In case of silica, three MLIPs failed at certain temperatures (MACE, linear ACE, HDNNP), which indicates a noisy PES at higher energy levels.The highest working temperatures for these potentials are indicated by a cross.
11higher losses already at low temperatures.The reason for this is the noisy PES observed for the stress-enabled versions of the potentials, which also causes problems for the energy volume curves, see the discussion about the energy-volume curves below and an example for the noisy potential energy surface in Supplementary Figure 2. We only used stress-enabled versions of NequIP and Allegro in case of the Si-O system, so this problem is not observed for Al-Cu-Zr.At higher temperatures MACE, the HDNNP and linear ACE fail, indicating that the PES is becoming rough at higher potential energies.Moreover, the energy losses of the other models become higher due to the faster motion of the atoms.In particular, the nonlinear ACE shows strong energy deviations also indicating a slightly rougher PES.Of course, this energy loss at high temperatures could be partially overcome by using a smaller time step at higher temperatures, especially in the case of the well behaving potentials.
Learning curves
12In a next step, we tested how efficiently MLIPs use training data.For this, we divided our database into ten subsets with increasing amounts of structures and each subset containing all structures from the previous set plus another 10 % from the complete data.Fig. 5 shows the testing errors for MLIPs fitted to the subsets.In the case of Al-Cu-Zr, the error decreases slightly with increasing amounts of training data for Allegro and MACE, while it remains nearly constant for NEQUIP.For the other MLIPs statistical noise appears to be more impactful than the amount of data itself.While a slight decrease in error can be seen for HDNNPs, a small increase is observed for MTPs.The Si-O data show similar trends.Allegro, MACE, and NequIP can benefit from an increasing amount of training data.MTPs are converging towards their maximum accuracy at around 30 % of the size of the training set, while the accuracy of linear ACE is barely improving with additional data.Non-linear ACE and GAP seem to benefit slightly from more data, though not as strongly as the MTPs.Finally, the HDNNPs improve with more data, although the results are noisy, indicating the existence of many different local minima during the fitting process.An interesting aspect here are the high accuracy of most MLIPs, even for small subsets of the data.We assume that this is related to the large configurational space covered by the complete datasets, as this leads to a reasonable coverage of pair distances, which are the largest contributors to atomic energies, even when just sampling 10 % of the data.This is shown in Supplemental Fig. 4.
Energy-volume curves
13Energy-volume curves are essential properties a MLIP needs to reproduce.They contain data on the energetic hierarchy and relative stability of competing phases, as well as elastic properties.Therefore, a precise description of these curves is essential for an accurate potential.To allow an unbiased comparison of the different MLIPs, we did not apply weights on specific structures during fitting of the potentials.Clearly, the quality of most of the MLIPs can be improved by increasing the weights on energy volume curves for structures of interest.This is, however, not possible for all codes (see also Discussion later).Figure 6 shows the energy-volume curves of six silica polymorphs: coesite, moganite, stishovite, α-cristobalite, α-quartz and monoclinic tridymite.We show the results for all MLIPs for the Si-O system despite for NequIP and Allegro.Minimization of the structures with these potentials was not successful.We assume the noisy PES (See Supplementary Fig. 2), which only appears in the stress enabled version of these potentials, causes this problem.Since the version without stresses fitted with the same settings, do not show this problem, we assume that it can be fixed in future.The GAP, linear ACE and HDNNP do not predict αquartz to be the most stable structure, but instead predict moganite to be lower in energy.Due to the small energy differences between both structures this is indeed a challenging task.Additionally, we see in case of the GAP and the HDNNP that the energy-volume curves are not smooth, but instead have rapidly changing slopes or several minima.This is also the case for monoclinic tridymite and the nonlinear ACE at large volumes.Otherwise, nonlinear ACE, but also linear ACE, MTP and MACE give smooth energy-volume curves.MACE matches the DFT curves best, which is related to its general high accuracy.MTP and nonlinear ACE are both reproducing the minimum energy volumes very well, however, have some issues in the energetics of the tridymite and cristobalite phases.Linear ACE additionally has problems in an accurate reproduction of the minimum energy volumes and the energetics of the high-pressure phases.Although this test may seem trivial, as many of the problems here could be fixed by appropriate weighting of the crystalline structures, this would likely lead to a worse reproduction of other parts of configurational space.In this sense especially, the strong changes in slope are important to consider, since their appearance in well covered areas of configurational space may hint toward even worse behavior in less covered areas of configurational space.
Transferability
14In a last step, we tested the transferability (extrapolation behavior) of the MLIPs to regions of configurational space not explicitly covered by the training data and conducted different tests for the material systems.In the case of Al-Cu-Zr the ability to predict formation energies of unknown intermetallic phases was assessed.For this purpose the energy compared to DFT of a set of Laves phases not part of the training data was calculated.The results are shown in Fig. 7, together with the error of a reference fit including the Laves phases.All MLIPs except for HDNPP show good extrapolation behavior for the given scenario of an unknown phase.
15In a second test we performed compression simulations of amorphous silica up to a pressure of 200 GPa at a temperature of 1000 K.These simulations we performed with two different sets of potentials, one for each type: Potentials trained to high-pressure data from Fig. 2 and potentials trained with the same settings, however, to a database, which did not include high-pressure data.By averaging the results of the different potentials trained to high-pressure data, we received a reference (see details in Supplementary Fig. 5), which is shown in Fig. 8 with the deviations of the potentials trained without high-pressure data.When just looking at the density the results agree very well with the reference simulation and most deviations are minor.In case of nonlinear ACE, linear ACE, MTP, MACE and NequIP the potential fails at a certain point indicated in LAMMPS by lost atoms or memory issues.Only the HDNNP, Allegro and GAP stay stable over the whole simulation time.We note that such a failure does not need to be a bad thing since it clearly indicates that there is insufficient information for the potential and therefore is not working reliably anymore.For the user this might be more helpful than an apparently stable simulation providing erroneous results.When we have a deeper look at structural changes in the simulation, specifically the coordination number of sil-icon shown in Fig. 8, we see differences in the results.First, we note that GAP transforms faster than the reference to higher coordination numbers.In contrast, MTP underestimates the number of 5-fold coordinated silicon atoms, however, overestimates the number of 6-fold and 7-fold coordinated silicon atoms.Linear ACE, nonlinear ACE, MACE and NequIP are closely following the reference until they fail.Finally, Allegro and the HDNNP seem to extrapolate extremely well up to a pressure of 200 GPa.This is surprising since both methods use a large number of parameters compared to the other approaches.
Discussion
16In this work, we evaluated different types of machinelearning interatomic potentials with respect to computational speed, memory usage, accuracy, transferability and user friendliness.An overview of the results is shown in Figure 9.We found that NequIP, Allegro and MACE showed the highest accuracies on the given test set, closely followed by the nonlinear ACE.Other approaches like MTP, linear ACE, HDNNP and GAP show slightly lower accuracies.We see that in terms of speed, nonlinear ACE, linear ACE, MTPs and HDNNPs are much faster than the other approaches like GAP, Allegro, MACE and NequIP.Regarding the memory requirements during MD simulation (on CPU only), we tested different system sizes and found that Allegro, NequIP and MACE have very high memory requirements, while the other approaches need much less main memory.This limits them to comparatively small-scale simulations or alternatively requires massive resources.Besides these hard factors, there are also a range of soft factors, which are essential for a user of these codes: The user friendliness for fitting a potential and later on using it in a MD code.This starts with how easy the code is to install, e.g. is there something like a PyPI package available or do I need to compile the code by myself?Additionally, in the case of fitting the potential the number of parameters, which need to be tuned to get some first reliable potential is essential to make the code easily accessible for the user.According to these soft criteria, we created our grading, the details are available in Supplementary Table 2.Moreover, we provide detailed reasoning for each of the points in Supplementary Table 3-9.We found that especially the pacemaker code [44,45] has a lot of useful features for a user, while still making it easy to fit a potential.In contrast, for example the MLIP code for MTPs allows one to fit reliable potentials without much effort, however, later on fine-tuning options are limited and also the LAMMPS implementation is more difficult to obtain compared to ACE, HDNNPs and GAPs.
Training data
17The generation of employed DFT training was described in detail in previous publications.Si-O training data is the same as in Ref. [46], which is partially based on two earlier databases [42,47].In the case of Al-Cu-Zr the Cu-Zr training data from Ref. [48] has been extended with Al in the same fashion described there.Both datasets are available on zenodo [49].
Testing data
18The testing data for Si-O test has been created based on the initial database from the original study [46].For getting the test set, we picked randomly 10 % of the structures from the database and performed MD simulations on these structures.The final snapshot of the MD simulation was then used as test set with DFT computed forces and energies.Using this approach, we have been able to generate a test set, which is sufficiently close to the already existing one while still getting reasonably different structures.We only used structures with less then 250 atoms to reduce the computational costs and picked them equally distributed over the whole database by picking specifically 10 % of the structures from each subpart of the database.We performed NVT simulations of the structures and adjusted the temperatures according to the type of structure, e.g.high temperatures for liquid structure models and lower temperatures for crystalline structures.In the case of Al-Cu-Zr the testing data has been generated as described previously [48], similar to the training data.The newly generated test datasets are provided in the zenodo repository [49].
Fitting
19Each type of MLIP requires a specialized code for the fitting process.Furthermore different parameters were tested to find suitable ones offering a combination of high accuracy and speed.To simplify parameter testing we set the same cutoff radius of 5 Å for all short-range potentials for Si-O and of 7.6 Å for all short-range potentials for the Al-Cu-Zr system.In case of the message passing networks, we used the same cutoff for single shell.Especially further optimization of the cutoff in message passing networks might give additional speed benefits, however, we decided to keep this value fixed due to limited resources.For all potentials we will supply the fitting files and the corresponding potential files in the zenodo repository.The codes and varied parameters are the following:
20• HDNNPs were fitted using n2p2 [50,51].Different neural network architectures, i.e. number of layers and nodes per layer and descriptor functions as recommended in [52,53] were tested.
21• The QUIP [11,54] code was employed to train GAPs.We used a combination of a two-body descriptor with the smooth overlap of atomic positions (SOAP) descriptor [12].For the two-body descriptors we optimized the Θ values, which give the widths of the corresponding Gaussian's for each element combination.We used the following values: Al-Al: 1.0, Cu- K. On the left we show the average results of the reference simulations with a 2σ interval (gray).On the right we show the differences between these references results and the extrapolating machine-learning potentials.Several of the extrapolating potentials break at a certain point, which is indicated by a symbol at the end of the trajectory.This is often caused by "lost atoms" within the MD simulation or due to memory issues, which are both indicating the occurrence of unphysically large forces.Only Gaussian approximation potential (GAP), high-dimensional neural network potential (HDNNP) and Allegro run stable up to a pressure of 200 GPa.However, thereby deviations from the reference simulations increase with increasing pressure.The coordination numbers have been determined using a cutoff of 2 Å using OVITO [43].we included the subjective criterion of user-friendliness with regards to the fitting procedure and the usage of the MLIPs in MD simulations.For the determination of the corresponding grades we picked the models we also used for our MD simulations.The corresponding grading schemes can be found in the Supplementary Tables 1 and 2. We also clearly show up several points, which have been important for us and which make up the category of user-friendliness.
GAP
22Al: 1.3, Cu-Cu: 2.5, Cu-Zr: 1.3, Zr-Al: 1.5, Zr-Zr: 1.6, O-O: 1.6, Si-O: 2.5, Si-Si: 1.0.Optimal values have been found by two-body fits only to reduce computational requirements.Moreover, we tested various l max and n max values for the SOAP descriptor.Here, we found l max =2 (Si-O) and 4 (Al-Cu-Zr) and n max =8 (Si-O) and 6 (Al-Cu-Zr) to be suitable.Finally, we varied the width of the smooth atomic positions represented by Gaussian's and set the corresponding σ value to 0.7 (Si-O) and 0.6 (Al-Cu-Zr).Finally, we checked systematically the values for the energy σ (Si-O: 0.01, Al-Cu-Zr 0.01) and force σ (Si-O: 0.1, Al-Cu-Zr: 0.01), which can be also interpreted as a weight factor for energies and forces.The models shown in Figure 2 are only deviating by the number of sparse points used for the fit.We used between 50 and 14,000 sparse points for Si-O and only 50 to 2,000 sparse points for Al-Cu-Zr.Moreover, for fitting the GAPs for Al-Cu-Zr we used a significantly reduced database containing only 10% of the total structures.The reason for this are on the one hand memory issues we faced although we used a node with 4 TB main memory, and on the other hand also runtime limitations.
23• MTPs were fitted with the MLIP program [55,56] (version 2 and 3).Levels 14, 18 and 22, were used for Al-Cu-Zr, while levels of 6, 8,
24, 24 and 26 have been used for the Si-O system.
25• PACEMAKER [44,45] was used to fit ACE potentials with different amounts of basis functions and embeddings.For Al-Cu-Zr 200, 400, 600 and 800 basis functions per species were combined with a χ + √ χ embedding.In the case of Si-O the linear ACE potentials have been fitted using 50, 100, 200, 250, 300, 400, 500, 600, 700, 800, 900, 1100, 1300 and 1500 basis functions per species.Additionally, we fitted a number on nonlinear ACE potentials with 200, 400, 800, 1100 basis functions per species and 2 to 9 embeddings.We used in maximum the embeddings of the following functional form:
26(1)
27+ χ 0.875 + χ 0.625 + χ 0.375 + χ 0.125 .
28In cases with less embedding, we removed embeddings from this line from right to left.
29• NequIP [16], Allegro [17] and MACE [18] were fitted with the same name codes.
30• For Allegro we tested various settings for the learning rate (Si-O: 0.0001, Al-Cu-Zr: 0.001), the polynomial cutoff ( 6) and the parity (o3_full), which we kept fixed in the following.
31Afterwards we systematically varied the parameters env_embed_multiplicity (1,4,8,16,32,64), num_layers (1,2) and l_max (1,2) interdependently of each other.Since we used initially a version of the code, which did not support stresses, we refitted later on only the best performing potential, to obtain a potential that can be reliably used to calculate stresses.Not all fits finished due to GPU memory issues.
32• For NequIPs we first determined appropriated numbers for the learning rate (0.001), the number of invariant layers (Si-O: 3, Al-Cu-Zr: 2) the polynomial cutoff (Si-O: 8, Al-Cu-Zr: 6).We then varied the parameters num_layers (2,3,4,5), l_max (1,2) and num_features (8,16,32,64,128) to receive the fits shown in Figure 2. As for Allegro we needed to refit the final potential with a stress enabled version, which was also later used for the MD simulations.Not all fits finished due to GPU memory issues.
33• The MACE model size was varied between 0 (i.e.no messages) and 256 message channels.The number of message passing layers was kept at 1, as more quickly resulted in memory problems during fitting and obtained potentials were already very accurate.Furthermore, keeping the amount of message passing layers small, and instead relying on higher order features to increase accuracy, prevents scaling and parallelization issues encountered in NequIP, as stated by the MACE developers [18].
34Supplemental material for 'Machine-learning interatomic potentials from a users perspective: A comparison of accuracy, speed and data efficiency.'
35Niklas Leimeroth Here the potential with more basis functions has an advantage.The testing errors tend to decrease with more training data and here the MLIP with more basis function actually shows a higher RMSE, but mostly a lower MAE.These differences occur, because singular structures with very large errors have a higher impact on the RMSE than the MAE.Such structures with a high error are normally due to a high degree of extrapolation within the range of a basis function, which becomes more likely with more basis functions.Furthermore, the RMSE shows much stronger deviation in the testing errors for different amounts of training data, especially for the MLIPs with many basis functions.This originates in the minimization problem that is fitting an MLIP.The system of equations solved in the process is massively overdetermined, so multiple local minima exist.In each minimum different structures are described accurately and which of them is found depends on the random seed employed to initialize coefficients.Consequently, which error measure and MLIP seems more suitable depends on the problem to be solved.A MLIP with less coefficients may Especially in the lower plots GAP is significantly deviating from the other approaches although all are fitted to the same data.Therefore, we decided to exclude GAP from the reference calculation, as it also has the lowest accuracy.Table 2: Grading on the user friendliness for fitting a potential and running the for production divided in different subcategories.For fitting it is essential to have an easy installation of the fitting code and a good documentation.
36Moreover, it should be easy to fit a first reliable potential, e.g.so few options as necessary need to be set.Additionally, for later fine tuning and improving of the potential additional options should be given.There is a documentation covering some parts of the fitting procedure.However, we think it could be indeed a bit more extensive since many features are only roughly mentioned or not mentioned at all.For example, it is not mentioned that different descriptors can be defined for different elemental interactions.
Number of required options to fit a reliable potential
37To get an initial potential there are some settings in the documentation, which can be used for a first estimate.However, for a good potential hyperparameters like the delta values, the theta uniform, and the atom sigma should be adjusted to the system.
Number of options for fine-tuning of the potential
38There is a large number of parameters which can be adjusted in the code.Different parts of the database can be weighted differently.Additionally, the number of sparse points can be modified and several SOAP descriptors can be combined.
Interfaces to codes
39There is an ASE calculator as part of the quippy package.However, installation was not always easy.Moreover, there is a native LAMMPS interface.
Installation
40There is a native implementation of the QUIP code in LAMMPS, which is automatically downloaded and installed if LAMMPS is compiled with the corresponding settings.
Native active learning
41There is an option to get the uncertainty from the ASE calculator, however, up to now this is not implemented in LAMMPS.Moreover, CASTEP allows to perform on the fly active learning with GAP.
GPU implementation
42No MPI implementation Yes Table 3: Comments about user-friendliness of GAP.
Installation
43The code can be downloaded from the corresponding repository and installed via pip.Additionally, tensorflow needs to be installed.Sometimes the GPU is not directly recognized due to an error in the tensorflow installation or an error due to the protobuf packages appears.In the later case, there are instruction on the webpage to solve this problem.In general we had only minor problems with the installation.
Documentation
44The documentation is, in comparison to other codes, quite extensive.Moreover, it is regularly extended making it easy to use the code.
Number of required options to fit a reliable potential
45There is an example input file generator which can be used for a specific database and which limits the number of required options to a very low number.
Number of options for finetuning of the potential
46Fine tuning is possible by a variety of options, e.g.custom weights and additional embeddings to increase the accuracy.These options are very effective in further fine tuning of the potential.
Interfaces to codes
47There is an ASE calculator within the pacemaker code and additionally a LAMMPS interface.
Installation
48There is a native implementation within LAMMPS, which enables using ACE potentials by setting an additional tag during compilation.For GPU support it can be more challenging since compatible combinations of mpi, cuda and gcc are required.Native active learning Yes, using the maxvol algorithm and the D-optimality criterion.This is possible in the ASE and LAMMPS.
GPU implementation
49Yes (with KOKKOS) MPI implementation Yes For the tested material systems it was very simple to achieve highly accurate potentials without setting many parameters.
Number of options for finetuning of the potential
50There are some options to fine tune the potential, but no way to set individual weights for structures.
Interfaces to codes
51An interface to LAMMPS is available, but it is not included in the official code.An interface to ASE is provided when installing the MACE (MACE) package.Installation Some instructions how to install the LAMMPS interface are available in the documentation, however they are very specific to a single cluster.Native active learning Not available.
GPU implementation
52Via KOKKOS and PyTorch MPI implementation Yes.At the time of writing, the documentation recommends to only use a single GPU.
1Figure 1 :
53Figure 1:The main ingredients of a MLIP.(1) A database is needed connecting the point cloud of atomic configurations and learnable properties of interest (i.e.energies and forces).(2) A representation of these atomic configurations is needed, which is translationally and rotationally invariant or equivariant.Here, two different types are established.The descriptor based approach takes a descriptor vector as fingerprint of each local environment in a given cutoff radius.Graph networks messages, in contrast, are transmitted between neighboring atoms, providing information about their environment to those neighbors.Using multiple message passing iterations allows these approaches to have a higher effective cutoff and therefore, to include additional semi-local information.This is depicted by the graph network on the right in(2), where the blue atom can receive information about atoms that would otherwise only be seen by the green atom.(3) The corresponding representation techniques are combined with a variation of different machine-learning techniques to relate these representations with local and global properties of the given point cloud.As a feature, various machine-learning techniques allow to assess a uncertainty for estimating the reliability of a potential in certain parts of configurational space.Figure inspired by Ref. 5 and adapted to show graph neural networks.
54Figure inspired by Ref. 5 and adapted to show graph neural networks.
Figure 2 :
55Figure 2: Accuracy vs. computational cost of the assessed MLIPs: Shown are the mean absolute error (MAE) of energy and forces vs. runtime per atom and time step.The top row shows the Al-Cu-Zr system, the lower row the Si-O system.In the case of Al-Cu-Zr the GAPs are trained with only 10 % of the training data, because of their large RAM requirement during the process, indicated by the white pattern in plot marks.For the Al-Cu-Zr system the speed of the widely used Cu-Zr embedded atom method (EAM) potential by Mendelev is additionally indicated by the gray line[21].Speed measurements have been performed on the Horeka supercomputer on a single core of a Intel Xeon Platinum 8368 processor.Amorphous systems with sizes of 1372 and 768 atoms were used for Al-Cu-Zr and Si-O, respectively.Due to the larger size of the Al-Cu-Zr training dataset and the higher chemical complexity and therefore higher computational costs of fitting less fits are available.The potentials we used in our later tests are marked by a cross.
Figure 3 :
56Figure 3: GPU performance for the assessed MLIPs for sil-
Figure 4 :
57Figure4: Energy deviation as function of system temperature calculated for various MLIPs in NVE simulations over 100 ps.A low energy loss is indicating a smooth PES.Note the different y-scales in both graphs.We used a time step of 1 fs for all simulations.Indeed, for simulations at higher temperatures a lower time step might be necessary to still conserve the energy.In case of silica, three MLIPs failed at certain temperatures (MACE, linear ACE, HDNNP), which indicates a noisy PES at higher energy levels.The highest working temperatures for these potentials are indicated by a cross.
Figure 5 :
58Figure 5: Learning curve of tested MLIPs.For Al-Cu-Zr no GAP is shown, as fitting was possible only with 10 % of the training data due to memory issues, as described previously.The errors shown are referring to the test set.
Figure 6 :
59Figure 6: Energy-volume curves of several silica polymorphs.The open circles indicate the corresponding DFT values, while the lines give the results by the MLIPs.We do not show data for NequIPs and Allegro since the stress-enabled version had a very noisy potential-energy surface leading to difficulties in the optimization of the cell parameters.The reference DFT data is taken from Ref. [42].Energy-volume curves of Al-Cu-Zr can be found in the supplemental Fig. 6.
Figure 7 :
60Figure 7: Test of extrapolation capabilities of the MLIPs.For Al-Cu-Zr the energy MAE of Laves phases not included in the training data is calculated.The dashed bars shows the error for a potential including the Laves phases in the training data to establish a baseline of achievable accuracy.Allegro shows the lowest error during extrapolation, closely followed by MACE, ACE and NequIP.The HDNNP has a very large error when extrapolating, demonstrating its need for large amounts of data again.
Figure 8 :
61Figure 8: Test of extrapolation capabilities within compression simulations of silica up to a pressure of 200 GPa at 1000
Figure 9 :
62Figure 9: Graphical comparison of the MLIPs.In addition to the hard factors accuracy, speed and memory requirements
1 arXiv: 2505 Figure 1 :
63Figure 1: Learning curves for ACE machine learning interatomic potentials (MLIPs) with 200 and 800 basis functions per element.In (a) the root mean square error (RMSE) and in (b) the mean absolute error (MAE) are shown.The RMSE shows much stronger deviations between different data fractions.
Figure 2 :
64Figure 2: Smoothness of the potential energy surface in the case of volume scaling of the cell without relaxation (upper panel) and shifting of an atom without changing anything else (lower panel).There are significant differences in the stress-enabled Neural Equivariant interatomic potentials (NEQUIP) and ALLEGRO versions compared to the standard versions.
Figure 3 :
65Figure 3: Errors of all MLIPs generated for Si-O by varying the parameters mentioned in the methods section.
Figure 4 :
66Figure 4: The random selection of 10 % of all Al-Cu-Zr training data used to train potentials is covering a large area in the important energy-volume space as shown on the left.The figure on the right shows the 0.1 quantile of structures whose formation energies are closest to the convex hull for comparison.
Figure 5 :
67Figure 5: Si-O compression test results for the potentials trained to the full database.The black line corresponds to the average of all results while the gray indicates two standard deviations.Especially in the lower plots GAP is significantly deviating from the other approaches although all are fitted to the same data.Therefore, we decided to exclude GAP from the reference calculation, as it also has the lowest accuracy.
Figure 6 :
68Figure 6: Energy-volume curves of Al-Cu-Zr structures in the training set, which have a maximum formation energy distance to the convex hull of 30 meV/atom according to the DFT calculations.Structure are identified by conventional names or materials project ids.
Impact of different error mea- sures
691, † , Linus C. Erhard 1, †,* , Karsten Albe 1 , and Jochen Rohrer 1,**
Table 1 :
70Speed, Accuracy and Memory requirement grading schemes.The energy and force errors as well as the runtime have each been taken from the selected model, which was also used for the MD simulations.Memory requirements have been determined by starting a MD simulation on a single CPU with 3.2 GB main memory with increasing cell sizes (1372, 10976, 16464, 24696, 37044, 87808, 109760, 137200, 171500 atoms).The largest working cell size was picked to determine this value.
71In the case of production runs it is essential to have available interfaces to codes as ASE
Table 4 :
72Comments about user-friendliness of linear and nonlinear ACE.via pip.It can be tricky if the required PyTorch is not installed on the system or if version compatibility issues between CUDA and PyTorch occur.Documentation There is a documentation explaining important keywords and including some examples.It is also continuously worked on, however it could be a little more extensive.Number of required options to fit a reliable potential
Table 7 :
73Comments about user-friendliness of MACE.
참고문헌
참고문헌 정보가 없습니다.