XANES-Guided Molecular Structure Generation via Conditional Diffusion and Forward Spectral Prediction
Abstract
Reconstructing complete molecular structures from X-ray absorption near-edge structure (XANES) spectra remains challenging because the spectra primarily encode local chemical environments, with overlapping contributions from multiple absorbing sites. Here, we develop an inverse-forward framework combining XANES-conditioned diffusion-based molecular structure generation with forward spectral prediction for candidate selection. The inverse model generates atomic species, bond connectivity, and three-dimensional coordinates from C, N, and O K-edge XANES, given only the total atom count without molecular formulas or element-specific atom counts. Combining all three absorption edges substantially improves structural recovery, achieving a best-of-10 exact-match rate of 56.6% across 2,888 test molecules. The generated candidates also reproduce functional groups and structural motifs, achieving a macro-averaged F1 score of 0.951 across 21 categories. Ranking candidates by agreement between input and forward-predicted spectra increases the exact-match rate from 24.3% for unranked top-1 selection to 43.9%. This spectral-consistency criterion also enables atom count estimation, identifying the correct count for 65.6% of molecules among seven tested values. Application to experimental spectra yields an exact structural match for imidazole and recovers characteristic functional groups in two additional molecules, while revealing limitations due to simulation-experiment spectral discrepancies. These findings establish an inverse-forward approach for reconstructing whole-molecule structures from complementary element-specific XANES information.
Related
- A Scoping Review of Diffusion-Based De Novo Molecular Generation: Architectures, Evaluation, and Open Challenges for Computational Drug Discovery
- Multimodal Spectroscopy–Driven Reconstruction of Three-Dimensional Molecular Structures via Conditional Diffusion Model
- XRDiff: Crystal Structure Prediction from Powder X-Ray Diffraction Data Using Diffusion Models
- Conditional latent distillation enables controllable molecular generation in data-limited soft materials
- Improving Structure Prediction for Intrinsically Disordered Proteins: High-Throughput Ensemble Generation via Torsion-Space Sampling and OpenMM Vacuum Relaxation
BibTeX
@misc{fujikata2026xanesguided,
title = {{XANES-Guided Molecular Structure Generation via Conditional Diffusion and Forward Spectral Prediction}},
author = {Yu Fujikata and Teruyasu Mizoguchi},
howpublished = {arXiv},
year = {2026},
month = nov,
doi = {10.48550/arxiv.2611.23725},
eprint = {2611.23725},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.23725},
}
RIS
TY - UNPB
TI - XANES-Guided Molecular Structure Generation via Conditional Diffusion and Forward Spectral Prediction
AU - Yu Fujikata
AU - Teruyasu Mizoguchi
PY - 2026
DA - 2026/11/18
PB - arXiv
DO - 10.48550/arxiv.2611.23725
UR - https://arxiv.org/abs/2611.23725
AB - Reconstructing complete molecular structures from X-ray absorption near-edge structure (XANES) spectra remains challenging because the spectra primarily encode local chemical environments, with overlapping contributions from multiple absorbing sites. Here, we develop an inverse-forward framework combining XANES-conditioned diffusion-based molecular structure generation with forward spectral prediction for candidate selection. The inverse model generates atomic species, bond connectivity, and three-dimensional coordinates from C, N, and O K-edge XANES, given only the total atom count without molecular formulas or element-specific atom counts. Combining all three absorption edges substantially improves structural recovery, achieving a best-of-10 exact-match rate of 56.6% across 2,888 test molecules. The generated candidates also reproduce functional groups and structural motifs, achieving a macro-averaged F1 score of 0.951 across 21 categories. Ranking candidates by agreement between input and forward-predicted spectra increases the exact-match rate from 24.3% for unranked top-1 selection to 43.9%. This spectral-consistency criterion also enables atom count estimation, identifying the correct count for 65.6% of molecules among seven tested values. Application to experimental spectra yields an exact structural match for imidazole and recovers characteristic functional groups in two additional molecules, while revealing limitations due to simulation-experiment spectral discrepancies. These findings establish an inverse-forward approach for reconstructing whole-molecule structures from complementary element-specific XANES information.
ER -