NMIRacle: Multi-modal Generative Molecular Elucidation from IR and NMR Spectra
Federico Ottomano, Yingzhen Li, Alex M. Ganose
TL;DR
NMIRacle addresses de novo molecular structure elucidation from raw IR and NMR spectra by proposing a two-stage conditional generative framework. A count-aware fragment prior built from a 991-pattern fragment vocabulary ($p_\phi(\mathbf{y}|\mathbf{c})$) is learned in Stage 1, while a multi-spectral encoder ($q_\psi$) maps spectra to a latent conditioning variable that guides Stage 2 generation. The combination of a fragment-centric representation with a dedicated multimodal encoder enables direct spectra-to-molecule generation and shows state-of-the-art results on unseen molecules, with robust scaling to more complex structures. By reducing heavy pre-processing and leveraging multi-modal spectral evidence, NMIRacle advances realistic, data-driven structure elucidation from spectroscopic data.
Abstract
Molecular structure elucidation from spectroscopic data is a long-standing challenge in Chemistry, traditionally requiring expert interpretation. We introduce NMIRacle, a two-stage generative framework that builds upon recent paradigms in AI-driven spectroscopy with minimal assumptions. In the first stage, NMIRacle learns to reconstruct molecular structures from count-aware fragment encodings, which capture both fragment identities and their occurrences. In the second stage, a spectral encoder maps input spectroscopic measurements (IR, 1H-NMR, 13C-NMR) into a latent embedding that conditions the pre-trained generator. This formulation bridges fragment-level chemical modeling with spectral evidence, yielding accurate molecular predictions. Empirical results show that NMIRacle outperforms existing baselines on molecular elucidation, while maintaining robust performance across increasing levels of molecular complexity.
