DiSE: A diffusion probabilistic model for automatic structure elucidation of organic compounds

Haochen Chen, Qi Huang, Anan Wu, Wenhao Zhang, Jianliang Ye, Jianming Wu, Kai Tan, Xin Lu, Xin XuarXiv 2025 · DOI

Introduction

In the quest for fully autonomous "self-driving laboratories" (SDLs), automatic structure elucidation (ASE) remains a significant bottleneck. While robotic systems can synthesize molecules at high speeds, determining the identity of the products typically requires human experts to interpret complex spectroscopic data. Traditional Computer-Aided Structural Elucidation (CASE) methods often rely on exhaustive database comparisons or computationally expensive quantum chemical calculations, which struggle with novel compounds or ambiguous spectral features.

DiSE (Diffusion-based Structure Elucidation) addresses this gap by reframing structure elucidation as a probabilistic mapping from a continuous spectral domain to a discrete molecular graph. By integrating multiple modalities—including Mass Spectrometry (MS), 1D ($^{13}C$, $^1H$), and 2D NMR (HSQC, COSY)—DiSE mimics the heuristic reasoning of expert chemists to provide a critical link for fully autonomous laboratories.

Methods

DiSE utilizes a discrete diffusion framework to generate molecular structures. The workflow consists of two primary stages: a "noise-injection" stage where a molecular graph is progressively corrupted by scrambling its bonds, and a "denoising" stage where a custom Graph Transformer (GT) learns to reconstruct the original molecule guided by spectroscopic constraints.

Overview of the DiSE framework, including the noise-injection/denoising stages and the multimodal integration of spectroscopic data.

Key technical features include:

  • Multimodal Integration: DiSE processes MS for molecular formulas, 1D NMR for chemical shifts, and 2D NMR (HSQC and COSY) for connectivity.
  • Graph-Based Representation: Unlike text-based SMILES representations, DiSE treats molecules as 2D graphs, allowing it to better capture spatial and connectivity information inherent in 2D NMR spectra.
  • Probabilistic Mapping: The model treats structure elucidation as a denoising process, enabling it to handle the inherent uncertainty in spectroscopic data.

Datasets

The model was trained and validated on several high-quality datasets:

  1. QM9-NMR: A benchmark of ~117,000 small organic molecules.
  2. PCQM4Mv2-NMR: A massive dataset of 1.77 million molecules with NMR parameters calculated using high-precision Density Functional Theory (DFT).
  3. Experimental Benchmarks: A real-world test set comprising 36 FDA-approved drugs, 9 complex synthesis intermediates, and 11 recently isolated natural products.

Key Results and Discussion

DiSE achieves state-of-the-art accuracy across multiple benchmarks. On the QM9 test set, it reached a Top-1 accuracy of 92.76%, significantly outperforming previous NLP-based models. In experimental tests on FDA drugs, DiSE correctly identified 84.4% of structures at Top-1 and 93.3% within the Top-5.

Performance metrics for DiSE, showing Top-K accuracy across different models and the impact of various spectroscopic combinations on accuracy.

Ablation studies highlighted the critical role of 2D NMR. Omitting HSQC data caused Top-1 accuracy to drop from ~80% to ~35%, as HSQC is essential for identifying $CH_x$ fragments. Furthermore, the model proved robust to experimental noise; adding random perturbations to chemical shifts during inference actually improved performance on real-world samples. DiSE also successfully differentiated between positional isomers with high Tanimoto similarity, demonstrating its ability to capture deep structural nuances.

Limitations and Future Work

While DiSE represents a major advancement, several areas for improvement remain:

  • Elemental Scope: The current model is limited to neutral molecules containing C, H, O, and N. Future iterations will expand to include P, S, and halogens.
  • Silent Nodes: Heteroatoms like O and N do not provide direct NMR signals in this framework. Integrating IR or Raman spectroscopy could help resolve their bonding environments.
  • Stereochemistry: DiSE does not yet resolve 3D stereochemistry (e.g., R/S or cis/trans isomers), though external methods could be integrated to address this.
  • Complex Topology: Highly exotic backbones remain challenging, suggesting a need for more diverse training data or additional 2D NMR modalities like HMBC.

Summary updated

BibTeX
@misc{chen2025dise,
  author = {Haochen Chen and Qi Huang and Anan Wu and Wenhao Zhang and Jianliang Ye and Jianming Wu and Kai Tan and Xin Lu and Xin Xu},
  title = {{DiSE: A diffusion probabilistic model for automatic structure elucidation of organic compounds}},
  year = {2025},
  eprint = {2510.26231},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.26231},
}
Figure