Orbital-Free Surrogate Functionals
Yield Transferable Interatomic Potentials and Electron Densities
Abstract
Orbital-free density functional theory seeks to compute the energy of an electronic system directly from its electron density, avoiding one-electron wave functions and thereby offering a route to scalable electronic structure calculations. Machine-learned orbital-free density functionals have recently achieved promising results on small organic molecules, predicting energies with sub-millihartree accuracy. However, their convergence in density optimization remains sensitive to hyperparameter tuning and architectural choices. Here, we extend the recently introduced (weak) surrogate functional framework—designed to predict ground-state electron densities only—to also yield their energy, resulting in “strong” surrogate functionals. We find that these learned functionals enable stable convergence across all tested neural network backbones, reducing electron density errors relative to the Kohn–Sham reference by an order of magnitude compared to previous OF-DFT methods. More importantly, the predicted energies are competitive with state-of-the-art machine-learned interatomic potentials (MLIPs) trained only on energies, while exhibiting superior generalization to larger, unseen systems.
I Introduction
Kohn–Sham density functional theory (KS-DFT) [19] is, for good reasons, a mainstay of quantum chemistry, but the cubic scaling of its standard formulation limits the sizes of systems and lengths of dynamics that can be studied at an acceptable computational cost. Orbital-free DFT (OF-DFT) sidesteps the explicit treatment of orbitals and minimizes the electronic energy directly with respect to the density [36, 25], promising a more favorable scaling. Realizing this promise in practice, however, requires an accurate approximation of the energy functional, in particular of its kinetic energy contribution [25].
Machine learning has recently begun to address this challenge [7], with progress accelerating from pioneering work on one-dimensional toy systems [35, 24] through small molecules [38, 34, 13, 15, 32] to mid-sized molecules [40, 31]. Among these, M-OFDFT [40] was the first to predict molecular energies with errors on the order of 1 mHa compared to the Kohn–Sham reference across the QM9 dataset [29], though the learned functional did not afford true variational optimization. STRUCTURES25 [31] closed this gap by augmenting the training data with densities obtained from perturbed Kohn–Sham potentials, yielding a functional that converges from a cheap initial guess to a meaningful ground-state density. Most recently, weak surrogate functionals [30] have shown that such perturbations are not even strictly necessary: a learned functional that is only required to yield the correct density upon minimization at inference time can be trained from in-vacuo ground-state labels alone.
Despite this progress, two limitations persist. First, by design, weak surrogates predict only the ground-state density; the energy at the converged density is not constrained and is therefore not physically meaningful. A practical OF-DFT functional, however, must deliver both: a reliable density for downstream electronic structure analysis (e.g., electrostatics, response properties, bonding) and an energy to drive geometry optimization and molecular dynamics. Second, even existing convergent OF-DFT functionals have proven sensitive to architectural and hyperparameter choices: minor modifications can turn an otherwise well-behaved energy surface into one lacking a usable minimum, or one whose minimum lies far from the true ground state. This fragility hampers the systematic exploration of more expressive neural network backbones and slows the transfer of the approach to new chemistries.
Here, we introduce strong surrogate functionals, which extend the weak surrogate framework [30] to constrain not only the location of the minimum but also its energy. As illustrated in Figure 1(a), a strong surrogate is required to possess a global minimum at the true ground-state density and to match the true ground-state energy at that minimum. Constructing such a functional from ground-state labels alone presents the challenge to provide a training signal for off-equilibrium energies where the ground-truth is not known. We address this by combining two core ingredients: (1) ground-state energy and gradient supervision by injecting a number of explicit ground-state samples per batch to anchor the absolute energy scale, and (2) an energy-bound loss derived from empirical parabolic envelopes of the Kohn–Sham energy landscape. Together, these components allow the model to inherit the robust convergence properties of weak surrogates [30] while simultaneously yielding accurate ground-state energies.
Empirically, strong surrogates deliver the following improvements over the prior state of the art:
- 1.
- 2.
Density errors on QM9 drop by an order of magnitude relative to STRUCTURES25 and weak surrogates, and similar improvements carry over to QMugs molecules with up to 100 heavy atoms [17]—well beyond the size range seen during training.
- 3.
- 4.
The framework naturally accommodates training on partial functional components, such as the kinetic and exchange-correlation energy (), allowing exact analytical computation of nonlocal electrostatic contributions while maintaining stable density optimization.
II Related work
Machine-learned orbital-free DFT.
Recent advances in machine-learned OF-DFT [40, 31] have focused on learning a density functional using the densities and energies of intermediate Kohn–Sham iterations as ground-truth labels, allowing the prediction of the electronic ground state through variational optimization. Weak surrogate functionals [30] bypass the requirement of physical off-equilibrium labels by dropping physical constraints and only requiring the learned functional to have a global minimum at the true ground-state density. At the same time, they lose the ability to predict meaningful energies, a property that is reintroduced in the strong surrogate functional framework presented here.
Machine-learned interatomic potentials (MLIPs).
In contrast to density-based methods, standard MLIPs [33, 6, 5, 26, 22, 12, 3] bypass the electron density entirely to efficiently predict the potential energy surface directly from the molecular geometry. While modern equivariant graph neural networks achieve outstanding interpolation accuracy, the lack of an explicit intermediate density restricts their ability to natively describe, e.g., nonlocal electronic responses and charge transfer.
Long-range and self-consistent electrostatic MLIPs.
To overcome the limitations of strictly local MLIPs, several approaches augment geometry-based models with coarse-grained electronic degrees of freedom or explicitly long-ranged descriptors [1]. One family has been systematized as a design space of self-consistent electrostatic MLIPs, interpretable as coarse-grained approximations to DFT [4]. Examples include charge-density or charge-equilibration schemes [18], self-consistent electronic populations [37], long-range polarization models [14], and explicit-electron representations [9]. A complementary line of work captures long-range interactions without imposing electronic self-consistency, e.g., through physics-inspired long-range descriptors [16], directly-predicted Wannier-center representations [41], Ewald-summation-based descriptors and message passing [8, 20], global attention mechanisms [11], or charge-aware potentials and electric-response models with explicit electronic degrees of freedom [2, 10]. Common to all these approaches is that the electronic degrees of freedom, where present, need not coincide with the true DFT ground state. Strong surrogate functionals, in contrast, are able to capture the true DFT ground-state density at a much higher level of detail.
III Background
III.1 Orbital-free density functional theory
In OF-DFT, the goal is to construct a functional , which for a given electronic system maps an electron density to a corresponding energy . Minimizing over then yields the ground-state energy and density of the system. The density is often expressed as an expansion using atom-centered Gaussian-type basis functions. We follow [40, 31] in applying symmetric Löwdin orthonormalization, yielding an expansion
| (1) |
with density coefficients and orthonormal basis functions .
The energy functional can be split into different physical contributions:
| (2) |
where is the non-interacting kinetic energy, is the exchange-correlation energy, is the Hartree energy, and is the interaction energy with an external potential.
In machine-learned OF-DFT [40, 31, 30], the energy functional or parts of it are learned by training on labels obtained from Kohn–Sham reference data. Those labels correspond to electron densities at the electronic ground state as well as off-equilibrium densities extracted from intermediate self-consistent field iterations. During inference, the electron density is initialized using standard methods such as a superposition of atomic densities (SAD). Afterwards, the density is optimized using a gradient-descent scheme where the required gradients of the functional are obtained by automated differentiation of the neural network.
IV Methods
IV.1 Weak surrogate functionals
Weak surrogate functionals [30] lift the requirement of global fidelity to a physical energy functional and instead define a successful functional exclusively through its minimizer in a fixed density optimization procedure. Specifically, a weak surrogate functional must yield the true ground-state density coefficients when minimized from a prescribed initial guess. This allows training using only ground-state density labels, avoiding the need for off-equilibrium densities.
To guarantee convergence during inference, weak surrogates can be trained with the gradient-descent-improvement (GDI) loss. This loss enforces that every optimization step with step size moves the coefficients closer to the true ground state by at least a predefined contraction factor . With and , the loss [30] is
| (3) |
The contraction factor is chosen such that the GDI loss vanishes for most Kohn–Sham labels from off-equilibrium densities as used in [31]. In this sense, the GDI loss is compatible with the physical energy landscape as sampled by these training labels. More details on the choice of and can be found in Appendix C.3.
To focus model capacity on the regions actually visited during inference, this loss is combined with an adaptive train-time density optimization scheme (see Figure 1(b)). For each molecule , a cached density coefficient vector is maintained and updated during training each time the molecule appears in a batch via a gradient descent step:
| (4) |
Note that the step size may be different from the step size that is used in the GDI loss. In the original framework, was kept fixed. Here, we introduce a dynamically computed “ideal” learning rate for the cache updates:
| (5) |
This rate corresponds to the nonnegative step size that minimizes the Euclidean distance between the updated density coefficients and the ground-state target for the currently predicted gradient direction (see Appendix A for details). Employing this optimal local step size ensures that train-time trajectories progress as efficiently as possible toward the ground state. At the same time, samples for which the predicted gradient would lead to a step away from the ground state are not updated at all, creating a natural training dynamic where difficult-to-learn densities are kept in cache until the model learns to improve the gradient predictions at these points.
IV.2 Strong surrogate functionals
While weak surrogates only ensure convergence to the correct ground-state electron density, strong surrogate functionals are designed to also accurately model the energy at this ground state. From a machine learning perspective, this requires an additional loss term to enforce the true energy at the predicted minimum. However, in the adaptive training scheme described in Section IV.1, the exact ground-state density is never explicitly sampled. The central challenge is therefore how to provide meaningful energy feedback. To address this, we propose a two-step strategy: First, we inject a fraction of exact ground-state samples into each training batch. For these molecules, instead of using their cached density coefficients, we evaluate the model strictly at the true ground-state density and apply penalty losses on both the predicted ground-state energy and its gradients, which should be zero at the ground state: and . Incorporating a fraction of exact ground-state labels also provides the architectural flexibility, in principle, to enforce other ground-state properties, such as nuclear gradients.
Second, while exact energy labels at arbitrary off-equilibrium densities are not available, we can exploit physical and empirical energy bounds to construct a robust loss function. A natural lower bound is the ground-state energy itself, since it represents the global minimum of the exact functional. However, penalizing predictions only when they fall below the exact ground-state energy yields a very weak learning signal. Instead, we derive tighter empirical lower and upper bounds from off-equilibrium energies and densities, which we take from [31]. As illustrated in Figure 2, these labels form a set that, empirically, is bounded above and below by two quadratic forms:
| (6) | ||||
| (7) |
where is the overlap matrix of the basis functions in the molecule. Based on this observation, we introduce the following energy-bound loss:
| (8) |
The total loss is then given by a weighted sum of all loss components:
| (9) |


IV.3 Training surrogate functionals on
The choice of as energy target is practical, as both the GDI loss and the density cache updates require gradients corresponding to the total energy functional. Nevertheless, there are compelling reasons to use neural networks to model only specific energy components, while computing the remaining contributions using exact physical expressions: (1) To facilitate generalization across diverse chemical systems, it is advantageous to learn only the universal functional components, isolating them from the system-specific external potential. (2) Neural network backbones typically apply a radial spatial cutoff, limiting their ability to model long-range interactions. Explicitly evaluating the Hartree energy enables the model to accurately capture the nonlocal electrostatic contributions. Consequently, learning the sum of the non-interacting kinetic energy and the exchange-correlation energy represents a physically motivated objective, consistent with prior methodologies [40, 31]. In practice this means parameterizing the total energy functional as
| (10) |
where is the contribution that is learned by the neural network.
Enhancing computational efficiency
The primary computational bottleneck lies in evaluating the remaining gradient contributions—namely and —at each training step, as these gradients are necessary to perform cache updates and compute the GDI loss. With the convention , the Hartree gradient is given by . Computing this term is expensive, requiring either the repeated recalculation of the Coulomb matrix for every sample during each epoch, or precomputing and storing for the entire dataset, which exhibits poor scaling for large molecular systems.
To enhance the efficiency and scalability of the approach, we propose to use an auxiliary functional in place of the total energy when computing the GDI loss and performing the cache updates. This auxiliary functional must preserve the ground-state density of the true energy functional in order for the train-time density optimization scheme to converge to the correct density. A choice that fulfills this criterion while remaining computationally efficient is given by
| (11) |
where we subtract a linear term parameterized by the gradients of the kinetic and exchange-correlation energies evaluated at the ground state . We must further ensure that the true ground-state density is also a minimum of , which includes the exact Hartree and external energies. Because the gradient of the total energy vanishes at the ground state, we can use Equation 2 to express this gradient contribution as
| (12) |
Furthermore, since the external energy is a linear functional of the density, we can write . Substituting these relations into Equation 11 yields:
| (13) | ||||
| (14) |
Thus, the auxiliary functional corresponds to linearizing the true Hartree energy around the ground-state density. Using this relation, we can express the residual between the total energy functional and the auxiliary functional as
| (15) | ||||
| (16) | ||||
| (17) |
Because the Coulomb matrix is positive semi-definite, this residual forms a convex functional. Adding this term to therefore preserves the global minimum at .
As explained above, the GDI and energy-bound losses are designed such that most of the available training labels for off-equilibrium densities have zero loss, in order to impose as few unphysical restrictions as possible. Applying the GDI loss to the auxiliary functional in Equation 11 enforces convexity on the sum of the kinetic and exchange-correlation energies—a property not guaranteed for the exact physical functional. However, empirical observations suggest that convexity holds for our training data (see Appendix B).
| Model | Target | (mHa) | (mHa) | ||
| Prior energy functionals | M-OFDFT*[40] | 1.37 | 0.088 | 2.7 | |
| STRUCTURES25*[31] | 0.64 | 0.038 | 1.4 | ||
| Weak surrogate*[30] | - | - | - | 1.2 | |
| MLIPs | eSEN | 0.203 | 0.012 | - | |
| EquiformerV2 | 0.221 | 0.015 | - | ||
| GotenNet | 0.130 | 0.008 | - | ||
| Surrogate Functionals | eSEN-SF | 0.371 | 0.022 | 0.29 | |
| (this work) | eSEN-SF | 0.134 | 0.008 | 0.17 | |
| EquiformerV2-SF | 0.125 | 0.007 | 0.15 |
| Model | Target | (mHa) | (mHa) | ||
| Prior energy functionals | M-OFDFT [40] | 18 | 0.17 | 7.0 | |
| STRUCTURES25 [31] | 22 | 0.21 | 6.8 | ||
| Weak surrogate [30] | - | - | - | 8.2 | |
| MLIPs | eSEN | 14.2 | 0.138 | - | |
| EquiformerV2 | 19.2 | 0.132 | - | ||
| GotenNet | 17.5 | 0.123 | - | ||
| Surrogate Functionals | eSEN-SF | 8.6 | 0.066 | 1.70 | |
| (this work) | eSEN-SF | 3.7 | 0.028 | 1.03 | |
| EquiformerV2-SF | 3.4 | 0.026 | 1.08 |
IV.4 Network architecture
Prior work in OF-DFT [40, 31, 30], including surrogate functionals for OF-DFT, has modeled the density representation using Graphormer-style architectures [39], relying on local canonicalization [23] to express the density coefficients as scalar graph features. SO(3)-equivariant neural networks operating on irreducible tensor features provide a strong alternative for molecular modeling, especially when the target quantities naturally transform under rotations. We therefore evaluate eSEN [12] and EquiformerV2 [22], two modern equivariant architectures. Both architectures build on the efficient eSCN formulation [27], which reduces the cost of equivariant convolutions and tensor-product-like interactions. The main architectural difference is the edge aggregation mechanism: eSEN uses edge-conditioned equivariant message passing with unnormalized sum aggregation, whereas EquiformerV2 uses an SO(3)-equivariant multi-head attention block with softmax-normalized edge weights. To feed the density information into these architectures, a new density embedding is created. The coefficients are first rescaled independently in each dimension and subsequently scattered into a fixed-size “atom-hot” tensor per atom, as in the Graphormer-style architectures. A single equivariant linear layer is then employed to produce the correct structure of irreducible representations that is needed for both eSEN and EquiformerV2. The resulting embedding is added directly onto the respective embeddings employed in the original architectures. Furthermore, an atomic reference module is used to add element-dependent atomic energy biases to the output of the network. In contrast to [40, 31], we do not employ a global energy bias, which we found to degrade the generalization performance to larger molecules.
V Experiments
V.1 Density optimization accuracy
We train and evaluate our models on molecules from the QM9 dataset [29]. For ground-truth energies and densities, we rely on the same labels utilized in [31], restricted to ground-state labels, which were generated using the PBE functional [28]. Following the methodology established in prior work [40, 31, 30], we test the extrapolation capabilities of our approach by training models on a combined pool of QM9 and QMugs [17] molecules limited to 15 heavy atoms. We then evaluate the models on a distinct test split of significantly larger QMugs configurations containing up to 100 heavy atoms (refer to Appendix C.1 for full details).
We benchmark our accuracy against established machine-learned orbital-free functionals, namely M-OFDFT [40] and STRUCTURES25 [31], as well as weak surrogate functionals from [30]. As additional baselines, we train GotenNet—the current state-of-the-art MLIP on QM9—as well as vanilla eSEN and EquiformerV2 architectures without density embeddings, using only ground-state energy data. Comprehensive model specifications and training hyperparameters are documented in Appendix C.2. Models trained with the strong surrogate pipeline are denoted with the suffix -SF.
Performance metrics on the QM9 dataset are presented in Table 1. Remarkably, all surrogate variants surpass the existing OF-DFT baselines by a wide margin, demonstrating substantial improvements in both energy predictions and density accuracy. Concurrently, models trained with targets display notably lower energy errors compared to baseline models trained exclusively on molecular geometries without auxiliary electron density information.
Identical performance trends persist when evaluating the models on the larger QMugs molecules, as summarized in Table 2. Notably, the relative performance margin between our strong surrogate functionals and the MLIP baselines widens on this out-of-distribution set.
While the surrogate functionals trained on show higher energy and density errors than their counterparts, they still outperform all previous OF-DFT baselines trained on the same energy target, demonstrating that the train-time density optimization procedure on the auxiliary functional is sufficient to learn a converging functional.
Compared to the OF-DFT baselines, surrogate functionals show density errors that are lower by approximately one order of magnitude. Furthermore, they do not exhibit large outliers as is the case for STRUCTURES25 [31]. A visual comparison of density errors for example molecules is shown in Figure 3.
It should be noted that all previous machine-learned OF-DFT functionals shown in Tables 1 and 2 are based on a Graphormer architecture [39], which is less expressive than either eSEN or EquiformerV2 and thus explains part of the performance difference to the surrogate functional. However, we found that retraining STRUCTURES25 with either of the alternative architectures instead of a Graphormer yields a functional that does not converge during density optimization. In Figure 4, we visualize the distribution of eigenvalues of the Hessian of an eSEN model trained with the STRUCTURES25 training pipeline and the surrogate pipeline, respectively, evaluated at the ground-state density of a random QM9 molecule. The surrogate functional has only positive eigenvalues that all lie within a narrow interval, confirming that the model has indeed learned a convex functional as enforced by the GDI and energy-bound losses. The eSEN-STR25 model, on the other hand, displays a much broader range of Hessian eigenvalues including both much larger and crucially also negative values, leading to a functional that does not converge during density optimization. The fact that we obtain convergence irrespective of the network architecture thus presents a significant advantage of the surrogate-style training.
V.2 Ablation experiments
In order to isolate the contribution of newly introduced components to the strong surrogate training performance, we conduct targeted ablation experiments. We train an EquiformerV2 surrogate functional under two modified constraints: either disabling the energy-bound loss entirely, or replacing the optimally computed ideal learning rate with a fixed cache update learning rate of . The resulting evaluations are detailed in Table 3.
| Energy bound loss | Ideal lr (cache update) | (mHa) | |
| ✓ | ✗ | 0.168 | 0.332 |
| ✗ | ✓ | 0.158 | 0.140 |
| ✓ | ✓ | 0.125 | 0.148 |
Both ablation scenarios show a degradation in predictive performance, validating the effectiveness of these adaptations within the training pipeline.
VI Discussion and Conclusion
In this work, we have introduced strong surrogate functionals that achieve state-of-the-art results on PBE energies for both the QM9 and QMugs datasets. These surrogate functionals outperform previous machine-learned orbital-free density functionals by a wide margin. Furthermore, they make the training process more robust, allowing for the use of state-of-the-art neural network backbones while guaranteeing stable convergence during density optimization.
When evaluated on direct energy prediction, the strong surrogate functionals demonstrate competitive performance relative to standard machine-learned interatomic potentials (MLIPs). While MLIPs can be susceptible to overfitting on datasets of this size, the physical inductive bias embedded within the surrogate framework provides an effective regularization mechanism. This regularization not only improves in-distribution performance but also leads to better generalization on the out-of-distribution QMugs test set.
We further showed that training surrogate functionals on the combined kinetic and exchange-correlation energy components, , yields a convergent optimization landscape. This modification allows the model to compute long-range electrostatic interactions explicitly through the exact Hartree energy. We attribute the lower accuracy compared to the models to two main factors: first, the term may be a more difficult learning target, and second, the density fitting errors during data generation are absorbed into the labels, introducing undesirable artifacts. Moving toward more expressive density representations might thus remedy this issue in the future.
A current limitation of surrogate functionals, compared to MLIP baselines, is increased computational cost during inference, primarily due to the repeated model evaluations required for density optimization. Future work may alleviate this drawback by designing faster optimizers or using machine-learned direct predictions of the ground-state density coefficients [40].
The proposed approach can straightforwardly be extended to molecular labels generated with more accurate XC functionals or even quantum chemistry methods other than Kohn–Sham DFT, as long as both ground-state energies and ground-state densities are available. A promising direction for future work thus lies in training surrogate functionals on larger datasets such as OMol25 [21] with data generated at the M-V/def2-TZVPD level of theory, where ground-state electron densities are already available.
Taken together, these results show that surrogate functionals provide a compelling alternative to MLIPs when electron densities or strong extrapolation are needed, but conventional DFT is computationally prohibitive.
Acknowledgements.
This work is supported by the German Research Foundation (DFG) under Germany’s Excellence Strategy EXC-2181/1-390900948 (the Heidelberg STRUCTURES Excellence Cluster) as well as by the Carl-Zeiss-Stiftung via its Wildcard program. The authors acknowledge support by the state of Baden-Württemberg through bwHPC and the German Research Foundation (DFG) through grant INST 35/1597-1 FUGG.Data availability statement
The full training and evaluation code is available at https://github.com/sciai-lab/surrogate-functionals. The data used to train the models is available from Ref. [31].
Appendix A Mathematical details
Ideal learning rate
In the following, we provide a derivation for the ideal learning rate . Let be the current density coefficients, the ground-state coefficients, and the model gradients of the total energy. We want to find such that
| (18) |
Taking a derivative w.r.t. and setting it to zero yields
| (19) | ||||
| (20) | ||||
| (21) | ||||
| (22) |
The nonnegativity constraint therefore gives the projected optimum used in the cache update:
| (23) |
Appendix B Empirical convexity of the energy functional
One design philosophy of surrogate functionals and the applied losses is to impose as few unphysical constraints as possible. As discussed in Section IV.3, the GDI loss enforces convexity on the energy target the model is trained on. While this convexity holds for the total energy functional in most cases, it is not strictly guaranteed for the functional.11 1 Training an surrogate functional with the objective described in Section IV.3 technically enforces convexity of . However, since the difference to is a functional that is linear in , this imposes the same convexity constraints also on . To investigate how much of a problem this is in practice, we evaluate the empirical convexity of off-equilibrium labels from [31] for a random subset of QM9 molecules. For each molecule, we sample two labels and compute the residual between and the energy at obtained by linearizing at :
| (24) |
For a convex functional, this residual should be positive for all pairs of labels. We plot the distribution of this residual in Figure 5 and find that indeed all values are positive. This suggests that the convexity we impose on is at least compatible with our PBE training data.
Appendix C Training details
C.1 Details on datasets
We evaluate our models on the QM9 [29] and QMugs [17] datasets. As ground-truth targets, we rely on ground-state energies and electron densities computed at the PBE level of theory [28], identical to the data used by Remme et al. [31]. For the density labels, an even-tempered basis with is fitted to the density in the Kohn–Sham orbital basis.
The QM9 dataset comprises small organic molecules consisting of C, H, O, N, and F atoms, containing up to 9 heavy atoms. In contrast to other OF-DFT baselines [40, 31, 30], which trained and evaluated their models on a split that included molecules typically flagged as uncharacterized, we opt for the more common QM9 splitting strategy where these uncharacterized molecules are discarded.
To evaluate out-of-distribution generalization to more expansive molecular structures, we train on a superset of the QM9 dataset as well as molecules from the QMugs dataset with up to 15 heavy atoms. The models are then tested on a separate, distinct test set of 850 large QMugs molecules containing up to 100 heavy atoms.
C.2 Model hyperparameters
For a fair comparison between the surrogate functionals and the direct energy prediction models, we use the same hyperparameters for the eSEN and EquiformerV2 backbones in both cases. The hyperparameters are listed in Tables 4 and 5, respectively. The values for were chosen as 4 since this corresponds to the highest angular momentum in our density basis. We also found that choosing a higher cutoff radius than 6 Bohr could strongly degrade the performance when looking at the generalization to larger molecules.
| Hyperparameter | Value |
| # sphere channels | 32 |
| 4 | |
| 4 | |
| max neighbors | 300 |
| cutoff radius | 6 Bohr |
| # edge channels | 32 |
| distance function | gaussian |
| # distance basis | 128 |
| # layers | 4 |
| # hidden channels | 64 |
| normalization type | rms_norm_sh |
| activation type | gate |
| ff_type | spectral |
| # Parameters | 2.7 M |
| Hyperparameter | Value |
| # sphere channels | 64 |
| 4 | |
| 4 | |
| max neighbors | 300 |
| cutoff radius | 6 Bohr |
| # edge channels | 64 |
| distance function | gaussian |
| # distance basis | 128 |
| # layers | 4 |
| # heads | 4 |
| # attn_hidden_channels | 32 |
| # attn_alpha_channels | 32 |
| # attn_value_channels | 8 |
| # ffn_hidden_channels | 64 |
| normalization type | layer_norm_sh |
| # Parameters | 2.8 M |
C.3 Surrogate training details
As described in Section IV.1, we want to choose the hyperparameters of the GDI loss and such that the loss imposes as few unphysical constraints as possible. To this end, we look at the contraction factors of physical gradient labels from intermediate Kohn–Sham iterations for different step sizes and choose the parameters as
| (25) | ||||
| (26) |
The optimization in Equations 25 and 26 is only performed in an approximate manner by looking at a discrete set of step sizes and by ignoring some outliers in the distribution of contraction factors. For the choice of , the distribution of contraction factors as well as are visualized in Figure 6.
We list the remaining surrogate-specific hyperparameters as well as general training settings for eSEN-SF and EquiformerV2-SF in Table 6.
| Hyperparameter | training | training |
| fraction of surrogate labels | 0.5 | ” |
| cache reset probability | 0.02 | ” |
| cache step size | adaptive | ” |
| GDI step size | 0.04 | adaptive |
| 0.86 | 0.925 | |
| GDI loss weight | 20 | ” |
| EB loss weight | 1 | ” |
| energy loss weight | 1 | ” |
| gradient loss weight | 1 | ” |
| batch size | 128 | ” |
| optimizer | Adam | ” |
| learning rate schedule | cosine | ” |
| maximum learning rate | ” | |
| # epochs | 500 | ” |
C.4 Direct energy training details
For training the MLIP models on the task of direct energy prediction, we use the settings reported in Table 7. In contrast to the training of the surrogate functionals, we include an exponential moving average of the model parameters and use weight decay along with the AdamW optimizer to reduce overfitting. We train until convergence of the validation loss.
| Hyperparameter | Value |
| batch size | 128 |
| optimizer | AdamW |
| learning rate schedule | cosine |
| maximum learning rate | |
| # epochs | 500 |
| weight decay | |
| Model EMA decay |
C.5 STRUCTURES25 training without global energy bias
As mentioned in Section IV.4, we do not use a global energy bias for our models. For a fairer comparison with the non-surrogate ML functionals, we retrained STRUCTURES25 on the combined QM9 and QMugs split without a global energy bias and report the inference results on the large test molecules in Table 8.
| (mHa) | (mHa) | |
| 8.6 | 0.09 | 8.2 |
The energy predictions significantly improve compared to the model containing a global bias, while still being worse than the predictions of the surrogate functionals.
References
- [1] (2023) Machine learning interatomic potentials and long-range physics. The Journal of Physical Chemistry A 127 (11), pp. 2417–2431. Cited by: §II.
- [2] (2025) AIMNet2: a neural network potential to meet your neutral, charged, organic, and elemental-organic needs. Chemical Science 16 (23), pp. 10228–10244. Cited by: §II.
- [3] (2025) GotenNet: rethinking efficient 3D equivariant graph neural networks. In The Thirteenth International Conference on Learning Representations, Cited by: item 3, §II.
- [4] (2026) Design space of self–consistent electrostatic machine learning interatomic potentials. arXiv preprint arXiv:2603.14700. Cited by: §II.
- [5] (2022) MACE: higher order equivariant message passing neural networks for fast and accurate force fields. Advances in neural information processing systems 35, pp. 11423–11436. Cited by: §II.
- [6] (2022) E(3)-equivariant graph neural networks for data-efficient and accurate interatomic potentials. Nature Communications 13 (1), pp. 2453. Cited by: §II.
- [7] (2026) Machine learning-enhanced orbital-free density functional theory. Journal of Chemical Theory and Computation 22 (7), pp. 3127–3143. Cited by: §I.
- [8] (2025) Latent Ewald summation for machine learning of long-range interactions. npj Computational Materials 11 (1), pp. 80. Cited by: §II.
- [9] (2022) Modeling electronic response properties with an explicit-electron machine learning potential. Journal of Chemical Theory and Computation 18 (3), pp. 1672–1691. Cited by: §II.
- [10] (2025) Unified differentiable learning of electric response. Nature Communications 16 (1), pp. 4031. Cited by: §II.
- [11] (2026) Machine learning global atomic representations with Euclidean fast attention. Nature Machine Intelligence 8 (3), pp. 388–402. Cited by: §II.
- [12] (2025) Learning smooth and expressive interatomic potentials for physical property prediction. In International Conference on Machine Learning, pp. 17875–17893. Cited by: item 1, item 3, §II, §IV.4.
- [13] (2020) Orbital-free density functional theory calculation applying semi-local machine-learned kinetic energy density functional and kinetic potential. Chem. Phys. Lett. 748, pp. 137358. External Links: ISSN 00092614 Cited by: §I.
- [14] (2022) Self-consistent determination of long-range electrostatics in neural network potentials. Nature Communications 13 (1), pp. 1572. Cited by: §II.
- [15] (2019) Kinetic energy densities based on the fourth order gradient expansion: performance in different classes of materials and improvement via machine learning. Physical Chemistry Chemical Physics 21 (1), pp. 378–395. Cited by: §I.
- [16] (2019) Incorporating long-range physics in atomic-scale machine learning. The Journal of chemical physics 151 (20). Cited by: §II.
- [17] (2022) QMugs, quantum mechanical properties of drug-like molecules. Scientific Data 9 (1), pp. 273. Cited by: §C.1, item 2, §V.1.
- [18] (2021) A fourth-generation high-dimensional neural network potential with accurate electrostatics including non-local charge transfer. Nature Communications 12 (1), pp. 398. Cited by: §II.
- [19] (1965) Self-Consistent Equations Including Exchange and Correlation Effects. Phys. Rev. 140 (4A), pp. A1133–A1138. Cited by: §I.
- [20] (2023) Ewald-based long-range message passing for molecular graphs. In International Conference on Machine Learning, pp. 17544–17563. Cited by: §II.
- [21] (2025) The open molecules 2025 (OMol25) dataset, evaluations, and models. arXiv preprint arXiv:2505.08762. Cited by: §VI.
- [22] (2024) EquiformerV2: improved equivariant transformer for scaling to higher-degree representations. In The Twelfth International Conference on Learning Representations, Cited by: item 1, §II, §IV.4.
- [23] (2025) Beyond canonicalization: how tensorial messages improve equivariant message passing. In International Conference on Learning Representations, Vol. 2025, pp. 88067–88087. Cited by: §IV.4.
- [24] (2020) Machine learning approaches toward orbital-free density functional theory: simultaneous training on the kinetic energy density functional and its functional derivative. J. Chem. Theory Comput. 16 (9), pp. 5685–5694. Cited by: §I.
- [25] (2023) Orbital-free density functional theory: an attractive electronic structure method for large-scale first-principles simulations. Chem. Rev. 123 (21), pp. 12039–12104. Cited by: §I.
- [26] (2023) Learning local equivariant representations for large-scale atomistic dynamics. Nature Communications 14 (1), pp. 579. Cited by: §II.
- [27] (2023) Reducing SO(3) convolutions to SO(2) for efficient equivariant GNNs. In International conference on machine learning, pp. 27420–27438. Cited by: §IV.4.
- [28] (1996) Generalized gradient approximation made simple. Physical review letters 77 (18), pp. 3865. Cited by: §C.1, §V.1.
- [29] (2014) Quantum chemistry structures and properties of 134 kilo molecules. Scientific data 1 (1), pp. 1–7. Cited by: §C.1, §I, §V.1.
- [30] (2026) Surrogate functionals for machine learned orbital free density functional theory. The Journal of Chemical Physics. Note: In press Cited by: §C.1, Figure 1, Figure 1, §I, §I, §II, §III.1, §IV.1, §IV.1, §IV.4, Table 1, Table 2, §V.1, §V.1.
- [31] (2025) Stable and accurate orbital-free density functional theory powered by machine learning. Journal of the American Chemical Society 147 (32), pp. 28851–28859. Cited by: Figure 5, Figure 5, Appendix B, §C.1, §C.1, §I, §II, §III.1, §III.1, Figure 2, Figure 2, §IV.1, §IV.2, §IV.3, §IV.4, Table 1, Table 2, §V.1, §V.1, §V.1, Data availability statement.
- [32] (2023) KineticNet: deep learning a transferable kinetic energy functional for orbital-free density functional theory. The Journal of Chemical Physics 159 (14). Cited by: §I.
- [33] (2018) SchNet–a deep learning architecture for molecules and materials. The Journal of chemical physics 148 (24). Cited by: §II.
- [34] (2018) Semi-local machine-learned kinetic energy density functional with third-order gradients of electron density. J. Chem. Phys. 148 (24), pp. 241705. External Links: ISSN 0021-9606 Cited by: §I.
- [35] (2013) Orbital-free bond breaking via machine learning. The Journal of chemical physics 139 (22), pp. 224104. Cited by: §I.
- [36] (1999) Orbital-free kinetic-energy density functionals with a density-dependent kernel. Phys. Rev. B 60 (24), pp. 16350. Cited by: §I.
- [37] (2020) Incorporating electronic information into machine learning potential energy surfaces via approaching the ground-state electronic energy as a function of atom-based electronic populations. Journal of chemical theory and computation 16 (7), pp. 4256–4270. Cited by: §II.
- [38] (2016) Kinetic energy of hydrocarbons as a function of electron density and convolutional neural networks. J. Chem. Theory Comput. 12 (3), pp. 1139–1147. External Links: ISSN 1549-9618 Cited by: §I.
- [39] (2021) Do transformers really perform badly for graph representation?. Advances in neural information processing systems 34, pp. 28877–28888. Cited by: §IV.4, §V.1.
- [40] (2024) Overcoming the barrier of orbital-free density functional theory for molecular systems using deep learning. Nature Computational Science 4 (3), pp. 210–223. Cited by: §C.1, §I, §II, §III.1, §III.1, §IV.3, §IV.4, Table 1, Table 2, §V.1, §V.1, §VI.
- [41] (2022) A deep potential model with long-range electrostatic interactions. The Journal of Chemical Physics 156 (12). Cited by: §II.