MS2-KNN: A Computational Framework Resolving Chimeric Small-Molecule MS/MS Spectra by Latent-Space Neighborhood Decomposition and Scaffold Confidence Scoring
Liquid chromatography−tandem mass spectrometry generates chimeric MS/MS spectra through precursor coisolation induced by coelution and narrow isolation windows, rendering single-precursor library searching ineffective. We introduce MS2-KNN, a multi-component annotation workflow for chimeric small-molecule spectra combining latent-space neighbor decomposition and scaffold confidence scoring. It embeds spectra into a unified latent space, retrieves Top-K candidates, and removes low-similarity background entries through adaptive truncation. Gaussian mixture modeling of candidate precursor m/z values estimates the component number, and retained candidates cluster into groups representing distinct analytes. A backbone confidence metric built on the scaffold and maximum common substructure similarity enables two-level pruning of spurious candidates. On synthetic binary and ternary chimeric spectra from the MoNA library, MS2-KNN outperforms global similarity matching when all true components are retrievable within candidate pools. Hit rates rise by up to 4.0% across DreaMS, binned-spectrum, and MSBERT encoders, and structural pruning lifts component-count estimation accuracy by over 5% for all seven tested representations. Subset analysis confirms that spectral embedding quality restricts component recovery, particularly for low-abundance species. On 88 experimentally acquired binary and ternary mixtures spanning 43 standard compounds, it shows that MS2-KNN fully resolves the largest fraction of mixtures among global similarity search, reverse spectral search, and a CHIMERYS-inspired deconvolution baseline and remains stable across mixing ratios. Application to 20 real herbal medicine extracts further demonstrates that MS2-KNN provides the most herb-specific identifications at a comparable annotation depth. MS2-KNN breaks the single-ranking limitation of standard spectral matching and delivers interpretable multi-component decomposition for complex chimeric metabolomic spectra.
Authors
- Su Zeng
- Wenpei Chen (ORCID: https://orcid.org/0000-0002-7419-2581)
- Tengfei Xu (ORCID: https://orcid.org/0000-0002-3212-568X)
- Zichuan Wang (ORCID: https://orcid.org/0009-0000-7767-524X)
- Huanjie Li (ORCID: https://orcid.org/0000-0002-1056-1579)
- Luan Yin
- Yichen Wang
- Junjie Qiu
- Minsong Guo
- Xiao Zheng
- Mengyue Hu
- Xuesong Liu
- Jie Liu
- Yong Chen
- Yue Luo
Institutions
- Henan University (CN)
- Zunyi Medical University (CN)
- Zhejiang University (CN)
Publication Details
- Journal
- Analytical Chemistry
- Published
- 2026-11-24
- DOI
- https://doi.org/10.1021/acs.analchem.6c04590
- Primary Topic
- Mass Spectrometry Techniques and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00