Physics-Aligned Electronic Ground-State Learning Improves Generalization
Anonymous authors
ICLR 2027
TL;DR. We show how to train Hamiltonian- and density-matrix prediction models such that they extrapolate to larger molecules.
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.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
ICLR 2027
Under review · 3 reviews · OpenReview
Updated 25 Nov 2026, 10:41 UTC.
- Rating
- 1/4(−1)
- Confidence
- 4/4
- Soundness
- 3/3(+1)
- Presentation
- 1/3
- Informativeness
- 2/3
Read review
Summary
This paper introduces strategies to improve the downstream utility of predicted Hamiltonian or Density matrices. The paper is formulated as kind of a 'bag of tricks', so I'll comment on them separately. Note that I did not read the appendices unless mentioned.
(1) The problem addressed with the ON-loss has been treated quite extensively in the wavefunction alignment loss paper (I read Appendix F), and the additional contributions made here amount to minor reformulations and pointing out possible inconsistencies in the released code implementation, which are only moderately useful. The core idea behind the wavefunction alignment loss has been used in other work (QHFlow). I would disagree with the statement that supervision in the "ON basis" is poorly understood, at least for Hamiltonian prediction. The NON-basis is used for supervision in models which treat larger systems (eg, DeepH-pack, HELM) due to lower computational cost, with the limitations in mind.
(2) The issue of gauge invariance (here ROCKET) - for molecules, this should not be an issue in theory, because they share a common energy reference (the vacuum level). Maintaining this common reference allows for element-wise referencing procedures to be applied, as was done in MACE-H and HELM. The paper states, "a standard matrix loss would strictly penalize gauge variation between molecules, while Eq. (9) permits arbitrary gauge variation ", however I would expect to see no arbitrary gauge variation in this training data, and am confused why including this degree of freedom results in performance improvements during training. I would like to know the exact details behind how c- and c* are computed over a given dataset, whether element-wise referencing is included in the baselines, and more intuition behind why this helps, beyond ablations. This very interesting point is just skimmed over.
(3) The last point (GROOT) mentions that constrained learned density matrices to the manifold of 'valid' projectors improves learning. This makes a lot of sense, and I've seen similar ideas very recently elsewhere. However, it should be clear that this involves diagonalizing the predicted matrix, which limits scalability.
Strengths
I don't see a single, substantial strength in the paper. This might just be because the message is diluted into multiple smaller contributions which are confusingly written, so it's hard to come away with a clear 'takeaway'.
Weaknesses
The first significant weakness of this paper is that it's incredibly difficult to read. There is very little signposting, and walls of text which switch between different points. The frequent use of bold font and italic font is distracting. The contributions, ablations, and experiments are not in order or nicely differentiated. It takes a long time of staring at the figures to understand what is being shown, as the way the data is presented is overly 'synthesized'. It feels like this manuscript is not designed with a human reader in mind.
Questions for the authors
(Please see the summary section)
I think satisfying the following would improve the overall volume of contribution in the paper to be a strong contribution:
(1) Showing evaluations on open-shell systems and heavier elements than CHNOF. The paper states, "Although a generalization to unrestricted systems is straightforward, this has not been covered by our evaluations. " so this should not be too difficult to evaluate.
(2) Quantifying evaluation runtimes, time complexity, and how they change with system size for each of the optimizations presented. Currently, the paper states that only a single Fock build is used, thus positioning this method in-between MLIPs (zero Fock builds), and multi-build Hamiltonian models. I think the paper should quantify this, to better understand any tradeoffs with scalability. This could be gathered from the existing data collected. It would also be good to understand how this compares with Hamiltonian models which do not require an initial matrix construction.
(3) Data scaling: What would take these contributions to the 'next-level', is if the performance improvements demonstrated are maintained even when larger amounts of training data is used, for example when training (not just evaluation) on fractions of the larger dataset used. This would place these observations into the regime of 'contributions which cannot be effectively replaced with sufficient training data'.
Minor points:
- Number of electrons should be replaced with numbers of atoms. Since heavy elements are already omitted, using # electrons doesn't add anything but makes the sizes difficult to compare with other work.
17 comments
Response to question (2) from summary
The reviewer is right that molecules share the vacuum level as a common energy reference. For absolute Hamiltonians this means that composition determines the constant shift of a molecule almost completely, which is why element-wise referencing as in MACE-H and HELM works there (App. H, Fig. 8, top).
Our Hamiltonian models, in contrast, learn the correction to the SAP guess, . The constant shift is then the offset of this -target, , which is the mean orbital-energy level of the true Hamiltonian relative to that of the guess. Measured from the guess instead of the vacuum, this offset is a property of the whole molecule: it varies between molecules of the same composition and grows with molecule size (Fig. 8, bottom). This is the gauge variation between molecules that the ROCKET loss permits, and ROCKET removes exactly this molecule-specific offset of , on which no observable depends.
In detail, the per-molecule shift is the closed-form minimizer of the loss, computed for every molecule at every training step:
The reference starts at the mean of over the training split and follows the model as an exponential moving average of the batch means:
The second-stage loss combines both:
The gradient of the first term is traceless and supervises everything except the shift; the gradient of the second term is a multiple of and moves the shift alone. The weight is set once from the spread of over the training split (App. H, Eq. 80; Table 17).
The revision includes element-wise referencing among the baselines in two forms (Tables 38–39): HELM-style per-element normalization of the scalar node blocks on absolute targets, and a per-element on-site reference on top of . On QM9 all variants are on par with ROCKET. On QM40 the restrained per-molecule shift of ROCKET is the most accurate, with 0.4 mHa energy MAE compared to 6.6 mHa for the per-element reference on .
The intuition for why this helps is that the offset of is a global quantity that a local model would have to assemble from per-atom outputs, and it changes with molecule size. With the offset removed, the scalar on-site blocks of H, C and O stay close to their training averages across molecule sizes and datasets (Fig. 9). The remaining target is local and transfers to larger molecules. The weak restraint towards keeps the constant in the model output fixed during training (Fig. 10), which makes the per-atom outputs agree on one level also for molecules larger than those seen in training.
App. H makes this connection between ROCKET and element-wise referencing quantitative and explains it in more detail.
| QM9 QM40 held-out test splits (16 ep., all molecules [kept]; Tables 38–39) | QM9 Test (2,000) [mHa] |
QM40 (1,000) Rej. |
QM40 [mHa] | QM40 [mHa] |
|---|---|---|---|---|
Abs. + per-elem. mean / , NON readout |
0.15 / 0.15 | 84.4% / 84.2% | 5,407 [3.00] / 6,585 [2.78] | 3,534 / 4,178 |
Abs. + per-elem. mean / , ON readout |
1.36 / 0.99 | 93.3% / 86.7% | 45.9 [5.75] / 47.2 [5.57] | 0.59 / 0.69 |
per-element reference (ON) |
0.042 | 12.5% | 6.72 [3.18] | 6.57 [2.47] |
single constant (ON, 3 seeds) |
0.132 | 0.97% | 3.07 [2.91] | 1.09 [0.90] |
| ROCKET stage 1 (unrestrained ) | 0.038 | 8.50% | 6.84 [3.61] | 5.07 [2.16] |
| ROCKET stage 2 (EMA-restrained , 3 seeds) | 0.040 | 0.07% | 1.71 [1.70] | 0.41 [0.40] |
| Values in brackets are averaged over the molecules kept after self-rejection. |
Response to question (3) from summary
It is correct that GROOT requires one eigendecomposition of a matrix to place the prediction on the manifold of valid projectors. This is the same cubic-cost operation that a conventional SCF calculation performs in every cycle. For the system sizes we tested, the cost of a ground-state descriptor model is set by the Fock build that turns the predicted density into observables: with direct four-center integrals, setup and model inference together take about 1–2% of the time of an SCF with forces, up to 182 heavy atoms and 3,378 basis functions (App. N.3, Fig. 20). Training time is the same as for the unconstrained density models (App. N.1, Fig. 17).
The projection also speeds up the Fock build when density fitting is used. Because GROOT outputs a rank- projector, the exchange contraction (RI-K) runs over the occupied orbitals instead of the full density matrix. In our timings up to 101 heavy atoms, this makes the Fock build 1.6–5.4x faster than for the unconstrained density model trained with (Fig. 19). In conlcusion we do not see limited scalability of our method withing the size regimes tested.
- Rating
- 2/4
- Confidence
- 3/4
- Soundness
- 2/3
- Presentation
- 1/3
- Informativeness
- 3/3
Read review
Summary
This paper studies how the basis and loss function, along with output constraints, affect ground-state generalization on closed-shell molecules. It proposes ON-Loss in an orthonormal basis and GROOT for idempotent densities via rotations () or projections (), plus ROCKET for Hamiltonians with scalar shifts and subspace masking. At test time, it applies a one-step Harris-Foulkes correction with filtering and fine-tuning on transfer from QM9 to QM40, QMugs, 3BPA, and Transition1x at B3LYP/def2-SVP.
Strengths
Building physical constraints into the readout and loss makes mathematical sense. Eqs. (3) and (7) with Appendix C.1 show how the overlap spectrum distorts standard matrix losses, while Appendix C.4 shows that keeping GROOT on the projector manifold makes the KS energy error quadratic rather than first order. Table 26 also has the exact ablation I wanted, showing that training through the projection beats test-time purification of unconstrained outputs.
To be fair, the transfer gains on a shared backbone are large. On QM9 to QM40 in Fig. 1 and Table 26, cuts unfiltered energy MAE from to and force MAE from to over NON across three seeds. On QMugs in Table 28, and ROCKET reach and with under rejection, and Appendix O shows and median SCF time ratios against MINAO.
Weaknesses
- Calling ON-Loss a new metric is an overstatement, and its effect is not isolated. In Appendix F, Eqs. (67) and (68) show that for complete orbitals with , the full matrix WA term satisfies , matching uniformly weighted WA up to normalization. I also doubt the gains come from ON-Loss alone. In Fig. 14 and Table 9, NON predicts in the AO basis while ON predicts in the Löwdin basis with different scaling. Changing readout and loss together confounds the two: Table 17 tests an AO readout for , but the unconstrained density model lacks this control and the Hamiltonian run stopped before QM40.
- My main worry with ROCKET in Secs. 4 and 5 is that parts of the math are unclear, so I lean toward a weak reject. ROCKET is motivated by shift invariance: a uniform shift leaves unchanged and should cost nothing. Stage 1 handles this, but I am not sure Stage 3 does. As I read Eq. (12), the Eq. (11) mask is applied first and the best constant is subtracted afterwards. If so, the mask turns into with , and no single constant cancels it, which would leave a penalty of for and . I would like the authors to clarify the order of these steps, and whether a Hamiltonian that is exact up to a shift is still penalized in Stage 3. The masking also has a gap. Stage 3 uses the mask with , so errors in the high virtual block are not graded. This assumes those virtual levels stay above the occupied ones. In theory, a virtual level could drop below an occupied level at zero masked error, and then the aufbau filling would pick the wrong orbitals and change .
- Several equations and details do not line up. Eqs. (2) and (16) use a per-spin density and Appendix C.3 writes , yet Sec. 5 and Eq. (57) drop the factor of 2. Table 22 lists self-consistency losses by residuals without explaining solver gradients, and Appendix K on training costs is blank.
- The paper is hard to read. A lot is packed into a few pages: the ON basis, ON-Loss, three ROCKET stages, the EMA term, the masking, GROOT, and the energy correction all show up close together, and key definitions are left to the appendix. I had to go back and forth between Secs. 3 to 5 and the appendices just to work out how the pieces fit, and it is still not clear which component is meant to solve which problem. A short overview at the start, one running example, and moving some details out of the main text would help a lot.
Questions for the authors
- With basis and scaling fixed along with readout, how much QM40 gain comes from swapping NON for ON loss on unconstrained density and Hamiltonian models?
- In third stage ROCKET, do you subtract the scalar shift before masking or after as in Eq. (12), and how do you stop virtual states from crossing below occupied ones?
- Why does Eq. (57) drop the factor of 2 from in Appendix C.3, and do Table 3 forces at match corrected energy finite differences?
- Can you test original QHNet or QHNetV2 on standard QH9 splits with matched compute, rather than 2,000-molecule subsets on your backbone in Tables 10 and 19 (and Table 25)?
- Because ROCKET removes the uniform shift , the absolute eigenvalues of are only fixed up to a constant. How reliable are quantities that depend on absolute levels, such as the HOMO or LUMO energy, when read directly from , and do you ever report them that way?
11 comments
Response to weakness (1) and question (1)
Thank you for the detailed review. We read two questions in this point. The first is whether ON-Loss is new, given its close relation to WALoss. The second is whether the gains come from the loss itself, since our comparison changed the readout basis and the loss basis together.
On the first question, we do not claim ON-Loss as a new metric. The full-matrix alignment term of WALoss is the same loss up to normalization (App. F). What we contribute instead is the following.
- Why it works. We connect the basis of supervision to the errors of the observables, with worst-case bounds (Sec. 4, Table 1) and a sensitivity analysis (Sec. 5, Fig. 2). weights the matrix directions as the observables do, and does not.
- The consequence. WALoss adds the alignment term to a NON loss. We drop the NON terms entirely and also predict in the ON basis.
- Densities. The same analysis holds for density matrices, which WALoss does not cover.
On the second question, the two changes were indeed confounded. We added an ablation that varies readout and loss separately on QM9 QM40 (App. R, Fig. 27).
| Model | Readout | Loss | mean [mHa] | median [mHa] | mean [mHa/Å] | median [mHa/Å] |
|---|---|---|---|---|---|---|
NON |
707 | 1.63 | 254 | 6.93 | ||
ON |
2.45 | 0.92 | 5.14 | 4.20 | ||
ON |
1.09 | 0.42 | 3.26 | 2.83 | ||
NON |
2.17 | 0.80 | 7.51 | 6.41 | ||
ON |
34,689 | 30,318 | 6,668 | 6,747 | ||
ON |
0.62 | 0.41 | 1.59 | 1.36 |
The second and third row of each model share the ON readout and differ only in the loss, which is the comparison you ask for. For Hamiltonians, the ON readout removes the outliers of the NON baseline, and then roughly halves the remaining energy error. For densities the loss is decisive. An ON readout under fails completely, and the same readout under clearly improves on the NON baseline. QHNet on QH9 shows the same on a different architecture (App. Q).
The detailed treatment is given in App. R for the ablation of readout and loss, and in App. F for the relation to WALoss.
QHNet on QH9-stable-ood (20 epochs, 9,335 test mol., one Fock build) |
Readout | Loss | [mHa] |
|---|---|---|---|
NON |
55.8 | ||
NON |
65.1 | ||
ON |
1.04 | ||
ON |
0.444 | ||
ON |
ROCKET | 0.132 |
Response to question (4)
We trained the original QHNet with 20M parameters on the standard QH9-stable-ood split, from geometry alone and with the published AdamW recipe of QH9, and evaluated it on the full test set. Nothing of our backbone, input or optimizer is used, so only the target, readout and loss differ from the published model.
The results from our backbone carry over. After 20 epochs, the NON readout under has an energy error of 55.8 mHa, while the ON readout under reaches 0.44 mHa and ROCKET 0.13 mHa, both without a single self-rejected prediction (Fig. 26).
After the full 95 epochs of the published recipe, QHNet with ROCKET reaches 0.054 mHa at one Fock build, compared to 12.5 mHa for the published QHNet. This is also below the QHNet and QHFlow models that use two Fock builds (Table 22).
QH9-stable-ood (9,335 test mol.; Table 22, Fig. 26) |
Fock builds | Epochs | MAE, all molecules [mHa] | Would be self-rejected |
|---|---|---|---|---|
| QHNet (published checkpoint) | 1 | 65–80 | 12.5 | 6.8% |
| QHNet (reported by Kim et al., 2026) | 1 | 80 | 15.7 | – |
| QHNet (retrained, full recipe) | 1 | 95 | 78.7 | 10.8% |
| QHNet + , (ours) | 1 | 20 | 1.04 | 0.01% |
| QHNet + , (ours) | 1 | 20 | 0.444 | 0.0% |
| QHNet + ROCKET (ours) | 1 | 20 | 0.132 | 0.0% |
| QHNet + ROCKET (ours) | 1 | 95 | 0.054 | 0.0% |
| QHNet (reported) | 2 | 80 | 0.484 | – |
| QHFlow (reported) | 2 | 80 | 0.323 | – |
| QHFlow2-s (12M, reported) | 2 | 80+18 | 0.036 | – |
| QHFlow2-m (43M, reported) | 2 | 80+18 | 0.019 | – |
| QHFlow2-l (183M, reported) | 2 | 80+18 | 0.011 | – |
| QHFlow2-xl (990M, reported) | 2 | 80+18 | 0.007 | – |
We did not train QHNetV2, since its code is not available.
A summary is given in [G1] of our global response above, and the full analysis in App. Q.
I thank the authors for their rebuttal and the additional experiments, which address several of my concerns.
I have a few follow-up comments. First, in Table 44, the new ablations suggest that the ON readout accounts for much of the improvement in Hamiltonian prediction. If I understand correctly, the theoretical analysis mainly motivates the choice of loss rather than explaining the benefit of predicting directly in the ON basis. Could the authors clarify this distinction? It seems odd to me that the readout itself plays a more important role than the current presentation suggests.
Second, I am still somewhat confused by the "flow map" terminology used for GROOTrot. When I first read this, I immediately related it to methods such as progressive distillation or MeanFlow. As I understand it, the network predicts a single orbital rotation. It is supervised directly on the final density through the matrix exponential. While this can be interpreted as a flow map mathematically, it seems closer to a regression model with a Grassmann-constrained readout. If the authors want to claim that this is a flow-map model, a baseline with vanilla flow matching seems necessary to me.
I am also somewhat confused by the idea of calling it a flow model. In a conventional flow model, we typically have a source distribution and a target distribution, with the marginal flow constructed from conditional flows. Here, however, the source is a deterministic MINAO density, and for each molecular geometry, there is only one converged target density. This makes the conditional-to-marginal flow construction essentially trivial when conditioned on the geometry. I think the formalism is closer to React-OT, where the transition-state are also deterministic given the reaction.
Finally, I have a question about the scalability experiments. I understand that the largest molecules are only used for evaluation, but I am curious how the model handles atom pairs beyond the 15 Å readout cutoff. Are the corresponding predicted matrix blocks simply set to zero, or are those pairs excluded from the decoder computation entirely? Since the matrix size grows quadratically and the Löwdin transformation is not strictly local, it would also be helpful to understand how memory scales for the largest molecules.
- Rating
- 3/4
- Confidence
- 4/4
- Soundness
- 3/3
- Presentation
- 1/3
- Informativeness
- 2/3
Read review
Summary
This article deals with Machine-learned interatomic potentials (MLIPs) models, that supplement or replace Density Functional Theory (DFT) calculations, the standard quantum-mechanical method for computing the energy of a set of atoms. In this article, instead of predicting the energy directly, as an interatomic potential does, the network predicts the matrices that DFT itself solves for: the density matrix P or the Hamiltonian H. The authors call these Ground-State descriptor Models (GSMs). A ‘Fock build’ is a single evaluation of H(P), the most expensive operation in DFT. From the predicted P or H, one Fock build then yields the energy and most other properties, without the repeated iterations of a full DFT calculation. The authors train a network from scratch. For a Hamiltonian model, the network predicts H, and diagonalising it gives P. The Fock build is then evaluated at that P.
- The DFT equation is HC = SC diag(\epsilon), a generalised eigenproblem. S is the Gram matrix of a non-orthogonal dictionary (the atomic orbitals). H depends on P, so solving it is a fixed-point iteration, the “SCF”, taking about 10–15 cycles.
- The density matrix is, in an orthonormal basis, the projector onto the O lowest eigenvectors. Only the subspace matters, so P is a point on a Grassmannian.
The paper offers three contributions:
| Name | Idea | Interpretation |
|---|---|---|
| ON-Loss | Measure errors on or | A change of metric: error in function space rather than on the coefficients of a redundant frame |
| GROOT | Force the predicted to be a valid projector | Either project by eigendecomposition and backpropagate through it (), or rotate an initial guess: () |
| ROCKET | Do not penalise changes to that leave unchanged | Remove part of the null space of from the loss |
They add
- a one-shot energy correction (Harris–Foulkes);
- a self-consistency test to reject bad predictions; and
- label-free fine-tuning. Errors are in mHa; chemical accuracy, 1 kcal/mol, is 1.6 mHa.
The paper's headline results are as follows:
- QM9 → QM40 (molecules up to 4× larger): energy −79% and force −83% against the density baseline; −99.8% and −96% against the best Hamiltonian baseline.
- QMugs (trained up to 150 electrons, tested up to 660): 0.07 mHa with under 0.4% of predictions rejected. Against interatomic potentials: energies 5–14× better, but potentials trained on forces still win on forces.
Strengths
The ideas are sound and the size-extrapolation benchmark is hard. All arms share one backbone and have large hyperparameter sweeps. Most of the improvement holds up in threshold metrics, not just means. I checked Eqs. 39–43 and 45 and Propositions 1–4, and they are correct ! (hard work)
Weaknesses
- Eq. 12 is not shift-invariant as written. This is the only concrete mathematical problem I found.
- The mask (Eq. 11) sends ΔH + aI to ΔH_masked + aQ, where Q is a rank-q projector. Minimising over c with cI then leaves a penalty proportional to , so a pure shift is penalised.
- The consistent form is .
- Numerically (B = 12, q = 5), the written loss goes from 0.532 to 1.588 as a goes from 0 to 10, while the corrected one stays at 0.527. It may only be loose notation, and the code is not given. It does contradicts the “gauge-free” label in Table 22.
- The mean error is dominated by a minority of molecules with enormous errors, so a reduction like −99.9% tells little about the typical molecule.
Eg Harris–Foulkes energy errors from Table 28.
| Arm | Molecules kept | Mean on kept (mHa) | Mean on all (mHa) |
|---|---|---|---|
| Hamiltonian, NON loss | 70.4% | 0.053 | 655 |
| ROCKET | 99.8% | 0.445 | 0.557 |
In addition:
a- The comparison on kept molecules isn’t fair. The NON arm keeps the molecules that passed its own filter, probably the smaller and easier ones. ROCKET might do just as well on those, so this suggests the pattern but doesn’t prove it.
b- However fixing the large failures is a real achievement. A model that is occasionally wrong by 2000 mHa is unusable, so removing that failure may be the paper’s most valuable result. So essentially, I object to the presentation but not the result.
3- The theory is weaker than suggested.
- The intro says “show mathematically” and related work says “conclusive evidence”, but Appendix C.1 says the bounds “do not establish” that the ON bound is tighter. The bounds are local and per-molecule, so they say nothing about size extrapolation, and Table 1 has no force row.
- Fig. 2 uses first-order energy sensitivity, whereas the reported energy is second-order.
- The correlations in Table 24 may be driven by molecule size and by the two-cluster shape of the errors.
4- There may be a better loss, suggested by the authors' own analysis:
Appendix C.5 shows the first-order density error depends only on the occupied–virtual block of ΔH, weighted by inverse gaps. Why not use that loss directly?
5- The cost-accuracy “Pareto” claim isn’t actually shown.
- Appendix K, “Training Costs”, is empty, and there are no inference times for the interatomic potentials.
- Reading Fig. 20 at 660 electrons: full SCF about 17 s, one Fock build about 1.1 s, forward pass about 0.3 s. So a one-shot GSM is only about 10× faster than full DFT, with setup time excluded.
- Forces need an extra nuclear gradient (Table 3), despite Fig. 1’s “exactly one Fock build”.
6- Some weak results stays in the appendix:
From QM9 to QMugs (Table 27), 61–100% of predictions are rejected for every arm. GROOT_proj collapses (mean energy error 26,318 mHa) while GROOT_rot stays at 36.9. On 3BPA, the best energies come from P_base (ON), not GROOT.
7- There is no chemistry validation
- “Chemical accuracy” here means agreement with B3LYP/def2-SVP. This is a small basis, not with experiment, and on absolute energies rather than energy differences.
- There is no molecular dynamics or geometry optimisation. Forces at an unconverged density aren’t the gradient of the reported energy.
Questions for the authors
- Is the mask in Eq. 12 applied before or after removing the shift? As written the loss is not invariant to H + aI.
- What explains the abrupt NON failure, and does predict it?
- Why not a gap-weighted OV Hamiltonian loss, as C.5 suggests?
- Would it not make sense to train the eSCN backbone as an MLIP, tune MLIPs, and give training and inference costs. Then please fill App. K and show the actual cost-accuracy plot, including setup and gradient costs.
- What are the criterion and "hard" definition used for model selection? Which WALoss flavour?
- Can you show risk-coverage curves for the rejection rule, and explain the 75% rejection of P_base (ON)?
- Can you define the density SCT objective and its Fock-build cost compared with labelling?
- Why does GROOT_proj fail so badly on QM9 -> QMugs while GROOT_rot does not?
- Since a few very large errors dominate the means, can you report medians and quantiles of the error per arm, alongside the percentage reductions, and compare the arms on one common set of molecules that none rejects?
5 comments
Thanks for your thorough review of our manuscript, and checking the math in detail. And we are glad to hear that you appreciate both then ansatz and challenging evaluations. Before addressing your specific questions, we kindly refer your to our new additional experiments in our general response targeting
- G1. Stresstesting our ansatzes on a different architectures with a standard dataset: QH9 /QHnet
- G2. Data-Scaling on QMugs, and extension to even larger molecules (new custom ood validation dataset
QMugsMax) - G3. Broader Chemical Space on SpiceV2
- G4. Open-Shell (UKS) chemistry (new custom carben based dataset
QMugsSpin)
W1 & Q1: ROCKET 3rd-Stage Subspace Gauge Notation (Eq. 12)
Thank you for catching this typo in Eq. 12. Our code already uses the shift-invariant subspace form, and only the shorthand in the text was wrong. We updated Eq. 12 accordingly.
W2 & Q9: Outlier Driven Errors and Their Representation
We agree with that point and plotted the energy error distribution using Violin plots and marking median and quartiles of them in the hope to better communicate the overall error distribution. While the errors are indeed outlier driven, our models seem to shift the overall distribution towards lower errors.
can you report medians and quantiles of the error per arm, alongside the percentage reductions?
We observe that close to ID the Hamiltonian baselines are quiet strong on a quartile base, but as the models extrapolate futher OOD ROCKET starts to pick up, while GROOT_proj consistenly outperforms all density and hamitonian models.
QMugs OOD test set with N_e ≤ 300 and no prediction excluded. Best is bold and second best is underlined per quartile.
| Arm | Q1 | Red. Q1 | Median | Red. median | Q3 | Red. Q3 |
|---|---|---|---|---|---|---|
| P_base (NON) | 0.0966 | – | 0.230 | – | 0.482 | – |
| P_base (ON) | 0.0373 | 61.4 % | 0.0648 | 71.8 % | 0.103 | 78.6 % |
| GROOT_rot | 0.00186 | 98.1 % | 98.3 % | 98.5 % | ||
| GROOT_proj | 0.000505 | 99.5 % | 0.00129 | 99.4 % | 0.00345 | 99.3 % |
| H_base + c_t S (NON) | – | 0.00423 | – | 0.0112 | – | |
| H_base + c_t S (ON) | 0.00343 | −95.5 % | 0.00913 | −116 % | 0.0241 | −116 % |
| ROCKET 3rd stage | 0.00218 | −24.1 % | 0.00515 | −21.8 % | 0.0113 | −0.9 % |
QMugs OOD test set with N_e > 300 and no prediction excluded. Best is bold and second best is underlined per quartile.
| Arm | Q1 | Red. Q1 | Median | Red. median | Q3 | Red. Q3 |
|---|---|---|---|---|---|---|
| P_base (NON) | 1.15 | – | 5.72 | – | 20.4 | – |
| P_base (ON) | 0.260 | 77.4 % | 0.397 | 93.1 % | 0.592 | 97.1 % |
| GROOT_rot | 99.2 % | 99.7 % | 99.9 % | |||
| GROOT_proj | 0.00371 | 99.7 % | 0.00847 | 99.9 % | 0.0184 | 99.9 % |
| H_base + c_t S (NON) | 0.0300 | – | 0.130 | – | 225 | – |
| H_base + c_t S (ON) | 0.0996 | −232 % | 0.392 | −201 % | 2.12 | 99.1 % |
| ROCKET 3rd stage | 0.0453 | −50.9 % | 0.138 | −6.1 % | 0.376 | 99.8 % |
QMugsMax, entire set up to 300 heavy atoms (ChEMBL parents beyond QMugs' 100-heavy-atom cap, 101–300 heavy atoms, 770–2,340 electrons, 78 molecules; QMugs-trained on ≤ 150 electrons)
| Arm | Q1 | Red. Q1 | Median | Red. median | Q3 | Red. Q3 |
|---|---|---|---|---|---|---|
| P_base (NON) | 721 | – | 2,409 | – | 12,005 | – |
| P_base (ON) | 0.978 | 99.9 % | 2.45 | 99.9 % | 7.79 | 99.9 % |
| GROOT_rot | 100.0 % | 100.0 % | 100.0 % | |||
| GROOT_proj | 0.0556 | 100.0 % | 0.266 | 100.0 % | 0.753 | 100.0 % |
| H_base + c_t S (NON) | 18,444 | – | 45,992 | – | 124,616 | – |
| H_base + c_t S (ON) | 64.2 | 99.7 % | 355 | 99.2 % | 11,364 | 90.9 % |
| ROCKET 3rd stage | 3.63 | 100.0 % | 6.65 | 100.0 % | 17.8 | 100.0 % |
W3: Theoretical Claims, Sensitivity, and Correlations
We agree on all three points and have revised the paper accordingly.
-
Wording and scope of the theory (Sec. 1, Sec. 3, App. C.1, Table 1). The introduction now reads "we motivate mathematically and show empirically", and the related work speaks of "empirical evidence". The bounds in Table 1 are local, per-molecule, worst-case statements, and App. C.1 says so explicitly. They motivate the ON basis; the evidence for size extrapolation is empirical ([G1]–[G4]). Table 1 has no force row, so forces are likewise covered empirically: their sensitivity is now part of Fig. 2a,b (Eq. 64), and their errors are reported in Fig. 2g and Fig. 16.
-
First- versus second-order energy in Fig. 2 (App. D.4, Eqs. 65–66). You are right that the reported energy is second-order in the matrix error. Fig. 2a,b now shows the second-order sensitivity of the Harris–Foulkes energy, which is the energy we report, in place of the first-order response of the standard Kohn–Sham energy. The conclusion is unchanged: under the sensitivity falls with the overlap eigenvalues, and under it stays approximately constant for all four observables (density, dipole, force, energy).
-
Correlations in Table 19 (formerly Table 24; App. M.1, Figs. 13–16). We agree that both effects enter pooled statistics, so the table and figures now report and under two joint controls. First, each model keeps only its predictions with an energy error mHa. This removes the failed cluster of the two Hamiltonian models trained with (
36–39%of their predictions, drawn in black in Figs. 13–16). Second, is regressed out of both quantities, so is the partial correlation at fixed molecule size. Under these controls the ON residual has the higher in all24panels and the higher in23of24.
W4 & Q3: Better Hamiltonian Loss?
There may be a better loss, suggested by the authors' own analysis: Appendix C.5 shows the first-order density error depends only on the occupied–virtual block of ΔH, weighted by inverse gaps. Why not use that loss directly?
That is a good point, and we tried it out:
QM40 test set (1,000 molecules; forces on 200). Energy: |ΔE| [mHa]; forces: per-atom force-error norm [mHa/Å]; Excl.: share rejected by the self-consistency rule.
| Objective | Excl. | E mean | E Q1 | E median | E Q3 | E max | F mean | F median | F Q3 |
|---|---|---|---|---|---|---|---|---|---|
| Gap-weighted OV (App. C.5), lr 1e-3 (selected) | 2.6 % | 2.53 | 0.151 | 0.638 | 2.40 | 59.7 | 5.29 | 4.23 | 7.76 |
| Gap-weighted OV (App. C.5), lr 3e-4 | 6.3 % | 5.23 | 0.304 | 1.25 | 4.81 | 107 | 7.73 | 5.83 | 11.2 |
| ROCKET, 2nd stage | 0.1 % | ||||||||
| ROCKET, 3rd stage (ours) | 0.0 % | 0.316 | 0.0273 | 0.0889 | 0.281 | 10.1 | 1.73 | 1.42 | 2.21 |
| ROCKET, 3rd stage, 3 seeds (Table 26) | 0.03 % | 0.377 | 0.0281 | 0.0938 | 0.298 | 26.0 | 1.81 | 1.41 | 2.29 |
We rationalize these results by noting that this expansion stays accurate only while ΔH is small; once ΔH grows on larger molecules, unconstrained gaps and occupation ordering can drift (so maybe one would need a term that first gets us this close so the first order can further thighten it). ROCKET's objective constrains the occupied subspace and the LUMO as well.
W5 & Q4: Cost-Accuracy Pareto Plots and additional "BackBone-ForceField (BBFF)" MLIP baseline
We added a runtime study in Appendix N (Figs. 17–21, [G5]), and clarified in Fig. 1's caption that adds one nuclear gradient (Table 3):
- Training & MLIP Pareto front (Figs. 17, 21): ON-Loss, GROOT, and ROCKET add no training overhead over
NONbaselines. Including setup, MLIP inference (NequIP, MACE,BBFF), and fallback SCF on rejected molecules, GROOT sits on the Pareto front between MLIPs and DFT for energies and energy-only forces (with ROCKET close behind), while MLIPs lead on forces. - End-to-end speedups with setup & gradients (Figs. 19–20): Counting setup and gradients, one-shot GSMs are
3–5xfaster than cold SCF for energies (~2xwith forces) under RI-JK, and9–11xfaster (3.5–5xwith forces) under direct J/K—where setup + model inference drop to~1–2%of runtime on large molecules and fit on one GPU where RI-JK gradients OOM. - Projector RI-K speedup (Fig. 19): Because GROOT and ROCKET output rank- projectors, RI-K contracts over orbitals rather than the full density, making their Fock build
1.6–5.4xfaster than unconstrained .
W6: QM9 QMugs and 3BPA
- QM9 QMugs (Table 40, formerly Table 27; Figs. 34–35): We placed this split in the appendix because training on
0 KQM9 minima and testing on300 KQMugs conformers confounds9xsize extrapolation () with temperature/conformer transfer, whereas Figs. 1 and 3 isolate each regime cleanly. Even on this confounded benchmark, our methods outperform theNONbaselines by orders of magnitude:NONbaselines reject100%of molecules (4,417–46,920 mHaMAE), whereas (36.9 mHaall,10.4 mHakept) and ROCKET (86–152 mHaall,15 mHakept) lead every observable in their families, and self-rejection filters 's OOD outliers down to8.3 mHakept. - 3BPA (Table 42, Section 5, p. 8): 3BPA (
144) is in-distribution in size ( train), and Section 5 already highlights our ON-Loss model (ON) here (NONrejects100%). Moreover, (ON) leads only on Harris–Foulkes (0.006–0.008 mHa) while leaving3.6–4.8 mHaerror in , whereas reaches0.01–0.03 mHaon both and .
W7: DFT Reference Ceiling and Relative Energies
We agree that surrogates cannot exceed the accuracy of their DFT reference ("chemical accuracy" here means 1 kcal/mol vs. B3LYP/def2-SVP) and that one-shot is only conservative at self-consistency; we added both points and MD/geometry-optimization benchmarks explicitly to Limitations. Note that relative energies are already evaluated on 3BPA torsional profiles (per-molecule offset removed; Fig. 4, Table 42) and Transition1x reaction barriers (Fig. 4, Table 43).
Comments on the paper
7 comments
Presentation, Structure, and Project Context
We thank all reviewers for their thorough feedback. We are genuinely sorry to hear that our presentation made the manuscript difficult to read; as all three reviewers raised readability and structural concerns, we take this consensus seriously and will make presentation and clearer signposting a primary focus for a camera-ready revision.
Our overarching goal was to present our contributions under one unifying principle: aligning ground-state learning objectives and architectures with the governing equations of KS-DFT. To give brief context on why the paper introduces several methods and baselines at once rather than following a single-method storyline, this reflects how the research actually unfolded:
- We started from manifold-constrained density transport (
GROOT_rot), and during training observed how strongly switching from theNONto theONmetric improved size extrapolation, which prompted our theoretical and empirical investigation ofON-Loss. - Next, we needed a strong, fair Hamiltonian baseline for size extrapolation beyond
QH9-ood(where size generalization had been over-estimated). Starting fromQHFlow2, we eliminated its costly initial Fock build from to , at which point training without -learning failed completely on larger molecules. Moving to the cheap guess helped, yet still lagged far behind density models. Noticing that a training-set gauge shift () helped on top of -learning as data normalization led us to test removing per-molecule gauge shifts entirely, and later masking unsupervised virtual-block errors (). By that stage, our pursuit of a competitive baseline had departed far enough from prior work to become a method in its own right (ROCKET).
Because we wanted to report this complete empirical progression faithfully—prioritizing scientific completeness and letting the data speak for itself over trimming results into a neat linear narrative—fitting all of this content into the nine-page limit forced heavy compression in the main text (dense figures, merged paragraphs, and inline emphasis in place of section breaks). With the extra space available in a camera-ready version, we will focus on decompressing the main text, improving signposting, and removing distracting inline formatting.
General Response: Overview of New Experiments and Datasets (`[G1]`–`[G5]`)
Thanks to all reviewers for their feedback. In the revised manuscript (changes in blue), we added five new experiments and two novel datasets (QMugsMax and QMugsSpin). Full tables and protocols are in comments [G1]–[G5]:
- [G1]
QHNet+ AdamW onQH9-stable-ood(App. Q, Table 22, Fig. 26): Training 20M QHNet from geometry alone with its published AdamW recipe, ROCKET reaches0.054 mHaMAE at 1 Fock build (vs.12.5 mHafor published QHNet,0%self-rejected), improving on 2-Fock-build QHNet and QHFlow (0.32–0.48 mHa). - [G2] Training-size scaling &
QMugsMaxup to 319 heavy atoms (App. T, Figs. 30–31): Doubling the QMugs training cutoff () at matched step count only shifts baseline breakdown to larger sizes; onQMugsMax(64 ChEMBL 37 molecules, 101–319 heavy atoms), baselines still fail (44–100%rejected), while GROOT stays near chemical accuracy across the full range (1.3–1.7 mHa, i.e.0.8–1.1 kcal/mol, vs.12–20 mHafor MLIPs) and ROCKET reaches4.2 mHakept MAE (<5%rejected). - [G3] 11-element chemistry on
SPICEv2(App. O, Table 20, Fig. 22): Adding (35,774train structures ,1,409size-OOD test structures up to ), and ROCKET reach0.25–0.26 mHaenergy MAE across all structures without self-rejection and cut SCF cycles by~36%. - [G4] Open-shell UKS on
QMugsSpin(App. P, Table 21, Figs. 23–25): Fine-tuning UKS extensions on neutral CHNOF carbenes ( heavy atoms) extrapolates to 100 heavy atoms at0.13–0.27 mHaenergy MAE (<0.5%rejected) for and ROCKET, and ROCKET transfers zero-shot to carbenes with held-out and formal charges (6.7 mHaMAE). - [G5] Wall-time benchmarks & Pareto front (App. N, Figs. 17–21): Single-H200 timings up to 182 heavy atoms (
1,380) show negligible training overhead,~30%faster warm-started SCF, and3.3–4.7xone-shot energy speedups with RI-JK (8.8–10.9xwith direct J/K), placing GROOT and ROCKET on the energy Pareto front between MLIPs and KS-DFT.
Upon publication, we plan to release the relaxed 3D geometries and label-generation scripts for QMugsSpin and QMugsMax (Reproducibility Statement; App. I, Tables 10 & 12). Individual replies cover the matched-backbone BBFF control (Fig. 1; App. N.4, T), readout vs. supervision frames (App. R), self-rejection threshold transfer (App. S), per-element node normalization (App. H), and Eq. 12.
[G1] Architecture- and Optimizer-Agnostic Validation on `QH9-stable-ood` (`QHNet` + AdamW)
Manuscript references: Appendix I (Table 11); Appendix Q (Table 22, Fig. 26); Appendix U (Tables 35, 44).
To confirm that our gains generalize beyond the eSCNMD backbone or Muon optimizer, we trained the standard 20M-parameter QHNet from molecular geometry alone on QH9-stable-ood ( atoms in training, 9,335 test molecules with atoms) using QH9's published 95-epoch AdamW recipe. For 20-epoch ablations, each arm selects its peak learning rate by its own validation objective (Table 35).
- 20-epoch readout and loss ablations (Fig. 26, Table 44). Predicting in the atomic-orbital (
NON) frame breaks down out of distribution under (55.8 mHa), WALoss (Table 35), and (65.1 mHa). Predicting in the Löwdin (ON) frame removes nearly all size-OOD outliers even under (1.04 mHa), and adding (0.444 mHa) and ROCKET (0.132 mHa) lowers errors further with0%self-rejection. - Full 95-epoch comparison & Fock-build cost (Table 22, Table 44). Because is a one-electron matrix, evaluating observables requires 1 Fock build total. At 95 epochs, single-pass 20M QHNet + ROCKET reaches
0.054 mHaMAE (0.0024 mHaHarris–Foulkes MAE,0%self-rejected)—lowering error relative to published 1-Fock-build QHNet (12.5 mHa) and outperforming 2-Fock-build QHNet (0.484 mHa) and QHFlow (0.323 mHa) at half the Fock-build cost (while recent multi-step flow-matching QHFlow2 models on a larger backbone reach0.007–0.036 mHausing 2 Fock builds plus 18-epoch fine-tuning):
QH9-stable-ood (9,335 test mol., no self-rejection; Table 22, Fig. 26) |
Total Fock builds | Epochs | MAE [mHa] | Self-rejected |
|---|---|---|---|---|
| QHNet (published / 80-ep. reported) | 1 | 65–80 / 80 | 12.5 / 15.7 | 6.8% / – |
| QHNet (retrained, full recipe) | 1 | 95 | 78.7 | 10.8% |
| QHNet + , / (ours) | 1 | 20 | 1.04 / 0.444 | 0.01% / 0.0% |
| QHNet + ROCKET (20M, ours) | 1 | 20 / 95 | 0.132 / 0.054 | 0.0% |
| QHNet / QHFlow (reported) | 2 | 80 | 0.484 / 0.323 | – |
| QHFlow2-s to -xl (12M–990M, flow ODE + fine-tune, reported) | 2 | 80+18 | 0.036–0.007 | – |
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Response to question (1) from summary
We thank the reviewer for their response.
What we claim is:
The revised manuscript tests the second and third claim by separating the readout basis from the loss basis (App. R, Fig. 27). On QM9 → QM40, at one Fock build and averaged over all molecules:
NONONONNONONONFor Hamiltonians, predicting in the ON basis gives most of the gain, and LON roughly halves the remaining error. For densities, an ON readout under LNON fails completely, and only the combination of ON readout and LON improves on the NON baseline.
The idea is indeed known for Hamiltonians. What we add is to follow it through, which current practice does not yet do. WALoss adds its alignment term to elementwise terms in the NON basis (their App. K, Eq. 19). QHFlow trains in the NON basis and uses only the orbital-energy (diagonal) part of the alignment term for post-hoc fine-tuning (their Eq. 7).
It is a fair point that the NON Hamiltonian is more localized than its Löwdin counterpart, which matters for linear-scaling and periodic applications. It also explains the deliberate choice by HELM etc. to use the NON basis for their training. For density matrices the NON basis has no such advantage: both representations decay at nearly the same rate with atom-pair distance (App. G, Fig. 6).
The practical question is whether the weaker localization of the ON Hamiltonian hurts at the cutoffs the model uses. We keep the cutoffs of QHFlow2 for all models (
5 Åbackbone,15 Åreadout). At15 Åthe entries of the ON target have already dropped about four orders of magnitude below their typical size (Fig. 6), so the readout cutoff removes almost nothing. In line with this, the ON models keep extrapolating up to 319 heavy atoms at these cutoffs, while the NON baselines break (App. T).On cost, the Fock build dominates one-shot molecular observables: setup and model inference together take about
1–2%of the time of an SCF with forces (App. N.3), and training time is the same for all losses and readouts. The ON-to-NON transform adds one symmetric eigendecomposition of S per molecule, which has the same cubic cost as a single eigen-solve of an SCF cycle.Changes in the manuscript: readout vs. loss ablation (App. R, Fig. 27; Table 37), QHNet validation on QH9 (App. Q), cost breakdown (App. N).