arXiv:2610.05844cs.CEOct 2026

Manuscript Offprint

arXiv:2610.05844

PhaseMatcher: Autoregressive Phase-Set Identification with Spectral Decomposition

Zhonglong Peng, Qiuliang Liu, Chang Chen, Geng Zhong, Qi Li, Lihong Wang, Lan Jiang, Shifeng Jin

ABSTRACT

Recovering complete phase sets from powder X-ray diffraction (PXRD) is challenging when weak-phase peaks overlap stronger signals. A natural strategy is to identify phases iteratively, removing the contribution of each identified phase from the observed pattern before predicting the next. However, even after a phase is correctly identified, misestimating its contribution can distort the residual and cause subsequent errors. We introduce PhaseMatcher, an autoregressive framework for complete phase-set identification with physics-guided spectral decomposition. After each phase prediction, PhaseMatcher re-estimates the contributions of all selected phases and the residual from the original observation and all selected reference patterns, accounting for physically plausible variation between reference patterns and the corresponding phase contributions in the observation. The resulting residual guides subsequent phase identification, while a separate stopping module determines when the phase set is complete. On synthetic mixtures and controlled mixtures constructed from measured single-phase patterns, PhaseMatcher improves complete-set identification over the evaluated baselines. On PhaseMix-135K, it also estimates contributions and residuals more accurately than scalar subtraction.

1 INTRODUCTION

Powder X-ray diffraction (PXRD) provides a fingerprint of crystalline materials. It helps identify minerals, track phase evolution in batteries, characterize catalysts, and determine whether synthesis produced the target material. For a single-phase sample, identification resembles object or speaker recognition: material identity is inferred from a characteristic signal. Multiphase samples present an additional challenge. Their reflections overlap in one pattern, strong phases can obscure weak minor phases, and the number of contributing phases is unknown. Periodic Labs' recent deployment of AI for XRD analysis highlights the importance of reliable phase identification in evaluating synthesis outcomes and guiding autonomous experimentation (Szymanski et al., 2023; Periodic Labs, 2026).

Recent methods address this problem through sequential identification, source decomposition, or refinement-based search. XRD-AutoAnalyzer identifies phases through probabilistic branching and profile subtraction (Szymanski et al., 2021). XDecomposer predicts an unordered set of component patterns (Gao et al., 2026), while PhaseDifformer recursively decomposes mixtures with optional reference guidance (Ito et al., 2026). DARA and RADAR-PD evaluate phase combinations through physical refinement (Fei et al., 2026; Yadav et al., 2026). These approaches motivate a complementary direction: learning phase-identity sequences together with a spectral explanation that is jointly estimated as the selected set grows.

The key difficulty is that correct phase identification does not guarantee accurate contribution estimation. Peak shifts, broadening, and relative-intensity changes can make an observed contribution differ from its library reference. In sequential subtraction, overestimating a contribution can remove evidence of unidentified phases, while underestimating it leaves already explained intensity in the residual. When the model selects another overlapping phase, its reference provides additional information for jointly estimating the selected contributions. This creates a feedback loop: selected phase identities provide reference patterns for explaining the original observation, and the resulting residual informs the next identity prediction.

We introduce PhaseMatcher, an autoregressive framework that couples phase-identity prediction with reference-conditioned spectral decomposition. It predicts each phase from the current residual and selected-phase history, then re-estimates all selected contributions using the original observation and their reference patterns. Physics-guided feature adaptation accounts for zero shift, strain, and broadening; nonnegative allocation conserves observed intensity across the selected phases and the residual. The updated residual guides the next phase prediction. A separate STOP head uses the original observation and phase history to decide when the set is complete, allowing background and noise to remain.

On PhaseMix-135K and controlled mixtures constructed from measured RRUFF patterns, PhaseMatcher improves complete-set identification over the evaluated baselines and produces more accurate residuals with slower error growth when the correct phases are supplied.

Our contributions are threefold:

• Joint phase identification and spectral decomposition. PhaseMatcher couples history-conditioned phase prediction with reference-conditioned spectral decomposition and a separate STOP decision for phase sets of unknown size.

• Contribution re-estimation and residual updating. PhaseMatcher re-estimates the contributions of all selected phases and the residual from the original observation and all selected references as the selected set expands.

• Identification and reconstruction evaluation. On PhaseMix-135K and controlled mixtures constructed from measured RRUFF single-phase patterns, PhaseMatcher improves complete-set identification over the evaluated baselines. On PhaseMix-135K, automatic and correct-phase experiments show lower contribution and residual errors than Scalar, while the physics-guidance ablation shows lower contribution and residual MAE before the phase set is complete.

References (54)