SpectraLLM: Uncovering the Ability of LLMs for Molecule Structure Elucidation from Multi-Spectra

Yunyue Su, Jiahui Chen, Zao Jiang, Zhenyi Zhong, Liang Wang, Qiang Liu, Zhaoxiang ZhangICLR 2026

TL;DR

SpectraLLM is a unified large language model (LLM) designed to solve the "inverse problem" of chemistry: determining a molecule's structure from its spectroscopic "fingerprints." By representing diverse data types—like Infrared, NMR, and Mass Spectrometry—as a shared language, the model achieves state-of-the-art performance and demonstrates that reasoning across multiple spectral modalities significantly reduces structural ambiguity.

The Challenge of Structure Elucidation

Identifying the structure of an unknown molecule is the fundamental "detective work" of chemistry and drug discovery. Traditionally, scientists rely on a battery of spectroscopic techniques, including Infrared (IR), Raman, UV-Vis, Nuclear Magnetic Resonance (NMR), and Mass Spectrometry (MS). Each provides a different clue: IR identifies functional groups, NMR maps the carbon-hydrogen skeleton, and MS provides the molecular weight and fragmentation patterns.

The challenge is that existing automated tools are often siloed. They either focus on a single modality (e.g., just Mass Spec) or rely on rigid database lookups that fail when encountering entirely new molecules. Human experts, however, succeed by jointly interpreting these different signals. This paper introduces a way to give AI that same multi-modal intuition using the reasoning power of LLMs.

Methods: Translating Spectra into Language

The researchers developed SpectraLLM, which treats spectroscopic data interpretation as a translation task.

SpectraLLM Architecture
  1. Textualization of Spectra: Instead of feeding the model raw waveforms or images, the authors extracted characteristic peaks (positions, intensities, and widths) and formatted them into structured text strings. This allows both continuous signals (like IR) and discrete signals (like MS) to exist in the same linguistic space.
  2. Model Architecture: They utilized a 32-billion parameter LLM backbone (Qwen3-32B). To specialize it for chemistry without destroying its general reasoning abilities, they employed LoRA (Low-Rank Adaptation), a parameter-efficient fine-tuning technique.
  3. Multi-modal Fusion: To perform joint reasoning, the model concatenates the text descriptions of different spectra into a single prompt. The model then autoregressively generates the molecule's structure in SMILES format (a standard text-based chemical notation).

Datasets

The authors compiled one of the largest corpora for structure elucidation, totaling over 5.5 million spectra for nearly 940,000 unique molecules. This included simulated data (QM9s, Multimodal Spectroscopic Dataset) and high-quality experimental data (MassSpecGym, MassBank, NIST) for validation and zero-shot transfer testing.

Key Insights and Ideas

Language as a Universal Bridge: The most striking insight is that LLMs can internalize complex physical relationships purely through text-based peak lists. This text-only approach effectively removes visual noise and focuses the model on chemically relevant features, allowing it to outperform Vision-Language Models (VLMs) that analyze raw spectral plots.

The Power of Synergy: The paper quantifies the synergy of multi-modal data. For example, IR alone might struggle to distinguish between certain isomers, but adding Raman data—which is sensitive to different types of bond symmetries—allows the model to correct its own mispredictions.

Multi-modal Prediction Examples

Robustness to Noise: SpectraLLM proved remarkably resilient. Even when the input spectra were noisy or incomplete, the model’s performance degraded gracefully rather than crashing. It often still managed to predict the correct molecular scaffold even if it missed a specific side chain.

Key Results

  • State-of-the-Art (SOTA): SpectraLLM consistently outperformed specialized baselines (like Spec2Mol and DiffMS) across all benchmarks.
  • Quantitative Gains: On the QM9s dataset using IR spectra, SpectraLLM achieved a Tanimoto similarity of 0.1921, more than doubling the performance of previous neural baselines (~0.09).
  • Multi-modal Boost: When reasoning over joint NMR, IR, and MS data, the model's Tanimoto similarity jumped significantly (reaching 0.4875 in multimodal settings), proving that more "eyes" on the molecule lead to much higher accuracy.
  • High Validity: Unlike some generative chemistry models, SpectraLLM produced chemically valid SMILES strings nearly 99% of the time.

Limitations and Future Work

While groundbreaking, the approach has limitations. The authors acknowledge a "hard ceiling" of intrinsic ambiguity: some different molecules produce nearly identical spectra, requiring additional data types (like 2D NMR) to distinguish them. Furthermore, accuracy tends to dip as molecular complexity increases (e.g., highly branched or polycyclic structures) due to spectral peak congestion.

Future directions include incorporating more complex experimental metadata and exploring "chain-of-thought" prompting to see if the model can explain why it chose a specific structure based on the provided peaks.

Summary updated

BibTeX
@inproceedings{su2026spectrallm,
  author = {Yunyue Su and Jiahui Chen and Zao Jiang and Zhenyi Zhong and Liang Wang and Qiang Liu and Zhaoxiang Zhang},
  title = {{SpectraLLM: Uncovering the Ability of LLMs for Molecule Structure Elucidation from Multi-Spectra}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=J5XUzUW8o3},
}
Figure