Fragment-Grounded Neural Simulation of Electron Ionization Mass Spectra at Library Scale
Abstract Electron ionization mass spectrometry (EI-MS) is a sensitive analytical technique, yet compound identification conventionally relies on reference libraries that contain spectra for at most about one million compounds, which is a small subset of chemical space. In silico prediction of EI-MS spectra can extend these libraries, but existing data-driven models generalize poorly beyond their training distribution, and physics-based simulations are too costly for library-scale use. Here, we present a fragment-grounded neural workflow that predicts an EI-MS spectrum by exhaustively enumerating the fragmentation graph of a molecule and then assigning intensities to the resulting substructures with a model trained on experimental spectra. By relating every predicted peak back to a candidate substructure, our model generalizes more reliably to unseen scaffolds and out-of-distribution chemistry than prior fingerprint- and black-box transformer-based predictors. On a scaffold split, it identifies the correct structure among up to fifty same-formula isomers in 43.0% of cases, compared to 32.5% for the strongest baseline. Further, it matches the accuracy of quantum-chemical simulation while being roughly 7 orders of magnitude faster. To test the model’s capabilities under a harder, formula-agnostic setting, we further evaluate retrieval against a library of 87.3 million compounds from PubChem. There, our model achieves a top-1 accuracy of 3.3%, compared to 1.1% for the strongest baseline, and a peak-mass-window filter further raises its top-1 accuracy to 5.3%. The predicted spectra for 87.3 million compounds serve as an augmented reference library to facilitate database-dependent structure elucidation.
Authors
- Runzhong Wang (ORCID: https://orcid.org/0000-0002-9566-738X)
- Connor W. Coley (ORCID: https://orcid.org/0000-0002-8271-8723)
- Magdalena Lederbauer (ORCID: https://orcid.org/0009-0008-0665-1839)
Institutions
- Massachusetts Institute of Technology (US)
Publication Details
- Journal
- Analytical Chemistry
- Published
- 2026-10-30
- DOI
- https://doi.org/10.1021/acs.analchem.6c06136
- Primary Topic
- Mass Spectrometry Techniques and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- DSO National Laboratories - Singapore