The Power of Hellmann–Feynman Theorem: Kohn–Sham DFT Energy Derivatives with Respect to the Parameters of the Exchange-Correlation Functional at Linear Cost

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 <i>n</i>-alkanes (<i>C</i><sub><i>n</i></sub><i>H</i><sub>2<i>n</i>+2</sub>, <i>n</i> = 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 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>O</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:msup><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mn>2.0</mml:mn></mml:mrow></mml:msup><mml:mo>)</mml:mo></mml:mrow><mml:mo>-</mml:mo><mml:mi>O</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:msup><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mn>2.5</mml:mn></mml:mrow></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math>.

Authors

Institutions

Publication Details

Journal
The Journal of Physical Chemistry A
Published
2025-07-14
DOI
https://doi.org/10.1021/acs.jpca.5c01771
Citations
1
Primary Topic
Advanced NMR Techniques and Applications
Type
article
Field-Weighted Citation Impact
0.76
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

The Power of Hellmann–Feynman Theorem: Kohn–Sham DFT Energy Derivatives with Respect to the Parameters of the Exchange-Correlation Functional at Linear Cost

Roland Grinis, Evgeny M. Kadilenko
1 citations
The Journal of Physical Chemistry A
Advanced NMR Techniques and Applications
0.76
article

The Power of Hellmann–Feynman Theorem: Kohn–Sham DFT Energy Derivatives with Respect to the Parameters of the Exchange-Correlation Functional at Linear Cost

Roland Grinis, Evgeny M. Kadilenko
article en
1 citations

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 <i>n</i>-alkanes (<i>C</i><sub><i>n</i></sub><i>H</i><sub>2<i>n</i>+2</sub>, <i>n</i> = 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 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>O</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:msup><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mn>2.0</mml:mn></mml:mrow></mml:msup><mml:mo>)</mml:mo></mml:mrow><mml:mo>-</mml:mo><mml:mi>O</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:msup><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mn>2.5</mml:mn></mml:mrow></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math>.

The Journal of Physical Chemistry AVol. 129(29)
Siberian Branch of the Russian Academy of Sciences (RU), Dominion (United States) (US), Institute of Chemical Kinetics and Combustion (RU), KPMG (United Kingdom) (GB)
Affordable and clean energy
Openalex Percentile: Top 29%
Advanced NMR Techniques and Applications
0.76
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

The Power of Hellmann–Feynman Theorem: Kohn–Sham DFT Energy Derivatives with Respect to the Parameters of the Exchange-Correlation Functional at Linear Cost — Roland Grinis, Evgeny M. Kadilenko · The Journal of Physical Chemistry A (2025) | TGRS Research Map | TGRS