Learning to SHINE: Semiempirical Hamiltonians Informed by Machine-Learned Neighborhood Environments for Excited States
Despite advances in machine learning for molecular spectroscopy, predicting excitation energies and transition moments across unseen molecular scaffolds remains challenging. We introduce SHINE (Semiempirical Hamiltonians Informed by Machine-Learned Neighborhood Environments for Excited States), a machine learning model which uses frozen MACE representations and rotation-invariant descriptors of local chemical environments to learn bounded corrections to semiempirical Hamiltonians. Using the simplified Pariser--Parr--Pople (PPP) $π$-electron Hamiltonian, we train corrections through restricted Hartree--Fock and configuration interaction singles calculations and evaluate predictions against Tamm--Dancoff time dependent density functional theory references on molecular scaffolds excluded from training. Joint training on optical and spin targets improves excitation energies, the singlet--triplet gap, oscillator strengths, and transition moment magnitudes relative to fixed PPP. These gains hold in both the favorable population, drawn from the top 15% by reference $S_1$ local $π$ character, and the broader population without that cutoff. In the favorable population, the joint model reaches $S_1$, $T_1$ and signed gap mean absolute errors of 0.127, 0.118 and 0.105 eV, respectively. Within the same Hamiltonian, electric and magnetic transition moment magnitude errors are 0.270 $e\,a_0$ and 0.231 $μ_{\mathrm{B}}$. Single-target supervision more than halves the joint model's $S_1$ and $T_1$ mean absolute errors, bringing them to 0.060 and 0.041 eV, respectively. The electric and magnetic specialists also lower their respective transition moment magnitude errors to 0.256 $e\,a_0$ and 0.224 $μ_{\mathrm{B}}$. Together, these results show that learned corrections improve predictions within a reduced electronic description and motivate extending SHINE to richer semiempirical Hamiltonians.