SpecX: A Large-Scale Benchmark for Multi-Modal Spectroscopy and Cross-Paradigm Evaluation

Chengrui Xiang, Tengfei Ma, Yujie Chen, Tong Wang, Haowen Chen, Xiangxiang ZengarXiv 2026

TL;DR

SpecX is a massive new benchmark containing 1.7 million molecules across eight spectroscopic modalities designed to bridge the gap between specialized machine learning models and Multimodal Large Language Models (MLLMs). The evaluation reveals a stark paradigm divide: while specialized models excel at precise signal-level modeling, current MLLMs possess strong high-level reasoning but fail completely at precise spectral grounding, highlighting the urgent need for spectrum-native foundation models.

What Problem Does This Paper Address?

In chemistry, identifying an unknown compound is a multimodal puzzle. An experienced chemist doesn't just look at one piece of data; they integrate insights from Nuclear Magnetic Resonance (NMR), Infrared (IR), Mass Spectrometry (MS), and other techniques to deduce a molecular structure.

While AI has started transforming computational spectroscopy, existing benchmarks suffer from three major flaws:

  1. Scale and Coverage Limitations: Most datasets contain fewer than one million molecules and completely omit crucial modalities like UV-Vis, Raman, and Fluorescence.
  2. The Sim-to-Real Gap: Existing large-scale datasets rely entirely on simulated spectra, ignoring real-world realisms like solvent effects and temperature broadening.
  3. Fragmented Evaluation: Benchmarks are split by model paradigm. Some focus purely on signal-level precision for specialized ML models, while others evaluate high-level reasoning in MLLMs. There has been no unified framework to compare them side-by-side.

Methods

The authors built a multi-stage filtering pipeline to ensure chemical validity and spectral computability, starting with over 2.7 million unique SMILES strings and narrowing it down to a physically meaningful pool.

To generate the benchmark's data, they utilized modality-appropriate simulations:

  • NMR ($^1$H, $^{13}$C, HSQC): Simulated via MestReNova.
  • IR: Generated using molecular dynamics (MD) simulations in LAMMPS to capture anharmonic effects.
  • MS/MS: Simulated using Competitive Fragmentation Modeling (CFM-ID).
  • UV-Vis, Raman, and Fluorescence: Computed using time-dependent density functional theory (TD-DFT) in the ORCA package.

To make this continuous and peak-based data compatible with standard text-based architectures, the authors tokenized the spectra into structured text strings (e.g., binning intensities or listing peak coordinates). They then established baselines using a vanilla encoder-decoder Transformer for sequence-to-sequence tasks, XGBoost/1D-CNNs for classification, and evaluated prominent MLLMs (DeepSeek-V3, GPT-4.1-mini, Qwen2.5-3B) in a zero-shot setting.

Figure 1: Overview of the SpecX framework.

Datasets

SpecX introduces a 1.7-million-molecule dataset organized into three distinct tiers:

  • Large Subset (~1M molecules): Designed for pretraining and evaluating specialized ML models on structure elucidation, spectrum simulation, and functional group prediction.
  • Small Subset (4,496 molecules): A strictly modality-aligned multispectral subset where seven modalities are simultaneously available for every molecule, ideal for multimodal QA.
  • Experimental (Exp) Subset (432 molecules): Contains high-quality, experimentally measured UV-Vis and MS spectra curated from public repositories to evaluate real-world generalization.
Comparison of SpecX with existing spectral benchmarks.

Key Insights and Ideas

  • The Cross-Paradigm Divide: Specialized models and MLLMs have completely complementary strengths and weaknesses. Specialized models are excellent at processing raw, noisy signals but lack broader chemical reasoning. MLLMs understand chemical concepts but cannot accurately map a visual or textual spectrum peak to a specific molecular substructure.
  • The Illusion of Token Accuracy: The authors found that in sparse modalities like UV-Vis, a model can achieve a deceptively high token accuracy (~79.56%) simply by predicting near-zero values everywhere, even when its cosine similarity is absolute zero (0.00). This highlights the danger of relying on standard NLP metrics for scientific data.
  • The Scaffold Split Challenge: Across all models, performance plummeted when moving from a random data split to a scaffold split (which tests the model on entirely novel molecular frameworks). This indicates that current models rely heavily on interpolating within known chemical spaces rather than truly learning the underlying physics of spectroscopy.

Key Results

  • Structure Elucidation (Spectra $\rightarrow$ SMILES): Integrating multiple modalities ($^{13}$C-NMR + $^1$H-NMR + MS) yielded the highest accuracy for the specialized Transformer model, achieving 59.04% Top-1 accuracy on random splits, though this dropped to 29.66% on scaffold splits.
  • Functional Group Prediction: XGBoost trained on engineered features consistently outperformed 1D-CNNs on raw vectors, with Raman spectroscopy proving to be the single most informative modality for this task (0.958 F1 score).
  • MLLM Performance: Current MLLMs failed dramatically at structure inference. On the Small subset, Top-1 accuracies were near zero across the board. DeepSeek-V3 performed the best but still only achieved a meager 1.5% accuracy when given multi-modal inputs. On the real-world Experimental subset, all MLLMs scored a flat 0.000.
Structure elucidation performance across different modalities.

Limitations and Future Work

While SpecX is a massive step forward, the authors note several limitations. The benchmark still relies predominantly on simulated data, and its experimental subset is currently limited to UV-Vis and MS. Expanding experimental coverage to NMR, IR, and Raman is a priority. Additionally, the chemical space remains biased toward synthetic compounds rather than natural products.

For future model development, the authors suggest that instead of relying on text-prompted general MLLMs, the community must focus on building spectrum-native foundation models—hybrid architectures that explicitly couple continuous signal-level spectral encoders with high-level discrete reasoning modules, potentially utilizing constrained decoding techniques to ensure valid chemical outputs.

Summary updated

BibTeX
@misc{xiang2026specx,
  author = {Chengrui Xiang and Tengfei Ma and Yujie Chen and Tong Wang and Haowen Chen and Xiangxiang Zeng},
  title = {{SpecX: A Large-Scale Benchmark for Multi-Modal Spectroscopy and Cross-Paradigm Evaluation}},
  year = {2026},
  eprint = {2605.18791},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.18791},
}
Figure