cond-mat.mtrl-sciFeb 18, 2026

AI-Driven Structure Refinement of X-ray Diffraction

Authors: Bin Cao, Qian Zhang, Zhenjie Feng, Taolue Zhang, Jiaqiang Huang, Lu-Tao Weng, Tong-Yi Zhang

Organizations: Guangzhou Municipal Key Laboratory of Materials Informatics, Advanced Materials Thrust, Sustainable Energy and Environment Thrust, The Hong Kong University of Science and Technology (Guangzhou), Guangzhou, 511453, China · Materials Genome Institute, Shanghai University, Shanghai 200444, China · Hefei National Research Center for Physical Sciences at the Microscale, and Hefei National Laboratory, University of Science and Technology of China, Hefei, Anhui 230026, China · Material Characterization and Preparation Facility, Hong Kong University of Science and Technology (Guangzhou), Guangzhou 511400, China

Abstract

Artificial intelligence can rapidly propose candidate phases and structures from X-ray diffraction (XRD), but these hypotheses often fail in downstream refinement because peak intensities cannot be stably assigned under severe overlap and diffraction consistency is enforced only weakly. Here we introduce the whole-pattern expectation--maximization (WPEM) algorithm, a physics-constrained whole-pattern decomposition and refinement workflow that turns Bragg's law into an explicit constraint within a batch expectation--maximization framework. WPEM models the full profile as a probabilistic mixture density and iteratively infers component-resolved intensities while keeping peak centres Bragg-consistent, producing a continuous, physically admissible intensity representation that remains stable in heavily overlapped regions and in the presence of mixed radiation or multiple phases. We benchmark WPEM on standard reference patterns (PbSO4_4 and Tb2_2BaCoO5_5), where it yields lower Rp/RwpR_p/R_{wp} than widely used packages (FullProf and TOPAS) under matched refinement conditions. We further demonstrate generality across realistic experimental scenarios, including phase-resolved decomposition in multiphase materials, quantitative recovery of mixture compositions, separation of crystalline peaks from amorphous backgrounds in semicrystalline systems, high-throughput operando lattice tracking, automated refinement of compositionally disordered solid solutions, and quantitative phase-resolved analysis of complex archaeological samples from synchrotron powder XRD. By providing Bragg-consistent, uncertainty-aware intensity partitioning as a refinement-ready interface, WPEM closes the gap between AI-generated hypotheses and diffraction-admissible structure refinement on challenging XRD data.

Figures & tables

Explore similar work

CardsList
  1. Diagnosing and narrowing the simulation-to-real gap in powder X-ray diffraction with a wet-dry agentic loop

    Aug 23, 2026Shaoguang Wang, Weiyu Guo, Ben Fei +3Synthetic-to-Real Domain AdaptationMaterials Science

  2. PXRD-Bench: How Close Are We to Determining Crystal Structures from Powder Diffraction?

    Oct 12, 2026Dongyeop Woo, Nofit Segal, Nayoung Kim +3Crystal Structure PredictionMaterials Science

  3. XRDiff: Crystal Structure Prediction from Powder X-Ray Diffraction Data Using Diffusion Models

    Jun 12, 2026Nofit Segal, Mingda Li, Benjamin Kurt Miller +1Crystal Structure PredictionDiffusion Models