S3C-LLM: Skill-Code Guided Agentic Language Models for Spectrum-to-Structure Elucidation

Xuanle Zhao, Xinyuan Cai, Xiang Cheng, Bo XU


Abstract
Spectroscopic structure elucidation is central to molecular analysis, but recent Large Language Model (LLM)-based methods mostly formulate it as direct spectrum-to-SMILES generation. Although this paradigm can leverage paired spectral data, it does not explicitly model the analytical workflow used by spectroscopists, such as diagnostic peak interpretation, fragment reasoning, formula constraints, and chemical consistency checking. In this paper, we introduce S3C-LLM, a skill-guided and code-grounded agentic LLM for spectrum-to-structure elucidation. Rather than directly predicting a molecule, S3C-LLM retrieves modality-specific spectroscopy skills, executes analysis code to instantiate these skills on the input spectra, and integrates the resulting peak-level evidence and formula constraints before generating SMILES. Specifically, we contribute a self-evolving spectroscopy skill library, a thinking-augmented skill-code trajectory construction pipeline, and a two-stage training strategy that teaches Qwen3-4B through supervised fine-tuning (SFT) followed by our proposed step-level reinforcement learning (RL). Experiments on diverse benchmarks show that S3C-LLM consistently outperforms current general LLM and spectrum-specific models across spectrums, while using less than 1/10th of SpectraLLM’s training corpus.
Anthology ID:
2026.findings-emnlp.1885
Volume:
Findings of the Association for Computational Linguistics: EMNLP 2026
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Hung-Yi Lee, Sunipa Dev, Jessy Li, Desmond Elliott
Venue:
Findings
SIG:
SIGDAT
Publisher:
Association for Computational Linguistics
Note:
Pages:
40184–40212
Language:
URL:
https://aclanthology.org/2026.findings-emnlp.1885/
DOI:
Bibkey:
Cite (ACL):
Xuanle Zhao, Xinyuan Cai, Xiang Cheng, and Bo XU. 2026. S3C-LLM: Skill-Code Guided Agentic Language Models for Spectrum-to-Structure Elucidation. In Findings of the Association for Computational Linguistics: EMNLP 2026, pages 40184–40212, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
S3C-LLM: Skill-Code Guided Agentic Language Models for Spectrum-to-Structure Elucidation (Zhao et al., Findings 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.findings-emnlp.1885.pdf