betaFeedback

WorksPhysics and Astronomy

Toward universal excited-state machine-learned potentials: a local excitation Hamiltonian for size consistency and transferability

Abstract

Universal machine-learned interatomic potentials could make excited-state simulations across chemical space routine, but excitation energies, unlike ground-state energies, are not sums of atomic contributions. The excited states of noninteracting molecules are the union of their states, which pooled multistate readouts reproduce at best for the lowest state. We introduce LEH-MACE, whose excitation energies are the eigenvalues of a local excitation Hamiltonian assembled from atom-centred blocks, so this union holds exactly. We generated TD-DFT energies and forces for about 300,000 equilibrium, thermal, and excited-state geometries of over 100,000 molecules. LEH-MACE's advantage over direct readouts grew with the distance from the training data and was largest above S1S_1, with about half their S2S_2 and S3S_3 errors for long conjugated oligomers. For molecule pairs, only LEH-MACE kept its single-molecule accuracy, while a softmin readout remained superior for S1S_1 dynamics of larger chromophores. Exact size consistency is thus one step toward such potentials.

Introduction

Machine-learned interatomic potentials (MLIPs) reach the accuracy of their quantum-chemical reference methods at a small fraction of the cost and have become standard tools for simulations in the electronic ground state [1]. For electronically excited states, MLIPs can make photodynamics simulations of molecules orders of magnitude cheaper than on-the-fly electronic-structure calculations [2, 3, 4]. Since the first nonadiabatic dynamics simulations with MLIPs [5, 6, 7], excited-state MLIPs have enabled photodynamics on nanosecond time scales [8, 9], mechanistic studies of photochemical reactions [10], the virtual screening of photoswitches [11, 12], and studies of the photodegradation of materials for organic light-emitting diodes [13], with architectures that also predict the couplings between states [14, 15]. Most of these models are trained for one molecule or a small family of related molecules. A diabatic neural network trained on azobenzene derivatives transferred to azobenzenes with substitution patterns outside its training set and predicted their photoisomerization quantum yields [11], and models that transfer across chemical space more broadly have been proposed only recently [16, 17, 18, 19]. Such a model has to solve two problems that ground-state MLIPs do not face.

The first problem is the structure of the target. Ground-state energies are, to a good approximation, sums of local contributions, which makes atom-centred MLIPs transferable to larger systems. Excitation energies are not additive. For two noninteracting fragments A and B, the locally excited states of A+B are the union of the excited states of A and of B, so that ΔE1(A+B)=min⁡[ΔE1(A),ΔE1(B)]\Delta E_1(\mathrm{A}+\mathrm{B})=\min[\Delta E_1(\mathrm{A}),\Delta E_1(\mathrm{B})] and two identical fragments give exactly degenerate pairs of states. A multistate readout that sums atomic contributions, as used in many excited-state MLIPs [14, 17], produces excitation energies that grow with system size. Mean pooling is intensive but averages the fragments. Extremal pooling recovers the lowest excitation [20], and set-based readouts [18] and fragment corrections [19] have been proposed, but none of these readouts reproduces the union of the spectra for the whole low-lying spectrum.

Hamiltonian readouts have this property by construction, because the spectrum of a block-diagonal matrix is the union of the spectra of its blocks. Learned Hamiltonians have been used to predict orbital energies from a fixed-size pseudo-Hamiltonian [21], excitation energies of hydrocarbons from an atom-centred minimal-basis one-electron Hamiltonian followed by a simplified Tamm–Dancoff calculation [22], diabatic two-state Hamiltonians for photoswitches [11], exciton Hamiltonians of molecular aggregates built from physically defined local and charge-transfer states [23], and latent Hamiltonians for the excited states of individual molecules [24]. Whether a latent excitation Hamiltonian, assembled from local atom-centred blocks and trained only on adiabatic excitation energies and forces, transfers across chemical space and to larger molecules has not been tested.

The second problem is data. Large excited-state databases such as QM8 [25], QCDGE [26], and the data used for OMNI-P2x [19] cover hundreds of thousands of molecules, but mostly at equilibrium geometries and without excited-state forces. Datasets for excited-state dynamics, such as SHNITSEL [27] and WS22 [28], contain many geometries of a few molecules. Neither kind of dataset is suited to train and test a model that transfers across chemical space and remains accurate away from equilibrium, where excited-state dynamics takes place.

Here we address both problems. We introduce LEH-MACE, a local excitation Hamiltonian (LEH) predicted by a MACE [29] encoder: onsite blocks for every atom and coupling blocks for atom pairs within a cutoff form a symmetric matrix whose sorted eigenvalues are the singlet excitation energies (Figure 1). The predicted spectrum of separated molecules is therefore exactly the union of their spectra. We also present a TD-ω\omegaB97X-D/6-31G* dataset of 303,061 geometries of 106,933 molecules with ground- and excited-state energies and forces at equilibrium, thermal, and excited-state-sampled geometries, together with test sets of larger molecules, conjugated dyes, and ladder molecules with up to 30 heavy atoms. Of the readouts we compared (direct multistate readouts on the same encoder, X-MACE [18], and OMNI-P2x [19]), only LEH is exactly size consistent. Its advantage over the other readouts grew with the distance of the test molecules from the training data, from larger molecules to conjugated dyes and ladder molecules, and it was largest for pairs of molecules, where only LEH kept its single-molecule accuracy. For molecules similar to the training molecules, the direct readouts were slightly more accurate, and for the lowest excited state, the direct softmin readout remained competitive also beyond them. An active-learning loop along model-driven S1S_1 dynamics added 68,119 geometries in twisted and low-gap regions, on which we trained production models for excited-state dynamics.

Figure 1. Local excitation Hamiltonian and data. a, A MACE encoder computes atom features hih_i within the cutoff rc=5r_c = 5 Å. Onsite blocks and pair blocks form a symmetric matrix H\mathbf{H}, whose sorted eigenvalues are the excitation energies S1,S2,…S_1, S_2, \ldots b, Two molecules A and B further apart than rcr_c. H\mathbf{H} is block diagonal, and its spectrum is the union of the spectra of A and B. c, Generation of the training data. QCDGE-derived molecules at equilibrium and thermal geometries and geometries from model-driven S1S_1 and S2S_2 dynamics are labelled with TD-ω\omegaB97X-D/6-31G* energies and forces (S0S_0–S3S_3, ten singlet excitation energies). An active-learning loop repeats the excited-state sampling for the production models.

Results

A local excitation Hamiltonian

LEH replaces the multistate readout of an MLIP by a learned symmetric matrix (Figure 1a). A MACE encoder computes features hi\mathbf{h}_i for every atom. An onsite network maps them to one diagonal element per atom, and a pair network gives a coupling for every pair of atoms closer than rc=5r_c = 5 Å. The sorted eigenvalues of this matrix are the singlet excitation energies, the ground-state energy is a sum of atomic energies, and the excited-state forces follow from the derivatives of the eigenvalues (Methods). The matrix grows with the molecule, so a larger system has more low-lying states. For two molecules further apart than rcr_c, the matrix is block diagonal, and its spectrum is exactly the union of the two spectra (Figure 1b). Readouts that pool over atoms, by summing, averaging, or taking a soft minimum, and models built on per-state atomic sums do not have this property.

An off-equilibrium excited-state dataset

Excited-state dynamics leaves the equilibrium geometry within femtoseconds, so a transferable model needs excited-state forces at distorted geometries of many molecules. We computed TD-ω\omegaB97X-D/6-31G* ground- and excited-state energies and forces (S0S_0–S3S_3, ten singlets) for 303,061 geometries of 106,933 molecules, 203,040 of them with excited-state forces (Figure 1c and Figure 2, Supplementary Note 1, Supplementary Fig. 1). Most molecules are derived from QCDGE [26]. Each of them contributes its QCDGE minimum and thermal geometries from ground-state xTB dynamics at 300–1000 K. Another 85,950 geometries come from model-driven S1S_1 and S2S_2 dynamics, from one round of sampling for the benchmark models and three active-learning rounds for the production models (Methods). The thermal geometries reach several eV above the minimum in S0S_0 but rarely small S1S_1 excitation energies, which the excited-state-sampled geometries cover (Figure 2b,Figure 2c). We trained the benchmark models of the following sections on the first version of the dataset, 168,587 geometries of 76,621 molecules with up to ten heavy atoms. The test sets contain random and unseen-scaffold molecules of the same size, 500 larger molecules with 11–20 heavy atoms, 5,018 conjugated dyes, and 1,393 ladder molecules with up to 30 heavy atoms (Figure 2a, Supplementary Fig. 2), none of which the benchmark models saw in training.

Figure 2. Dataset. a, Number of molecules versus the number of heavy atoms for the QCDGE-derived training molecules, the larger test molecules, the dyes (training and test scaffolds, the training scaffolds are part of the production training set only), and the ladder molecules (test only). b, Distribution of the S1S_1 excitation energy of the production training geometries by geometry type (number of geometries in brackets). c, Distribution of the S0S_0 energy above the minimum of the same molecule. d, Mean absolute S1S_1 error of the sampling models of active-learning rounds 2–4 on the geometries they selected, before labelling, versus the largest double-bond twist of the geometry.

Accuracy on held-out molecules

For test molecules similar to the training molecules, LEH, the direct softmin readout on the same encoder, and X-MACE [18] reached similar accuracy with the full training set, with S1S_1–S3S_3 errors of 0.18 eV, 0.17 eV, and 0.17 eV for random molecules at thermal geometries (Figure 3a, Table 1). With fewer training data, LEH was the most accurate model, and for larger molecules it had the lowest error from 10k training molecules on (Figure 3b). With the full training set, the direct readouts had slightly lower errors for unseen scaffolds and S1S_1-sampled geometries.

Figure 3. Learning curves. Mean absolute error of the S1S_1–S3S_3 excitation energies (a, b) and of the S1S_1 forces (c, d) versus the number of training geometries, for random test molecules with up to 10 heavy atoms at thermal geometries (a, c) and larger test molecules with 11–20 heavy atoms (b, d). The training sets contain 1k–76.6k molecules with about 2.2 geometries per molecule. Markers show seed means and bars seed standard deviations. LEH, L=2L = 2: encoder with higher angular resolution, full training set only. OMNI-P2x arch.: the OMNI-P2x architecture trained from scratch on our data. MS-ANI and the pretrained and fine-tuned OMNI-P2x are shown in Supplementary Figure 3. All models use the same splits and test sets.

ModelS1S_1–S3S_3 MAE (meV), randomscaffoldS1S_1-sampl.largerS1S_1 forces (meV/A˚\mathring{\mathrm{A}}), randomlargerS0S_0 (meV/atom), randomlarger
LEH177±2177\pm2207±5207\pm5326±9326\pm9168±2168\pm2213±1213\pm1166±1166\pm15.1±<0.15.1\pm<0.13.9±0.23.9\pm0.2
LEH, L=2L=21772073001532041644.63.9
Direct-softmin167±<1167\pm<1189±<1189\pm<1279±1279\pm1187±2187\pm2212±1212\pm1171±2171\pm24.9±<0.14.9\pm<0.13.7±0.13.7\pm0.1
X-MACE1681862682082723534.012.1
OMNI-P2x arch.44746242177444835610.78.2

Table 1. Errors of the models trained on the full training set. Mean absolute errors of the S1S_1–S3S_3 excitation energies for random, unseen-scaffold, S1S_1-sampled, and larger test molecules, of the S1S_1 forces, and of the S0S_0 energy. Mean ±\pm standard deviation over seeds where available. Bold: lowest error per column. All targets with R2R^2 and the decomposition of the S1S_1 energy error into S0S_0 and excitation-energy errors are listed in Supplementary Table 2.

An encoder with higher angular resolution (L=2L = 2, one seed) reduced the error of LEH for larger molecules to 0.15 eV, the lowest of all models, and for S1S_1-sampled geometries to 0.30 eV (Table 1). The OMNI-P2x architecture trained from scratch on the same data reached 0.45 eV for random molecules, and MS-ANI, the same architecture without the level-of-theory input, 0.41 eV. The pretrained OMNI-P2x model fine-tuned with the protocol of its authors was less accurate for these molecules (0.60 eV) but more accurate than training from scratch for larger and conjugated molecules (Supplementary Note 3). The S1S_1 forces differed more between the models than the energies. LEH and the direct softmin readout predicted them with errors of 0.21 eV/A˚\mathring{\mathrm{A}} and 0.21 eV/A˚\mathring{\mathrm{A}}, and X-MACE with 0.27 eV/A˚\mathring{\mathrm{A}} (Figure 3c,Figure 3d). The ground-state energies of LEH and Direct-softmin had errors of 5.1 meV per atom and 4.9 meV per atom for random molecules and 3.9 meV per atom and 3.7 meV per atom for larger molecules. X-MACE had the lowest ground-state error for random molecules (4.0 meV per atom) but three times the error of LEH for larger molecules (12.1 meV per atom, Table 1). At the equilibrium geometries, where the training data contain no excited-state forces, LEH predicted the S1S_1 forces, which set the initial direction of an excited-state relaxation, with errors of 0.17 eV/A˚\mathring{\mathrm{A}} and 0.13 eV/A˚\mathring{\mathrm{A}} for random and larger molecules (R2=0.92R^2 = 0.92, X-MACE: 0.23 eV/A˚\mathring{\mathrm{A}} and 0.24 eV/A˚\mathring{\mathrm{A}}, Supplementary Note 10). For LEH, Direct-softmin, and X-MACE, all errors decreased with the number of training geometries and did not reach a plateau with the full training set, whereas the errors of the OMNI-P2x architecture changed little beyond 10k training molecules. At a fixed number of training geometries, the accuracy did not depend on whether they came from more molecules or from more geometries per molecule (Supplementary Note 8).

Transfer beyond the training distribution

LEH and the direct readouts differed most when the test molecules differed from the training molecules (Figure 4a). The direct softmin readout and X-MACE were slightly more accurate than LEH for molecules similar to the training molecules, but their errors grew faster with the distance from the training distribution. For larger molecules, LEH reached 0.17 eV (Direct-softmin 0.19 eV, X-MACE 0.21 eV), for the 3,875 sulfur-free dyes, none of which these models saw in training, 0.29 eV (0.35 eV and 0.96 eV), and for ladder molecules 0.36 eV (0.61 eV and 0.77 eV). The difference increased with molecule size (Figure 4b,Figure 4c). The error of X-MACE increased most among these three models, because X-MACE decodes all excited-state energies from one sum of atomic features over the whole molecule, and this sum leaves the range seen in training for larger molecules (Methods, Supplementary Note 9). The OMNI-P2x architecture, which predicts each state as a sum of atomic energies, had the strongest size dependence. Fine-tuning the pretrained OMNI-P2x model reduced its errors for larger molecules, dyes, and ladder molecules to 0.62 eV, 0.88 eV, and 0.77 eV, which are still two to four times those of LEH.

Figure 4. Transferability. a, Mean absolute error of the S1S_1–S3S_3 excitation energies of the models trained on the full training set, for test sets ordered by their distance from the training distribution. Shaded: test molecules similar to the training molecules. Dyes: all 3,875 sulfur-free dyes at their equilibrium geometries, none of which these models saw in training. Ladders: all sulfur-free ladder molecules at their equilibrium geometries. Dimers: two nonbonded test molecules at minimum distances of 2.5–15 Å, compared with TD-ω\omegaB97X-D dimer spectra (Figure 5). b, c, Mean absolute error of the S1S_1–S3S_3 excitation energies versus the number of heavy atoms for dyes (b) and ladder molecules (c) at their equilibrium geometries, in bins of three heavy atoms. Errors relative to LEH for S1S_1–S3S_3 and for S1S_1 alone are shown in Supplementary Figure 6, and MS-ANI, the pretrained OMNI-P2x, and the adapted fine-tuning protocol in Supplementary Figure 4. OMNI-P2x arch.: OMNI-P2x architecture trained from scratch on our data. OMNI-P2x, fine-tuned: pretrained OMNI-P2x fine-tuned on our data with the protocol of its authors.

Mean absolute errors relative to LEH for Direct-softmin, X-MACE, and OMNI-P2x models across test sets

Supplementary Figure 6. Mean absolute errors of Direct-softmin, X-MACE, and the OMNI-P2x architecture (trained from scratch) relative to LEH on the test sets of main-text Figure 4a, ordered by their distance from the training distribution. Values above 1 indicate a lower error of LEH. Shaded: test molecules similar to the training molecules. a, S1S_1–S3S_3 excitation energies. b, S1S_1 excitation energy. Models trained on the full training set.

Most of the advantage of LEH lies in the states above S1S_1. For S2S_2 and S3S_3, LEH had errors of 0.24 eV for the ladder molecules and 0.24 eV for the held-out dyes, compared with 0.58 eV and 0.35 eV for the softmin readout. For S1S_1 alone, the two readouts had similar errors (ladder molecules: 0.60 eV and 0.66 eV, held-out dyes: 0.41 eV and 0.39 eV, Table 2, Supplementary Figure 6). This is consistent with a soft minimum over atomic contributions, which targets the lowest excitation but not the states above it. The production models, which we trained additionally on the active-learning data (Methods), showed the same pattern for the ladder molecules, with S2S_2–S3S_3 errors of 0.18 eV versus 0.30 eV and S1S_1 errors of 0.43 eV versus 0.32 eV (LEH versus softmin readout, committee predictions, Table 2).

Training dataModelheld-out dye scaffolds S1S_{1}–S3S_{3} MAE (meV)held-out dye scaffolds S1S_{1} MAE (meV)held-out dye scaffolds S1S_{1} R2R^{2}ladder molecules S1S_{1}–S3S_{3} MAE (meV)ladder molecules S1S_{1} MAE (meV)ladder molecules S1S_{1} R2R^{2}
benchmarkLEH292±17406±350.17±0.02357±12596±100.48±0.01
Direct-softmin365±38392±420.04±0.33606±11660±60.31±0.01
X-MACE11251543-8.71772891-0.54
OMNI-P2x arch.18211336-6.5111821199-1.62
OMNI-P2x, fine-tuned976657-1.167676790.21
+ training dyesLEH171±15207±360.79±0.07324±76532±1630.51±0.25
Direct-softmin171±7188±50.82±<0.01492±14492±<10.57±0.01
production: + training dyes + active learningLEH171±7192±60.81±0.02283±58442±1410.64±0.18
Direct-softmin160±11173±130.86±0.02313±28325±260.81±0.02
LEH, committee1521720.852664340.67
Direct-softmin, committee1481640.883073210.82

Table 2. Conjugated molecules. Mean absolute errors of the S1S_{1}–S3S_{3} and S1S_{1} excitation energies and R2R^{2} of S1S_{1} for held-out dye scaffolds and ladder molecules (sulfur-free) at their equilibrium geometries. The benchmark models were trained on molecules with up to ten heavy atoms, the dye-augmented models additionally on the training dye scaffolds, and the production models on the data of the dye-augmented models and all active-learning geometries with the weighted loss (Methods). No model was trained on ladder molecules. Mean ± standard deviation over seeds (two for the benchmark and dye-augmented models where available, four for the production models). Committee: seed-averaged prediction. OMNI-P2x, fine-tuned: average of the three fine-tuned ensemble members. Bold: lowest error or highest R2R^{2} per column within each training-data group (for the production models, seed means and committees separately). Thermal geometries are listed in Supplementary Tables 7 and 11.

Figure 6. Excited-state dynamics. a, Mean absolute error of the S1S_1 excitation energy and b, of the change of the S0S_0 energy along the TD-ω\omegaB97X-D S1S_1 trajectories of seven validation molecules, for the sampling models after each active-learning round (small markers: the two models, line: mean, round 1: benchmark LEH) and for the production models (small markers: four seeds, large markers: mean). The dashed line marks the 0.2 eV threshold of the stopping criterion. c, Mean absolute S1S_1 error along the five test trajectories for the benchmark LEH before active learning and for the production LEH and Direct-softmin models (small markers: seeds, large outlined markers: committee). The structures of the test molecules are shown above d–h. d–h, S1S_1 excitation energy and i–m, S0S_0 energy relative to t=0t = 0 along the test trajectories, evaluated at the TD-ω\omegaB97X-D geometries up to the frame where TD-DFT breaks down (acrolein and uracil: first 300 fs). Production models: committee prediction (line) and range over the four seeds (band).

The benchmark models captured little of the variation of S1S_1 between the held-out dye scaffolds (R2R^2 of 0.17 for LEH and 0.04 for the softmin readout, negative for X-MACE and both OMNI-P2x models, Table 2). Adding the training dye scaffolds to the training data (dye-augmented models) reduced the errors for held-out dye scaffolds to 0.17 eV for both LEH and the softmin readout and raised the R2R^2 of S1S_1 to 0.79 and 0.82, without changing the accuracy for small molecules. For the ladder molecules, which remained unseen, LEH was more accurate (0.32 eV versus 0.49 eV, Table 2).

Size consistency and noninteracting molecules

Only LEH kept its single-molecule accuracy when a second molecule was added (Figure 4a). For two molecules 10 A˚\mathring{\mathrm{A}} apart, the levels that LEH predicted for the pair agreed within 10−1410^{-14} eV with the levels it predicted for the two molecules separately, and for two identical molecules every level appeared twice, as in TD-ω\omegaB97X-D (Figure 5a,Figure 5b). The pooled readouts shifted and spread the levels of the pair, and the per-state atomic sums of the OMNI-P2x architecture moved them up by several eV.

Figure 5. Separability. a, Excitation energies (S1S_1–S6S_6) of two different molecules A and B at a minimum interatomic distance of 10 Å, beyond the cutoff rc=5r_c = 5 Å. For TD-ω\omegaB97X-D and each model, the left column (A, B) shows the levels of A and B computed separately, coloured by molecule, and the right column (A+B) the levels of the pair computed together. Solid lines connect each level of the pair with the matching level of the separate molecules (TD-ω\omegaB97X-D and LEH, dimer levels coloured by the molecule they belong to). Dashed lines connect the nn-th levels of the two columns (pooled readouts, dimer levels in the model colour). X-MACE predicts S1S_1–S3S_3 only. Arrows mark levels above the plotted range. b, The same for two identical molecules (A + A, with A from panel a). Degenerate levels are drawn side by side. The pairs in a and b have the median and a near-median (fifth of ten) Direct-softmin error at 10 Å. LEH and Direct-softmin: seed 0. c, Mean absolute error of the dimer S1S_1–S3S_3 excitation energies with respect to TD-ω\omegaB97X-D versus the minimum interatomic distance (180 dimers of ten different and ten identical pairs). The dashed line marks rcr_c. d, Mean absolute error of the dimer excitation energies for S1S_1, S2S_2–S3S_3, and S4S_4–S6S_6, for the pair computed together (filled) and for the union of the predictions for the two molecules computed separately (open). In c and d, models trained on the full training set, seed mean where two seeds exist. Readouts on the same encoder are compared in Supplementary Figure 7.

At short distances, the two molecules interact. TD-ω\omegaB97X-D shifts the dimer excitation energies relative to the union of the monomer spectra by 31 meV and 65 meV at 2.5 A˚\mathring{\mathrm{A}} (different and identical molecules, the latter by excitonic splitting of degenerate states) and by only 4–10 meV at 5 A˚\mathring{\mathrm{A}}. LEH reproduced the order of magnitude of these short-range shifts and is exactly separable beyond its cutoff. Its error for the 180 dimers (0.15 eV and 0.17 eV for different and identical pairs) was therefore no larger than for the same molecules alone (0.18 eV, Figure 5c). The other models were about as accurate as LEH for the single molecules (Direct-softmin 0.19 eV, X-MACE 0.17 eV) but not for the dimers (0.55 eV and 0.64 eV), at every distance up to 15 A˚\mathring{\mathrm{A}}.

Per-state atomic sums predicted the excitation energy of a dimer approximately as the sum of those of its monomers (OMNI-P2x architecture: 5.98 eV, fine-tuned OMNI-P2x: 6.01 eV).

For Direct-softmin, the dimer error came mainly from the states above S1S_1. Its dimer S1S_1 error was moderately larger than that of LEH (0.20 eV versus 0.13 eV), consistent with a soft minimum, which selects the lower of the two monomer excitations. Its S2S_2–S3S_3 and S4S_4–S6S_6 errors were several times larger than those of LEH (0.73 eV versus 0.17 eV and 0.93 eV versus 0.24 eV, Figure 5d). The union of its own predictions for the two molecules computed separately would have been as accurate as LEH (0.15 eV), so the error comes from the readout and not from the encoder. Readouts that pool by summing, averaging, or a soft minimum on the same encoder deviated from the union of their monomer spectra by 0.4–1.3 eV at all distances (Supplementary Figure 7).

Four-panel plots showing mean absolute deviation of predicted dimer excitation energies from the union of predicted monomer spectra versus minimum interatomic distance. Panel labels a, b, c, d. The vertical axis is “Mean $|$dimer − union of monomers$|$, $S_{1}$–$S_{3}$ (eV)” and the horizontal axis is “Minimum interatomic distance (Å)”. Annotations read “cutoff $r_{\mathrm{c}} = 5$ Å”, “per-state atomic sums: dimer $S_n \approx S_n$(A) + $S_n$(B)”, and “values $\le 10^{-4}$ eV shown at $10^{-4}$”. The legend lists LEH, Direct-softmin, Direct-mean, Direct-sum, TD-$\omega$B97X-D (10 pairs), X-MACE, MS-ANI, OMNI-P2x arch., scratch, OMNI-P2x ft, authors' protocol, and OMNI-P2x pretrained.

Supplementary Figure 7. Mean absolute deviation of the predicted dimer excitation energies (S1S_{1}–S3S_{3}) from the union of the predicted monomer spectra versus the minimum interatomic distance, for pairs of different (a, c) and identical (b, d) test molecules. a, b, Readouts on the same encoder architecture. c, d, LEH and the baselines. All models were trained on the same 10k molecules (seed 0). Lines show the mean and bands the interquartile range over 60 pairs. Values below 10−410^{-4} eV are shown at 10−410^{-4} eV. Stars: deviation of the TD-ω\omegaB97X-D dimer spectrum from the union of the monomer spectra (ten pairs). Dotted vertical line: cutoff rcr_{\mathrm{c}}.

Public benchmark

On the public QCDGE dataset, we trained on equilibrium geometries of molecules with up to eight heavy atoms and tested on molecules with nine and ten heavy atoms (Table 3). LEH and the softmin readout were equally accurate within the training size range (0.090 eV and 0.092 eV) and for nine heavy atoms. For ten heavy atoms, LEH was slightly more accurate for the three lowest states (0.256 eV versus 0.265 eV) and by a larger margin for all ten states (0.204 eV versus 0.229 eV). For ten-heavy-atom molecules with scaffolds absent from training, the two readouts were equally accurate (0.291 eV and 0.285 eV). Sum and mean pooling were less accurate. The error of the OMNI-P2x architecture increased from 0.178 eV to 0.511 eV, and that of X-MACE, which decodes all states from one sum over the atoms, from 0.182 eV to 0.849 eV (R2R^{2} = 0.23). The step from nine to ten heavy atoms is not only a step in size. In QCDGE, the molecules with up to nine heavy atoms are derived from QM9 and those with ten heavy atoms from GDB-11, so the ten-heavy-atom molecules also differ in their chemistry. LEH trained on a random split of the same size, in which 83% of the training molecules have nine heavy atoms, reached 0.233 eV on the ten-heavy-atom test molecules, close to the 0.256 eV of the size split. Most of the error increase from nine to ten heavy atoms therefore comes from this change in chemistry and not from the larger size (Supplementary Note 13).

S1S_1–S3S_3 MAE (meV)S1S_1–S10S_{10} MAE (meV)S1S_1–S3S_3 R2R^2
Heavy atoms≤ 8 (val.)91010, new scaffolds1010
LEH90±1115±1256±3291±4204±10.90±<0.01
Direct-softmin92±1117±3265±5285±7229±60.89±<0.01
Direct-sum103±1139±1293±3297±17268±100.88±<0.01
Direct-mean102±<1134±2280±6301±13244±40.89±<0.01
X-MACE1822608496829030.23
OMNI-P2x arch.1782405114945170.64

Table 3. Table 3: QCDGE size extrapolation. Mean absolute errors and R2R^2 of the excitation energies of models trained on QCDGE equilibrium geometries of molecules with up to eight heavy atoms (19,849 molecules, ten supervised excitation energies, no forces), for 5,000 test molecules each with nine and ten heavy atoms and for the ten-heavy-atom molecules with scaffolds absent from training. Mean ± standard deviation over two or three seeds (single runs without). R2R^2 per state, averaged over S1S_1–S3S_3. Bold: lowest error or highest R2R^2 per column. Random-split controls, S1S_1 errors, and the transition-dipole variant are listed in Supplementary Table 8.

Excited-state dynamics

Excited-state dynamics drives molecules into twisted geometries with small S1S_{1} excitation energies, which thermal sampling and one round of excited-state sampling cover poorly. On the geometries selected in active-learning round 2, the S1S_{1} error of the benchmark model increased from 0.37 eV below a double-bond twist of 30∘30^\circ to 1.11 eV beyond 75∘75^\circ (Figure 2d). Three active-learning rounds [30] along model-driven S1S_{1} dynamics added 68,119 geometries of 16,381 molecules (Methods). The error of the sampling models on the geometries they selected decreased from 0.53 eV to 0.40 eV (Figure 2d). Their mean S1S_{1} error along the TD-ωB97X-D S1S_{1} trajectories of seven validation molecules, which never entered training, decreased from 0.53 eV to 0.27 eV (Figure 6a, Supplementary Note 14), and the error of the change of their S0S_0 energy from 0.20 eV to 0.11 eV (Figure 6b). Models trained from scratch on all data reached 0.17 eV on these trajectories, below the 0.2 eV threshold at which the loop stops. For the production models, we used a loss that gives more weight to geometries with small S1S_1 excitation energies, which reduced the overestimation of S1S_1 near S1S_1/S0S_0 crossings (Methods). With four seeds each, the production LEH and Direct-softmin models reached 0.19±0.05 eV and 0.15±0.01 eV on the validation trajectories (Figure 6a) and errors of 0.09 eV and 0.07 eV for the change of the S0S_0 energy (Figure 6b). Their own S1S_1 dynamics from the validation minima was stable, with a total-energy drift of at most 7 meV over 1 ps and no bond changes.

We did not use the five test trajectories for any decision. Active learning reduced the mean S1S_1 error of LEH along these trajectories from 0.42 eV for the benchmark model to 0.29 eV (Direct-softmin: 0.15 eV, Figure 6c). Along an S1S_1 trajectory, the S1S_1 potential energy is the sum of the S0S_0 energy and the S1S_1 excitation energy. The excitation energy determines when a molecule reaches the crossing with S0S_0 (Figure 6d–Figure 6h), and the S0S_0 energy rises as the molecule moves away from the ground-state minimum (Figure 6i–Figure 6m). Both production models reproduced the S1S_1 excitation and S0S_0 energies of acrolein and uracil within 0.09 eV. For the three larger chromophores, trans-stilbene, HBDI, and DMABN, both models reproduced the increase of the S0S_0 energy by 1.8–3.7 eV within 0.08–0.25 eV. As the S1S_1 excitation energy decreased during relaxation and twisting, both models predicted it too high, on average by 0.11–0.22 eV (Direct-softmin) and 0.35–0.54 eV (LEH) for the committee predictions. All four LEH seeds overestimated it in the same way, so their disagreement does not indicate this error. At the same time, both models underestimated the rise of the S0S_0 energy, and the two errors largely cancelled (correlation coefficients between −0.97 and −0.99 for trans-stilbene and HBDI). The S1S_1 potential energy, which determines the forces in S1S_1 dynamics, therefore had smaller errors than the excitation energy (Direct-softmin: 0.08–0.15 eV versus 0.18–0.22 eV, LEH: 0.24–0.30 eV versus 0.36–0.54 eV), but both models kept S1S_1 and S0S_0 too far apart near the twisted geometries. For S1S_1 dynamics of single molecules larger than the training molecules, Direct-softmin is therefore the more accurate of the two production models.

Discussion

A latent excitation Hamiltonian assembled from local blocks gives an excited-state MLIP a property that pooled multistate readouts lack: its spectrum for noninteracting molecules is exactly the union of the spectra of the molecules. For pairs of molecules, LEH was three to four times more accurate than every direct readout. For single molecules that are larger or more extended than the training molecules, LEH transferred better than the direct readouts, with lower errors mainly for the states above S1S_1. This advantage grew with the distance from the training distribution, where a model for photochemistry across chemical space is needed most. With up to 10k training molecules, LEH was the most accurate model, and its excited-state forces were as accurate as those of the best direct readout. With the full training set, the direct readouts had 0.01–0.06 eV lower errors for molecules similar to the training molecules. The remaining errors of 0.15–0.2 eV for the excitation energies of molecules similar to the training molecules are comparable to the error of TD-DFT with range-separated hybrids relative to high-level references, about 0.2–0.3 eV [31, 32, 33].

For the lowest excited state of a single molecule, the direct softmin readout is the stronger model. A soft minimum over atomic contributions targets the lowest excitation [20], which is the state that governs S1S_1 dynamics. The production Direct-softmin model was more accurate than LEH for S1S_1 along the test trajectories of the larger chromophores and for S1S_1 of long ladder molecules. This difference does not come from the weighted loss, which made LEH less accurate along the trajectories, because the models trained with the uniform loss showed the same order (0.28 eV versus 0.20 eV along the test trajectories). In both cases, LEH predicted too high an S1S_1 excitation energy where extended conjugation or twisting lowers it. Our results presented here do not yet indicate why the eigenvalue readout learns this lowering less well. More latent channels per atom, longer-range couplings, and active learning on larger chromophores are possible approaches for improvement. The two readouts thus have different use-cases: LEH is suited on the path towards a universal MLIP, where the spectrum above S1S_1 or more than one molecule matters, for example for absorption spectra, photophysical processes that involve higher-lying excited states [34], or chromophores in explicit solvent. Direct-softmin is suited for S1S_1 dynamics of single molecules.

Limitations and outlook. The latent Hamiltonian is size consistent only within the sector it represents, the union of local excitations of separated fragments. The short-range blocks do not represent charge-transfer states between fragments, double excitations, or long-range excitonic couplings. For the closed-shell organic molecules of this work, TD-ω\omegaB97X-D shifts the dimer spectra by less than 10 meV beyond 5 Å, well below the model error, but this will not hold for donor–acceptor complexes or molecular aggregates. A dipole–dipole coupling between distant channels would describe excitonic interactions in aggregates. The eigenvalues determine the Hamiltonian only up to orthogonal transformations. The learned couplings and eigenvectors therefore have no diabatic meaning, and the model provides no nonadiabatic couplings. Unlike a pooled readout, LEH can nevertheless be trained with information on its eigenvectors. With a loss on the TD-DFT excitation populations of S1S_1–S3S_3 (10k training molecules), the weight shared by the S1S_1 eigenvector and the TD-DFT population on validation molecules increased from 0.67 to 0.78, and the S1S_1–S3S_3 error of random test molecules decreased from 0.227 eV to 0.215 eV. For the ladder molecules, neither this agreement nor the S1S_1 error changed (0.62 eV and 0.62 eV, Supplementary Note 7). Transition dipoles built from the eigenvectors give oscillator strengths, which were accurate within but not beyond the training size range in our tests (Supplementary Note 13). The ground state is predicted by a separate extensive readout, to which the excitation energies are added. The topology of S1/S0S_1/S_0 conical intersections is therefore not represented, whereas intersections between excited states arise from the eigenvalues of a smooth matrix. Linear-response TD-DFT itself describes S1/S0S_1/S_0 intersections incorrectly [35], so an improvement would require other reference methods. A coupling of each eigenmode to the ground state, as in latent Hamiltonians that include the ground state [24], would represent S1/S0S_1/S_0 intersections without giving up separability, and spin-flip or multireference data would allow training it. With one latent channel per atom, the model has as many states as atoms, which restricts diatomic and triatomic molecules to two or three states. More channels per atom remove this restriction. LEH and the direct readouts predicted negative excitation energies for a few highly strained cage molecules of the scaffold test set. Soft bounds on the LEH blocks limit these errors but do not remove them (production models: lowest S1S_1 of −13-13 eV for LEH and −21-21 eV for Direct-softmin), and the disagreement between seeds identifies them. Systematic errors, such as the too high S1S_1 excitation energies of the larger chromophores, were shared by all seeds of both architectures, so the disagreement between seeds is not a sufficient error estimate far from the training data.

Our results outline the steps toward a universal excited-state MLIP, comparable to the foundation models for the electronic ground state [36, 37]. The first step is a readout that is size consistent by construction. A ground-state MLIP predicts one extensive energy, whereas an excited-state MLIP predicts a set of states whose number, order, and character change with the size of the system. The latent Hamiltonian defines what a model should predict for local excitations of separated fragments, the union of their spectra, and a matrix with local blocks can still have eigenvectors that extend over a whole conjugated molecule. This readout transferred better to larger, conjugated, and noninteracting molecules, and fine-tuning a pretrained multistate model did not make up for a readout without this property. Extending the representation to charge-transfer states, states delocalized beyond the cutoff, and couplings between states with a physical meaning is the next step on the model side. The second step is data: The learning curves did not saturate, and power laws fitted to them reach an S1S_1–S3S_3 error of 0.1 eV for random test molecules at 0.6 to 4 million training molecules, depending on the model, 8 to 49 times our training set. In our fixed-budget comparison, the number of labelled geometries limited the accuracy and not their distribution over molecules. Additional data are therefore most useful at geometries where the model is uncertain or where the dynamics goes, as in the excited-state sampling of this work, together with error estimates that also detect the errors shared by all seeds. Beyond the closed-shell molecules with C, H, N, O, and F and the singlet states of our dataset, a universal model needs other elements, charged and open-shell molecules, triplet states for intersystem crossing, and larger conjugated systems, for which our models had their largest errors. Because the model errors are already comparable to those of TD-DFT, the step beyond TD-DFT accuracy needs higher-level reference data, for example through transfer learning from many TD-DFT labels to fewer high-level labels, as for ground-state MLIPs [38]. We release the dataset, the code, and all trained models of this work as building blocks for these steps.

Methods

Local excitation Hamiltonian

For a molecule with atomic numbers {Zi}\{Z_i\} and positions R={ri}\mathbf{R}=\{\mathbf{r}_i\} we attach kik_i latent channels to every atom ii (ki=1k_i=1 in all models of this work), giving a matrix of size M=∑ikiM=\sum_i k_i. A shared MACE encoder [29] produces invariant node features hi\mathbf{h}_i, obtained by concatenating the scalar (l=0l=0) channels after each interaction layer. The internal l=1l=1 features enter the many-body messages. The model assembles a real symmetric matrix Hθ(R,Z)∈RM×M\mathbf{H}_\theta(\mathbf{R},Z)\in\mathbb{R}^{M\times M} from local blocks,

Hii=ε01ki+sym⁡[ϕon(hi)],(1)\mathbf{H}_{ii}=\varepsilon_0\mathbf{1}_{k_i}+\operatorname{sym}\left[\phi_{\mathrm{on}}(\mathbf{h}_i)\right], \tag*{(1)}
Hij=12[fc(rij)ϕpair(hi,hj,b(rij))+fc(rij)ϕpair(hj,hi,b(rij))T],i≠j.(2)\mathbf{H}_{ij}=\frac{1}{2}\left[f_c(r_{ij})\phi_{\mathrm{pair}}(\mathbf{h}_i,\mathbf{h}_j,\mathbf{b}(r_{ij}))+f_c(r_{ij})\phi_{\mathrm{pair}}(\mathbf{h}_j,\mathbf{h}_i,\mathbf{b}(r_{ij}))^{\mathsf{T}}\right],\qquad i\ne j. \tag*{(2)}

where ϕon\phi_{\mathrm{on}} and ϕpair\phi_{\mathrm{pair}} are multilayer perceptrons that output k×kk\times k blocks, b\mathbf{b} is a Bessel radial basis, fcf_c is a smooth polynomial cutoff with radius rcH=5 A˚r_c^{\mathrm{H}}=5\,\text{\AA}, and ε0\varepsilon_0 is the mean supervised excitation energy of the training set. Its ascending eigenvalues λ1≤⋯≤λM\lambda_1\le\cdots\le\lambda_M are the vertical singlet excitation energies, and excited-state energies and forces follow as

ESn=ES0+λn,FSn=FS0−∇Rλn,(3)E_{S_n} = E_{S_0} + \lambda_n,\qquad\mathbf{F}_{S_n} = \mathbf{F}_{S_0} - \nabla_{\mathbf{R}}\lambda_n, \tag*{(3)}

where ES0E_{S_0} is predicted by an extensive atomic-energy readout on the same encoder. Away from degeneracies, ∇Rλn=vnT(∇RH)vn\nabla_{\mathbf{R}}\lambda_n = \mathbf{v}_n^{\mathsf{T}}(\nabla_{\mathbf{R}}\mathbf{H})\mathbf{v}_n (Hellmann–Feynman), which automatic differentiation of the symmetric eigendecomposition provides exactly. The blocks are rotation-invariant scalars, so H(QR)=H(R)\mathbf{H}(Q\mathbf{R}) = \mathbf{H}(\mathbf{R}) for any rotation QQ, and permuting atoms permutes rows and columns of H\mathbf{H}, leaving the spectrum unchanged. H\mathbf{H} is an effective excitation Hamiltonian. It is not a Kohn–Sham or many-electron Hamiltonian, and its eigenvectors carry no guaranteed diabatic meaning. Variable-size matrices in a batch are zero-padded to the largest MM and the padding rows receive distinct large diagonal values, so they never mix with or fall below physical eigenvalues. A batched eigendecomposition is then exact for each molecule.

Size consistency. For two fragments A and B separated by more than the encoder receptive field and rcHr_c^{H}, the features of A do not depend on B, and all pair blocks between A and B vanish. Hence

H(A+B)=H(A)⊕H(B),spec⁡H(A+B)=spec⁡H(A)⊎spec⁡H(B),(4)\mathbf{H}(\mathrm{A}+\mathrm{B}) = \mathbf{H}(\mathrm{A}) \oplus\mathbf{H}(\mathrm{B}),\qquad\operatorname{spec}\mathbf{H}(\mathrm{A}+\mathrm{B}) = \operatorname{spec}\mathbf{H}(\mathrm{A}) \uplus\operatorname{spec}\mathbf{H}(\mathrm{B}), \tag*{(4)}

where ⊎\uplus is the multiset union. This holds exactly and gives λ1(A+B)=min⁡[λ1(A),λ1(B)]\lambda_1(\mathrm{A}+\mathrm{B}) = \min[\lambda_1(\mathrm{A}),\lambda_1(\mathrm{B})] and exact degeneracies for identical fragments, while ES0E_{S_0} stays additive. This is size consistency within the sector of local single excitations that the model represents. Charge-transfer states between distant fragments, double excitations, and long-range excitonic couplings are outside this sector. Pooled multistate readouts do not share this property: sum pooling is extensive, mean pooling averages the fragments, and per-state extremal pooling gives the correct S1S_1 but not the higher roots of the union.

Identifiability and bounded blocks. Eigenvalues determine H\mathbf{H} only up to orthogonal transformations, so couplings and eigenvectors are not identified. This does not affect adiabatic energies and forces. Only the lowest m=10m = 10 of the MM eigenvalues are supervised, and the sorted assignment of λ1,…,λm\lambda_1,\ldots,\lambda_m to S1,…,SmS_1,\ldots,S_m keeps unsupervised eigenvalues above λm\lambda_m at training geometries. Because nothing bounds the block elements, an out-of-distribution environment can produce a large coupling and drive eigenvalues far below zero. This happened for 4 of 87,396 test predictions of the two full-data LEH models (pair couplings of 20–32 eV in the affected geometries, compared with at most 2.4 eV in all other test geometries). Such failures can be detected from negative excitation energies and from disagreement between seeds, but they dominate R2R^2 when they occur. The production models therefore use soft bounds, x↦ctanh⁡(x/c)x \mapsto c\tanh(x/c) with c=12c = 12 eV for onsite and c=5c = 5 eV for pair elements, which leave ordinary blocks practically unchanged. They limit such failures but do not remove them, because many bounded couplings can still add up. The direct readouts also predict negative excitation energies for the affected molecules, which are highly strained cases (Supplementary Note 11).

Encoder, readouts and training

All models of this work share a MACE encoder [29] with two interaction layers, 128 channels with l≤1l \le1 hidden irreducible representations, spherical harmonics up to l=2l = 2, correlation order 3, eight Bessel functions, and a cutoff of 5 Å, and differ only in the excitation readout. Besides LEH, we used three direct multistate readouts on the same encoder. An MLP maps each hi\mathbf{h}_i to an mm-vector, which is summed over atoms (Direct-sum, the readout of a conventional multistate MLLP), averaged (Direct-mean), or pooled per state with a learned soft minimum, ΔEn=∑iwinein\Delta E_n = \sum_i w_{in}e_{in} with win=softmax⁡i(−ein/τ+sin)w_{in} = \operatorname{softmax}_i(-e_{in}/\tau+ s_{in}) (Direct-softmin, in the spirit of extremal pooling [20]). For the direct readouts, the nn-th lowest output is the SnS_n excitation energy. The loss combines the mean squared errors of the ten lowest excitation energies (sorted assignment, weight 11, eV2\mathrm{eV}^{2}), of the per-atom S0S_0 energy (weight 100, (eV/atom)2(\mathrm{eV}/\mathrm{atom})^{2}, per-element reference energies from a least-squares fit to the training set), of the S0S_0 forces (weight 10, (eV/A˚)2(\mathrm{eV}/\mathring{\mathrm{A}})^{2}), and of the S1S_1–S3S_3 forces (weight 10), with excited-state forces from Eq. (3). Missing labels are masked. We trained in double precision with AdamW, batch size 16, and a learning rate of 3×10−33 \times10^{-3} with 1000 warm-up updates and cosine decay to 1% over a fixed budget of 100k (up to 10k training molecules), 150k (30k), or 300k updates (full set), and used an exponential moving average of the weights (decay 0.99). We kept the checkpoint with the lowest validation loss. We chose these settings in single-seed LEH runs on 10k and 30k training molecules of the benchmark dataset (batch size, learning rate and schedule, 32 to 128 channels, L=1L = 1 or 2, and S0S_0 weight 10, 100, or 300), based on the errors and outliers on the test sets of these subsets, and report the L=2L = 2 encoder as a variant. The direct readouts used the same settings, and X-MACE, MS-ANI, and OMNI-P2x the settings recommended by their authors. Unless stated otherwise, errors of LEH and Direct-softmin are averaged over two (full set) or three seeds.

Production models. We trained the production models from scratch on the final dataset including all active-learning geometries (228,594 training geometries) with the settings above, 300k updates, soft bounds on the LEH blocks, and a weighted excitation-energy loss. With uniform weights, the production models overestimated S1S_1 on validation geometries with a TD-DFT S1S_1 below 1 eV by 0.73 eV on average, and similarly on training geometries. The uniform loss gives little weight to the geometries near S1/S0S_1/S_0 crossings, which make up 2% of the training set (7% below 2 eV). The weighted loss multiplies the squared error of state SnS_n of a geometry by wn[1+4exp⁡(−max⁡(ΔE1,0.5 eV)/1 eV)]w_n [1 + 4 \exp(-\max(\Delta E_1, 0.5\ \mathrm{eV})/1\ \mathrm{eV})], where ΔE1\Delta E_1 is the TD-DFT S1S_1 excitation energy, wn=4,2,2w_n = 4, 2, 2 for S1S_1–S3S_3, and wn=1w_n = 1 for higher states, and normalises by the sum of the weights. The floor at 0.5 eV avoids emphasising geometries at which TD-DFT itself becomes unreliable. The weighted loss was motivated by the overestimation of S1S_1 near crossings by the uniform-loss models, and the decision itself used validation data only. We fixed the decision rule before the comparison runs finished and applied it to the mean over both architectures (two seeds each). The mean signed S1S_1 error of validation geometries below 2 eV had to decrease by at least 30%, and neither the validation S1S_1–S3S_3 error nor the S1S_1 error along the validation trajectories was allowed to increase by more than 5%. The weighted loss met this rule, with changes of −44%-44\%, −3%-3\%, and +0.3%+0.3\%. For Direct-softmin, all three criteria improved. For LEH, the low-gap error decreased by 38%, but the error along the validation trajectories increased by +25%+25\%, mainly because of one of the two seeds. With four seeds, the weighted loss lowered the mean signed S1S_1 error of the validation geometries below 2 eV from 0.39 eV to 0.25 eV for LEH and from 0.43 eV to 0.22 eV for Direct-softmin and reduced the errors of both architectures on the active-learning test geometries. For LEH, the errors along the validation and test trajectories and for the ladder molecules were larger on average than with the uniform loss and varied more between seeds (Supplementary Table 10). We kept the weighted loss for both architectures as decided by the rule, because a choice per architecture after these results would have used test data. We trained four seeds of each production architecture and report the mean ±\pm standard deviation over seeds and the committee prediction, the mean over the four seeds. The committee was 2–12% more accurate than the average seed on the test sets of individual geometries, but gained little along the test trajectories, where the seeds share their errors (Supplementary Table 11). We did not select seeds for reporting. The released default checkpoint of each architecture is the seed with the lowest validation S1S_1–S3S_3 error.

Dataset

Electronic structure. We computed all labels with TURBOMOLE 7.5.1 [39] at the TD-ω\omegaB97X-D/6-31G* level [40, 41], the level of QCDGE [26], using full linear response (RPA), RI-J, grid m4, SCF convergence 10−7Eh10^{-7} E_h, density convergence 10−710^{-7}, and response convergence 10−610^{-6}. For each geometry, we computed ES0E_{S_0} and FS0\mathbf{F}_{S_0}, the ten lowest singlet excitation energies with oscillator strengths, and analytic gradients of S1S_1, S2S_2, and S3S_3 [42], each in a separate egrad run with energy-ordered roots. If the Davidson solver did not converge, we repeated the run once with 200 iterations. We masked a force label if its root deviated by more than 2×10−4 Eh2 \times10^{-4}\ E_\mathrm{h} from the ten-root calculation or if the energy in the gradient file was inconsistent with ES0+ΔEnE_{S_0} + \Delta E_n. At QCDGE geometries, RPA reproduced the QCDGE excitation energies with a mean absolute deviation of 0.005 eV (20 molecules), whereas total energies differed by a nearly constant 0.157±0.0260.157 \pm0.026 eV. We therefore reused the QCDGE excitation energies at QCDGE minima but recomputed ES0E_{S_0} and FS0\mathbf{F}_{S_0} there.

Molecules and geometries. We drew molecules from all four QCDGE subsets (QM9-, GDB-11-, and PubChemQC-derived, up to ten heavy atoms, closed-shell molecules with C, H, N, O, and F) in a fixed, source-balanced random order, so the dataset grew in tranches without changing earlier entries. Every molecule contributes its QCDGE minimum and up to two thermal geometries from GFN2-xTB [43] NVT dynamics started at the minimum with a temperature drawn from 300–1000 K (one frame between 0.5 ps and 1.5 ps). We removed geometries whose bonding changed during the dynamics or whose S0S_0 energy lay below that of the minimum of the same molecule (a reaction). In addition, 12,869 training geometries and the corresponding test geometries come from one round of model-driven excited-state sampling (see below). We used this first version of the dataset, 222,172 geometries of 100,522 molecules, for all benchmark models. Three active-learning rounds (see below) added 68,119 geometries for the production models. Together with the conjugated test sets, the released dataset contains 303,061 geometries of 106,933 molecules (Supplementary Table 1).

Excited-state sampling. Thermal ground-state sampling rarely reaches the twisted or stretched geometries with small S1S_1 excitation energies that excited-state dynamics visits. For 10% of the molecules (hash-selected, all splits) and all larger test molecules, we ran NVE dynamics on S1S_1 (80%) or S2S_2 (20%) of a preliminary LEH model for up to 500 fs from the minimum with Maxwell–Boltzmann velocities (300–600 K). A trajectory stopped at a bond change, an S1S_1 excitation energy below 0.5 eV, or a non-finite energy. We labelled two frames per trajectory with TD-DFT, a random frame and the frame with the largest disagreement between two independently trained models.

Test sets and splits. We assigned molecules to training (85%), validation (5%), and test (10%) sets by a hash of the molecule identifier, with all geometries of a molecule in the same set. An additional balanced Bemis–Murcko scaffold hold-out [44] removes 10,003 molecules of small scaffold families from training (unseen-scaffold test set). Nested training subsets of 1k, 3k, 10k, 30k, and all 76,621 molecules (168,587 geometries) share one validation subset of 1,500 molecules and identical test sets. The larger test molecules are 500 neutral closed-shell molecules with C, H, N, O, and F and 11–20 heavy atoms from the ZINC250k subset [45] of ZINC [46] (50 per heavy-atom count), which we embedded with RDKit [47] and optimised with GFN2-xTB. Each has its minimum, one thermal geometry, and two S1S_1-sampled geometries. The conjugated test molecules are 5,018 dyes from two experimental databases of organic chromophores [48, 49] and 1,393 ladder molecules (polyenes, polyacenes, oligophenylenes, and related series) with up to 30 heavy atoms, each at its minimum and one thermal geometry (12,770 geometries). We evaluated the sulfur-containing ones separately, because the main models never saw sulfur. For the dye-augmented models, we split the dye scaffolds into training (80%), validation (10%), and test (10%) families. We removed the molecules of all reference trajectories from the training and validation sets of the active-learning rounds and the production models by comparing covalent graphs. The benchmark training set contains three validation molecules (styrene, benzaldehyde, and cinnamaldehyde, at equilibrium and thermal geometries). The training set of the dye-augmented models, from which we fine-tuned the sampling models of rounds 3 and 4, additionally contains azobenzene, HBDI, and DMABN among the training dyes.

Active learning for the production models

Active learning, in which the models select new geometries for labelling, for example by committee disagreement, is an established way to extend the training data of MLIPs [8, 30]. Three further rounds of model-driven excited-state sampling (rounds 2–4) extended our dataset to the regions that excited-state dynamics reaches. In each round, two sampling models ran 1 ps of NVE dynamics on S1S_1 (80 %) or S2S_2 (20 %) of the first model, with Maxwell–Boltzmann velocities at 300–600 K. The trajectories started from the minima of all molecules with a photoisomerisable motif (an acyclic C=C\mathrm{C}=\mathrm{C}, C=N\mathrm{C}=\mathrm{N}, or N=N\mathrm{N}=\mathrm{N} bond conjugated with an aromatic ring or another double bond, 8,808 molecules), of all larger test molecules, and, from round 3 on, of a new hash-selected 5 % of all molecules. A trajectory stopped at a predicted S1S_1 excitation energy below 0.2 eV, a bond change, or a non-finite energy. We labelled up to two geometries per trajectory with TD-DFT, the one with the largest double-bond twist and the one with the largest disagreement between the two sampling models. For molecules without a motif, we took the most S1S_1-relaxed geometry instead of the most twisted one. Geometries of validation and test molecules formed new test sets, so the earlier test sets remained unchanged. In round 2, we sampled with the two benchmark LEH models. We fine-tuned the sampling models of rounds 3 and 4 for 60k updates (learning rate 10−310^{-3}, cosine decay, bounded blocks) on all data up to the previous round, starting from the dye-augmented LEH model and from the sampling models of the previous round, respectively.

After each round, we evaluated models trained on all data up to that round on seven validation molecules that never entered training or validation (styrene, azobenzene, cyclohex-2-enone, (E)-hexatriene, cytosine, benzaldehyde, and cinnamaldehyde). The loop stops when two conditions are met. (i) The S1S_1 dynamics of the models themselves from the validation minima (five trajectories of 1 ps at 300 K per molecule) is stable, with finite energies, no bond change, and a total-energy drift below 0.1 eV. (ii) The mean errors of the S1S_1 excitation energy and of the change of the S0S_0 energy along the TD-DFT S1S_1 trajectories of these molecules are at most 0.2 eV or improve by less than 10 % over the previous round, at the latest after round 4. Production models trained from scratch on all data after round 4 met both conditions, and the loop stopped (Supplementary Note 14).

Baselines

We trained and evaluated all baselines on the same splits, nested training subsets, and test sets as our models. Their predictions are put in adiabatic order, that is, the excited states are sorted by energy and the forces of each state are permuted with its energy. We computed the errors of all models with the same code.

X-MACE. We used the implementation of the authors [18] (AutoencoderExcitedMACE) with the settings of its documentation: 128 channels with l≤1l \le1, two interaction layers, correlation order 3, cutoff 5 Å, energy and force weights 100, learning rate 10−410^{-4}, batch size 10, an exponential moving average of the weights (0.99), single precision, and 150 epochs. In this model, the energies of all states, including S0S_0, are the sorted eigenvalues of a 4×44 \times4 tridiagonal matrix, which a multilayer perceptron decodes from a 16-dimensional invariant summed over all atoms (a DeepSets autoencoder). The per-atom energy readouts of the encoder are not used. The eigendecomposition creates the cusps of adiabatic surfaces at state crossings, so the network itself only has to fit smooth quantities. Because the decoder acts on a molecule-level sum, the energies are not size extensive. For molecules larger than the training molecules, the predicted S0S_0 forces kept their direction (correlation 0.96–0.97 with the reference) but were systematically too small (least-squares slope 0.77 for 15–19 and 0.66 for 20 heavy atoms, compared with 0.99 for LEH, Supplementary Note 9). X-MACE masks forces per geometry rather than per state. We therefore trained it on S0S_0–S3S_3, the states with force labels, and it received no forces on the equilibrium geometries (45 % of the training set), whose excited-state forces are not part of the dataset. To test whether these label differences explain the comparison, we trained LEH on exactly the labels that X-MACE sees (three supervised states, the same force mask) with 30k training molecules. Its errors were equal to or lower than those of LEH trained on all labels (S1S_1–S3S_3 MAE of 0.177 eV and 0.182 eV for random and larger test molecules, compared with 0.205 eV and 0.184 eV, and X-MACE 0.199 eV and 0.246 eV).

MS-ANI and OMNI-P2x. MS-ANI [17] extends ANI by appending the state index to the atomic environment vectors and sums per-atom energies for every state. OMNI-P2x [19] uses the same architecture with an additional one-hot input for the level of theory of the training labels and is pretrained on data from several levels of theory. We trained both with MLatom [50] (version 3.25.5) and its defaults, which are identical for the two models: atomic environment vectors with radial and angular cutoffs of 5.2 Å and 3.5 Å, element networks with 160, 128, and 96 neurons and CELU activations, a force weight of 0.1, and a weight of 0.01 on the gaps between adjacent states. When trained from scratch on labels from a single level of theory, the level-of-theory input is constant, so the OMNI-P2x architecture and MS-ANI are the same model up to initialisation and training noise. Their errors were similar for random test molecules (S1S_1–S3S_3 MAE of 0.45 eV and 0.41 eV with all training data), and both failed for larger molecules (0.77 eV and 1.10 eV, Supplementary Figure 3). With the full training set, the MLatom training of both models stopped at the 46 h wall-time limit of our cluster (OMNI-P2x architecture: 393 epochs, compared with 934 and 1,495 epochs with 30k and 10k training molecules), and we used the checkpoint with the lowest validation loss at that point. In the main figures, we show the OMNI-P2x architecture trained from scratch, referred to as OMNI-P2x arch., and the pretrained OMNI-P2x fine-tuned with the protocol of its authors, referred to as OMNI-P2x, fine-tuned. We compared the pretrained OMNI-P2x model and two fine-tuning protocols in Supplementary Note 3. Without training on our data and with its excitation energies recalibrated linearly on our validation set, the pretrained model reached an S1S_1–S3S_3 MAE of 0.63 eV for random test molecules, and its S1S_1 forces deviated by 1.2 eV/Å. Fine-tuning the three ensemble members with the protocol of the authors (100 epochs, first and third layer of every element network frozen, gap weight 0.01) gave 0.60 eV with all training data. In this network, the state index enters only the frozen first layer, so the state-dependent offset between the pretraining level of theory and ours cannot adapt. At 30k training molecules, the fine-tuned S1S_1 energies were 0.78 eV too low on the validation set. With all layers trainable and a gap weight of 1, the offsets disappeared and the error decreased to 0.45 eV, the accuracy of training from scratch, but the size transferability of the pretrained layers was lost (0.98 eV for larger molecules, compared with 0.63 eV with the protocol of the authors). For molecules similar to the training molecules, training from scratch therefore gave the most accurate OMNI-P2x model, and for larger and conjugated molecules, fine-tuning with the protocol of the authors.

Four-panel learning curves with legend entries LEH, LEH, L=2, Direct-softmin, X-MACE, OMNI-P2x ft, authors' protocol, OMNI-P2x ft, adapted, OMNI-P2x arch., scratch, MS-ANI, and OMNI-P2x pretrained (energies recal.); panels a–b show mean absolute error of S1–S3 energies (eV), panels c–d show mean absolute error of S1 forces (eV/Å), and the horizontal axes show number of training geometries

Supplementary Figure 3. Learning curves as in main-text Figure 3, including MS-ANI, the pretrained OMNI-P2x (dotted, energies recalibrated on the validation set), and OMNI-P2x fine-tuned with the protocol of the authors and with the adapted protocol. Mean absolute error of the S1S_1–S3S_3 excitation energies (a, b) and of the S1S_1 forces (c, d) for random test molecules (a, c) and larger test molecules (b, d).

Size-consistency test

We placed sixty pairs of different and sixty pairs of identical equilibrium test molecules at minimum interatomic distances of 2.5–20 Å, with molecule B randomly rotated and shifted. For each model, we compared the predicted dimer spectrum with the union of the predicted monomer spectra (S1S_1–S3S_3). For ten pairs of each kind, we computed TD-ω\omegaB97X-D dimer spectra (twelve roots) at 2.5–15 Å with the dataset protocol. These spectra contain the physical interaction and serve as the reference for the accuracy of the dimer predictions.

QCDGE benchmark

As a public benchmark without forces, we trained on QCDGE molecules with up to eight heavy atoms (19,849 molecules, validation 2,205) and tested on 5,000 molecules with nine and 5,000 with ten heavy atoms, including subsets with scaffolds not present in training. A random split of the same training-set size served as the in-distribution control. All models used the settings above with ten supervised excitation energies and no forces.

Excited-state dynamics

We computed reference adiabatic S1S_1 trajectories with TURBOMOLE at the level of the dataset, using velocity Verlet with a 0.5 fs step from the GFN2-xTB minimum with Maxwell–Boltzmann velocities at 300 K, six roots, and the S1S_1 gradient at every step. The trajectories ran for 500–1000 fs or until TD-DFT broke down near an S1/S0S_1/S_0 crossing, which we detected as an S1S_1 excitation energy below 0.5 eV or a total-energy jump above 0.1 eV. The test trajectories, which we did not use for any decision, are acrolein (1 ps), uracil, trans-stilbene, the green-fluorescent-protein chromophore (Z)-HBDI, and 4-(dimethylamino)benzonitrile (DMABN, 500 fs each). The validation trajectories, which we used for the active-learning criterion and the choice of the loss only, are styrene, azobenzene, cyclohex-2-enone, (E)-hexatriene, cytosine, benzaldehyde, and cinnamaldehyde. We evaluated the models on every reference frame before TD-DFT breaks down and started model S1S_1 trajectories from the same initial conditions.

Excited-state forces at equilibrium geometries

The training data contain excited-state forces only at distorted geometries. To test the S1S_1 gradient at the Franck–Condon point, we computed S1S_1–S3S_3 forces at the equilibrium geometries of 2,000 random and all 500 larger test molecules (test only). The recomputed S0S_0 energies agreed with the dataset to 0.002 meV.

Metrics

Excitation-energy errors are mean absolute errors (MAEs) over states and geometries in eV, reported for S1S_1–S3S_3 (supervised by all models) unless stated otherwise. In the tables, energy errors are given in meV. Force errors are component-wise MAEs in eV/A˚\mathrm{eV}/\text{\AA} (meV/A˚\mathrm{meV}/\text{\AA} in the tables), and S0S_0 energy errors are per atom. All predictions are in adiabatic order. We used the same evaluation code and test sets for all models, and Supplementary Table 2 lists all values with R2R^2. Uncertainties are standard deviations over seeds. The sampling uncertainty of the test sets is of similar size or smaller. The 95 % intervals of the error of a single model from a bootstrap over molecules, with all geometries of a molecule resampled together, are ±0.002–0.01 eV for the test sets of thermal and S1S_1-sampled geometries. We resampled the ladder molecules by homologous family and the trajectories as a whole, because the errors along a trajectory are correlated over 10–160 fs.

Test setModelS1S_1 MAE (meV)S1S_1 R2R^2S1S_1–S3S_3 MAE (meV)S1S_1–S3S_3 R2R^2ES1E_{S_1} MAE (meV)ES0E_{S_0} (meV/atom)FS0F_{S_0} (meV/Å)FS1F_{S_1} (meV/Å)
random, thermalLEH172±1172\pm10.97±<0.010.97\pm<0.01177±2177\pm20.97±<0.010.97\pm<0.01154±1154\pm15.1±<0.15.1\pm<0.185±<185\pm<1213±1213\pm1
LEH, L=2L = 21910.961770.971724.673204
Direct-softmin163±1163\pm10.97±<0.010.97\pm<0.01167±<1167\pm<10.97±<0.010.97\pm<0.01150±1150\pm14.9±<0.14.9\pm<0.180±180\pm1212±1212\pm1
X-MACE1670.971680.971404.0103272
OMNI-P2x arch.6030.704470.8249410.7194448
MS-ANI5420.754120.8444411.3211458
random, eq.LEH143±2143\pm20.98±<0.010.98\pm<0.01153±1153\pm10.98±<0.010.98\pm<0.01150±3150\pm34.8±<0.14.8\pm<0.150±<150\pm<1–
LEH, L=2L = 21550.971540.981714.344–
Direct-softmin148±1148\pm10.98±<0.010.98\pm<0.01157±<1157\pm<10.98±<0.010.98\pm<0.01136±1136\pm14.6±<0.14.6\pm<0.148±<148\pm<1–
X-MACE1300.981440.981133.074–
OMNI-P2x arch.5990.764380.855099.0114–
MS-ANI5480.794040.874789.5125–
scaffold, thermalLEH208±5208\pm50.92±0.040.92\pm0.04207±5207\pm50.94±0.020.94\pm0.02183±4183\pm46.1±0.16.1\pm0.1100±<1100\pm<1253±1253\pm1
LEH, L=2L = 22350.902070.932125.687245
Direct-softmin196±<1196\pm<10.96±<0.010.96\pm<0.01189±<1189\pm<10.96±<0.010.96\pm<0.01176±<1176\pm<15.8±<0.15.8\pm<0.193±193\pm1246±1246\pm1
X-MACE1950.961860.971614.7120301
OMNI-P2x arch.6300.684620.8150911.7222461
MS-ANI5570.744200.8445813.0241470
random, S1S_1-sampledLEH333±21333\pm21−0.12±0.99-0.12\pm0.99326±9326\pm90.57±0.340.57\pm0.34238±27238\pm2710.2±0.210.2\pm0.2129±1129\pm1231±37231\pm37
LEH, L=2L = 23120.643000.762437.7110202
Direct-softmin281±<1281\pm<10.90±<0.010.90\pm<0.01279±1279\pm10.93±<0.010.93\pm<0.01202±3202\pm39.5±0.39.5\pm0.3121±2121\pm2190±1190\pm1
X-MACE2700.912680.942057.7161230
OMNI-P2x arch.4490.804210.8635913.5257352
MS-ANI4690.794290.8637413.6265360
larger, thermalLEH192±9192\pm90.93±<0.010.93\pm<0.01168±2168\pm20.96±<0.010.96\pm<0.01163±4163\pm43.9±0.23.9\pm0.281±<181\pm<1166±1166\pm1
LEH, L=2L = 21390.961530.971533.969164
Direct-softmin198±<1198\pm<10.93±<0.010.93\pm<0.01187±2187\pm20.95±<0.010.95\pm<0.01171±8171\pm83.7±0.13.7\pm0.178±178\pm1171±2171\pm2
X-MACE2140.912080.9337112.1272353
OMNI-P2x arch.5300.537740.194358.2187356
MS-ANI6990.181096-0.535848.5204368
larger, eq.LEH193±7193\pm70.94±<0.010.94\pm<0.01163±1163\pm10.96±<0.010.96\pm<0.01163±4163\pm44.7±0.34.7\pm0.352±<152\pm<1135±1135\pm1
LEH, L=2L = 21510.961580.971644.846134
Direct-softmin203±2203\pm20.94±<0.010.94\pm<0.01186±<1186\pm<10.96±<0.010.96\pm<0.01160±6160\pm64.5±0.34.5\pm0.352±<152\pm<1146±3146\pm3
X-MACE3260.803250.8598435.2158241
OMNI-P2x arch.6100.429120.044677.9118309
MS-ANI828-0.021286-0.806708.1131314
larger, S1S_1-sampledLEH226±2226\pm20.90±<0.010.90\pm<0.01221±3221\pm30.92±<0.010.92\pm<0.01200±7200\pm74.8±0.14.8\pm0.188±188\pm1149±1149\pm1
LEH, L=2L = 21950.931990.941914.175143
Direct-softmin216±6216\pm60.91±<0.010.91\pm<0.01233±2233\pm20.91±<0.010.91\pm<0.01203±15203\pm154.4±<0.14.4\pm<0.186±186\pm1152±<1152\pm<1
X-MACE3110.853140.8572123.0266299
OMNI-P2x arch.7730.241020-0.2351212.1187307
MS-ANI982-0.161368-1.1170011.9198315

Supplementary Table 2. Errors of the models trained on the full training set on all test sets. Mean absolute errors in meV, meV/Å, or meV per atom, and R2R^2 per state, averaged over the states. Mean ± standard deviation over seeds where available.

Use of large language models

Code, workflow scripts, analyses, and a first draft of the manuscript were written with the assistance of Claude Code by Anthropic under the direction of the author, who checked the results and revised the text.

Data availability

The dataset (geometries, S0S_0 energies and forces, ten singlet excitation energies with oscillator strengths, S1S_1–S3S_3 forces, molecule identifiers, splits and all test sets, including all activelearning geometries) and the TURBOMOLE input and output files (without molecular-orbital files) of the 200,445 calculations made after we began archiving them, including all excited-state-sampled geometries, are available on Zenodo under a CC BY 4.0 licence (https://doi.org/10.5281/zenodo.24042143). The TD-ω\omegaB97X-D S1S_1 reference trajectories of the validation and test molecules are included with their initial conditions and a flag marking the frames after TD-DFT breaks down, together with the TD-DFT spectra of the molecule pairs and the excitation populations of Supplementary Note 7. QCDGE is available from its original publication [26].

Code availability

The LEH-MACE implementation, the checkpoints of all trained models (all seeds, with the seed with the lowest validation S1S_1–S3S_3 error of each production architecture marked as the default), training configurations, analysis and figure scripts are available at https://github.com/aimat-lab/LEH under the MIT licence and archived on Zenodo (https://doi.org/10.5281/zenodo.24044613).

Acknowledgements

P.F. gratefully acknowledges the computing time made available on the high-performance computer HoreKa 2 at the National High-Performance Computing Center NHR@KIT. This center is jointly supported by the Federal Ministry of Research, Technology and Space and the state governments participating in the National High-Performance Computing (NHR) joint funding program (https://go-nhr.de/our-partners). P.F. acknowledges support by the state of Baden-Württemberg through bwHPC. P.F. acknowledges the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under Germany’s Excellence Strategy for funding via the Excellence Cluster “3D Matter Made to Order” (EXC-2082/2-390761711). P.F. acknowledges funding from the Klaus Tschira Stiftung gGmbH (SIMPLAIX 2).

Author contributions

P.F. conceived the study, performed the experiments, analyzed the data, and wrote the manuscript.

Competing interests

The authors declare no competing interests.

Dataset

The released dataset contains 303,061 geometries of 106,933 molecules, 203,040 of them with S1S_{1}–S3S_{3} forces (Supplementary Table 1). Its first version (v1), on which we trained all benchmark models, contains 222,172 geometries of 100,522 molecules: 103,820 thermal geometries, 17,831 geometries from one round of excited-state sampling, the QCDGE minima, and the minima of the larger test molecules. The conjugated test sets add 12,770 geometries. Three active-learning rounds added 68,119 geometries of 16,381 molecules for the production models (Supplementary Note 14). Geometries of validation and test molecules from these rounds form separate test sets, so the v1 test sets are unchanged. The splits are by molecule. The training set contains 168,587 geometries of 76,621 molecules (12,869 of them S1S_1-sampled), and the validation set contains 1,500 molecules. The test sets are random molecules (9,182 thermal geometries), molecules with Bemis–Murcko scaffolds [1] absent from training (10,003 molecules), 1,449 S1S_1-sampled geometries of random test molecules, 500 larger molecules with 11–20 heavy atoms, 5,018 dyes, and 1,393 ladder molecules.

The QCDGE-derived molecules come from all four QCDGE subsets (QM9-, GDB-11-, and PubChemQC-derived, closed-shell molecules with C, H, N, O, and F and up to ten heavy atoms), and the larger test molecules from the ZINC250k subset of ZINC (11–20 heavy atoms, 50 per heavy-atom count). The dyes are taken from two databases of experimentally characterised organic chromophores [2, 3]. We selected neutral, closed-shell, single-component molecules with 11–30 heavy atoms, the elements H, C, N, O, F, and S, and a conjugated system of at least eight atoms. The ladder molecules form 13 homologous series (polyenes, diphenylpolyenes, oligophenylenes, phenylenevinylenes, oligofurans, oligopyrroles, oligothiophenes, azobenzenes, acenes, phenacenes, aza-aromatics, quinones, and classic dye cores) with up to 34 combinations of donor and acceptor end groups and up to 30 heavy atoms. Of all 106,933 molecules, 73,465 contain nitrogen, 80,687 oxygen, 12,625 fluorine, and 1,307 sulfur (dyes and ladder molecules only). Examples of the molecules of each set are drawn in Supplementary Figure S1 and Figure S2.

Random selections of training molecules in panels a–e, including reference molecules

Figure S1. Random selections of the training molecules. a, QCDGE-derived molecules with up to eight heavy atoms, b, with nine heavy atoms, and c, with ten heavy atoms. d, Training molecules with S1S_1- or S2S_2-sampled geometries from excited-state sampling and active learning, drawn from their minimum geometries. e, Molecules of the seven validation (styrene to cinnamaldehyde) and five test (acrolein to DMABN) reference trajectories of S1S_1 dynamics. Hydrogen atoms are implicit. Molecules are sorted by the number of heavy atoms within each panel and drawn with the same bond length within a panel, except for molecules too large for their cell, which are drawn smaller.

Molecule panels a–d and 13 ladder series: polyene, aza-aromatic, oligofuran, oligopyrrole, oligothiophene, quinone, diphenylpolyene, oligophenylene, acene, phenylenevinylene, azobenzene, phenacene, and classic dye

Figure S2. Test and extension molecules. a, Random selection of molecules with Bemis–Murcko scaffolds absent from training. b, Random selection of larger molecules with 11–20 heavy atoms. c, Random selection of dyes (training and test scaffolds). d, One member of each of the 13 ladder series with hydrogen end groups, with three repeat units (two for the azobenzenes and phenylenevinylenes) or, for the acenes, phenacenes, quinones, aza-aromatics, and classic dye cores, the third member of the series. Hydrogen atoms are implicit. Molecules are sorted by the number of heavy atoms within each panel and drawn with the same bond length within a panel, except for molecules too large for their cell, which are drawn smaller.

Geometry typeGeometriesMoleculeswith S1S_1–S3S_3 forces
QCDGE minima100,021100,0210
thermal (GFN2-xTB, 300–1000 K)103,82098,908103,820
excited-state sampling, round 117,8319,25617,831
active learning, round 217,9158,97917,915
active learning, round 325,12212,76525,122
active learning, round 425,08212,73125,082
minima of the larger test molecules500500500
dyes and ladders, minima6,4076,4076,407
dyes and ladders, thermal6,3636,3636,363
total303,061106,933203,040

Supplementary Table 1. Composition of the released dataset by geometry type. The excitation energies at the QCDGE minima are taken from QCDGE (same level of theory). The S0S_0 energies and forces are recomputed for all geometries.

All targets of the models trained on the full training set

Supplementary Table 2 lists the mean absolute errors and R2R^2 of all targets, including the S0S_0 energy and forces and the total S1S_1 energy ES1=ES0+ΔE1E_{S_1}=E_{S_0}+\Delta E_1. The comparison of the ES1E_{S_1} error with the S0S_0 and excitation-energy errors decomposes the total error. For all models, the excitation energy contributes most of it.

Baselines: MS-ANI, pretrained and fine-tuned OMNI-P2x

MS-ANI and the OMNI-P2x architecture differ only by the one-hot level-of-theory input of OMNI-P2x, which is constant when the model is trained on a single level of theory (Methods).

Supplementary Figure 3–Figure 5 show both models together with the pretrained OMNI-P2x and two fine-tuning protocols.

  • Pretrained (zero-shot). We evaluated the three ensemble members of OMNI-P2x directly and averaged them. In the learning curves, the excitation energies are recalibrated linearly per state on our validation set, choosing the lowest error of no, constant-shift, and linear recalibration per test set. The forces and all other panels show raw predictions.

  • Fine-tuned, protocol of the authors. We fine-tuned each ensemble member separately on our training subset and validation set with the defaults of the OMNI-P2x fine-tuning in MLatom: 100 epochs, the first and third layer of every element network frozen, gap weight 0.01, force weight 0.1, and the energy shifter refitted to our level of theory. The state index enters only the frozen first layer. The remaining state-dependent offset (S1S_1 too low by 0.78 eV, S2S_2 by 0.50 eV, and S3S_3 by 0.35 eV on the validation set at 30k training molecules) causes the irregular, size-independent errors for random test molecules in Supplementary Figure 3. A constant per-state shift fitted on the validation set removes most of it (from 0.67 eV to 0.38 eV for random test molecules at 30k) but does not transfer to

larger molecules.

  • Fine-tuned, adapted protocol. The same with all layers trainable and a gap weight of 1. The errors for random test molecules decrease smoothly with the training-set size and match training from scratch, whereas the errors for larger molecules and dyes increase (Supplementary Figure 3 and Supplementary Figure 4).

Mean absolute error of the S1–S3 excitation energies versus the number of heavy atoms for three molecular test sets and multiple models

Supplementary Figure 4. Mean absolute error of the S1S_1–S3S_3 excitation energies versus the number of heavy atoms, including MS–ANI, both fine-tuning protocols, and the pretrained OMNI-P2x (raw predictions). a, Random and larger test molecules at thermal geometries (shaded: training size range). b, Sulfur-free dyes at equilibrium geometries. c, Sulfur-free ladder molecules at equilibrium geometries. In b and c, bins of three heavy atoms.

The lowest excited state and the states above it

Supplementary Fig. 6 shows the errors of the baselines relative to LEH on the test sets of main-text Fig. 4a, for S1S_1–S3S_3 and for S1S_1 alone. Beyond the training distribution, LEH was more accurate than Direct-softmin for S1S_1–S3S_3 on every test set. For S1S_1 alone, the errors of the two models differed by a few per cent, except for ladder molecules and dimers, where LEH was more accurate (main-text Fig. 5d). X-MACE and the OMNI-P2x architecture were less accurate than LEH beyond the training distribution for both S1S_1–S3S_3 and S1S_1.

Size consistency of pooled readouts

Supplementary Figure 7 compares, for the same pairs as in main-text Figure 5, the dimer spectrum with the union of the monomer spectra predicted by the same model. All models in this figure were trained on the same 10k molecules. Panels a and b compare readouts on the same encoder architecture and settings, so that the readout is the only difference. TD-ω\omegaB97X-D shifts the spectrum by 31 meV and 65 meV at 2.5 Å (different and identical molecules), by 4 meV and 10 meV at 5 Å, and by 1 meV and 2 meV at 10 Å. LEH reproduced the size of the short-range shifts, and its deviation vanished beyond rcr_c. Sum, mean, and softmin pooling deviated by 0.4–1.3 eV independent of the distance. Models built on per-state atomic sums predicted Sn(A+B)≈Sn(A)+Sn(B)S_n(\mathrm{A}+\mathrm{B}) \approx S_n(\mathrm{A}) + S_n(\mathrm{B}).

Ablations

Supplementary Figure 8 compares LEH variants and pooled readouts at 10k training molecules. Without pair blocks, that is, with a diagonal matrix of atomic excitation energies, the error increased on all test sets, so the coupling between atoms is necessary. Supervising six instead of ten states did not change the S1S_1–S6S_6 error. Without S1S_1-sampled training geometries, the error on S1S_1-sampled test geometries increased from 0.38 eV to 0.50 eV, whereas the errors on thermal geometries did not change. Sum, mean, and softmin pooling were as accurate as LEH for molecules similar to the training molecules but less accurate for larger molecules, sum pooling by almost a factor of two.

Mean absolute error of the S1–S6 excitation energies for LEH variants and direct readouts across five test conditions

Supplementary Figure 8. Mean absolute error of the S1S_1–S6S_6 excitation energies of LEH variants and direct readouts on the same encoder architecture (10k training molecules, three seeds). a, Random test molecules, thermal geometries. b, Unseen scaffolds, thermal geometries. c, Random test molecules, S1S_1-sampled geometries. d, Larger test molecules, thermal geometries. e, Larger test molecules, S1S_1-sampled geometries. Small markers: seeds. Large markers: mean. Vertical line: mean of LEH.

Supervising the eigenvectors with TD-DFT excitation populations

A loss on the eigenvalues alone leaves the eigenvectors of H\mathbf{H} undetermined, but unlike a pooled readout, LEH can be trained with information on its eigenvectors. We tested in the 10k setting of the ablations (Supplementary Note 6) whether such information is learned, whether it transfers to other molecules, and whether it changes the accuracy. For all 25,349 training and validation geometries of this setting, we computed the TD-ω\omegaB97X-D/6-31G* response vectors (X+Y)n(\mathbf{X}+\mathbf{Y})_n of the ten lowest singlet states with TURBOMOLE escf at the settings of the dataset (Methods). From the transition density matrix of state nn in the Löwdin-orthogonalised atomic-orbital basis, Tn=S1/2Cocc(X+Y)nCvirTS1/2\mathbf{T}_n=\mathbf{S}^{1/2}\mathbf{C}_{\mathrm{occ}}(\mathbf{X}+\mathbf{Y})_n\mathbf{C}_{\mathrm{vir}}^{\mathsf{T}}\mathbf{S}^{1/2}, we obtained the charge-transfer numbers ΩAB,n=∑μ∈A,ν∈B(Tn)μν2\Omega_{AB,n}=\sum_{\mu\in A,\nu\in B}(T_n)^2_{\mu\nu} [4], the hole and electron populations hA,n=∑BΩAB,nh_{A,n}=\sum_B\Omega_{AB,n} and eA,n=∑BΩBA,ne_{A,n}=\sum_B\Omega_{BA,n}, and the excitation population pA,n=(hA,n+eA,n)/2p_{A,n}=(h_{A,n}+e_{A,n})/2 of atom A, each normalised to one over the atoms. In LEH, atom A carries the weight wA,n=∑aUAa,n2w_{A,n}=\sum_a U^2_{Aa,n} in eigenstate nn, which

also sums to one. For both quantities, we added the weight of each hydrogen atom to that of its nearest heavy atom. The population loss

Lpop=1N∑(m,n)∑A∈m(wA,n−pA,n)2(5)\mathcal{L}_{\mathrm{pop}} = \frac{1}{N} \sum_{(m,n)} \sum_{A\in m} (w_{A,n}-p_{A,n})^2 \tag*{(5)}

runs over the NN pairs of a molecule mm in the batch and a state n∈{1,2,3}n \in\{1,2,3\} whose TD-DFT excitation energy is separated from those of the neighbouring roots by at least 0.1 eV. We added Lpop\mathcal{L}_{\mathrm{pop}} to the training loss with weight 1 (three seeds) and, with one seed each, with weight 0.1 and with a target that leaves the choice between hole and electron to the model, min⁡[∑A(wA,n−hA,n)2,∑A(wA,n−eA,n)2]\min[\sum_A(w_{A,n}-h_{A,n})^2,\sum_A(w_{A,n}-e_{A,n})^2]. The eigenvector gradients use a Lorentzian-broadened inverse of the eigenvalue differences (width 10−410^{-4} eV), which is exact away from degeneracies and finite at them. Checkpoint selection used the validation loss without Lpop\mathcal{L}_{\mathrm{pop}}, and all other settings were those of the ablations. As the measure of agreement, we used the shared weight Sn=∑Amin⁡(wA,n,pA,n)S_n=\sum_A\min(w_{A,n},p_{A,n}), which is 1 for identical distributions, for states whose LEH eigenvalue is also separated from its neighbours by at least 0.1 eV. Its chance level is the shared weight after permuting the LEH weights among the heavy atoms of the same element.

Without the population loss, the S1S_1 eigenvector shared 0.67 of its weight with the TD-DFT excitation population on the validation geometries (chance level 0.48). It followed the hole more closely than the electron (shared weights of 0.72 and 0.59). With the population loss, the shared weight on these geometries, which were not used for training, increased to 0.78 for S1S_1, and it also increased for S2S_2 and S3S_3 (Supplementary Table 3). The S1S_1–S3S_3 error of random test molecules decreased from 0.227 eV to 0.215 eV and the S0S_0 energy error from 7.6 meV to 7.1 meV per atom, and every seed trained with the population loss was more accurate on this test set than every seed trained without it. The errors on the other test sets of molecules similar in size to the training molecules decreased slightly as well. The agreement did not transfer to conjugated molecules. For the ladder molecules, the shared weight was 0.71 without and 0.70 with the population loss, and the S1S_1 eigenvectors of the ladder molecules with at least 22 heavy atoms remained more localised than the TD-DFT excitation populations. The S1S_1 error of the ladder molecules did not change (0.62 eV and 0.62 eV), and the change for the held-out dyes was within the spread between seeds. The weaker loss changed little, and the target that leaves the choice between hole and electron to the model gave an agreement between those of the baseline and the full loss. Two models trained with the population loss each predicted a large negative S1S_1 excitation energy for one test geometry (one of these geometries also for a baseline seed, Supplementary Note 11), which lowers R2R^2 but not the MAE of the affected test sets.

BaselinePopulation lossWeight 0.1Hole or electron
shared weight with the TD-DFT excitation population
validation, S1S_10.67±0.020.67 \pm0.020.78±0.020.78 \pm0.020.700.700.750.75
validation, S1S_1, chance level0.48±0.010.48 \pm0.010.49±0.020.49 \pm0.020.480.480.500.50
validation, S2S_20.61±0.010.61 \pm0.010.67±0.020.67 \pm0.020.620.620.670.67
validation, S3S_30.54±0.020.54 \pm0.020.61±<0.010.61 \pm<0.010.560.560.580.58
ladder molecules, S1S_10.71±0.030.71 \pm0.030.70±0.020.70 \pm0.020.730.730.680.68
dyes, S1S_10.64±0.050.64 \pm0.050.65±0.030.65 \pm0.030.680.680.640.64
errors (meV unless stated otherwise)
random, thermal, S1S_1–S3S_3 MAE227±1227 \pm1215±4215 \pm4227227221221
random, thermal, S1S_1–S3S_3 R2R^20.932±<0.0010.932 \pm<0.0010.939±0.0030.939 \pm0.0030.9330.9330.9360.936
random, S1S_1-sampled, S1S_1–S3S_3 MAE399±8399 \pm8375±11375 \pm11394394382382
unseen scaffolds, thermal, S1S_1–S3S_3 MAE260±2260 \pm2248±5248 \pm5254254252252
larger, thermal, S1S_1–S3S_3 MAE234±4234 \pm4229±16229 \pm16255255225225
random, thermal, S0S_0 energy MAE (meV per atom)7.6±0.37.6 \pm0.37.1±0.17.1 \pm0.17.87.87.57.5
random, thermal, S1S_1 force MAE (meV/Å)262±<1262 \pm<1259±2259 \pm2261261259259
ladder molecules, equilibrium, S1S_1 MAE623±53623 \pm53617±80617 \pm80602602629629
ladder molecules, equilibrium, S1S_1 R2R^20.408±0.1200.408 \pm0.1200.438±0.1350.438 \pm0.1350.4720.4720.4080.408
held-out dyes, equilibrium, S1S_1 MAE433±65433 \pm65391±11391 \pm11384384380380
held-out dyes, equilibrium, S1S_1 R2R^20.065±0.2810.065 \pm0.2810.240±0.0580.240 \pm0.0580.2720.2720.2680.268

Supplementary Table 3. Population loss on the LEH eigenvectors (10k training molecules). Shared weight ∑Amin⁡(wA,n,pA,n)\sum_A \min(w_{A,n}, p_{A,n}) of the LEH eigenvector and the TD-DFT excitation population (median over geometries) on the validation geometries and on the 160 sulfur-free ladder molecules and 60 sulfur-free held-out dyes at equilibrium for which we computed TD-DFT populations. Errors on the test sets of the benchmark and on all sulfur-free ladder molecules and held-out dyes at equilibrium. Baseline and population loss (weight 1): mean ±\pm standard deviation over three seeds. Weight 0.1 and hole-or-electron target: one seed.

Molecules or geometries?

At a fixed number of training geometries N×KN \times K (NN molecules, KK geometries per molecule), the error did not depend on KK. For random test molecules, the S1S_1–S6S_6 errors were 0.25 eV, 0.25 eV, and 0.25 eV for 10k geometries with K=1,2,3K=1,2,3 and 0.23 eV and 0.22 eV for 20k geometries with K=1,2K=1,2 (Supplementary Fig. 9). The same holds for unseen scaffolds, larger molecules, and S1S_1 forces. Additional thermal geometries of known molecules are thus as valuable as new molecules.

X-MACE: force scaling with molecule size

For each heavy-atom bin of the test sets of thermal geometries, we fitted the predicted to the reference force components with a line through the origin. For X-MACE trained on all data, the slope of the S0S_0 forces is 0.97, 0.77, and 0.66 for larger molecules with 10–14, 15–19, and 20 heavy atoms (correlation 0.96–0.97), and 0.99 for LEH in all bins. A slope below one that decreases with size, at high correlation, is not noise. It is the expected behaviour of a nonlinear decoder that acts on a molecule-level sum outside its training range (Supplementary Table 4).

Label-matched control. X-MACE is trained on S0S_0–S3S_3 only and uses forces only on geometries with all S0S_0–S3S_3 forces. LEH trained on exactly these labels (30k molecules, two seeds) reached S1S_1–S3S_3 MAEs of 0.177 eV, 0.182 eV, and 0.206 eV (random, larger, and scaffold test molecules at thermal geometries), S0S_0 force MAEs of 0.090 eV/Å and 0.084 eV/Å, and S1S_1 force MAEs of 0.230 eV/Å and 0.172 eV/Å (random and larger). The additional labels therefore do not explain the difference to X-MACE (Supplementary Table 5).

Excited-state forces at equilibrium geometries

The training set contains excited-state forces only at thermal and S1S_1-sampled geometries. We computed TD-ωB97X-D S1S_1–S3S_3 forces at the equilibrium geometries of 1,999 random and all 500 larger test molecules. LEH predicted the S1S_1 forces with MAEs of 0.17 eV/Å and 0.13 eV/Å (R2=0.92R^2 = 0.92, seed 0), Direct-softmin with 0.17 eV/Å (random), and X-MACE with 0.23 eV/Å and 0.24 eV/Å (Supplementary Table 6).

Outliers and bounded blocks

Of 87,396 test predictions of the two full-data LEH models, 4 have an S1S_1 below −5 eV, all for different molecules and seeds (−32, −54, and −35 eV for two scaffold-test molecules with seed 0, −71 eV for one S1S_1-sampled geometry with seed 1). In each of these geometries, single pair couplings reach 20–32 eV, compared with at most 2.4 eV in all other test geometries of the same models, and drive one eigenvalue far below zero. The other seed predicts finite but also too low S1S_1 energies for these geometries (by 1.2–1.6 eV), and the disagreement between seeds identifies them. The outliers hardly change the MAEs but dominate the R2R^2 of the affected test sets.

The affected scaffold-test molecules are highly strained cage molecules, two of them with a trivalent oxygen atom (for example CC1=C2[C(OH)]3C(=C[CH−1])[O+]23 in the bond orders perceived from the geometry), and they are out of distribution for every model. The direct softmin readout also predicts their S1S_1 too low, down to −1.3 eV for the benchmark models. Soft bounds on the blocks, x↦ctanh⁡(x/c)x \mapsto c \tanh(x/c) with c=12c = 12 eV (onsite) and 5 eV (pair), which we used in the production models, limit the size of these errors but do not remove them, because the eigenvalues of a matrix with many bounded couplings can still lie far below zero. Of all 271,488 validation and test predictions of the production LEH models, 7 have S1<−5S_1 < -5 eV (lowest −13 eV, compared with −71 eV without bounds), all for the same three molecules. The production Direct-softmin models have 3 such predictions (lowest −21 eV).

Supplementary Table 4: Slope (correlation) of predicted versus reference force components per heavy-atom bin for test molecules at thermal geometries (9 heavy atoms: random test molecules, 10–20: larger test molecules), for models trained on the full training set (seed 0).

ForcesModel910–1415–1920
S0S_0LEH0.99 (1.00)0.99 (1.00)0.99 (1.00)0.99 (1.00)
Direct-softmin0.99 (1.00)0.99 (1.00)0.99 (1.00)1.00 (1.00)
X-MACE0.99 (0.99)0.97 (0.99)0.77 (0.97)0.66 (0.95)
S1S_1LEH0.96 (0.98)0.96 (0.97)0.96 (0.98)0.96 (0.96)
Direct-softmin0.96 (0.98)0.96 (0.98)0.96 (0.98)0.97 (0.97)
X-MACE0.93 (0.97)0.91 (0.96)0.76 (0.95)0.66 (0.92)

Table 4.

Supplementary Table 5: Label-matched control with 30k training molecules, test molecules at thermal geometries. LEH trained on all labels, LEH trained on exactly the labels that X-MACE uses (S1S_1–S3S_3 supervised, forces only on geometries with S1S_1–S3S_3 force labels), and X-MACE. Mean ± standard deviation over two seeds where available.

Model (30k molecules)S1S_1–S3S_3 MAE (meV) randomS1S_1–S3S_3 MAE (meV) largerS1S_1–S3S_3 MAE (meV) scaffoldS0S_0 forces (meV/Å) randomS0S_0 forces (meV/Å) largerS1S_1 forces (meV/Å) randomS1S_1 forces (meV/Å) larger
LEH, all labels205±1184±3239±298±<192±<1236±1181±2
LEH, X-MACE’s labels177±2182±1206±290±<184±<1230±<1172±<1
X-MACE199246221129284312372

Table 5.

Training on conjugated molecules

The dye-augmented models add the training dye scaffolds, that is, all dye molecules except the held-out scaffolds, to the benchmark training set. The ladder molecules remain unseen. On held-out dye scaffolds, the LEH error decreased from 0.29 eV to 0.17 eV and the softmin error from 0.37 eV to 0.17 eV. On ladder molecules, LEH reached 0.32 eV and softmin 0.49 eV. The errors on small molecules did not change (LEH, random test molecules at thermal geometries: 0.18 eV, larger molecules: 0.14 eV). Main-text Table 2 and Supplementary Table 7 list all values.

QCDGE benchmark: all variants

Supplementary Table 8 adds random-split controls, the S1S_1 errors, and the transition-dipole variant to main-text Table 3. With a random split of the same size, in which 83% of the training molecules have nine heavy atoms and none has ten, LEH reached 0.233 eV on the ten-heavy-atom test molecules (size split: 0.256 eV). In QCDGE, the molecules with up to nine heavy atoms are derived from QM9 and those with ten heavy atoms from GDB-11. Most of the error increase from nine to ten heavy atoms therefore reflects this change in chemistry and not the larger size. In the transition-dipole variant, each latent channel aa on atom ii carries a transition-dipole vector built from the bond vectors to its neighbours, μia=∑j:rij<rcwa(hi,hj,b(rij))fc(rij)r^ij\boldsymbol{\mu}_{ia} = \sum_{j:r_{ij}<r_c} w_a(\mathbf{h}_i,\mathbf{h}_j,\mathbf{b}(r_{ij})) f_c(r_{ij}) \hat{\mathbf{r}}_{ij}, which is rotation equivariant. With the eigenvectors U\mathbf{U} of H\mathbf{H}, eigenstate nn has the transition dipole μn=∑iaUia,nμia\boldsymbol{\mu}_n = \sum_{ia} U_{ia,n}\boldsymbol{\mu}_{ia} and the oscillator strength fn=23λn∣μn∣2f_n = \frac{2}{3}\lambda_n|\boldsymbol{\mu}_n|^2 (atomic units). Trained additionally on oscillator strengths, this variant had the same excitation-energy errors as LEH. Its S1S_1 oscillator strengths reached R2=0.78R^2 = 0.78 in the training size range and 0.69 for nine heavy atoms but only 0.02 for ten heavy atoms (bright-state recall 0.42, 0.37, and 0.16). All main models are therefore trained on energies and forces only.

Supplementary Table 6: Excited-state forces at equilibrium geometries for models trained on the full training set. Mean absolute errors in meV/Å and R2R^2 over force components. Number of molecules in brackets. Mean ± standard deviation over seeds where available.

Modelrandom (1,999) FS1F_{S_1} MAErandom (1,999) FS1F_{S_1} R2R^2larger (500) FS1F_{S_1} MAElarger (500) FS1F_{S_1} R2R^2random FS2F_{S_2} MAErandom FS3F_{S_3} MAE
LEH168±10.92±<0.01135±10.87±<0.01273±<1354±1
LEH, L=2L = 21610.921340.87265349
Direct-softmin171±20.92±<0.01146±30.87±<0.01293±1364±1
X-MACE2270.872410.69333390
OMNI-P2x arch.4130.493090.53444470
MS-ANI4210.473140.52453475

Table 6.

Supplementary Table 7: Benchmark and dye-augmented models on the conjugated test sets (sulfur-free held-out dye scaffolds and ladder molecules) at equilibrium and thermal geometries. Mean ± standard deviation over two seeds where available. OMNI-P2x, fine-tuned: average of the three fine-tuned ensemble members.

Training dataModelS1S_{1}–S3S_{3} MAE (meV) dyes eq.S1S_{1}–S3S_{3} MAE (meV) dyes therm.S1S_{1}–S3S_{3} MAE (meV) ladders eq.S1S_{1}–S3S_{3} MAE (meV) ladders therm.S1S_{1} MAE (meV) dyes eq.S1S_{1} MAE (meV) dyes therm.S1S_{1} MAE (meV) ladders eq.S1S_{1} MAE (meV) ladders therm.S1S_{1} R2R^2 dyes eq.S1S_{1} R2R^2 dyes therm.S1S_{1} R2R^2 ladders eq.S1S_{1} R2R^2 ladders therm.
benchmarkLEH292±17280±2357±12365±17406±35387±6596±10582±280.17±0.020.29±0.060.48±0.010.43±0.05
benchmarkDirect-softmin365±38389±46606±11553±15392±42408±37660±6622±120.04±0.33-0.19±0.460.31±0.010.29±0.01
benchmarkX-MACE112575577245315431005891503-8.71-3.71-0.540.43
benchmarkOMNI-P2x arch.18211551118212201336112311991203-6.51-4.38-1.62-1.84
benchmarkOMNI-P2x, fine-tuned976718767909657536679926-1.16-0.380.21-0.52
+ training dyesLEH171±15178±13324±76332±68207±36214±35532±163545±1410.79±0.070.76±0.070.51±0.250.44±0.24
+ training dyesDirect-softmin171±7179±5492±14461±24188±5195±2492±<1489±60.82±<0.010.80±<0.010.57±0.010.52±0.01

Table 7.

Supplementary Table 8: QCDGE size extrapolation, all variants. fS1f_{S_1}: oscillator strength of S1S_1 (transition-dipole variant only). Mean ± standard deviation over seeds where available.

Heavy atomsS1S_1–S3S_3 MAE (meV) ≤ 8 (val.)S1S_1–S3S_3 MAE (meV) 9S1S_1–S3S_3 MAE (meV) 10S1S_1–S3S_3 MAE (meV) 10, new scaf.S1S_1–S10S_{10} 10S1S_1–S3S_3 R2R^2 10S1S_1 MAE 10S1S_1 R2R^2 10fS1f_{S_1} R2R^2 ≤ 8fS1f_{S_1} R2R^2 10
LEH90±1115±1256±3291±4204±10.90±<0.01264±40.90±<0.01––
Direct-softmin92±1117±3265±5285±7229±60.89±<0.01277±50.89±<0.01––
Direct-sum103±1139±1293±3297±17268±100.88±<0.01319±10.88±<0.01––
Direct-mean102±<1134±2280±6301±13244±40.89±<0.01305±50.88±<0.01––
X-MACE1822608496829030.236400.61––
OMNI-P2x arch.1782405114945170.645540.66––
MS-ANI1682345295605080.615690.63––
LEH + transition dipoles92±1118±3257±1289±7205±10.89±<0.01273±30.89±<0.010.78±0.010.02±0.01
LEH, random split106±1112±<1233±2–190±10.92±<0.01243±70.92±<0.01––
Direct-softmin, random split112±1117±2248±7–206±20.91±<0.01257±110.91±0.01––

Table 8.

Active learning

Supplementary Table 9 summarises the excited-state sampling rounds (protocol in Methods). Round 1 is part of the benchmark dataset. In round 2, we labelled 18,411 geometries from model-driven S1S_1 dynamics of molecules with photoisomerisable double bonds, selected by double-bond twist and by committee disagreement. Before labelling, the benchmark model predicted their S1S_1 energy with an MAE of 0.53 eV and systematically too high. The error increased from 0.37 eV for twist angles below 30° to 1.11 eV beyond 75°, where TD-ω\omegaB97X-D places S1S_1 at 1–2 eV. These twisted geometries, which are rare in the benchmark training data, are the geometries along which photoisomerisation proceeds. In rounds 3 and 4, the error of the sampling models on the geometries they selected decreased to 0.42 eV and 0.40 eV (beyond 75°: 0.95 eV and 0.91 eV, main-text Figure 2d). The mean S1S_1 error along the seven validation trajectories of the models trained after each round decreased from 0.53 eV (benchmark) to 0.37 eV, 0.32 eV, and 0.27 eV. All sampling models were stable in their own dynamics (35 trajectories each, total-energy drift at most 7 meV, no bond changes). The benchmark models contain three of the seven validation molecules (styrene, benzaldehyde, and cinnamaldehyde) in their training set, and the sampling models of rounds 3 and 4, fine-tuned from the dye-augmented LEH model, additionally azobenzene (Methods), so the criterion values of these models are slightly optimistic. The production models contain none of the trajectory molecules. The sampling models did not reach the 0.2 eV threshold, and the improvement per round did not fall below 10%. The production models trained from scratch on all data after round 4 reached 0.17 eV, and the loop stopped. The two lineages of sampling models differed consistently across rounds (values in brackets in Supplementary Table 9), so the differences between single models along single trajectories are large compared with the changes from round to round.

RoundSampling modelsGeometriesMoleculesMAEsignedtwist > 75°S1S_1 MAES0S_0-change MAE
1preliminary LEH17,8319,256–––533 (533)196 (196)
2benchmark LEH17,9158,979535+3891112372 (265, 478)141 (133, 150)
3warm-started from dye-augmented LEH25,12212,765416+205950315 (219, 411)120 (119, 121)
4warm-started from round 325,08212,731397+176906273 (185, 360)106 (107, 105)
production, uniform losstrained from scratch16778

Supplementary Table 9. Excited-state sampling rounds. Geometries and molecules: labelled geometries in the released dataset. Pre-label error: S1S_1 error of the sampling models on the geometries they selected, before labelling (signed: prediction minus TD-DFT). Criterion: mean absolute errors of the S1S_1 excitation energy and of the change of the S0S_0 energy along the seven validation trajectories for the models trained on all data up to and including the round (mean over the two models, single models in brackets). Last row: production models trained from scratch with the uniform loss (two LEH and two Direct-softmin models).

Production models

We trained the production models (LEH and Direct-softmin, four seeds each) from scratch on all data after active-learning round 1 with the weighted loss (Methods). Supplementary Table 11 lists their errors on every test set and along the S1S_1 trajectories. The weighted loss lowered the mean signed S1S_1 error of validation geometries with a TD-DFT S1S_1 below 2 eV from 0.39 eV to 0.25 eV (LEH) and from 0.43 eV to 0.22 eV (Direct-softmin). We used the uniform-loss models of Supplementary Table 9 for the stopping decision of the active-learning loop and for the decision on the loss.

Supplementary Table 11: Production models (weighted loss) on the validation split and all test sets and along the TD-ω\omegaB97X-D S1S_1 trajectories (frames before TD-DFT breaks down). Seeds: mean ±\pm standard deviation over the four seeds. Comm.: committee (seed-averaged prediction). Trajectories: mean absolute S1S_1 error. Signed: mean S1S_1 error of the committee (prediction minus TD-DFT).

Test setnnLEH S1S_1–S3S_3 MAE (meV) seedsLEH S1S_1 MAE comm.LEH S1S_1 R2R^2 comm.Direct-softmin S1S_1–S3S_3 MAE (meV) seedsDirect-softmin S1S_1 MAE comm.Direct-softmin S1S_1 R2R^2 comm.
validation split5,395188±3188\pm3174169173±1173\pm1162157
random, thermal9,182168±3168\pm3155140157±2157\pm2147134
unseen scaffolds, thermal10,401194±4194\pm4179172175±2175\pm2164162
random, S1S_1-sampled1,449239±4239\pm4223201214±2214\pm2200184
unseen scaffolds, S1S_1-sampled1,802253±5253\pm5235225224±2224\pm2210200
larger, thermal498138±2138\pm2122107151±1151\pm1141129
larger, S1S_1-sampled963174±2174\pm2156141179±4179\pm4166138
random, active-learning frames2,232272±4272\pm4255270237±3237\pm3225246
unseen scaffolds, active-learning frames2,282304±9304\pm9285318256±3256\pm3244277
larger, active-learning frames947210±8210\pm8192211201±5201\pm5187187
held-out dyes, eq.373171±7171\pm7152172160±11160\pm11148164
held-out dyes, thermal373178±7178\pm7161185161±5161\pm5150169
ladders, eq.1,226283±58283\pm58266434313±28313\pm28307321
ladders, thermal1,228267±45267\pm45252384293±24293\pm24285303
S1S_1 MAE along the TD-ω\omegaB97X-D S1S_1 trajectories (meV)
test: acrolein91±5291\pm5289signed +8967±1567\pm1567signed +67
test: uracil61±3461\pm3443signed +3785±2485\pm2441signed −27
test: trans-stilbene545±271545\pm271543signed +543235±44235\pm44218signed +157
test: HBDI433±129433\pm129433signed +433231±75231\pm75223signed +220
test: DMABN361±77361\pm77357signed +352178±26178\pm26176signed +108
mean of the 5 test trajectories298±78298\pm78293159±21159\pm21145
mean of the 7 validation trajectories185±50185\pm50179146±14146\pm14141

Supplementary Table 11. Production models (weighted loss) on the validation split and all test sets and along the TD-ω\omegaB97X-D S1S_1 trajectories (frames before TD-DFT breaks down). Seeds: mean ±\pm standard deviation over the four seeds. Comm.: committee (seed-averaged prediction). Trajectories: mean absolute S1S_1 error. Signed: mean S1S_1 error of the committee (prediction minus TD-DFT).

Supplementary Table 10 compares both losses for each architecture. We applied the decision rule (Methods) to the mean over both architectures, and the weighted loss met it. For Direct-softmin, the weighted loss improved all three criteria and nearly all test sets, including the test trajectories. For LEH, it reduced the low-gap error and the errors on the active-learning test geometries by similar amounts, but the errors along the validation and test trajectories and for the ladder molecules were larger on average and varied more between seeds than with the uniform loss. These differences come mostly from single seeds. Seed 0 of the weighted LEH was more accurate than seed 0 of the uniform LEH along both sets of trajectories and for the ladder molecules, and seed 1 was less accurate. With two uniform-loss seeds, we cannot say whether the weighted loss changes the accuracy of LEH along trajectories or only its seed-to-seed variation.

Errors (meV)LEHDirect-softmin
uniformweighteduniformweighted
decision criteria (validation data)
validation, S1S_1–S3S_3 MAE190±2190\pm2188±3188\pm3183±<1183\pm<1173±1173\pm1
validation, S1<2 eVS_1 < 2\,\mathrm{eV}, signed S1S_1 error395±13395\pm13253±34253\pm34428±4428\pm4221±6221\pm6
validation trajectories, S1S_1 MAE157±10157\pm10185±50185\pm50176±20176\pm20146±14146\pm14
test sets (S1S_1–S3S_3 MAE unless stated otherwise)
random, thermal162±2162\pm2168±3168\pm3160±1160\pm1157±2157\pm2
unseen scaffolds, thermal190±2190\pm2194±4194\pm4180±1180\pm1175±2175\pm2
random, S1S_1-sampled243±2243\pm2239±4239\pm4223±1223\pm1214±2214\pm2
larger, thermal139±4139\pm4138±2138\pm2153±<1153\pm<1151±1151\pm1
larger, S1S_1-sampled177±<1177\pm<1174±2174\pm2185±4185\pm4179±4179\pm4
random, active-learning geometries306±2306\pm2272±4272\pm4267±3267\pm3237±3237\pm3
unseen scaffolds, active-learning geometries328±4328\pm4304±9304\pm9280±<1280\pm<1256±3256\pm3
larger, active-learning geometries219±3219\pm3210±8210\pm8212±3212\pm3201±5201\pm5
held-out dyes, equilibrium166±1166\pm1171±7171\pm7157±6157\pm6160±11160\pm11
ladder molecules, equilibrium246±22246\pm22283±58283\pm58331±20331\pm20313±28313\pm28
test trajectories, S1S_1 MAE282±8282\pm8298±78298\pm78204±15204\pm15159±21159\pm21

Supplementary Table 10. Uniform and weighted excitation-energy loss for the production models.

We kept the weighted loss for both architectures, as decided by the rule. For LEH, the uniform loss would have given lower errors for the ladder molecules and along the test trajectories, so the LEH results in the main text are not selected in favour of LEH.

Supplementary Table 10: Uniform and weighted excitation-energy loss for the production models. Mean absolute errors (meV), except for the mean signed S1S_1 error of the validation geometries with S1<2 eVS_1 < 2\,\mathrm{eV}, as mean ±\pm standard deviation over seeds (uniform loss: two seeds, weighted loss: four seeds). The first three rows are the criteria of the decision rule.

As for the benchmark models, Direct-softmin was more accurate for molecules similar to the training molecules (random test molecules: committee 0.147 eV versus 0.155 eV), and LEH was more accurate for larger molecules (0.122 eV versus 0.141 eV) and for S1S_1–S3S_3 of ladder molecules (0.266 eV versus 0.307 eV). For S1S_1 of ladder molecules, Direct-softmin was more accurate (0.32 eV versus 0.43 eV). Both models overestimated S1S_1 more with increasing number of heavy atoms, LEH by more than Direct-softmin. The spread over seeds was small on the test sets of individual geometries but large on the ladder molecules and along the trajectories, where single seeds differed by several tenths of an eV on the same trajectory. The committee averages out this scatter but not the bias that all seeds share. Along the test trajectories of trans-stilbene, HBDI, and DMABN, the committee S1S_1 energy was on average 0.35–0.54 eV too high for LEH and 0.11–0.22 eV too high for Direct-softmin, and this error increased during the relaxation as the TD-DFT S1S_1 energy decreased (main-text Figure 6).

Supplementary Note References

Predicted versus TD-DFT $S_1$ excitation energies for all models

Figure S5. Predicted versus TD-DFT S1S_1 excitation energies for all models (hexagonal bins, grey scale: number of geometries per bin). a, Larger test molecules at thermal geometries. b, Sulfur-free dyes at equilibrium geometries. Each panel gives the mean absolute error, R2R^2, and the fraction of points outside the plotted range.

Errors of LEH at fixed numbers of training geometries versus the number of geometries per molecule

Figure 9. Errors of LEH at a fixed number of training geometries (10k and 20k) versus the number of geometries per molecule. Mean absolute error of the S1S_1–S6S_6 excitation energies for random test molecules (a), unseen scaffolds (b), and larger test molecules (c), and of the S1S_1 forces for random test molecules (d), at thermal geometries. Markers: mean over two seeds. Bars: standard deviation.

References

  1. [1]Friederich, P.; Häse, F.; Proppe, J.; Aspuru-Guzik, A. Machine-learned potentials for next-generation matter simulations. Nature Materials 2021, 20, 750–761, DOI: 10.1038/s41563-020-0777-6.DOI
  2. [2]Westermayr, J.; Marquetand, P. Machine Learning for Electronically Excited States of Molecules. Chemical Reviews 2021, 121, 9873–9926, DOI: 10.1021/acs.chemrev.0c00749.DOI
  3. [3]Dral, P. O.; Barbatti, M. Molecular excited states through a machine learning lens. Nature Reviews Chemistry 2021, 5, 388–405, DOI: 10.1038/s41570-021-00278-1.DOI
  4. [4]Li, J.; Lopez, S. A. A Look Inside the Black Box of Machine Learning Photodynamics Simulations. Accounts of Chemical Research 2022, 55, 1972–1984, DOI: 10.1021/acs.accounts.2c00288.DOI
  5. [5]Hu, D.; Xie, Y.; Li, X.; Li, L.; Lan, Z. Inclusion of Machine Learning Kernel Ridge Regression Potential Energy Surfaces in On-the-Fly Nonadiabatic Molecular Dynamics Simulation. The Journal of Physical Chemistry Letters 2018, 9, 2725–2732, DOI: 10.1021/acs.jpclett.8b00684.DOI
  6. [6]Dral, P. O.; Barbatti, M.; Thiel, W. Nonadiabatic Excited-State Dynamics with Machine Learning. The Journal of Physical Chemistry Letters 2018, 9, 5660–5663, DOI: 10.1021/acs.jpclett.8b02469.DOI
  7. [7]Chen, W.-K.; Liu, X.-Y.; Fang, W.-H.; Dral, P. O.; Cui, G. Deep Learning for Nonadiabatic Excited-State Dynamics. The Journal of Physical Chemistry Letters 2018, 9, 6702–6708, DOI: 10.1021/acs.jpclett.8b03026.DOI
  8. [8]Westermayr, J.; Gastegger, M.; Menger, M. F. S. J.; Mai, S.; González, L.; Marquetand, P. Machine learning enables long time scale molecular photodynamics simulations. Chemical Science 2019, 10, 8100–8107, DOI: 10.1039/c9sc01742a.DOI
  9. [9]Li, J.; Reiser, P.; Boswell, B. R.; Eberhard, A.; Burns, N. Z.; Friederich, P.; Lopez, S. A. Automatic discovery of photoisomerization mechanisms with nanosecond machine learning photodynamics simulations. Chemical Science 2021, 12, 5302–5314, DOI: 10.1039/d0sc05610c.DOI
  10. [10]Li, J.; Stein, R.; Adrion, D. M.; Lopez, S. A. Machine-Learning Photodynamics Simulations Uncover the Role of Substituent Effects on the Photochemical Formation of Cunanes. Journal of the American Chemical Society 2021, 143, 20166–20175, DOI: 10.1021/jacs.1c07725.DOI
  11. [11]Axelrod, S.; Shakhnovich, E.; Gómez-Bombarelli, R. Excited state non-adiabatic dynamics of large photoswitchable molecules using a chemically transferable machine learning potential. Nature Communications 2022, 13, 3440, DOI: 10.1038/s41467-022-30999-w.DOI
  12. [12]Axelrod, S.; Shakhnovich, E.; Gómez-Bombarelli, R. Thermal Half-Lives of Azobenzene Derivatives: Virtual Screening Based on Intersystem Crossing Using a Machine Learning Potential. ACS Central Science 2023, 9, 166–176, DOI: 10.1021/acscentsci.2c00897.DOI
  13. [13]Kumar, P.; Zhou, C.; Friederich, P.; Escudero, D. In silico study of degradation in host molecular materials for OLEDs. Advanced Theory and Simulations 2026, 9, e70584, DOI: 10.1002/adts.70584.DOI
  14. [14]Westermayr, J.; Gastegger, M.; Marquetand, P. Combining SchNet and SHARC: The SchNarc Machine Learning Approach for Excited-State Dynamics. The Journal of Physical Chemistry Letters 2020, 11, 3828–3834, DOI: 10.1021/acs.jpclett.0c00527.DOI
  15. [15]Mausenberger, S.; Müller, C.; Tkat chenko, A.; Marquetand, P.; González, L.; Westermayr, J. SPaiNN: equivariant message passing for excited-state nonadiabatic molecular dynamics. Chemical Science 2024, 15, 15880–15890, DOI: 10.1039/d4sc04164j.DOI
  16. [16]Westermayr, J.; Marquetand, P. Deep learning for UV absorption spectra with SchNarc: First steps toward transferability in chemical compound space. The Journal of Chemical Physics 2020, 153, 154112, DOI: 10.1063/5.0021915.DOI
  17. [17]Martyka, M.; Zhang, L.; Ge, F.; Hou, Y.-F.; Jankowska, J.; Barbatti, M.; Dral, P. O. Charting electronic-state manifolds across molecules with multi-state learning and gap-driven dynamics via efficient and robust active learning. npj Computational Materials 2025, 11, 132, DOI: 10.1038/s41524-025-01636-z.DOI
  18. [18]Barrett, R.; Ortner, C.; Westermayr, J. Transferable Machine Learning Potential X-MACE for Excited States using Integrated DeepSeets. 2025; arXiv:2502.12870.arxiv.org/abs/2502.12870
  19. [19]Martyka, M.; Tong, X.-Y.; Jankowska, J.; Dral, P. O. OMNI-P2x universal neural network potential for excited-state simulations. Nature Communications 2026, 17, 4949, DOI: 10.1038/s41467-026-71380-5.DOI
  20. [20]Malosso, C.; How, W. B.; Díaz Mirón, G.; Hassanali, A.; Ceriotti, M. Transferable machine learning of excited-state dynamics with extremal pooling. 2026; arXiv:2606.16859.arxiv.org/abs/2606.16859
  21. [21]Westermayr, J.; Maurer, R. J. Physically inspired deep learning of molecular excitations and photoemission spectra. Chemical Science 2021, 12, 10755–10764, DOI: 10.1039/d1sc01542g.DOI
  22. [22]Cignoni, E.; Suman, D.; Nigam, J.; Cupellini, L.; Mennucci, B.; Ceriotti, M. Electronic Excited States from Physically Constrained Machine Learning. ACS Cent. Sci. 2024, 10, 637–648, DOI: 10.1021/acscentsci.3c01480.DOI
  23. [23]Ren, F.; Chen, X.; Liu, F. Size-Transferable Prediction of Excited State Properties for Molecular Assemblies with a Machine Learning Exciton Model. The Journal of Physical Chemistry Letters 2025, 16, 2541–2552, DOI: 10.1021/acs.jpclett.4c03548.DOI
  24. [24]Juergens, D.; Stöhr, M.; Hillers-Bendtsen, A. E.; Fajen, O. J.; Martínez, T. J. Latent unified smooth Hamiltonians for excited state chemistry. 2026; arXiv:2609.01871.arxiv.org/abs/2609.01871
  25. [25]Ramakrishnan, R.; Hartmann, M.; Tapavicza, E.; von Lilienfeld, O. A. Electronic spectra from TDDFT and machine learning in chemical space. The Journal of Chemical Physics 2015, 143, 084111, DOI: 10.1063/1.4928757.DOI
  26. [26]Zhu, Y.; Li, M.; Xu, C.; Lan, Z. Quantum chemistry dataset with ground- and excited-state properties of 450 kilo molecules. Scientific Data 2024, 11, 948, DOI: 10.1038/s41597-024-03788-x.DOI
  27. [27]Curth, R.; Röhrkasten, T. E.; Müller, C.; Westermayr, J. Surface Hopping Nested Instances Training Set for Excited-state Learning. Scientific Data 2025, 12, 1300, DOI: 10.1038/s41597-025-05443-5.DOI
  28. [28]Pinheiro Jr, M.; Zhang, S.; Dral, P. O.; Barbatti, M. WS22 database, Wigner sampling and geometry interpolation for configurationally diverse molecular datasets. Scientific Data 2023, 10, 95, DOI: 10.1038/s41597-023-01998-3.DOI
  29. [29]Batatia, I.; Kovács, D. P.; Simm, G. N. C.; Ortner, C.; Csányi, G. MACE: Higher Order Equivariant Message Passing Neural Networks for Fast and Accurate Force Fields. Advances in Neural Information Processing Systems. 2022; pp 11423–11436, DOI: 10.48550/arXiv.2206.07697, arXiv:2206.07697.DOI
  30. [30]Zhou, C.; Neubert, M.; Koide, Y.; Zhang, Y.; Vuong, V.-Q.; Schlöder, T.; Dehnen, S.; Friederich, P. PAL – parallel active learning for machine-learned potentials. Digital Discovery 2025, 4, 1901–1911, DOI: 10.1039/d5dd00073d.DOI
  31. [31]Jacquemin, D.; Wathelet, V.; Perpète, E. A.; Adamo, C. Extensive TD-DFT benchmark: singlet-excited states of organic molecules. Journal of Chemical Theory and Computation 2009, 5, 2420–2435, DOI: 10.1021/ct900298e.DOI
  32. [32]Liang, J.; Feng, X.; Hait, D.; Head-Gordon, M. Revisiting the performance of time-dependent density functional theory for electronic excitations: assessment of 43 popular and recently developed functionals from rungs one to four. Journal of Chemical Theory and Computation 2022, 18, 3460–3473, DOI: 10.1021/acs.jctc.2c00160.DOI
  33. [33]Loos, P.-F.; Scemama, A.; Jacquemin, D. The quest for highly accurate excitation energies: a computational perspective. The Journal of Physical Chemistry Letters 2020, 11, 2374–2383, DOI: 10.1021/acs.jpclett.0c00014.DOI
  34. [34]He, Y.; Escudero, D. Beyond the three-state picture: when higher-lying excited states become quantitatively indispensable. Chemical Science 2026, 17, 10967–10981, DOI: 10.1039/d6sc01726f.DOI
  35. [35]Levine, B. G.; Ko, C.; Quenneville, J.; Martínez, T. J. Conical intersections and double excitations in time-dependent density functional theory. Molecular Physics 2006, 104, 1039–1051, DOI: 10.1080/00268970500417762.DOI
  36. [36]Batatia, I. et al. A foundation model for atomistic materials chemistry. The Journal of Chemical Physics 2025, 163, 184110, DOI: 10.1063/5.0297006.DOI
  37. [37]Levine, D. S. et al. The Open Molecules 2025 (OMol25) Dataset, Evaluations, and Models. 2025; arXiv:2505.08762.arxiv.org/abs/2505.08762
  38. [38]Smith, J. S.; Nebgen, B. T.; Zubatyuk, R.; Lubbers, N.; Devereux, C.; Barros, K.; Tretiak, S.; Isayev, O.; Roitberg, A. E. Approaching coupled cluster accuracy with a general-purpose neural network potential through transfer learning. Nature Communications 2019, 10, 2903, DOI: 10.1038/s41467-019-10827-4.DOI
  39. [39]Balasubramani, S. G. et al. TURBOMOLE: Modular program suite for ab initio quantum-chemical and condensed-matter simulations. The Journal of Chemical Physics 2020, 152, 184107, DOI: 10.1063/5.0004635.DOI
  40. [40]Chai, J.-D.; Head-Gordon, M. Long-range corrected hybrid density functionals with damped atom–atom dispersion corrections. Phys. Chem. Chem. Phys. 2008, 10, 6615–6620, DOI: 10.1039/B801898B.DOI
  41. [41]Hariharan, P. C.; Pople, J. A. The influence of polarization functions on molecular orbital hydrogenation energies. Theoretica Chimica Acta 1973, 28, 213–222, DOI: 10.1007/BF00533485.DOI
  42. [42]Furche, F.; Ahlrichs, R. Adiabatic time-dependent density functional methods for excited state properties. The Journal of Chemical Physics 2002, 117, 7433–7447, DOI: 10.1063/1.1508368.DOI
  43. [43]Bannwarth, C.; Ehlert, S.; Grimme, S. GFN2-xTB—An Accurate and Broadly Parametrized Self-Consistent Tight-Binding Quantum Chemical Method with Multipole Electrostatics and Density-Dependent Dispersion Contributions. Journal of Chemical Theory and Computation 2019, 15, 1652–1671, DOI: 10.1021/acs.jctc.8b01176.DOI
  44. [44]Bemis, G. W.; Murcko, M. A. The properties of known drugs. 1. Molecular frameworks. Journal of Medicinal Chemistry 1996, 39, 2887–2893, DOI: 10.1021/jm9602928.DOI
  45. [45]Gómez-Bombarelli, R.; Wei, J. N.; Duvenaud, D.; Hernández-Lobato, J. M.; Sánchez-Lengeling, B.; Sheberla, D.; Aguilera-Iparraguirre, J.; Hirzel, T. D.; Adams, R. P.; Aspuru-Guzik, A. Automatic Chemical Design Using a Data-Driven Continuous Representation of Molecules. ACS Cent. Sci. 2018, 4, 268–276, DOI: 10.1021/acscentsci.7b00572.
  46. [46]Irwin, J. J.; Shoichet, B. K. ZINC – A Free Database of Commercially Available Compounds for Virtual Screening. J. Chem. Inf. Model. 2005, 45, 177–182, DOI: 10.1021/ci049714+.DOI
  47. [47]RDKit contributors RDKit: Open-source cheminformatics. https://www.rdkit.org, 2026.
  48. [48]Beard, E. J.; Sivaraman, G.; Vázquez-Mayagoitia, A.; Vishwanath, V.; Cole, J. M. Comparative dataset of experimental and computational attributes of UV/vis absorption spectra. Scientific Data 2019, 6, 307, DOI: 10.1038/s41597-019-0306-0.DOI
  49. [49]Young, J. F.; Han, M.; Jeong, M.; Park, S. Experimental database of optical properties of organic compounds. Scientific Data 2020, 7, 295, DOI: 10.1038/s41597-020-00634-8.
  50. [50]Dral, P. O. et al. MLatom 3: A Platform for Machine Learning-Enhanced Computational Chemistry Simulations and Workflows. Journal of Chemical Theory and Computation 2024, 20, 1193–1213, DOI: 10.1021/acs.jctc.3c01203.DOI

Paper details

vlnc:W_w3re2y74
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 4

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Claude Code

View statement
Looking for related papers…
Contents