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

Complex-Valued Periodic Stochastic Processes for Retrieving Unknown Atomic Structures

Gyoung S. Na, Chanyoung ParkNeurIPS 2026

TL;DR

When we shine infrared light or shoot neutrons at an unknown substance to figure out what it is, we aren’t taking a static photograph of frozen atoms—we are recording a symphony of periodic, quantum-mechanical vibrations. Current AI methods try to map these dynamic spectra directly to static, rigid molecular graphs, losing crucial physical context along the way. By stepping into the complex plane and modeling atomic embeddings as periodic stochastic processes, the authors dramatically boost our ability to identify unknown molecules—even finding the right needle in a haystack of 40 million compounds.

What Problem Does This Paper Address?

Imagine trying to identify a musical instrument solely by looking at an audio waveform, while your reference catalog only contains still photographs of violins, trumpets, and pianos. That is essentially the bottleneck in modern analytical chemistry and self-driving laboratories.

To figure out the atomic structure of an unknown sample, scientists hit it with energy or particles—like infrared (IR) light, X-rays, or neutrons—and measure the response. Standard machine learning approaches treat this as a straightforward cross-modal retrieval problem (think CLIP, matching text to images): encode the spectrum, encode the static ground-truth molecular graph, and force them to align in latent space.

Figure 1: The overall analytical process to generate analytical data of unknown matters.

Here is the catch: molecules are never truly still. Under quantum mechanics (specifically, the harmonic approximation), hitting a molecule induces periodic vibrations—normal modes—around its equilibrium state. Analytical spectra don't observe a static equilibrium structure; they observe a set of periodically perturbed, non-equilibrium structures. Ignoring this underlying physics leaves retrieval models fundamentally suboptimal. At the same time, forcing standard real-valued neural networks or time-series models to learn strict periodicity requires either massive multi-period datasets or an unbounded number of optimization constraints, failing entirely outside the training horizon.

Methods

To bridge static molecular representations and dynamic physical observations, the authors introduce two core innovations:

  1. Periodic Complex Stochastic Processes (Normal-PCSP): Instead of trying to brute-force periodicity through data-driven interpolation, the authors bake periodicity directly into the math using complex numbers. Starting with a standard static molecular embedding ($\mathbf{s}_0$, generated by a Graph Neural Network), they model its perturbed states over $L$ vibrational phases using a complex-valued autoregressive AR(1) process—structurally cousin to diffusion forward processes, but living in $\mathbb{C}^d$. By defining the transition coefficient via Euler’s formula ($\alpha_t = e^{i\delta}$, where $\delta = 2\pi/L$), the deterministic mean trajectory naturally loops back on itself every $L$ steps. Layered on top is non-circular complex Gaussian noise. Crucially, the authors derive closed-form estimators that decouple the noise variance ($\gamma$) from the period length ($L$), allowing the model to sample all $L$ perturbed phases in parallel via a simple reparameterization trick—no slow sequential rollout required.
Figure 2: Visualization of 4-dimensional perturbed structure embeddings. X- and Y-axes are the timestep and the embedding value, respectively.
  1. Complex-Valued Cross-modal Retrieval (CVCR): The complex-valued perturbed samples are projected back into real space (via concatenation of real and imaginary parts and a learnable layer) and aggregated using learnable weights into a final, vibration-aware structure embedding $\mathbf{z}$. From there, CVCR uses standard cross-modal machinery: a query encoder processes the spectrum or scattering image, and a standard InfoNCE contrastive loss aligns the query with $\mathbf{z}$.

Datasets

No new datasets were created from scratch, though the authors construct realistic "unknown structure" regression subsets by intersecting existing spectral and property databases. Evaluation spans three tiers:

  • Cross-modal retrieval benchmarks (6 datasets): Sequence-to-graph tasks using IR spectra (QMe14S-IR, NIST), Raman spectra (QMe14S-RM), and X-ray diffraction (OpenXRD); plus image-to-graph tasks using 2D NMR (2DNMRGym) and inelastic neutron scattering images (INS-MAT, featuring crystal unit cells up to 43,512 Da).
  • Zero-shot library: An external PubChem subset of ~40 million synthesizable molecules.
  • Downstream property regression: Intersections of NIST and INS-MAT with ESOL (solubility), PCQM4Mv2 (quantum properties), and Materials Project (MP).

Key Insights and Ideas

  • Euler’s formula is a cheat code for stochastic periodicity: Rather than fighting neural networks to extrapolate sine waves, stepping into the complex normal distribution guarantees distributional periodicity ($E[\mathbf{s}_t] = E[\mathbf{s}_{t+L}]$) for all time $t \in \mathbb{N}$ using only the initial equilibrium state $\mathbf{s}_0$.
  • Physics beats generic generative priors and data augmentation: Replacing Normal-PCSP with standard generative heavyweights like DDPM or Diffusion Schrödinger Bridges—or applying noise/SMILES data augmentations—significantly hurts accuracy. Why? Because generic diffusion explores unconstrained directions, whereas Normal-PCSP restricts embeddings to physically motivated periodic trajectories, enriching representations at both training and inference time.
  • Periodic aggregation acts as an implicit regularizer: Even when the GNN backbone is downgraded or injected with heavy noise (where noise power exceeds signal power at $-10\text{ dB}$ SNR), aggregating embeddings across $L$ complex phases smooths out localized representation errors.

Key Results

CVCR consistently outperforms five state-of-the-art retrieval baselines (including chemistry-specific Vib2Mol and SMEN) across all six benchmarks:

Figure 3: Recall@k of the competitor methods and CVCR on the six cross-modal retrieval datasets. X-axis: k ∈{1, 3, 5, 7, 9}, Y-axis: measured recall@k.
  • Near-perfect Raman & strong image retrieval: CVCR hits 98.6% Recall@9 on QMe14S-RM, and achieves massive leaps on 2D scattering images (reaching ~0.77 and ~0.83 Recall@9 on 2DNMRGym and INS-MAT, where competitors struggle below 0.35 and 0.61).
  • Extreme data efficiency in zero-shot search: Trained on just 8,832 NIST molecules (0.022% of the target space) and tested on 40 million PubChem molecules, CVCR boosts Recall@9 from 0.121 to 0.452 (a 273% improvement) and Tanimoto chemical similarity from 0.483 to 0.708.
  • Closing the loop without ground truth: When predicting material and molecular properties starting only from raw spectra (retrieving the structure first, then running a GNN), CVCR achieves top $R^2$ scores across ESOL (0.962), PCQM4Mv2 (0.987), and Materials Project (0.619).

Limitations and Future Work

Because CVCR is fundamentally a retrieval framework, it can only identify an unknown substance if that structure already exists somewhere in a candidate library. If a self-driving lab synthesizes a completely novel molecule unknown to science, retrieval hits a wall. The authors note that the natural next frontier is extending CVCR into a fully generative model—synthesizing brand-new atomic structures de novo directly from their periodic spectral footprints.

Summary updated

Abstract

Retrieving unknown atomic structures from observable analytical spectra or images remains a long-standing challenge across natural sciences. However, retrieval accuracy of existing retrieval methods on analytical data remains suboptimal because they have overlooked the underlying periodic quantum mechanical perturbations of non-equilibrium atomic structures behind analytical data. This paper proposes a Periodic Complex Stochastic Process (PCSP) that models such periodic perturbations and establishes theoretical backgrounds of periodic stochastic process in the complex-valued domain, including its sample diversity, process length, and periodicity. Finally, we develop a Complex-Valued Cross-modal Retrieval (CVCR) by integrating PCSP with cross-modal retrieval frameworks. CVCR outperformed existing cross-modal retrieval methods in cross-modal retrieval tasks of real-world analytical chemistry. Moreover, CVCR achieved state-of-the-art retrieval accuracy in zero-shot settings on 40 million of molecules.
BibTeX
@inproceedings{na2026complex,
  author = {Gyoung S. Na and Chanyoung Park},
  title = {{Complex-Valued Periodic Stochastic Processes for Retrieving Unknown Atomic Structures}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=yMLPNBz9ZT},
}
Figure