On Transferability of Machine Learning Force Fields: A Case Study on Silicon

Howard Yanxon, David Zagaceta, Brandon C. Wood, Qiang ZhuarXiv 2020

Abstract

In this article, we present a systematic study in developing machine learning interatomic potential (MLIAP) for elemental silicon. Previously, many of MLIAP applications involve fitting models to small or localized training sets, which do not allow for transferability. The need for transferability of MLIAP is crucial in sampling the vast phase space in the application of crystal structure prediction. To address for this need, we indicate that two primary factors can have major influences on the transferability of the MLIAP. First, transferability depends strongly on the diversity of the training data set. In particular, the use of a random structures generating algorithm based on crystal symmetry is a suitable methodology for generating a training data set with sufficient diversity. Second, we introduce a framework that allows Gaussian symmetry functions and bispectrum coefficients descriptors to be fitted with generalized linear regression or neural network. According to our substantial benchmark, the best accuracy trained on the diverse data set can be achieved by using a flexible machine learning method coupled with highly orthogonal descriptors. Therefore, we will show that neural network potential fitting with bispectrum coefficients as the descriptor is a feasible method for obtaining high-quality and transferable MLIAP.

Introduction

In computational materials science, researchers often face a trade-off between accuracy and efficiency. Density Functional Theory (DFT) provides high accuracy but is computationally prohibitive for large-scale simulations. Conversely, classical force fields are fast but often fail to capture complex chemical behaviors. Machine Learning Force Fields (MLFFs) aim to bridge this gap by offering DFT-level accuracy at a fraction of the cost. However, the "transferability" of these models—their ability to perform accurately on atomic configurations outside their training set—remains a significant challenge. This study uses silicon as a benchmark to identify the key requirements for building transferable MLFFs.

The Challenge of Transferability

The primary obstacle to transferability is the "extrapolation problem." Many MLFFs are trained on localized datasets, such as snapshots from Molecular Dynamics (MD) simulations of a specific phase. While highly accurate for that phase, these models often fail when applied to new environments, such as high-pressure phases or strained configurations. For applications like Crystal Structure Prediction (CSP), where the goal is to explore unknown regions of the potential energy surface, a model must be inherently transferable.

Methodology: Diverse Data and Flexible Models

The researchers investigated two main factors affecting transferability: training data diversity and model flexibility.

Data Generation and Diversity

Two datasets were compared:

  1. Set #1 (Localized): 244 structures (~15,000 atoms) including ground states, strained crystals, and MD snapshots.
  2. Set #2 (Diverse): 5,352 structures (~31,000 atoms) generated using PyXtal, a tool that utilizes crystal symmetry to sample all 230 space groups.

Principal Component Analysis (PCA) was employed to visualize the structural space covered by each set. As shown in Figure 2, Set #2 covers a significantly larger region of the configuration space compared to the localized Set #1.

Comparison of localized (Set #1) and diverse (Set #2) datasets via energy-volume distributions and PCA analysis.

Descriptors and Regression Engines

The study compared Gaussian Symmetry Functions (GSF) and Bispectrum Coefficients as descriptors. For regression, they evaluated Generalized Linear Regression (LR) and High-Dimensional Neural Networks (NNP). Bispectrum coefficients were found to be superior due to their high orthogonality, which reduces redundancy in the input features.

Results: Bridging the Transferability Gap

The benchmarks revealed that model flexibility is crucial when training on diverse datasets. While linear models (LR) are efficient, they lack the capacity to absorb the complexity of the diverse PyXtal dataset. In contrast, Neural Networks (NNP) paired with bispectrum descriptors achieved high accuracy across both training and test sets.

Energy and Force MAE for different models trained on Set #2 and tested on Set #1, highlighting the performance of the NNP (B91-34-34).

Key findings include:

  • The Transferability Gap: Models trained only on localized data exhibited massive errors (up to 265 meV/atom) when tested on diverse configurations.
  • Optimal Performance: The NNP trained on the diverse dataset (Set #2) achieved an energy MAE of 9.8 meV/atom and a force MAE of 0.08 eV/Å.
  • Physical Accuracy: The best model accurately predicted silicon's lattice constant (5.467 Å vs. DFT's 5.469 Å) and captured elastic constants with high precision.

Conclusion and Future Directions

This study demonstrates that the combination of symmetry-based random structure generation and flexible neural network models is essential for creating transferable MLFFs. Future work will explore the inclusion of long-range interactions and compare bispectrum descriptors against other emerging methods like SOAP and MTP. The framework is publicly available via the PyXtal_FF project on GitHub.

Summary updated

BibTeX
@misc{yanxon2020transferability,
  author = {Howard Yanxon and David Zagaceta and Brandon C. Wood and Qiang Zhu},
  title = {{On Transferability of Machine Learning Force Fields: A Case Study on Silicon}},
  year = {2020},
  eprint = {2001.00972},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.00972},
}
Figure