arXiv:2610.10298cs.LGOct 2026

Manuscript Offprint

arXiv:2610.10298

Physics-Aligned Electronic Ground-State Learning Improves Generalization

Eike S. Eberhard, Xaver Kainz, Viktor Kotsev, Abdulrahman Aldossary, Stephan Günnemann

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Machine-learned interatomic potentials (MLIPs) excel at in-distribution tasks, accelerating drug and material development, yet they struggle to generalize out-of-distribution. We propose to push the cost-accuracy Pareto frontier by designing observable-agnostic electronic ground-state descriptor models (GSMs) with computational costs situated between MLIPs and Kohn-Sham density functional theory (KS-DFT). We align the learning objectives and architectures of GSMs with the governing equations of KS-DFT by enforcing physical constraints and removing optimization pressure on unphysical or irrelevant degrees of freedom. In our size-extrapolation experiments from QM9 to QM40, our combined contributions OrthoNormal-Loss (ON-Loss) and Grassmann Restricted Occupied-Orbital Training (GROOT) reach a 79.1% energy and 83.4% force mean absolute error (MAE) reduction over previous state-of-the-art density GSMs. For Hamiltonian GSMs, ON-Loss and Residual Optimal-gauge Conditioning-aware KS-Eq. Training (ROCKET) together reduce the energy and force MAEs of the strongest baseline by 99.8% and 95.9%, respectively. Using a self-consistency rejection criterion, we filter out extrapolation errors on QMugs, rejecting fewer than 0.4% of predictions while reaching an energy MAE of 0.07 mHa. Finally, we demonstrate the efficiency of label-free self-consistency fine-tuning, and transfer GSMs to reactive chemistry in Transition1x, reaching energy errors below chemical accuracy.

Figure

ML Interatomic Potentials

E[mHa]F/atom[mHa/A]
PaiNNSchütt 202117.635.1
NequIPBatzner 20225.2742.4
MACEBatatia 20223.9847.2
PaiNNSchütt 202117.11.29
NequIPBatzner 202217.00.56
MACEBatatia 20228.870.52

worse

best

≥50×\geq 50\times column best

bold: column best

Figure 1: GSM size extrapolation from QM9 to molecules up to 4×4 \times larger QM40 molecules. The GROOT models generalize robustly, reaching errors below half chemical accuracy (∼0.8\sim 0.8 mHa) on 98%98\% of the tested molecules. All observables are computed at a budget of exactly one Fock build averaged over 3 training seeds each. The GROOT variants are the best performing models for almost all observables except for the Kohn-Sham (self-consistency) energy where ROCKET is best. NequIP and MACE trained on forces still outperform even the best GSMs on forces, but physically aligned GSMs achieve an order of magnitude better energies compared to all trained MLIPs.

1 INTRODUCTION

Many computational chemistry applications aim to accurately approximate the electronic ground state of molecules and materials. The rapid developments in this field are driven by the abundance of applications enabling the in silico prescreening of potential materials and drugs before moving into resource- and time-intensive laboratory experiments or clinical trials. Since the exact computation of the ground state is intractable for almost all systems of interest, the art of computational chemistry is to find the correct trade-off between accuracy and computational cost for a given application (Szabo & Ostlund, 1996). Contemporary method development pushes this Pareto frontier as far as possible. For many applications, KS-DFT (Kohn & Sham, 1965) is the method of choice (Antypas et al., 2014; Haunschild et al., 2019). At a high level, its computational efficiency can be attributed to its lower-dimensional representation of the ground state based on the electron density ρ:R3→[0,∞)\rho : \mathbb{R}^3 \to [0, \infty), compared to wavefunction methods ψ:RNelec×3→C\psi : \mathbb{R}^{N_{\text{elec}} \times 3} \to \mathbb{C} (Cramer, 2014).

Ground-state descriptor models (GSMs) predicting the Hamiltonian or density matrix have been investigated as a means to accelerate (Liu et al., 2026; Eberhard et al., 2026a) or completely circumvent (Schütt et al., 2019) the computationally demanding iterative solvers which drive KS-DFT calculations (Lehtola et al., 2020a). These solvers use finite basis sets to discretize the governing equations of KS-DFT, which yields a generalized eigenvalue problem (gEVP) (Roothaan, 1951). Present state-of-the-art GSMs are not well-aligned with the goal of learning physical ground states, motivating the following contributions:

  1. Current literature has converged on supervising GSMs on the matrix representations of the gEVP (Sec. 3) measuring matrix errors in a non-orthonormal (NON) basis, whose spectral weighting is ill-aligned with physical observables. We show mathematically and empirically how OrthoNormal-Loss (ON-Loss) cures this by measuring errors in an orthonormal (ON) basis.

  2. On the problem side of the gEVP, entire families of Hamiltonian matrices yield the same ground state. The established loss formulation views these physically equivalent Hamiltonians as different targets. We systematically treat this invariance w.r.t. changes in the Hamiltonian by introducing Residual Optimal-gauge Conditioning-aware KS-Eq. Training (ROCKET).

  3. On the solution side, physically valid density matrices are constrained to a manifold (the Grassmannian), but existing readout heads predict in the entire ambient space of symmetric matrices. We introduce Grassmann Restricted Occupied-Orbital Training (GROOT), a matrix readout for SO(3)SO(3)-equivariant graph neural networks (GNNs) that restricts predictions to valid densities, removing the leading order energy error term compared to unconstrained baselines.

  4. We develop a practical framework under a strict budget of one Fock build, the cost-dominant operation of KS-DFT. For this, we adopt a computationally cheap first-order energy correction, identify a GSM-native uncertainty measure for rejecting unreliable predictions, and generalize self-consistency training (Zhang et al., 2024) for label-free fine-tuning of foundational GSMs to new chemical domains such as transition states. These constitute key advantages of GSMs over MLIPs that might justify their increased evaluation costs for some applications.

At this single Fock-build budget, the evaluation costs of GSMs are in between MLIPs and machine-learned (ML) approaches that require multiple Fock builds (Dick & Fernandez-Serra, 2021; Gao et al., 2024; Eberhard et al., 2026b; Luise et al., 2026; Kim et al., 2025; 2026). In our size extrapolation experiments on QMugs, we train on molecules with at most 150 electrons and evaluate on up to 660 electrons (Fig. 3). Here, ON-Loss alone reduces energy, force, dipole and density errors by 87–99% for density GSMs and by 93–99.5% for Hamiltonian GSMs. GROOT proj_{proj} and ROCKET compound on top of that, reaching 99.6% and 99.9% lower energy errors than the NON baselines. At 0.21 and 0.56 mHa (without rejections), their mean energy errors lie below chemical accuracy and are 14 and 5 times lower than the best energy-trained MLIP, while they reject fewer than 0.4% of predictions. Using the predicted ground states as self-consistent field (SCF) initial guesses reduces the number of solver iterations needed to converge. For the QM9-trained models evaluated on QM40, ON-Loss lowers the density GSM's Effective Relative Iteration Count (ERIC) (Eberhard et al., 2026a) from 0.82 to 0.70, and GROOT lowers it further to 0.67, a third fewer iterations than the traditional MINAO initial guess. After label-free self-consistency fine-tuning on Transition1x (Schreiner et al., 2022), the QMugs-trained GROOT proj_{proj} and ROCKET reach energy errors of 0.66 and 0.74 mHa, below chemical accuracy, while rejecting fewer than 1% of predictions.

References (89)