Reflection-Equivariant Diffusion for 3D Structure Determination from Isotopologue Rotational Spectra in Natural Abundance

Austin Cheng, Alston Lo, Santiago Miret, Brooks Pate, Alán Aspuru-Guzik · DOI

TL;DR

Determining the 3D structure of unknown organic molecules via rotational spectroscopy is traditionally bottlenecked by the "sign problem" of Kraitchman analysis, which only yields unsigned $|x|, |y|, |z|$ atomic coordinates. This paper introduces KREED, a reflection-equivariant generative diffusion model that solves this inverse problem, reconstructing full 3D molecular structures with up to 98% accuracy from just the molecular formula and spectroscopic constants.

What Problem Does This Paper Address?

Identifying the 3D structure of unknown organic molecules is vital across chemistry, from analyzing natural products and forensic samples to identifying compounds in interstellar space. Rotational spectroscopy is a powerful tool for this because it provides highly accurate information about a molecule's moments of inertia.

By measuring the spectra of isotopologues—versions of the molecule where a single atom is replaced by a natural isotope (like Carbon-13 or Nitrogen-15)—chemists use Kraitchman analysis to calculate the spatial coordinates of those substituted atoms. However, Kraitchman's equations only provide the unsigned magnitudes ($|x|, |y|, |z|$) of the coordinates. Because each atom could reside in any of the eight octants of the 3D coordinate system, a molecule with $m$ heavy atoms has $8^{m-1}$ possible spatial arrangements.

Finding the single true 3D structure out of millions of possibilities is a massive mathematical challenge. Furthermore, some atoms (like Hydrogen or Fluorine) lack usable natural isotopes, leaving gaps in the data.

Figure 1: KREED takes as input molecular formula, Kraitchman’s substitution coordinates, and principal moments of inertia (left) and runs a learned reverse diffusion process of Euclidean steps in the molecule’s principal axis system (center) to obtain a ranked list of structures (right).

Methods

The authors present KREED (Kraitchman REflection-Equivariant Diffusion), a generative machine learning model designed to resolve these geometric ambiguities.

Unlike standard molecular diffusion models that enforce full 3D rotational and translational invariance ($E(3)$-equivariance), KREED operates within the molecule's principal axis system (PAS). Because the PAS is uniquely defined up to sign flips along the axes, the authors relaxed the model's architecture to be reflection-equivariant for axially-aligned reflections across the $xy$, $yz$, and $xz$ planes.

Figure 2: Top: Isotopologues have systematically shifted and rotated principal axes (yellow) relative to the parent’s principal axes (RGB). The effect of isotopic substitution is magnified by 50× for visualization. Parent and isotopologue rotational constants are converted to planar moments of inertia and then to unsigned substitution coordinates using Kraitchman’s equations. Given molecular formula, substitution coordinates, and planar moments of inertia of the parent molecule, KREED learns to denoise random point clouds into all-atom 3D structures of the molecule. Bottom: The denoiser model ˆεθ is equivariant with respect to axially-aligned reflections R and node permutations Π, so that the modelled distribution pθ(X|C) under the diffusion model is invariant to such transformations.

KREED is built on a modified Equivariant Graph Neural Network (EGNN) combined with Transformer-like elements. It takes a node feature matrix containing atomic numbers, masses, the incomplete unsigned Kraitchman coordinates, and the parent molecule's planar moments of inertia. During training, the model learns to denoise random point clouds into valid 3D structures. At inference time, KREED generates multiple candidate structures and ranks them based on how closely their coordinates match the original unsigned inputs.

Datasets

The model was trained and evaluated on two massive standard datasets, along with a newly compiled real-world test set:

  • QM9: Consists of ~134k small organic molecules containing up to 9 heavy atoms (C, H, O, N, F).
  • GEOM: Contains ~292k larger, drug-like molecules (averaging 24.8 heavy atoms).
  • Experimental Literature Dataset: A benchmark compiled by the authors consisting of 33 conformers with experimentally measured substitution coordinates extracted from published chemistry literature.

To simulate realistic experimental conditions where non-carbon isotopes are hard to detect, the authors created QM9-C and GEOM-C tasks, where all non-carbon coordinates and 10% of carbon coordinates were intentionally omitted.

Key Insights and Ideas

  • Symmetry Relaxation as an Enabler: Shifting from full $E(3)$ equivariance to reflection-equivariance perfectly mirrors the physical constraints of the principal axis system, allowing the neural network to learn the spatial "sign-flipping" problem efficiently.
  • Context-Free Reconstructions: KREED operates without any prior knowledge of atom connectivity, SMILES strings, or initial geometry guesses. It derives chemical bonding purely from the physical constraints of the spectroscopic data.
  • Robustness via Loose Conditioning: Instead of forcing the diffusion process to strictly match the input Kraitchman coordinates, KREED treats them as soft hints. This allows the model to naturally correct for experimental zero-point vibrational noise, which typically skews real-world spectroscopic measurements.

Key Results

KREED drastically outperformed traditional search methods like Genetic Algorithms (GA), which failed completely on larger drug-like molecules.

  • Perfect Data Performance: When provided with the substitution coordinates of all heavy atoms, KREED identified the correct 3D structure with >98% top-1 accuracy on both QM9 and GEOM.
  • Partial Data Performance: On the challenging QM9-C task (carbon-only data with missing entries), KREED maintained 91.3% accuracy. On the much larger GEOM-C dataset, top-1 accuracy dropped to 32.6%, highlighting how difficulty scales with the number of unconstrained heavy atoms.
Figure 3: Average connectivity correctness of KREED on QM9-C and GEOM-C for samples with different numbers of unconstrained heavy atom coordinates. Shading shows the 95% confidence interval. The fewer the number of substitution coordinates that are provided, the greater the number of unconstrained heavy atom coordinates, and the greater the difficulty of the task, as shown by decreases in average correctness.
  • Experimental Validation: Tested on real-world literature data, KREED successfully predicted the correct all-atom 3D structure in 25 out of 33 cases, proving its practical utility for experimental laboratory workflows.

Limitations and Future Work

Despite its success, KREED faces a few limitations:

  1. Isotopologue Assignment: It assumes that scientists can successfully detect and assign rotational constants to enough low-abundance isotopologues (like oxygen and nitrogen), which is experimentally difficult.
  2. Spectroscopic Blindspots: The method inherits the fundamental limits of rotational spectroscopy—it requires a permanent dipole moment, relies on a rigid rotor approximation, and cannot distinguish between enantiomers (mirror-image molecules).

Future Directions: The authors suggest exploring ways to constrain the diffusion process so that the final structures exactly preserve measured moments of inertia. Ultimately, they hope to bypass Kraitchman coordinates entirely by training models to condition directly on raw rotational spectra.

Summary updated

BibTeX
@article{cheng2024reflection,
  author = {Austin Cheng and Alston Lo and Santiago Miret and Brooks Pate and Alán Aspuru-Guzik},
  title = {{Reflection-Equivariant Diffusion for 3D Structure Determination from Isotopologue Rotational Spectra in Natural Abundance}},
  journal = {The Journal of Chemical Physics},
  year = {2024},
  doi = {10.1063/5.0196620},
}
Figure