NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Pushing the limits of one-dimensional NMR spectroscopy for automated structure elucidation using artificial intelligence

Frank Hu, Jonathan M. Tubb, Dimitris Argyropoulos, Sergey Golotvin, Mikhail E. Elyashberg, Grant M. Rotskoff, Matthew W. Kanan, Thomas E. MarklandarXiv 2025 · DOI

Introduction

Determining the chemical structure of a novel compound is a foundational task in chemistry, yet it remains a significant bottleneck in drug discovery and materials science. While Nuclear Magnetic Resonance (NMR) spectroscopy is the gold standard for this task, interpreting the data—especially from routine one-dimensional (1D) experiments—is notoriously difficult for complex molecules. Traditionally, chemists have relied on 1D NMR ($^1$H and $^{13}$C) as a starting point, but these spectra often lack sufficient information to uniquely identify a structure among billions of possibilities. Consequently, researchers must frequently turn to more expensive and time-consuming 2D NMR experiments or High-Resolution Mass Spectrometry (HR-MS) to provide the necessary constraints, such as a molecular formula.

Recent advances in deep learning, however, suggest a new path forward. Researchers have developed a transformer-based framework capable of de novo structure elucidation—predicting a molecule's full connectivity and formula—using only routine 1D NMR spectra. By treating chemical structure prediction as a translation problem, this AI-driven approach achieves remarkable accuracy without requiring any prior knowledge of the molecular formula.

The Combinatorial Challenge

As the size of a molecule increases, the number of possible structural arrangements grows exponentially. For a typical drug-like molecule, the number of potential isomers is estimated to be between $10^{20}$ and $10^{60}$. Navigating this vast chemical space using only 1D NMR data is a task that has long been considered nearly impossible for human experts or traditional algorithms. The core challenge lies in extracting hidden correlations within the spectra that map to specific chemical environments and connectivity patterns.

A Transformer-Based Framework

The researchers approached structure elucidation as a sequence-to-sequence translation task, analogous to translating one language to another. In this case, the "source language" is the NMR spectrum, and the "target language" is the SMILES string (a textual representation of the molecular structure).

The Multitask Architecture

The framework employs a two-step learning process designed to teach the model the "grammar" of chemistry before it ever sees a spectrum:

  1. Pretraining (Substructure-to-Structure): The model is first trained to reconstruct SMILES strings from Morgan fingerprints (mathematical summaries of molecular fragments). This phase allows the model to learn how different chemical fragments fit together to form valid, stable molecules.
  2. Multitask Learning (Spectrum-to-Structure): The core architecture utilizes a Transformer. The input—$^1$H and $^{13}$C NMR spectra—is processed via a Convolutional Neural Network (CNN) to create a joint embedding. The model then performs two simultaneous tasks: an encoder-only branch predicts the presence of approximately 3,000 specific substructures, while an encoder-decoder branch generates the full SMILES string token-by-token.

Crucially, this model is "end-to-end," meaning it requires no manual peak picking or external conditioning information like the molecular formula.

Training at Scale

To train a model of this complexity, the researchers utilized a massive dataset. The pretraining phase involved 88 million SMILES strings from PubChem, covering a wide range of elements including C, N, O, H, P, S, Si, B, and halogens. For the fine-tuning and multitask phases, the team used 2 million molecules and their corresponding NMR spectra, which were forward-simulated using commercial-grade predictors from ACD/Labs.

To test the model's real-world utility, the researchers evaluated it against 100 unique experimental spectra from the Biological Magnetic Resonance Data Bank (BMRB), providing a benchmark for how the model handles the noise and artifacts present in physical laboratory data.

Key Insights and Performance

The study revealed several critical insights into the relationship between NMR data and molecular structure:

  • The Importance of $^1$H NMR: The researchers found that $^1$H NMR provides the vast majority of connectivity information. Using $^1$H data alone yielded 46.6% accuracy, whereas using $^{13}$C alone resulted in a sharp drop to 5.5%.
  • Accuracy and Reliability: For complex drug-like molecules (up to 40 non-hydrogen atoms), the model identified the correct structure 55.2% of the time within its top 15 predictions. Furthermore, the model proved exceptionally reliable at identifying molecular fragments, achieving an F1 score of 0.84. When the model predicted a substructure with over 90% confidence, it was correct 96.5% of the time.
  • Graceful Failure: When the model failed to predict the exact structure, its guesses were rarely random. Instead, the predicted molecules typically shared a high Tanimoto similarity with the target, indicating that the model correctly identified the chemical "neighborhood" even if it missed a specific bond.
  • Experimental Generalization: While there is a performance gap between simulated and real-world data, the model achieved 20% accuracy on experimental spectra after minimal fine-tuning. This is a significant milestone given the extreme sparsity of high-quality experimental NMR datasets.

Limitations and Future Outlook

Despite its success, the model faces several hurdles. It currently does not account for stereochemistry (the spatial arrangement of atoms), which is a known limitation of 1D NMR data. Additionally, the "simulation gap"—the difference between clean, simulated spectra and noisy experimental data—remains a challenge. The model also performs better on smaller molecules, reflecting the distribution of the PubChem training set.

Looking forward, the authors suggest that this AI framework could serve as a powerful "seed" for traditional Computer-Assisted Structure Elucidation (CASE) tools. By providing a shortlist of highly probable candidates in less than a second, the AI can drastically accelerate the verification process, moving us closer to fully automated molecular discovery.

Summary updated

BibTeX
@misc{hu2025pushing,
  author = {Frank Hu and Jonathan M. Tubb and Dimitris Argyropoulos and Sergey Golotvin and Mikhail E. Elyashberg and Grant M. Rotskoff and Matthew W. Kanan and Thomas E. Markland},
  title = {{Pushing the limits of one-dimensional NMR spectroscopy for automated structure elucidation using artificial intelligence}},
  year = {2025},
  eprint = {2512.18531},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.18531},
}
Figure