The power of Hellmann-Feynman theorem: Kohn-Sham DFT energy derivatives with respect to the parameters of exchange-correlation functional at linear cost
Preprint
- 6 November 2024
- preprint
- Published by American Chemical Society (ACS) in ChemRxiv
Abstract
Efficient methods for computing derivatives with respect to the parameters of scientific models are crucial for applications in machine learning. These methods are important when training is done using gradient-based optimization algorithms or when the model is integrated with deep learning, as they help speed up calculations during the backpropagation pass. In the present work, we applied the Hellmann-Feynman theorem to calculate the derivatives of the Kohn-Sham DFT energies with respect to the parameters of the exchange-correlation functional. This approach was implemented in a prototype program on the basis of Python package PySCF. Using the LDA and GGA functionals as examples, we have shown that this approach scales approximately linear with the system size for a series of n-alkanes (CnH2n+2, n=4...64) with a double-zeta basis set. We demonstrated a significant speedup in the derivative calculations in comparison with the widely used automatic differentiation approach such as pytorch based DQC, which has a computational complexity of O(n^2.0) - O(n^2.5).Keywords
All Related Versions
This publication has 46 references indexed in Scilit:
- The conceptual power of the Hellmann–Feynman theoremStructural Chemistry, 2022
- PySCF: the Python‐based simulations of chemistry frameworkWIREs Computational Molecular Science, 2017
- Software update: the ORCA program system, version 4.0WIREs Computational Molecular Science, 2017
- Challenges in large scale quantum mechanical calculationsWIREs Computational Molecular Science, 2016
- Effect of the damping function in dispersion corrected density functional theoryJournal of Computational Chemistry, 2011
- Sensitivity analysis and uncertainty calculation for dispersion corrected density functional theoryJournal of Computational Chemistry, 2011
- Density Functional for Spectroscopy: No Long-Range Self-Interaction Error, Good Performance for Rydberg and Charge-Transfer States, and Better Performance on Average than B3LYP for Ground StatesThe Journal of Physical Chemistry A, 2006
- Semiempirical GGA‐type density functional constructed with a long‐range dispersion correctionJournal of Computational Chemistry, 2006
- Benchmark Database of Barrier Heights for Heavy Atom Transfer, Nucleophilic Substitution, Association, and Unimolecular Reactions and Its Use to Test Theoretical MethodsThe Journal of Physical Chemistry A, 2005
- Orbital interactions, electron delocalization and spin coupling in iron-sulfur clustersCoordination Chemistry Reviews, 1995