End-to-End Differentiable Learning of a Single Functional for DFT and Linear-Response TDDFT
Xiaoyu Zhang
TL;DR
The paper tackles the challenge of creating a single exchange–correlation functional that consistently governs ground-state energies, self-consistent potentials, and LR-TDDFT kernels. It introduces an end-to-end differentiable workflow in a two-component quantum chemistry framework (IQC using JAX) to train a neural xc functional by jointly optimizing KS-DFT and adiabatic LR-TDDFT targets, with gradients propagated through the SCF fixed point and the Casida-like eigenproblem. A neural spectral descriptor of the density matrix is learned via per-eigenvalue embeddings to produce a scalar energy correction, while penalties enforce one-electron self-interaction cancellation and adherence to the Lieb–Oxford bound. Demonstrated on a helium-based proof-of-concept in a fixed cc-pVDZ basis, the approach achieves rapid convergence (ten iterations) and favorable accuracy for S1/T1 excitations and SIE compared with standard functionals, suggesting potential transfer to molecular systems and a path toward more transferable, end-to-end trained functionals.
Abstract
Density functional theory (DFT) and linear-response time-dependent density functional theory (LR-TDDFT) rely on an exchange-correlation (xc) approximation that provides not only energy but also its functional derivatives that enter the self-consistent potential and the response kernel. Here we present an end-to-end differentiable workflow to optimize a single deep-learned energy functional using targets from both Kohn-Sham DFT and adiabatic LR-TDDFT within the Tamm-Dancoff approximation. Implemented in a JAX-based two-component quantum chemistry code (IQC), the learned functional yields a consistent potential and LR kernel via automatic differentiation, enabling gradient-based training through the SCF fixed point and the Casida equation. As a proof of concept in a fixed finite basis (cc-pVDZ), we learn an exchange-correlation functional on the helium spectrum while incorporating one-electron self-interaction cancelation and the Lieb-Oxford inequality as penalty terms, and we assess its possible transfer to molecular test cases.
