Life Sciences · · 8 min read
How to evaluate AI in mass spectrometry
Acumen Editorial · Updated November 26, 2026
Evaluating AI in mass spectrometry means testing each model against the analytical call it makes: a real peak, a correct structure, a run that passes QC. Use benchmarks split so test molecules are truly new, measure false positives against curated data, re-test on your own instruments and methods, and have experienced mass spectrometrists review outputs blind.
AI is now built into mass spectrometry software, not bolted on. LCGC's review of ASMS 2026 said AI moved "from aspirational language to concrete product features." Vendors now ship automated peak detection, predictive maintenance and natural-language help inside instrument software. Research groups train models that propose molecular structures straight from MS/MS spectra. Each of these is a different job with a different failure mode. A peak picker that drops noise well tells you nothing about a model that names unknown compounds. Evaluate them separately, with separate ground truth and separate pass marks.
Where is AI used in mass spectrometry today?
At almost every step between the raw file and the reported result.
- Peak picking and feature detection. Models decide which signals are real compounds and which are noise. Shimadzu markets Peakintelligence for automated peak detection on its LCMS-8065XE and claims a 67% cut in manual data review time, a vendor figure LCGC reported without independent testing.
- Small-molecule identification. Models retrieve a candidate structure from a library or generate one de novo from an MS/MS spectrum.
- Run QC and maintenance. Models flag drifting calibration, failing columns and bad injections before they spoil a batch.
- Data reuse across instruments. mzio launched FAIR-MS at ASMS 2026, a vendor-agnostic effort to use AI to compare historical MS data across instruments, labs and conditions, developed with Sciex, Waters, Agilent and Bruker.
- Interpretation and scripting. At ADLM 2026, speakers described large language models writing analysis scripts and automating validation workflows for clinical labs, with professionals still verifying the output, per *CLN Daily*.
What does the evidence say about AI in mass spectrometry?
It says AI is strong at narrow, well-labeled tasks and weak at open-ended chemistry.
Peak picking. A 2021 study from Kitasato University compared standard acceptance criteria with machine learning classifiers on LC-MS peptide peaks. The conventional criteria reached 64.8% precision, letting roughly a third of noise peaks through. Single classifiers reached 87.5% to 96.8% precision. Requiring all six classifiers to agree cut false positives to 2 of the test set, at the cost of 21 real peaks missed. That trade-off is the whole evaluation in miniature: you choose where to sit between noise and lost signal.
Structure identification. MassSpecGym is the largest public labeled MS/MS benchmark its authors know of: about 231,000 spectra covering about 29,000 molecules. It splits train and test data so that no test molecule is structurally close to a training molecule, which blocks near-duplicate leakage. On that split, every de novo baseline scored 0% top-1 accuracy. The best retrieval model, MIST, found the right molecule first 14.64% of the time and within the top 20 59.15% of the time.
General language models. A January 2026 preprint from Stony Brook, Stanford and Harvard-affiliated authors gave four off-the-shelf LLMs MassSpecGym spectra with chain-of-thought prompting. None produced a single exact structure, even with ten tries. Molecular formula consistency was near 0%. In 72.8% to 92.2% of answers, the model's reasoning contradicted its own final structure. A spectrum-trained model, DiffMS, reached 2.30% top-1 exact match on the same task.
The pattern holds across these sources. Fluent output is not chemistry. A model can write a confident, plausible paragraph about fragment ions and still propose a structure with the wrong formula.
Which mass spectrometry AI tasks need different evaluations?
| Task | Ground truth | What to measure | Who grades it |
|---|---|---|---|
| Peak picking and feature detection | Expert-curated peaks, spiked standards | Precision, recall, false positives per run | Analytical chemists, MS method developers |
| Library retrieval | Reference standards run on your method | Hit rate at 1, 5 and 20; rank of the true compound | Mass spectrometrists, natural product chemists |
| De novo structure proposal | Confirmed structures held out by scaffold | Exact match, formula consistency, structural similarity | Structure elucidation specialists, blind |
| Run QC and drift detection | Logged failures, QC sample history | Missed failures, false alarms, lead time | Lab managers, instrument specialists |
| Quantitation support | Calibrators and certified reference material | Bias, precision, agreement with manual integration | Clinical or bioanalytical scientists |
| LLM interpretation and scripts | Expert-written analyses, validated scripts | Factual errors, unsupported claims, script correctness | Senior mass spectrometrists, data scientists |
How do you test mass spectrometry AI on your own data?
Start with your instruments, your methods and your sample types. Published benchmarks pool data across many instruments, collision energies and adducts. Your lab runs a narrower slice, and that is where the model has to work.
- Build a curated test set from your own runs, with peaks and identifications confirmed by senior staff.
- Spike known standards into real matrices so you know exactly what should be found.
- Split test molecules by structure, not by spectrum, so near-duplicates cannot leak from training.
- Report precision and recall separately, and count false positives per run, not only in aggregate.
- Re-test after any change in instrument, column, ionization mode, collision energy or software version.
- Include hard cases on purpose: isomers, co-eluting compounds, low-abundance signals, heavy matrix and adduct mixtures.
- For structure proposals, check formula and double-bond-equivalent consistency before anything else.
- Record every case where an expert overrode the model, and why.
Our guide to representative AI test data covers how to build a set that matches your sample mix, and our guide to benchmark contamination explains why the split matters.
Who should grade mass spectrometry AI outputs?
The scientists who sign off on the result today. Analytical chemists and method developers grade peak picking and quantitation. Structure elucidation specialists grade identifications and de novo proposals. Instrument specialists and lab managers grade QC alerts. Clinical laboratory scientists review anything that feeds a patient report.
Two details matter. First, experts disagree on borderline peaks and ambiguous identifications. Measure that disagreement in your own data, because it sets the ceiling a model can be expected to reach. Our guide to inter-rater reliability explains how. Second, grade blind with a written rubric and capture the reasoning: which fragments support the call, which ones argue against it. That rationale is the most valuable evaluation and training data a lab can produce.
What should you ask a mass spectrometry AI vendor?
- Which instruments, ionization modes and collision energies the model was trained and tested on.
- How the test set was split, and whether test molecules were structurally distinct from training molecules.
- Precision and recall separately, with false positives per run.
- Performance on isomers, low-abundance compounds and your matrix types.
- How expert corrections are captured and whether they change the model.
- How model updates are versioned and validated, especially in regulated or clinical settings.
For regulated labs, treat the model like any other computerized system. Our guide to GxP AI validation covers the controls.
How Acumen helps
Acumen supplies the expert data layer for mass spectrometry AI. We source credential-verified analytical chemists, mass spectrometrists and structure elucidation specialists, then build curated test sets from real spectra, grade peaks and identifications blind, and adjudicate disagreements with a full rationale trail. Every label records reviewer expertise and agreement. See life sciences model evaluation for scope.
For related reading, see our guides to AI in proteomics, AI-ready biology data and AI biomarker discovery.
FAQ
How is AI used in mass spectrometry?
AI in mass spectrometry is used for peak picking and feature detection, small-molecule identification from MS/MS spectra, run QC and predictive maintenance, comparing data across instruments, and writing analysis scripts. Each use needs its own evaluation, because the ground truth, the failure mode and the expert who should grade the output differ by task.
Can AI identify unknown compounds from mass spectra?
Not reliably yet. On the MassSpecGym benchmark, every de novo baseline scored 0% top-1 accuracy, and the best retrieval model ranked the correct molecule first 14.64% of the time. AI is useful for narrowing candidates, but identifications of unknowns still need confirmation against standards and review by an experienced mass spectrometrist.
Can ChatGPT or other LLMs interpret mass spectra?
Not for structure elucidation. A January 2026 preprint tested four off-the-shelf LLMs on MassSpecGym spectra: none produced an exact structure even with ten attempts, and formula consistency was near zero. Their reasoning often contradicted their final answer. LLMs can help write analysis scripts, but their output still needs expert verification.
How accurate is machine learning peak picking?
It can be much better than fixed rules. In a 2021 LC-MS study, conventional criteria reached 64.8% precision, while single classifiers reached 87.5% to 96.8%. Requiring six classifiers to agree cut false positives further but missed more real peaks. Test on your own instruments and matrices, and report precision and recall separately.
Who should evaluate mass spectrometry AI?
The scientists who own the result: analytical chemists and method developers for peak picking and quantitation, structure elucidation specialists for identifications, instrument specialists for QC alerts, and clinical laboratory scientists for anything that reaches a patient report. Grade blind, use a written rubric, measure expert agreement and record the reasoning behind every override.
What should a mass spectrometry AI test set include?
It should include curated runs from your own instruments and methods, known standards spiked into real matrices, molecules split by structure so near-duplicates cannot leak, and hard cases such as isomers, co-elution and low-abundance signals. Re-run it after every change in instrument, column, collision energy or software version.