This post accompanies the paper Fragment-Grounded Neural Simulation of Electron Ionization Mass Spectra at Library Scale (M. Lederbauer, R. Wang, C. W. Coley, Anal. Chem., 2026), which grew out of my master’s thesis. Code: coleygroup/icicle. Predicted spectra for 87.3 million PubChem compounds: Zenodo.
TL;DR
- Mass spectrometry can only identify what a reference library already contains, and the compounds you most want to identify are the ones it lacks.
- ICICLE predicts EI mass spectra from structure. It breaks a molecule into every plausible fragment and learns how much intensity each fragment gets, so it holds up on molecules unlike its training data: 43.0% top-1 isomer retrieval against 32.5% for the best baseline.
- Predicted spectra for 87.3 million PubChem compounds are now public. That is a larger reference library, and also training data for models that go from spectrum to structure.
Libraries only know what was measured
Electron ionization mass spectrometry (EI-MS) is a workhorse for identifying small molecules in forensics, environmental monitoring and metabolomics. The spectrum acts as a fingerprint, and identification means matching it against a library of measured spectra. The best libraries hold a few hundred thousand compounds, while PubChem lists more than 120 million. In metabolomics and exposomics, fewer than 2% of relevant compounds have measured EI-MS data [1].
The gap hurts most for unknowns. A new compound, say an unexpected transformation product or an unknown contaminant, is by definition not in the library. A library lookup cannot find it.
The fix is to simulate spectra instead of measuring them. Quantum-chemical simulation is accurate but can take tens of CPU hours for a single small molecule [2]. Neural predictors are fast, but they learn from what they have seen, and their accuracy drops on scaffolds outside the training set [3]. That is the same failure that makes the library approach fail on unknowns.
Predicting spectra from fragments
For a library of predicted spectra to help with unknowns, the predictor itself has to generalize out of distribution. We built ICICLE around that requirement.
Instead of mapping a molecule to a spectrum in one opaque step, ICICLE first enumerates the fragments the molecule can break into [4], then a neural network [5] decides how much intensity each fragment contributes, including its isotope pattern. Every predicted peak therefore points to a specific substructure. The design builds on ICEBERG [6], our earlier model for tandem MS.
Why “ICICLE”? Turn a mass spectrum upside down and the peaks hang like an icicle. It also keeps the group’s cold-themed naming going: ICEBERG, MIST, FRIGID, SCARF.

Results on unseen scaffolds
We trained on NIST23 and tested on molecules whose scaffolds the model had never seen.
- Among the 50 closest isomers of a query, ICICLE ranks the right structure first 43.0% of the time, against 32.5% for the strongest baseline.
- On a small benchmark, it matches ab initio simulation at roughly seven orders of magnitude less compute, about 100 spectra per second on one GPU.
- Nobody told the model about bond strengths, yet it breaks C–Br bonds more readily than C–Cl and C–F, in line with bond dissociation energies.
The hardest test gives the model no formula and asks it to find the true structure among all 87.3 million PubChem compounds. Top-1 accuracy is only 3.3% (1.1% for the best baseline), so a spectrum alone does not identify an unknown at this scale. But the median rank of the true structure is 19,924 out of 87 million, so the search space shrinks by 99.98%. A simple filter on the highest-mass peak lifts top-1 to 5.3%. The ranking hands you a short list to confirm with accurate mass, retention index or other evidence.

Beyond a bigger library
The first use is the obvious one: a bigger reference library. The 87.3 million predicted spectra can be searched like any other library, including for structures nobody has measured.
The second is synthetic data. Models that propose a structure from a spectrum need many spectrum-structure pairs, and NIST23 has about 333,000. A fast, generalizing simulator can supply millions more. Pairing such models with candidate enumeration and generative structure design is a path to faster annotation of unknowns, which we sketch in the paper but have not yet demonstrated.
The third is inspectability. Because peaks map to fragments, a surprising prediction can be traced to the bond cleavages behind it, which a chemist can judge.
Try it
The code is MIT-licensed, and the predicted library is on Zenodo. Open an issue on GitHub, or find me at a conference.
References
[1] S. Wakoli et al., Nucleic Acids Res., 2024, 52, W381–W389. GCMS-ID.
[2] S. M. Brown, E. Allgair, R. Kryštůfek, Anal. Chem., 2025, 97, 10282–10288.
[3] J. N. Wei, D. Belanger, R. P. Adams, D. Sculley, ACS Cent. Sci., 2019, 5, 700–708. NEIMS. doi: 10.1021/acscentsci.9b00085
[4] L. Ridder, J. J. J. van der Hooft, S. Verhoeven, Mass Spectrom., 2014, 3, S0033. MAGMa.
[5] J. Lee et al., ICML, 2019, 3744–3753. Set Transformer. arXiv:1810.00825
[6] S. Goldman, J. Li, C. W. Coley, Anal. Chem., 2024, 96, 3419–3428. ICEBERG.
Citation
@online{lederbauer2026,
author = {Lederbauer, Magdalena},
title = {ICICLE: {Simulating} {EI} Mass Spectra at Library Scale},
date = {2026-11-08},
url = {https://mlederbauer.com/posts/2026-11-08-icicle/},
langid = {en}
}