Abstract
We introduce weighted atom-centered symmetry functions (wACSFs) as descriptors of a chemical system's geometry for use in the prediction of chemical properties such as enthalpies or potential energies via machine learning. The wACSFs are based on conventional atom-centered symmetry functions (ACSFs) but overcome the undesirable scaling of the latter with an increasing number of different elements in a chemical system. The performance of these two descriptors is compared using them as inputs in high-dimensional neural network potentials (HDNNPs), employing the molecular structures and associated enthalpies of the 133,855 molecules containing up to five different elements reported in the QM9 database as reference data. A substantially smaller number of wACSFs than ACSFs is needed to obtain a comparable spatial resolution of the molecular structures. At the same time, this smaller set of wACSFs leads to a significantly better generalization performance in the machine learning potential than the large set of conventional ACSFs. Furthermore, we show that the intrinsic parameters of the descriptors can in principle be optimized with a genetic algorithm in a highly automated manner. For the wACSFs employed here, we find however that using a simple empirical parametrization scheme is sufficient in order to obtain HDNNPs with high accuracy.
Introduction
Predicting molecular properties using machine learning requires a "descriptor"—a mathematical representation of molecular geometry that is invariant to rotation and translation. For years, Behler-Parrinello Atom-Centered Symmetry Functions (ACSFs) have served as the standard. However, ACSFs face a "combinatorial explosion" as the number of chemical elements increases. Because ACSFs require separate functions for every possible pair and triple of elements (e.g., H-H, H-C, C-O-N), a system with five elements might require hundreds of functions to describe an atom's local environment. This complexity leads to computationally heavy models that are prone to overfitting, particularly for rare elemental combinations where data is sparse.
Methods
The authors propose weighted Atom-Centered Symmetry Functions (wACSFs) to address this scaling bottleneck. By incorporating atomic weighting directly into the symmetry functions, the descriptor length remains constant regardless of the number of elements in the system.
Descriptor Design
The wACSF approach uses weighting functions, typically based on the atomic number ($Z$), to fold elemental information into a single set of symmetry functions. This allows the neural network to learn from "chemical motifs" rather than isolated element pairs. The study also explores the optimal placement of these functions. Radial information is captured using Gaussian functions, which can be either "centered" at the origin or "shifted" to specific distances to probe different regions of the atomic neighborhood.
Model Architecture and Optimization
The descriptors are fed into High-Dimensional Neural Network Potentials (HDNNPs). To optimize the hyperparameters of these descriptors (such as Gaussian width and position), the authors tested a Genetic Algorithm (GA). This evolutionary approach automates the search for the most descriptive "sensors," though the study also found that simple empirical rules for sensor placement are highly effective and computationally cheaper.
Results and Discussion
The performance of wACSFs was evaluated using the QM9 database, which contains approximately 134,000 small organic molecules composed of up to five elements: H, C, N, O, and F.
Accuracy and Efficiency
The wACSF model demonstrated superior performance and efficiency compared to traditional ACSFs. On the QM9 test set, a wACSF model with only 32 functions achieved a Mean Absolute Error (MAE) of 1.83 kcal/mol. In contrast, a standard ACSF model with 220 functions—providing similar spatial resolution—resulted in a significantly higher error of 2.39 kcal/mol. This indicates that wACSFs are not only more compact but also more accurate.
Information Compression and Generalization
The results suggest that traditional ACSFs contain significant redundancy. By compressing this information, wACSFs improve generalization, especially for rare chemical motifs. Because information is shared across different elements via weighting, the network can leverage data from common bonds (like C-O) to improve predictions for less frequent but structurally similar bonds (like C-F). The network sees the structural similarity while the weighting provides the necessary chemical context.
Conclusion
Weighted ACSFs provide a scalable and accurate alternative to traditional descriptors for machine learning potentials. By decoupling the descriptor size from the number of chemical elements, wACSFs enable the study of increasingly complex chemical systems without a proportional increase in computational cost. While the current study focused on equilibrium structures, future work may expand these descriptors to better capture the non-equilibrium geometries found in molecular dynamics simulations, potentially requiring a larger set of angular functions.
Summary updated