arXiv(opens in a new tab)physics.chem-phOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.12067

MAST: Motif-Augmented Diffusion with Search Tree for Spectroscopic Molecular Structure Elucidation

Chenghao Jia, Mengdi Liu, Hong Chang, Shiguang Shan, Xilin Chen

Abstract

Elucidating molecular structures from spectra is a foundational problem in chemical and materials characterization, yet remains challenging due to spectral ambiguity and the vast molecular space. Although recent diffusion-based generators show strong promise for spectra-conditioned elucidation, existing methods struggle to learn robust spectra-structure relationships from limited paired data when relying solely on global spectral representation. Moreover, the repeated full sampling inference strategy incurs substantial computation overhead. To address these limitations, we propose MAST, a Motif-Augmented diffusion framework with Search Tree, for joint 2D-3D spectroscopic molecular structure elucidation. MAST introduces explicit, interpretable motif priors as intermediate evidences throughout denoising, reducing conditional ambiguity and facilitating spectra-conditioned optimization. We further cast diffusion sampling as reward-guided tree search to prioritize high-reward denoising trajectories, yielding a compact set of spectra-consistent candidates under limited budgets. On the QM9S multi-spectra benchmark, MAST achieves 94.89% exact recovery and improves 3D fidelity, while preserving high chemical validity and stability. Code is available at https://github.com/Jia040223/MAST.

1. Introduction

Molecular structure elucidation is a long-standing and central problem in chemical and materials characterization, which underpins a wide range of applications, including unknown identification, metabolome annotation, natural-product discovery, and impurity/degradant analysis in drug development (Görög, 2006; Dunn et al., 2013; Coates et al., 2000). Spectra (e.g., Raman, IR and UV-Vis) provide indirect yet informative fingerprints of local chemical environments and bonding patterns, enabling inference of underlying molecular structures. However, molecular elucidation remains underexplored due to the inherently challenging one-to-many problem: distinct molecular structures may exhibit very similar spectral signatures. In practice, common spectral-to-structure workflows still rely heavily on spectral library search, expert interpretation, and iterative experimental validation, which limits automation and scalability.

Recent years have witnessed notable attempts for this problem. Early automation largely relied on spectral library matching and rule-driven structure elucidation pipelines, which generate candidate structures and prune them using spectral constraints and heuristic rules. With the growth of data scale and learning capacity, model-based approaches were adopted to predict interpretable intermediate cues (e.g., functional groups) from spectra to facilitate downstream reasoning (Fine et al., 2020; Enders et al., 2021). More recently, end-to-end methods made significant progress by directly mapping spectra to molecular representations (SMILES or graphs) through conditional generative frameworks—most notably diffusion models (Alberts et al., 2024; Kanakala et al., 2024; Wang et al., 2025b).

Despite high potential for spectra-conditioned structure generation, current methods still face crucial limitations. First, most end-to-end methods condition generation on a single global spectral representation (Alberts et al., 2024; Wang et al., 2025b), which can hardly convey sufficient, discriminative, and chemically meaningful cues. Moreover, it leaves the generator to implicitly recover fine-grained chemical evidence from this compressed representation, making robust spectra-conditioned generation difficult, especially when paired spectra–structure data is limited. Second, current inference methods, which rely on repeated full-chain sampling followed by post hoc selection (Cheng et al., 2024; Wang et al., 2025b; Alberts et al., 2025), is computationally expensive and difficult to control. As illustrated in Figure 1, it may repeatedly explore similar trajectories, and even when early intermediates deviate, the entire denoising chain is still

1^{1}State Key Laboratory of AI Safety, Institute of Computing Technology, Chinese Academy of Sciences, China 2^{2}University of Chinese Academy of Sciences, China. Correspondence to: Hong Chang changhong@ict.ac.cn.

Proceedings of the 43rd43^{rd} International Conference on Machine Learning, Seoul, South Korea. PMLR 306, 2026. Copyright 2026 by the author(s).

A

Figure

B

(a) Repeated Sampling

(b) MCTS-Diffusion

Figure

Figure 1. (A) Motif priors provide interpretable local evidence to filter mismatched candidates and sharpen spectra-consistent generation. (B) Repeated sampling explores full reverse-diffusion trajectories, wasting computation on redundant paths and low-consistency prefixes; MCTS-Diffusion performs checkpointed search, expands high-reward intermediates, and prunes low-value branches early.

executed. Third, existing works mainly focus on 1D and 2D molecular elucidation, whereas 3D structure is more crucial for many downstream applications. Since 3D recovery is inherently harder due to more complex spectra-geometry relationships and vastly larger search space, direct predicting 3D geometry from spectra remains comparatively scarce.

To address all these limitations, we propose MAST (Motif-Augmented diffusion with Search Tree), a framework for joint 2D-3D molecular elucidation from spectra by leveraging motif-augmented diffusion with tree-search. Specifically, we learn a probabilistic spectra-to-motif prior that externalizes implicit spectral cues into interpretable, composable discrete evidence, and inject this evidence throughout joint denoising process to shrink the effective hypothesis space. On the inference side, we cast reverse diffusion as a segmented decision process with checkpoints, and introduce a Monte Carlo Tree Search (MCTS) mechanism to adaptively allocate computation between exploration and exploitation—expanding high-reward intermediates while pruning low-value branches early. Finally, we incorporate differentiable conditional guidance at the segment level to adaptively tune guidance strength, thereby improving spectral consistency while preserving the diffusion prior.

Empirically, we conduct comprehensive evaluations on the QM9S (Zou et al., 2023) benchmark. MAST achieves state-of-the-art performance, delivering substantially improved exact recovery while maintaining high chemical validity and stability. Further experiments highlight that the probabilistic motif prior is a key contributor. Moreover, MCTS-guided tree search over diffusion markedly boosts exact recovery under the same denoising-step budget.

In summary, our contributions are as follows:

  1. We propose MAST, a motif-augmented diffusion framework for spectroscopic molecular elucidation, with an explicit spectra-to-motif prior as interpretable intermediate evidence.

  2. We propose an MCTS-guided diffusion inference algorithm for molecular generation that searches denoising trajectories with segment-wise adaptive guidance.

  3. We demonstrate that MAST achieves state-of-the-art performance on QM9S in Top-1 recovery, and that MCTS-guided inference enables test-time scaling to improve spectra-consistent recovery under limited sampling budgets without retraining or fine-tuning.

References (68)