Abstract
Atomic partial charges are crucial parameters for Molecular Dynamics (MD) simulations, molecular mechanics calculations, and virtual screening, as they determine the electrostatic contributions to interaction energies. Current methods for calculating partial charges, however, are either slow and scale poorly with molecular size (quantum chemical methods) or unreliable (empirical methods). Here, we present a new charge derivation method based on Graph Nets—a set of update and aggregate functions that operate on molecular topologies and propagate information thereon—that could approximate charges derived from Density Functional Theory (DFT) calculations with high accuracy and an over 500-fold speed up.
Introduction
In the fields of Molecular Dynamics (MD) and virtual drug screening, atomic partial charges are critical parameters. They describe the distribution of electron density across a molecule, which determines the electrostatic forces governing how molecules interact. Currently, researchers face a significant challenge: high-level quantum chemical methods like Density Functional Theory (DFT) provide high accuracy but are computationally expensive and scale poorly with molecular size. Conversely, empirical methods such as AM1-BCC are faster but often lack the reliability needed for complex chemical environments. As chemical libraries grow to include billions of molecules, there is an urgent need for a method that is both computationally efficient and accurate enough for large-scale screening and simulation.
Methods
The authors propose a framework based on Graph Nets, treating molecules as mathematical graphs where atoms are nodes and bonds are edges. A key innovation of this model is the integration of physical constraints directly into the architecture. Rather than predicting charges directly, which often leads to violations of the total net charge constraint, the model predicts two intermediate physical properties for each atom: electronegativity ($e_i$) and hardness ($s_i$).
These values are then incorporated into a second-order Taylor expansion of the molecule's potential energy. By applying Lagrange multipliers, the authors derived an analytical solution that calculates final partial charges while guaranteeing that their sum equals the total net charge of the molecule. This approach ensures the model is physically consistent and remains fully differentiable for end-to-end training. The model was trained and validated on a dataset of over 350,000 molecules from the ChEMBL database, using DFT-calculated charges as the ground truth.
Results
The Graph Net model achieves high precision across a diverse set of organic molecules. It reached an overall Root Mean Square Error (RMSE) of 0.0223 e, a level of accuracy comparable to the inherent differences between various high-level quantum calculation methods.
The model performs exceptionally well on common organic elements like Carbon ($R^2 = 0.993$) and Hydrogen ($R^2 = 0.974$). However, performance declines for rarer elements such as Iodine ($R^2 = 0.282$), primarily due to the scarcity of training data for these species.
Beyond accuracy, the model provides a massive computational advantage. Calculating charges for a single molecule takes approximately 0.03 seconds, representing a 500-fold speedup over the standard AM1-BCC empirical method and several orders of magnitude improvement over DFT. Notably, the model's accuracy remains stable as molecular size increases (tested up to 63 atoms), indicating linear scaling and potential applicability to large biopolymers.
Conclusion and Future Work
This research demonstrates that physics-informed Graph Nets can approximate high-level quantum chemical calculations with remarkable speed and accuracy. By embedding fundamental physical laws into the network architecture, the model ensures physically valid predictions. Future developments will aim to address conformation dependence—accounting for how charges change as molecules rotate and flex—and expand the training datasets to include a broader range of chemical elements and functional groups.
Summary updated