An entropy-maximization approach to automated training set generation for interatomic potentials
간접 관련 화학·수지 · (21) 에폭시수지 (6) PEM(고분자전해질막)(7) MEA(막전극접합체)(16) CPI(투명 폴리이미드)
기본 정보
- 저자
- DOI
- 10.1063/5.0013059
- 저널
- The Journal of Chemical Physics
- 발행년도
- 2020
- 발행기관
- American Institute of Physics
- 피인용수
- 33
- 라이선스
- publisher-specific-oa
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1063/5.0013059
- 토픽
- Fuel Cells and Related Materials
- OpenAlex ID
- W3083437157
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 화학·수지 · (21) 에폭시수지
- 부 분야
- (6) PEM(고분자전해질막), (7) MEA(막전극접합체), (16) CPI(투명 폴리이미드)
- R&D 측면
- 분석·모델링
- 확신도
- 0.70
- 근거 용어
- Machine learning-based interatomic potentials, training set generation, atomic descriptors, Gaussian process regression, transferability
- 판단 근거
- 이 논문은 머신러닝 기반의 원자 간 포텐셜(interatomic potentials)을 구축하기 위한 효율적인 학습 데이터셋 생성 방법론을 다룹니다. 이는 코오롱인더스트리의 고분자(에폭시, PEM, CPI 등) 및 신소재 설계 시 분자 수준의 시뮬레이션 정확도와 효율성을 높이는 데 활용될 수 있는 범용적인 계산 과학 방법론입니다.
- R&D 활용 포인트
- 고분자 전해질막(PEM), 투명 폴리이미드(CPI), 에폭시 수지 등 핵심 소재의 분자 구조 및 물성 예측을 위한 머신러닝 모델의 학습 데이터 최적화 및 시뮬레이션 정확도 향상에 활용 가능합니다.
- 평가 입력
- 본문 27,655자
초록
본문 27,655자
본문 펼치기
섹션 본문 28문단 · 20,861자
(제목 없음)
1Machine learning (ML)-based interatomic potentials are currently garnering a lot of attention as they strive to achieve the accuracy of electronic structure methods at the computational cost of empirical potentials. Given their generic functional forms, the transferability of these potentials is highly dependent on the quality of the training set, the generation of which is a highly labor-intensive activity. Good training sets should at once contain a very diverse set of configurations while avoiding redundancies that incur cost without providing benefits. We formalize these requirements in a local entropy maximization framework and propose an automated sampling scheme to sample from this objective function. We show that this approach generates much more diverse training sets than unbiased sampling and is competitive with hand-crafted training sets.
2Machine learning (ML)-based interatomic potentials are currently garnering a lot of attention as they strive to achieve the accuracy of electronic structure methods at the computational cost of empirical potentials. Given their generic functional forms, the transferability of these potentials is highly dependent on the quality of the training set, the generation of which is a highly labor-intensive activity. Good training sets should at once contain a very diverse set of configurations while avoiding redundancies that incur cost without providing benefits. We formalize these requirements in a local entropy maximization framework and propose an automated sampling scheme to sample from this objective function. We show that this approach generates much more diverse training sets than unbiased sampling and is competitive with hand-crafted training sets.
I. INTRODUCTION
3The practical usefulness of atomistic simulations ultimately relies on the availability of interatomic potentials that are able to provide reliable energies and forces at a sufficiently affordable computational cost. Since electronic structure calculations using techniques such as density functional theory (DFT) are often prohibitively expensive, simplified empirical forms have been the norm, especially for molecular dynamical applications. Early empirical potentials were traditionally highly computationally efficient but often lacked in accuracy and transferability.
4Over the last few years, the need to bridge the gap between empirical methods and direct electronic structure calculations has driven the explosive development of machine learning (ML) based approaches that aim to combine the accuracy of the electronic structure methods and the efficiency of the early simplified potentials. The two main components of the ML-based potentials are the representation of the atomic structures with a set of generic descriptors that characterize local atomic environments and the use of large amounts of data to train complex non-linear functions of the descriptors to reproduce reference electronic structure calculations (energies, forces, stresses, etc.).
5While ML-based potentials have proved able to capture subtle features of the training data, their ability to extrapolate to situations that markedly differ from those encountered during training remains limited 1 . Therefore, the accuracy of ML-based potentials is highly dependent on the choice of the training set, which should i) cover as much of the relevant configuration space as possible, and ii) remain sufficiently compact so that the cost of computing the reference values with quantum calculations and training the model remains affordable. Traditionally, training set generation has been a highly labor-intensive activity that relies on physical intuition in order to select the configurations that should be included.
6Different approaches have been proposed to address the a) danny_perez@lanl.gov first objective using sampling strategies 2-7 , including evolutionary structural searches 8 , normal mode sampling 9 , and exploration of the potential energy surface using on-the-fly approximations of the target potential 2 . Training set configurations are also selected from DFT-MD simulations 10 .
7The second objective is often achieved by sub-sampling larger data sets.
8Possible approaches include random selection 11 , binning-based sub-sampling to achieve uniform representation of relevant quantities like atomic forces 12 , clustering in descriptors space to identify distinct groups 12 . Finally, a number of recent approaches incrementally include data to the training set based on whether the prediction of the properties of new configurations require extrapolation 4,13-16 . These approaches differ by the algorithm type and query strategy 4,15 .
9In this manuscript, we unify the diversity and nonredundancy objectives in a simple local approach where the diversity of atomic environment within individual configurations (as measured by an entropy metric) is maximized subject to the constraint that the configurations do not contain unphysical configurations (i.e., overlapping atoms). This objective is embodied in a generic effective potential energy function whose low-lying local minima are good candidates for inclusion in a training set. Such minima are sampled using a simple annealing scheme that can be easily automated. Importantly, this effective energy is not meant as an approximation to the energy of the actual target system; instead it is an abstract construct that enables the creation of material-agnostic training sets. In this sense, our approach aims at creating a "universal" set of configurations that captures a very wide range of local environments and does not focus solely on low-lying energy structures. The large volume of configuration space covered entails a tradeoff between the size of the training set and the target accuracy, but the high transferability it affords is important to capture high-energy, far from equilibrium effects that can occur in extreme conditions, such as under irradiation or at high pressures. A global approach where diversity maximization is carried out globally over the whole training set is currently in development and will be reported in an upcoming manuscript.
Entropy maximization approach
10Implementing these ideas in practice requires first defining a set of atomic descriptors {q} that characterize the local environment of each atom, and then defining a measure of the diversity of the distribution of these descriptors within a configuration of atoms. A wide array of atomic descriptors have been proposed in the literature 17 , as these form the inputs of many machine learning approaches that learn atomic energies. The method we propose is agnostic to the specific choice of descriptors so as long as they are differentiable functions of atomic positions. In the following, the set of m descriptors q i,k of the local atomic environment of atom i is arranged into a vector q i of length m. As a measure of the diversity, we use the entropy of the m-dimensional distribution of atomic descriptors S({q}) contained in a given configuration of atoms, which is a natural choice in this case: it is maximized for a uniform distribution of descriptors and minimized for configurations where all environments are identical, i.e., it promotes diversity and penalizes redundancy. The effective energy we propose is therefore of the form:
11where E repulsive is a short range repulsive term that penalizes very short distances between atoms (so as to enforce an excluded volume around each atom) and K is a so-called entropy scaling coefficient that tunes the relative importance of the entropy and of the repulsive contribution. Local minima of this function can therefore be expected to contain a high diversity of different environments without any two atoms being unphysically close. We postulate that low-lying minima of this effective potentials are therefore good targets for inclusion in a training set.
12A number of approaches have been proposed to numerically estimate the entropy of a distribution of descriptors. In the following, we adopt a simple nonparametric form where the local density is approximated using the first neighbor distance (in descriptor space) 18 . In this case, the estimator is of the form:
13where ∆q min j is the nearest-neighbor distance in descriptor space, i.e., it is the minimal distance between the descriptor of atom j and those of any other atom in the configuration, i.e.,
14and n is the number of atoms in the cell. This specific choice is not expected to be critical and other estimators could be used instead.
15FIG. 1: Schematic representation of the cyclic annealing procedure. See text for details.
Computational details
16The training set is incrementally constructed by adding independent local minima of the effective energy Eq. 1. As the effective potential (much like actual potentials) is very rough, a simple annealing procedure was introduced, as illustrated in Fig.1. Note that the aim is not to locate the global minimum of the effective energy but simply to avoid trapping in low entropy configurations. Our annealing procedure proceeds through a simultaneous ramping down of the temperature and ramping up of K. The goal is to initially favor a thorough shuffling of the atomic positions and avoid correlations between successive configurations by using a high temperature (10, 000K) and no entropy bias. Entropy maximization is then gradually favored by linearly decreasing the temperature down to 0 and ramping up K to 1000 eV. The resulting configuration is then harvested and added to the training set. The cycle then simply repeats.
17The maximal value of entropy scaling factor K was tuned so as not to overwhelm E repulsive while still providing a strong driving force for the maximization of the entropy. As shown in Fig. 2, increasing too far K yields configurations where some pairs of atoms become separated by very short distances. Large values of K also yield stiff effective potentials that are prone to instabilities during the MD annealing. We therefore settled on a maximal value of K = 1000 eV. Note that this choice depends on the number of atoms in the simulation cell, as the entropy so-defined is intensive, but the repulsive contribution is extensive.
18The spatial scale of the problem was chosen to be representative of tungsten atoms, but the training set is fully generic, and can therefore be rescaled as needed to describe other elements. In the following, we used cells containing n = 39 atoms with a volume of 9.54x9.54x14.31 Å. This corresponds to a density of 0.03 atoms/Å 3 , as compared to a bulk BCC density of 0.062 atoms/Å 3 for tungsten. The number of atoms was chosen so that cubic-scaling DFT calculations would be affordable whereas the volume was chosen so that both high and low density regions could coexist within the same simulation cell, thereby creating configurations that contain to bulk, surfaces, and voids. While even larger volumes allowed for larger descriptor entropies because of additional opportunities to create complex atomic arrangements, local minima of the effective energy at low density tend to contain high proportion of 1D filament-like structures and of gas-like configurations. If such configurations are deemed relevant, a training set can constructed by combining a range of different cell sizes. This possibility will be explored a future study. In the following, atomic environments were described in terms of the so-called bispectrum components originally developed in the context of the Gaussian Approximation Potentials (GAP) potentials 19 , and then adopted by the SNAP approach 20 . These descriptors are invariants of an expansion of the the density of neighboring atoms around a central atom in terms of hyperspherical harmonics. They are attractive because they are rotationally and permutationally invariant, which facilitates the development of energy expressions that inherit from these same properties. Progressively higher-order components then capture increasingly fine details of the distributions of neighboring atoms. Details of the computation of the bispectrum components can be found in the original publications 19 . The results presented below used the first 6 bispectrum components to characterize each atomic environment.
19In the following, E repulsive follows the form proposed by Clarke and Smith 21 :
20with E 0 = 1 eV, n = 8, r 0 = 2.7 Å, and m = 4. The potential was truncated at r = 2.71Å, and shifted to zero at the cutoff so as to capture only the repulsive part of the potential. The results are not expected to be sensitive to the specific form of the repulsive potential, as its only purpose is to enforce excluded volumes around each atom.
21III. RESULTS
Characterization of the descriptor diversity
2210,000 configurations of n = 39 atoms were generated using the procedure described above. A few representative configurations are shown in Fig. 3. The ensemble of these configurations is referred to as the "biased" dataset. As a point of comparison, we compare the results with a so-called "unbiased" reference dataset, where configurations were sampled from an MD simulation at a temperature of T = 10, 000K with K = 0, i.e., without attempting to maximize the entropy but while enforcing excluded volume constraints. As expected, the average descriptor entropy of configurations in the biased set (S ∼ 4.4) is larger than that of the unbiased set (S ∼ 3.2).
23The consequences of this increase in entropy can be appreciated by contrasting the distribution of individual descriptors over the biased and unbiased sets, as shown in Fig. 4 for the first bispectrum component. The distribution over the biased set is clearly much broader than its unbiased counterpart, which was the intended behavior. This shows that, even if the entropy maximization was applied locally to each configuration, the procedure yields broad distributions over the whole training set. Perhaps surprisingly, computing high (> 6th) order descriptors shows that their distribution is also broadened in the biased set. A multiple correlation analysis demonstrates that this results from the fact that the descriptors are not mutually linearly independent; on average, we observe a correlation coefficient of about 0.7 for high-order descriptors against the first 6.
Error estimations on trained potentials: biased vs unbiased datasets
24In order to quantify the quality of the generated training set, we consider an ML scenario where energies and forces are computed through a gaussian process regression (GPR) parameterized on a given training set 22,23 GAP approach 1,24 . We consider the GPR to act as an interpolator that exactly reproduces reference data at training points. In this setting, the distance to the nearest training point (in descriptor space) is a simple surrogate for the error in predictions at test points. The shift and scale transformation that renders the distribution of each descriptors in the unbiased dataset mean free and unit variance was applied to both training and testing sets in order to uniformize the scales of each descriptors. In the following, the training sets contains 6000 randomly selected atomic environments, and testing sets 3000. Results were averaged over 1000 random decompositions between testing and training sets. Distances were measured in the 6-dimensional space spanned by the biased descriptors. This metric is used to first compare the quality of the unbiased and biased datasets. Table I shows the mean distances obtained using different combinations of training and testing sets. Training on the unbiased set performs well (i.e., the mean error is low) when testing points are also sampled from the unbiased set. The distances however become very large when testing points are sampled from the biased set. This is a reflection of the fact that the distribution of descriptors in the unbiased set has a relatively narrow support: the training dis-tribution is therefore dense over the support (yielding small distances when the test points fall within the support) but very large distances when the test points fall outside of the support (i.e., when test points are sampled from the biased distribution). In this latter case, the GPR is extrapolating, leading to large distances. This illustrates an important tradeoff: a potential trained on a narrow set of configurations can be expected to do well when used on configurations close to this narrow set; it will however do poorly when departing from it. In contrast, the distances obtained from training on the biased set show little dependence on the nature of the testing set, as the GPR is not forced to extrapolate outside of the support of the training set. Another tradeoff apparent here is that the mean distance when training on the biased set and testing on the unbiased set are higher than those observed when training and testing on the unbiased set. This follows from the inverse relationship between the size of the support and the density of points in descriptor space at fixed number of training points. If one is aiming at transferability, the biased training set is however clearly favorable to the unbiased one.
Error estimations on trained potentials: biased vs hand-crafted datasets
25A more stringent test of our approach is to compare the biased training set with an "hand-crafted" dataset that was used to train potentials reported in the literature. To this end, we select a well established training set that was used in the development of a number of recent potentials for tungsten 1 . Table I reports the results of the distances to the nearest training point for training and testing sets drawn from the hand-crafted and biased sets. The results are largely similar to that observed for the testing set. Training and testing from the hand-crafted set yields low errors as the support of both training and testing distributions is very narrow (c.f. purple histogram in Fig. 8), but these increase dramatically upon switching the test set to the unbiased set, again because extrapolation is then required (c.f. the very long tail in the green distribution in Fig. 8). In contrast, training from the biased set yields results that are similar for both testing sets (c.f. blue and red histograms in Fig. 8). These results suggest that the automated training set should be competitive with the handcrafted set as it contains a more diverse distribution of atomic environments.
26Close analysis reveals that this characterization comes with caveats. Indeed, as shown in Fig. 6, the distribution of descriptors is in general significantly wider in the biased set than in the hand-crafted set. However, the distribution of some descriptors in the hand-crafted set is strongly peaked, as it contains a high proportion of crystalline local environments. In some cases, the peak falls into a region where the density descriptors in the biased dataset is low, c.f. Fig. 7, which can limit the accuracy of predictions carried out using the biased set alone for training. This translates into an increasing errors when testing with the hand-crafted states as the space of descriptors in which the GPR interpolation is carried out increases to tens or hundreds of dimensions. Note however that even in this case, the errors remain below that of training with the hand-crafted set and testing with the biased set. This limitation could potentially be addressed by increasing the size of the biased space or by explicitly favoring high-symmetry local order. This observation illustrates the tradeoffs discussed above: if one seeks an highly accurate potentials that is valid in a small region of the possible configuration space of the problem (e.g. in BCC crystalline configurations), a narrow but tailored training set is likely to perform better; on the other hand, if transferability is paramount, an approach that explicitly favors diversity as the one proposed here is highly beneficial. In practice, these two extremes can be bridged to achieve both high accuracy in low-energy states and transferability to higher-energy configurations.
IV. CONCLUSIONS
27We introduced a sampling-based approach for the automated training set generation of interatomic potentials. Con- Training from the biased set and testing from the hand-crafted set (red); training and testing from the biased sets (blue); training and testing from the hand-crafted set (purple); training from the hand-crafted set and testing from the biased set (green). figurations are generated by sampling low-lying minima of an effective potential energy function that explicitly favors the diversity of the local atomic environment through an entropy maximization process. The generated training set is shown to be more diverse than that generated by a random sampling procedure and even compared to hand-crafted sets used in state-of-the-art machine-learned potentials, which promises improved transferability. Extensions to global entropy-maximization over the whole training set (in contrast to the local configuration-by-configuration optimization presented here) is in development and will be reported in an up- coming publication.
28V. ACKNOWLEDGEMENTS
참고문헌 33건
- Machine Learning for Quantum Mechanical Properties of Atoms in Molecules The Journal of Physical Chemistry Letters · American Chemical Society · 2015 10.1021/acs.jpclett.5b01456
- Accuracy and transferability of Gaussian approximation potential models for tungsten Physical Review B · American Physical Society · 2014 10.1103/physrevb.90.104108
- <scp>G</scp>aussian approximation potentials: A brief tutorial introduction International Journal of Quantum Chemistry · Wiley · 2015 10.1002/qua.24927
- “Learn on the Fly”: A Hybrid Classical and Quantum-Mechanical Molecular Dynamics Simulation Physical Review Letters · American Physical Society · 2004 10.1103/physrevlett.93.175503
- Representing potential energy surfaces by high-dimensional neural network potentials Journal of Physics Condensed Matter · IOP Publishing · 2014 10.1088/0953-8984/26/18/183001
- Bayesian Ensemble Approach to Error Estimation of Interatomic Potentials Physical Review Letters · American Physical Society · 2004 10.1103/physrevlett.93.165501
- Short range effective potentials for ionic fluids The Journal of Chemical Physics · American Institute of Physics · 1986 10.1063/1.450391
- Gaussian Approximation Potentials: The Accuracy of Quantum Mechanics, without the Electrons Physical Review Letters · American Physical Society · 2010 10.1103/physrevlett.104.136403
- Next generation interatomic potentials for condensed systems The European Physical Journal B · Springer Science+Business Media · 2014 10.1140/epjb/e2014-50070-0
- Computational aspects of many-body potentials MRS Bulletin · Springer Nature · 2012 10.1557/mrs.2012.96
- Machine learning scheme for fast extraction of chemically interpretable interatomic potentials AIP Advances · American Institute of Physics · 2016 10.1063/1.4961886
- Stratified construction of neural network based interatomic models for multicomponent materials Physical review. B./Physical review. B · American Physical Society · 2017 10.1103/physrevb.95.014114
- Machine Learning Force Fields: Construction, Validation, and Outlook The Journal of Physical Chemistry C · American Chemical Society · 2016 10.1021/acs.jpcc.6b10908
- ANI-1: an extensible neural network potential with DFT accuracy at force field computational cost Chemical Science · Royal Society of Chemistry · 2017 10.1039/c6sc05720a
- Spectral neighbor analysis method for automated generation of quantum-accurate interatomic potentials Journal of Computational Physics · Elsevier BV · 2014 10.1016/j.jcp.2014.12.018
- Achieving DFT accuracy with a machine-learning interatomic potential: Thermomechanics and defects in bcc ferromagnetic iron Physical Review Materials · American Physical Society · 2018 10.1103/physrevmaterials.2.013808
- Active learning of linearly parametrized interatomic potentials Computational Materials Science · Elsevier BV · 2017 10.1016/j.commatsci.2017.08.031
- A universal strategy for the creation of machine learning-based atomistic force fields npj Computational Materials · Nature Portfolio · 2017 10.1038/s41524-017-0042-y
- Data-Driven Learning of Total and Local Energies in Elemental Boron Physical Review Letters · American Physical Society · 2018 10.1103/physrevlett.120.156001
- Accelerating crystal structure prediction by machine-learning interatomic potentials with active learning Physical review. B./Physical review. B · American Physical Society · 2019 10.1103/physrevb.99.064114
- Data-driven learning and prediction of inorganic crystal structures Faraday Discussions · Royal Society of Chemistry · 2018 10.1039/c8fd00034d
- Many-Body Descriptors for Predicting Molecular Properties with Machine Learning: Analysis of Pairwise and Three-Body Interactions in Molecules Journal of Chemical Theory and Computation · American Chemical Society · 2018 10.1021/acs.jctc.8b00110
- Toward Reliable and Transferable Machine Learning Potentials: Uniform Training by Overcoming Sampling Bias The Journal of Physical Chemistry C · American Chemical Society · 2018 10.1021/acs.jpcc.8b08063
- Machine Learning Classical Interatomic Potentials for Molecular Dynamics from First-Principles Training Data The Journal of Physical Chemistry C · American Chemical Society · 2019 10.1021/acs.jpcc.8b09917
- Data-driven material models for atomistic simulation Physical review. B./Physical review. B · American Physical Society · 2019 10.1103/physrevb.99.184305
- On-the-fly machine learning force field generation: Application to melting points Physical review. B./Physical review. B · American Physical Society · 2019 10.1103/physrevb.100.014105
- SIMPLE-NN: An efficient package for training and executing neural-network interatomic potentials Computer Physics Communications · Elsevier BV · 2019 10.1016/j.cpc.2019.04.014
- Accelerating high-throughput searches for new alloys with active learning of interatomic potentials Computational Materials Science · Elsevier BV · 2018 10.1016/j.commatsci.2018.09.031
- Machine-learning interatomic potential for radiation damage and defects in tungsten Physical review. B./Physical review. B · American Physical Society · 2019 10.1103/physrevb.100.144105
- Performance and Cost Assessment of Machine Learning Interatomic Potentials The Journal of Physical Chemistry A · American Chemical Society · 2020 10.1021/acs.jpca.9b08723
- On-the-fly active learning of interpretable Bayesian force fields for atomistic rare events npj Computational Materials · Nature Portfolio · 2020 10.1038/s41524-020-0283-z
- Explicit Multielement Extension of the Spectral Neighbor Analysis Potential for Chemically Complex Systems The Journal of Physical Chemistry A · American Chemical Society · 2020 10.1021/acs.jpca.0c02450
- Towards exact molecular dynamics simulations with machine-learned force fields Nature Communications · Nature Portfolio · 2018 10.1038/s41467-018-06169-2