Fragment-Grounded Neural Simulation of Electron Ionization Mass Spectra at Library Scale
- 30 October 2026
- journal article
- Published by American Chemical Society (ACS) in Analytical Chemistry
- Vol. 98 (45) , 33302-33311
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.Keywords
All Related Versions
Funding Information
- DSO National Laboratories - Singapore
- ETH Foundation Excellence Scholarship and Opportunity Programme
- ETH Zurich Swiss European Mobility Programme
- Zeno Karl Schindler Foundation
This publication has 26 references indexed in Scilit:
- Mapping the Edges of Mass Spectral Prediction: Evaluation of Machine Learning EIMS Prediction for Xeno Amino AcidsAnalytical Chemistry, 2025
- Generating Molecular Fragmentation Graphs with Autoregressive Neural NetworksAnalytical Chemistry, 2024
- AIRI: Predicting Retention Indices and Their Uncertainties Using Artificial IntelligenceJournal of Chemical Information and Modeling, 2024
- Rapid Approximate Subset-Based Spectra Prediction for Electron Ionization–Mass SpectrometryAnalytical Chemistry, 2023
- Strategies for structure elucidation of small molecules based on LC–MS/MS data from complex biological samplesComputational and Structural Biotechnology Journal, 2022
- Prediction of electron ionization mass spectra based on graph convolutional networksInternational Journal of Mass Spectrometry, 2022
- Computational Prediction of Electron Ionization Mass Spectra to Assist in GC/MS Compound IdentificationAnalytical Chemistry, 2016
- Substructure‐based annotation of high‐resolution multistage MS
n
spectral treesRapid Communications in Mass Spectrometry, 2012
- Mass Spectral Reference Libraries: An Ever-Expanding Resource for Chemical IdentificationAnalytical Chemistry, 2012
- Optimization and testing of mass spectral library search algorithms for compound identificationJournal of the American Society for Mass Spectrometry, 1994