Source-linked AI summary

A Spectral Analysis Method for Automated Generation of Quantum-Accurate Interatomic Potentials

Aidan P. Thompson, Laura P. Swiler, Christian R. Trott, Stephen M. Foiles, Garritt J. Tucker

arXiv:1409.3880v1cond-mat.mtrl-sci

TL;DR

Classical molecular dynamics can reach large systems but often lacks quantum accuracy, while quantum molecular dynamics is too costly at those scales. The paper introduces SNAP, a linear bispectrum-based potential fitted to quantum calculations, and shows accurate tantalum predictions including screw-dislocation properties not used in training.

  • Problem

    Quantum molecular dynamics is intractable for large systems, while typical classical potentials can behave inconsistently with quantum simulations.

  • Method

    SNAP uses local bispectrum descriptors and a linear energy model fitted by weighted least-squares regression to quantum-calculated energies, forces, and stresses.

  • Results

    SNAP accurately reproduces a wide range of solid and liquid tantalum properties and matches quantum results for screw-dislocation structure and minimum energy pathways excluded from training.

  • Takeaways & Limitations

    SNAP provides a quantum-accurate interatomic potential for tantalum while retaining the short-range, O(N) scaling of molecular-dynamics models.

  • Takeaways & Limitations

    SNAP costs one to two orders of magnitude more than competing potentials in large-scale atomistic simulations.

Abstract

from arXiv · show

We present a new interatomic potential for solids and liquids called Spectral Neighbor Analysis Potential (SNAP). The SNAP potential has a very general form and uses machine-learning techniques to reproduce the energies, forces, and stress tensors of a large set of small configurations of atoms, which are obtained using high-accuracy quantum electronic structure (QM) calculations. The local environment of each atom is characterized by a set of bispectrum components of the local neighbor density projected on to a basis of hyperspherical harmonics in four dimensions. The bispectrum components are the same bond-orientational order parameters employed by the GAP potential [arXiv:0910.1019]. The SNAP potential, unlike GAP, assumes a linear relationship between atom energy and bispectrum components. The linear SNAP coefficients are determined using weighted least-squares linear regression against the full QM training set. This allows the SNAP potential to be fit in a robust, automated manner to large QM data sets using many bispectrum coefficients.

1. Introduction

SNAP addresses the gap between quantum accuracy and the scalability of classical molecular dynamics by fitting a quantum-accurate potential for large simulations. The paper applies it to tantalum, including screw-dislocation behavior under shear loading.

  • Motivation: Classical MD scales to systems with 10^5–10^6 atoms, whereas QMD remains intractable beyond N > 1000.MD uses an interatomic potential, while QMD obtains forces from explicit quantum calculations.
  • Motivation: Quantum-accurate potentials seek to reproduce QMD results for small systems while retaining MD scalability, with O(N) cost but a larger prefactor.These potentials require more floating-point operations per atom than conventional potentials but remain short-ranged.
  • Contribution: SNAP is introduced as a quantum-accurate potential designed to model screw-dislocation migration in tantalum under shear loading.The paper identifies this migration as fundamental to plastic deformation in body-centered-cubic metals.
  • Contribution: SNAP fits potential parameters to quantum electronic-structure calculations and implements the resulting model in LAMMPS.The workflow includes mathematical formulation, fitting, implementation, and validation for tantalum.
  • Contribution: For tantalum, SNAP accurately reproduces properties of solid and liquid phases and matches quantum results for screw-dislocation core structure and minimum energy pathway.The dislocation properties were not included in the training database.

2. Mathematical Formulation

SNAP represents each atom’s local neighborhood with rotation-invariant bispectrum descriptors derived from a hyperspherical-harmonic expansion, then uses a linear local-energy model. Its energy, forces, and stress are linear in the SNAP coefficients, which are fitted to quantum data.

  • 2.1. Bispectrum coefficients: Local neighbor density is built from weighted delta functions within a cutoff, with a switching function smoothly removing contributions at Rcut.Weights distinguish atom types, while the central atom receives unit weight.
  • 2.1. Bispectrum coefficients: Neighbor positions map radial distance to a third polar angle, embedding the 3D neighborhood in a subset of the 3-sphere.The mapping excludes a compressed region near the south pole while retaining most of the 3-sphere.
  • 2.1. Bispectrum coefficients: The mapped density is expanded in 4D hyperspherical harmonics, whose coefficients are combined into real, rotation-invariant bispectrum components.The bispectrum components characterize three-point density correlations; higher orders capture finer detail.
  • 2.1. Bispectrum coefficients: Bispectrum components generalize bond-orientational order parameters, with low-order terms describing coarse density features and higher-order terms describing finer structure.The construction is related to order parameters used in phase-transition theory.
  • 2.1. Bispectrum coefficients: Symmetry and coupling constraints restrict nonzero components, and reordering identities reduce the distinct coefficient count to a three-fold reduction at large J.The reduced indexing condition is j2 ≤ j1 ≤ j.
  • 2.2. SNAP Potential Energy Function: SNAP decomposes total energy into a reference energy and atom-centered local contributions dependent on each atom’s bispectrum descriptors.The reference term can represent known effects such as long-range electrostatic interactions.
  • 2.2. SNAP Potential Energy Function: Unlike the GAP formulation’s Gaussian-process kernel, SNAP models local energy as a linear combination of bispectrum components with coefficients dependent on central-atom chemical identity.This reduces potential construction to selecting the linear SNAP coefficients.
  • 2.2. SNAP Potential Energy Function: The same coefficient vector determines linear expressions for total energy, atomic forces, and stress tensor, using bispectrum derivatives for force and stress calculations.The formulation is presented for one atom type and is extendable to multiple atom types.

3. Automated Potential Generation Methodology

SNAP coefficients are fit through an automated, weighted least-squares pipeline that converts QM configurations into LAMMPS training data, solves for linear coefficients, and optimizes hyperparameters around repeated SNAP generation.

  • Least-squares formulation: SNAP coefficients are obtained by solving a linear system for the least-squares optimum, using QR factorization rather than explicitly inverting the matrix.The authors report that this linear solve is fast and not poorly conditioned.
  • Weighted regression: Weighted least squares assigns different influences to configuration types and target quantities, including energies, forces, and stresses.Weighting is important because these quantities can differ substantially in magnitude and because some material properties may be prioritized.
  • Software implementation: QM training data are standardized as JSON, converted into LAMMPS input, and processed to construct the regression matrix and right-hand side before QR factorization yields SNAP coefficients.The workflow includes bispectrum and reference-potential calculations in LAMMPS, followed by preprocessing and post-processing scripts.
  • Hyperparameter optimization: Hyperparameter optimization repeatedly generates SNAP potentials while varying choices such as configuration weights and cutoff distance.DAKOTA evaluates candidate potentials using an objective function combining weighted energy, force, stress, and elastic-constant errors.

4. Implementation

SNAP force calculations use neighbor lists and staged coefficient and derivative computations in LAMMPS. Exploiting bispectrum symmetry removes nested loops, reducing computational complexity and substantially improving performance, though the advantage decreases at low atoms per node.

  • Force calculation: SNAP force evaluation uses neighbor lists to identify each atom’s neighbors before calculating expansion coefficients, partial sums, and force derivatives.Calc U() computes expansion coefficients, Calc Z() computes partial sums, and derivative routines process neighbor contributions.
  • Derivative calculation: The derivative of bispectrum components is the most computationally expensive part of the force algorithm, accounting for approximately 90% of floating-point and memory operations.The expensive routine is Calc dBdR(), following computation of derivatives of the neighbor-density coefficients.
  • Derivative calculation: Using the symmetry relation eliminates two innermost nested loops and reduces bispectrum-component complexity from O(J4) to O(J2).The improved derivative algorithm uses Eq. A.10 instead of the original Eq. A.9.
  • Scaling results: The old and improved algorithms were implemented in the parallel LAMMPS molecular-dynamics package and benchmarked on BCC tantalum systems.The timing study used 10,000-step simulations with systems containing 4096 and 32768 atoms across 8 to 256 nodes.
  • Scaling results: The improved algorithm is consistently about 16x faster when atoms per node are plentiful, but its advantage shrinks as atoms per node decrease because communication remains unchanged.The newer algorithm’s parallel efficiency decreases more rapidly at low atoms per node.

5. SNAP Potential for Tantalum

The tantalum SNAP potential is fitted from DFT data and combines a ZBL reference with bispectrum-based modeling, while validation spans crystalline, liquid, defect, and dislocation properties. An improved implementation substantially reduces computational cost and preserves favorable scaling.

  • Training data: The training and validation data were computed using DFT, with configurations covering crystal, liquid, surface, and defect environments.The data were selected to represent material plasticity and stability, elastic constants, and the lattice parameter.
  • Potential construction: The reference potential uses ZBL repulsion because highly compressed configurations were absent from the training data.A switching function makes the ZBL contribution smoothly vanish beyond the chosen radial range.
  • Crystalline validation: SNAP reproduces the relative energetics of BCC, FCC, A15, and HCP structures, including BCC as the most stable phase across the examined volume range.The FCC minimum is about 0.2 eV/atom above BCC, consistent with DFT, and SNAP distinguishes the structurally similar HCP and FCC phases.
  • Liquid validation: The predicted melting point is 2790 K, while liquid pair-correlation functions agree excellently with DFT except near the first minimum.The liquid comparison used the same temperature and density, with SNAP averaging over a larger system and longer trajectory.
  • Defect and dislocation validation: SNAP predicts the correct single-hump screw-dislocation barrier shape and magnitude, but point-defect and some surface energetics remain imperfect.The potential misorders the ⟨110⟩ dumbbell and Crowdion configurations and does not reproduce the relative energies of all higher-energy surface planes.

6. Summary

SNAP combines a machine-learning interatomic-potential framework with 4D bispectrum descriptors and accurately models diverse tantalum properties, including screw-dislocation barriers. Its main limitation is computational cost, despite favorable parallel scaling.

  • SNAP uses 4D bispectrum components with an explicit linear energy dependence, fitted through machine learning to large quantum-electronic-structure data sets.The approach differs from GAP primarily through its explicit linear dependence on bispectrum components.
  • SNAP accurately represents energetic properties of solid tantalum, molten-tantalum structure, and its melting point.
  • SNAP correctly predicts the size and shape of the Peierls barrier for screw-dislocation motion in BCC tantalum, unlike other published tantalum potentials.The paper identifies this as a critical property for describing tantalum plasticity under shear loading.
  • SNAP costs one to two orders of magnitude more than competing potentials in large-scale atomistic simulations.Its high computational intensity nevertheless makes it amenable to massively parallel algorithms, and it has shown greater fixed-size scaling than simpler potentials.

Appendix A. Proof of additional symmetry relation on bispectrum components

The appendix derives a symmetry relation among bispectrum components by applying identities of Clebsch–Gordan coefficients and hyperspherical harmonics. This relation removes redundant terms and reduces force-evaluation complexity from O(J4) to O(J2).

  • Bispectrum components are constructed from triple products of expansion coefficients for functions defined on the 3-sphere.
  • Clebsch–Gordan coupling coefficients and 4D hyperspherical harmonics obey symmetry relations that transform the bispectrum expansion.
  • The transformed sums establish that permuted bispectrum components are related by dimension-weighted identities involving 2j + 1, 2j1 + 1, and 2j2 + 1.
  • The symmetry relation eliminates redundant bispectrum components and simplifies force calculations by allowing derivative-free inner sums to be pre-calculated.
  • The reformulation reduces overall computational complexity from O(J4) to O(J2), yielding more than one order of magnitude lower cost in typical cases.
Loading 1409.3880v1…