acceptodds
Published as a conference paper at NeurIPS 2026

XDecomposer: Learning Prior-Free Set Decomposition for Multiphase X-ray Diffraction

Hanyu Gao, Bin Cao, YUNYUE SU, Tong-yi Zhang, Qiang Liu

Abstract

Multiphase powder X-ray diffraction (PXRD) analysis remains a fundamental bottleneck in structure identification, as real-world synthesis often produces complex mixtures whose constituent phases (components) cannot be reliably disentangled. While recent advances in representation-based crystal retrieval and generation suggest the possibility of inferring structures directly from PXRD, existing approaches largely assume single-phase inputs and break down in multiphase settings. Here, we present XDecomposer, a prior-free framework for joint decomposition and identification of multiphase XRD patterns without requiring candidate phase lists, structural templates, or prior knowledge of phase number. We formulate multiphase diffraction analysis as a set prediction problem, where the model infers an unordered set of phase-resolved components, their mixture proportions, and corresponding structural representations within a unified architecture. A phase-query-driven decomposition mechanism, together with diffraction-consistent physical reconstruction, enables accurate source separation while preserving crystallographic fidelity. Extensive experiments on both simulated and experimental datasets show that XDecomposer substantially improves reconstruction accuracy and phase identification across diverse chemical systems, while maintaining strong generalization to unseen mixtures. These results provide a practical route toward data-driven, source-resolved multiphase XRD analysis and reduce long-standing dependence on prior-guided iteratively phase matching. The code is openly available at https://anonymous.4open.science/r/XDecomposer-FE0B

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 49%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.33 over 3 reviews, above 49% of the others.
Reviewer_tbsoOpenReview ↗
Rating
5
Clarity
3
Confidence
5
Originality
3
Quality
4
Significance
4
Read review
Summary

This paper proposes XDecomposer for multiphase PXRD analysis when the number of phases and candidate phase list are both unknown. By formulating the problem as set prediction and blind source separation, the method learns phase-specific latent representations from mixed patterns, enabling joint decomposition, reconstruction, and phase identification. Experiments on simulated and real data (RRUFF) mixtures demonstrate clear improvements over existing approaches.

Strengths and weaknesses

Strengths:

  1. The paper provides an original reformulation of the multiphase XRD analysis problem. Instead of following a conventional search-match or stepwise subtraction workflow, it treats the task as set prediction and blind source separation under an unknown number of phases. The proposed framework is systematic and well integrated. Within a unified architecture, it performs phase-number prediction, phase-level pattern recovery, mixture reconstruction, and phase retrieval.
  2. Compared with methods that only predict class labels or phase fractions, XDecomposer can recover phase-level PXRD patterns. This improves interpretability and provides richer information for database retrieval, structural analysis, and initialization of refinement.
  3. The experimental evaluation is relatively comprehensive. In addition to phase identification accuracy, the paper reports metrics for pattern reconstruction quality, peak-position deviation, peak-width error, and downstream retrieval performance.

Weaknesses: List in Questions

Questions
  1. Please examine whether inactive slots still produce clear peak-like signals. If inactive slots contain obvious peaks, the authors should explain whether the model may be assigning background, noise, or unexplained residual signals to extra phases?.
  2. Please report test results under different 2θ input ranges. This experiment would help determine whether the model relies too strongly on certain peak regions, rather than learning more stable and physically meaningful decomposition features.
  3. Since the predicted number of phases depends on the slot activity threshold, please report how performance changes under different thresholds. If the results are sensitive to this threshold, the authors should explain the basis for the threshold choice and its expected generalization.
Limitations

See Questions

Paper formatting concerns

None.

Final justification

The author's response addressed my concerns, so I maintain my positive rating and agree to accept the revised manuscript.

1 comment

Thank reviewer tbso for the important suggestions. We have added additional experiments to investigate inactive slots, the influence of different diffraction ranges, and the effect of threshold selection. These additional results provide a more comprehensive evaluation and offer readers a clearer understanding of the model behavior and practical considerations.

Q1: Whether inactive slots produce peak-like signals, and if so, whether these signals arise from background, noise, or residuals mistakenly assigned as extra phases.

Thank you for this important question. Based on our analysis, most padding-matched inactive slots are strongly suppressed and do not represent peak-like signals. For K=2K=2, 94.50% of inactive slots contain no detectable peaks, with a median relative energy of 0.0011. For K=3K=3, inactive outputs retain slightly more peak fragments, but their median relative energy remains low (0.0210), indicating that these signals are negligible.

The output constraint y^k=x⊙sigmoid⁡(mk)\boldsymbol{\hat{y}_k=x\odot\operatorname{sigmoid}(m_k)} prevents the model from generating diffraction peaks that are absent from the input pattern. Therefore, the weak peaks observed in some inactive slots are interpreted as residual unresolved intensity or duplicated contributions from existing phases rather than independent crystalline phases.

To further clarify this behavior, we have added a new table reporting the statistics of inactive slots in the multiphase decomposition benchmark.

KKPIT-matched targetInactive (%)Median rel. energyNo peak (%)≥2\geq 2 peaks (%)
2Padding (extra slot)96.700.001194.503.29
2Real phase (missed)1.660.024654.3533.93
3Padding (extra slot)73.350.021067.1118.31
3Real phase (missed)5.950.032945.0939.56

Peak definition: height h>0.05h>0.05 with NMS window size 10.

Q2: report test results under different 2θ input ranges.

Thank you for the comment. We conducted additional evaluations using four representative (2θ)(2\theta) windows (10–20°, 30–40°, 50–60°, and 70–80°) and compared them with the full 10–80° range.

For K=2–4, the full-range input consistently achieves the best overall performance. Among the restricted windows, 30–40° provides the best preservation of pattern profiles and peak shapes, while 70–80° achieves the highest phase identification accuracy. This observation is consistent with crystallographic principles: intermediate-angle regions balance reflection density and peak separation, whereas high-angle reflections often contain richer structural fingerprint information. Since no single window performs best across all metrics, these results highlight the importance of utilizing complementary information from the full diffraction range.

K2θ RangePearson ↑Peak Shift (°) ↓ΔFWHM (°) ↓Top-1 (%) ↑Top-10 (%) ↑
2Full (10–80°)0.96910.02722.433087.9292.50
210–20°0.65030.06647.390712.1020.17
230–40°0.74850.03835.777030.7341.27
250–60°0.71430.03896.515639.4051.52
270–80°0.69290.04336.056945.8359.59
3Full (10–80°)0.91010.03893.783681.1386.81
310–20°0.55050.07169.98619.2915.10
330–40°0.60840.04547.233116.9123.66
350–60°0.56370.04688.354322.8330.58
370–80°0.54650.05278.310227.7437.13
4Full (10–80°)0.83220.04805.241069.6876.21
410–20°0.49030.071311.37677.2211.63
430–40°0.50430.05069.01058.8713.00
450–60°0.46710.05249.592812.5317.90
470–80°0.45160.05679.729516.1222.23

Q3: Report performance under different thresholds and justify the threshold selection if results are sensitive to this parameter.

Thank you for the question. We report the performance under different threshold settings. In the fixed KK experiments, we used τ=0\tau=0 to retain weak phases under peak overlap and noise, allowing us to focus on the intrinsic decomposition capability. Increasing τ\tau removes low-intensity but valid phases, leading to decreased Pearson correlation and retrieval accuracy, while the peak errors of the retained phases remain relatively stable.

In practical applications, if the phase number KK is known, we recommend directly returning the top-KK active slots. Otherwise, a threshold range of τ=0−0.2\tau=0-0.2 provides a practical choice for balancing phase retention and noise suppression.

KKτ\tauPearson ↑\uparrowPeak Shift (∘^\circ) ↓\downarrowΔ\DeltaFWHM (∘^\circ) ↓\downarrowTop-1 (%) ↑\uparrowTop-10 (%) ↑\uparrow
20.00.96910.02722.433087.9292.50
20.20.96680.02742.467388.1092.28
20.40.96300.02742.468787.9092.02
20.50.96090.02742.467087.7491.83
20.60.95800.02732.464587.5191.58
20.80.94770.02722.453686.6990.63
30.00.91010.03893.783681.1386.81
30.20.89590.03893.799780.5786.17
30.40.88000.03893.801379.7185.05
30.50.87100.03893.801579.1484.37
30.60.85980.03883.800878.3683.39
30.80.83450.03873.783476.3181.06
40.00.83220.04805.241069.6876.21
40.20.82720.04845.235269.7076.07
40.40.82060.04845.235869.4575.73
40.50.81500.04845.236769.2075.42
40.60.80750.04835.232968.8875.02
40.80.77940.04815.205667.5373.38
Reviewer_c2r1OpenReview ↗
Rating
4
Clarity
2
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

The authors propose XDecomposer to decompose multiphase PXRD patterns into mixtures of single-phase patterns in a single forward pass and without relying on lists of possible phases. The model is pretrained with self-supervision on single-phase data followed by supervised training on multiphase mixtures. The model architecture consists of a CNN to encode patterns and a transformer to update latents. Unlike prior works which sequentially identify the dominant phase and remove its contribution to the pattern, XDecomposer respects the permutation-invariant nature of the decomposition problem.

Strengths and weaknesses

Strengths

  • Well-motivated and scoped problem with good background on related work within the XRD literature and source separation literature
  • Comprehensive benchmarking of bespoke and general methods with adaptations for each to the multiphase task is commendable
  • Good performance gains

Weaknesses

Clarity:

  • In the Related Work section, the difference between the classification learning strategy and the retrieval-based one was unclear
  • I am confused by the Retrieval Accuracy definition. For example, what does top-1 mean if there are multiple phases in the pattern?
  • Please note whether evaluation metrics are computed at the multi- or single-phase level.

Significance:

  • Probably not highly significant for the broader NeurIPS audience; I think the "use-inspired" contribution type is probably better suited for this submission.
Questions
  • What is SI-SDR in eq 17?
  • How do the reported evaluation metrics compare to what is interpretable by experimentalists? My understanding is that R factor is common.
  • Why does top-10 performance of XDecomposer increase from simulated (table 1) to experimental data (table 2)?
Limitations
  • The architecture and training pipeline is relatively complex and some additional ablations would be appreciated to see if all the steps are strictly necessary. For example, what happens if self-supervised pre-training is removed? What happens if different terms in your composite losses are dropped (also please report the loss weights used in the experiments)?
  • The model does not support the possibility that multiple decompositions can correspond to the same multiphase pattern (I believe XDecomposer would only be able to learn the expectation).
  • It does not seem that the evaluation metrics capture whether the correct number of phases was predicted. Please clarify this.
  • Components in multiphase mixtures were chosen uniform randomly within each split of crystals. However, real multiphase mixtures will be constrained by chemistry and thermodynamics wherein components will be more similar to each other, likely presenting a more difficult decomposition task. As such, I would expect the reported evaluation metrics to be inflated.
Paper formatting concerns

No concerns

Final justification

I raised my score because the authors addressed all my concerns, except for the fact that it was submitted as a General contribution type.

1 comment

We thank Reviewer c2r1 for recognizing the motivation and innovation of our work and for the constructive comments. We clarified the classification/retrieval distinction, metric definitions and evaluation levels, Eq. 17, sim-to-real results, and phase-count evaluation. We also added profile factors, ablations of pretraining and individual loss terms, and a similarity-controlled benchmark.

C1:Classification versus retrieval

Thank you for the comment. We have revised the corresponding section to clarify the distinction between them. The revised text is copied below.

Classification methods formulate phase identification as a supervised multi-class classification problem, directly assigning an input diffraction pattern to one of the predefined phase labels in the training database. Retrieval-based approaches, in contrast, learn feature representations that enable similarity search, ranking candidate phases by matching a query pattern against a database of known phases rather than directly predicting a class label.

C2:Meaning of Top-1 for multiphase patterns

Top-1 is evaluated at the phase level, not for the entire mixture. PIT first aligns predicted slots with ground-truth single-phase components. Each aligned prediction is then queried independently against the reference bank; it is correct when the corresponding phase ID ranks first. Top-k indicates whether the correct phase appears among the first k retrieved candidates.

We have clarified it in the revised manuscript.

C3:Evaluation level of the reported metrics

All metrics in Table 1 are computed on separated single-phase components after PIT. Pearson correlation is averaged over active predicted–target pairs; peak shift and FWHM error are computed from matched peaks within each pair; and Top-1/Top-10 report phase-level retrieval accuracy.

S1:Contribution type

We agree that “Use-Inspired” better characterizes this submission within the AI/ML for Physical Sciences area.

Q1:Definition of SI-SDR in Eq. 17

SI-SDR is the scale-invariant signal-to-distortion ratio. For prediction y^\hat{\mathbf y} and reference y\mathbf y, it is defined as α=⟨y^,y⟩∥y∥22,\alpha=\frac{\langle \hat{\mathbf{y}},\mathbf{y}\rangle}{\|\mathbf{y}\|_2^2},

10\log_{10} \left( \frac{\|\alpha\mathbf{y}\|_2^2} {\|\hat{\mathbf{y}}-\alpha\mathbf{y}\|_2^2} \right).$$ Eq.17 minimizes negative SI-SDR and therefore maximizes profile-shape. This definition has been added. >Q2:Experimental interpretability and R factors We agree that profile factors such as ($R_p$) and ($R_{wp}$) are standard measures for experimentalists. Our existing metrics assess complementary aspects of decomposition: **Peak Shift** and **FWHM Error** quantify peak fidelity; **Pearson correlation** quantify whole-profile agreement; and **Top-(k)** accuracy measures whether the recovered component supports correct phase identification. To improve experimental interpretability, we additionally **report the profile factors** ($R_p$ and $R_{wp}$): | $K$ | $R_p$ (%) $\downarrow$ | $R_{wp}^{(w=1)}$ (%) $\downarrow$ | | --: | ---------------------: | --------------------------------: | | 2 | 13.20 | 10.17 | | 3 | 27.74 | 23.60 | | 4 | 45.04 | 38.89 | Both factors increase with $K$, consistent with stronger overlap and greater decomposition difficulty. >Q3:Why Top-10 increases in the sim-to-real experiment The MP test gallery contains approximately 10,032 candidates, whereas each RRUFF fold contains 132–134. Thus, Top-10 covers about 0.10% of the MP gallery but about 7.5% of a RRUFF fold and is therefore not directly comparable across the two settings. Top-1 provides the stricter comparison: it decreases from 87.92%, 81.13%, and 69.68% on MP to 65.31%, 53.49%, and 41.90% on RRUFF for $K=2,3,4$. This reduction quantifies the experimental domain shift associated with instrumental effects, preferred orientation, lattice strain, impurities, and measurement noise. >L1:Ablations of pretraining and composite losses We have performed additional ablation studies to systematically investigate the contributions of self-supervised pre-training and each component of the composite objective. + For the pretraining ablation, the model is trained from random initialization while keeping the architecture, training protocol, and full objective unchanged. + For loss ablations, one term is removed at a time by setting only its weight to zero; all other terms retain their original weights. | Variant | Pearson (↑) | Peak Shift (°) ↓ | $\Delta$FWHM (°) ↓ | Top-1 (%, ↑) | |---|---:|---:|---:|---:| | **Full model** | **0.8322** | **0.0480** | **5.2410** | **69.68** | | w/o mixture-consistency loss | 0.7912 | 0.0524 | 5.4364 | 60.34 | | w/o SI-SDR loss | 0.7612 | 0.0514 | 5.4952 | 58.35 | | amplitude loss only | 0.6287 | 0.0573 | 5.6198 | 51.16 | | w/o amplitude loss | 0.5982 | 0.0609 | 5.9110 | 47.24 | | w/o activity loss | 0.4073 | 0.0777 | 13.1825 | 14.34 | | w/o pre-training | 0.4067 | 0.0787 | 13.5071 | 14.00 | Mixture consistency and SI-SDR improve profile recovery and retrieval; amplitude reconstruction provides a strong base objective; activity supervision and self-supervised pretraining are critical, as removing either reduces Top-1 to approximately 14%. >L2:Non-uniqueness of the inverse problem We agree that different phase sets can generate identical or nearly indistinguishable PXRD patterns. The training data expose the model to the same structures in many different mixture contexts, which supports learning across multiple decomposition scenarios. However, the current MP benchmark assigns one known component set to each mixture, and XDecomposer therefore returns one decomposition rather than a distribution of alternatives. Its output should be interpreted as the decomposition best supported by the training data and reference bank, not as proof that the inverse solution is unique. >L3:Evaluation of the predicted number of phases Each active output slot represents one predicted phase. **Activity Precision** measures spurious active slots, and **Activity Recall** measures missed phases; together they evaluate phase-count prediction. Activity Precision/Recall is **96.97%/98.25%** for (K=2), **91.64%/94.18%** for (K=3), and **100.00%/97.44%** for (K=4). Using $h>0.05$ and NMS $=10$, the inactive-slot statistics are: | $K$ | PIT-matched target | Inactive (%) | Median rel. energy | No peak (%) | $\geq 2$ peaks (%) | |:---:|:------------------:|:------------:|:------------------:|:-----------:|:------------------:| | 2 | Padding (extra slot) | 96.70 | 0.0011 | 94.50 | 3.29 | | 2 | Real phase (missed) | 1.66 | 0.0246 | 54.35 | 33.93 | | 3 | Padding (extra slot) | 73.35 | 0.0210 | 67.11 | 18.31 | | 3 | Real phase (missed) | 5.95 | 0.0329 | 45.09 | 39.56 | Most padding-matched outputs are suppressed, while real-phase slots are rarely classified as inactive. >L4:Chemically constrained mixtures and potentially optimistic evaluation We agree that reaction products and residual reactants often share compositions, symmetries, and structural motifs, producing more similar diffraction patterns than unconstrained random mixtures. Random mixtures cover reaction products, impurities, contamination, mixed powders, and deliberately blended materials, while providing broad phase diversity and a standardized benchmark. To test the harder case of structurally similar constituents, the revision adds a cosine-similarity-controlled benchmark. For each anchor phase, additional components are sampled without replacement from the farthest 10% (**Low**), middle 10% (**Medium**), or nearest 10% (**High**). of test-set neighbors. | $K$ | Similarity | Mean cosine | Pearson ↑ | Peak Shift (°) ↓ | $\Delta$FWHM (°) ↓ | Top-1 (%) ↑ | | --: | :--------- | ----------: | --------: | ---------------: | -----------------: | ----------: | | 2 | Low | 0.1439 | 0.9839 | 0.0222 | 1.5880 | 85.94 | | 2 | Medium | 0.2866 | 0.9692 | 0.0272 | 2.4665 | 88.43 | | 2 | High | 0.5208 | 0.9542 | 0.0301 | 2.9770 | 88.39 | | 3 | Low | 0.1508 | 0.9554 | 0.0298 | 2.2315 | 81.95 | | 3 | Medium | 0.2942 | 0.9097 | 0.0395 | 3.8291 | 81.34 | | 3 | High | 0.5221 | 0.8739 | 0.0441 | 4.7655 | 77.33 | | 4 | Low | 0.1535 | 0.9065 | 0.0358 | 2.7895 | 75.42 | | 4 | Medium | 0.3000 | 0.8275 | 0.0494 | 5.2740 | 69.40 | | 4 | High | 0.5233 | 0.7945 | 0.0550 | 6.5606 | 63.45 | The Medium condition closely matches the random benchmark. Increasing similarity from Medium to High lowers Top-1 by 4.01 and 5.95 percentage points for $K=3$ and $K=4$, respectively. Under High similarity, Pearson remains 0.9542, 0.8739, and 0.7945, and Top-1 remains 88.39%, 77.33%, and 63.45% for $K=2,3,4$. The results show a gradual, phase-count-dependent degradation rather than failure under structurally similar mixtures. We thank the reviewer again; these revisions improve the manuscript’s clarity, rigor, and experimental relevance.
Reviewer_vUPNOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
4
Quality
3
Significance
3
Read review
Summary

This paper targets on solving the multiphase powder X-ray diffraction (PXRD) analysis and prediction task, which itself is declared to be one of the highlights of this work as new problem formulation in suggested this area. This work introduces XDecomposer, a query-based decomposition framework which frames multiphase diffraction analysis as a permutation-invariant set prediction problem.

The main contributions of XDecomposer are considered to have three folds: (i) Prior-free. XDecomposer is not relying on prior knowledge, e.g., candidate phase lists, structural templates, or the number of constituent phases. (ii) As a variation of the blind source separation (BSS) problem, XDecomposer majorly employs Locality-aware encoder (CNN architecture) and Transformer architecture for inference of an unordered set of phase components, their mixture proportions, and structural representations. (iii) Extensive experiments on both simulated and real-world experimental datasets demonstrate that the model achieves highly accurate source separation while preserving physics-aware constraints.

Strengths and weaknesses

(i) Quality: The architectural design of XDecomposer is methodologically rigorous. It linked and formulated the multiphase PXRD analysis task as a variation of single channel blind source separation problem, which design consideration referring prior models like Deep Sets, Set Transformer, and DETR models. The inclusion of a physically constrained loss function design ensures the separated spectra maintain crystallographic fidelity.

(ii) Significance: However, the main model comparison results (Table 1) set baseline models as traditional domain methods, or sequential models (as less design complexity), which will trigger some concerns regarding if this use-inspired contribution of this paper is significant enough, as there are no other prior works have been reported in this task series, given this task itself is newly defined.

(iii) Clarity: The manuscript is generally well-structured. The transition from the physical problem of multiphase diffraction to the mathematical formulation of set prediction is articulated clearly.

(iv) Originality: High originality. This work conceptualized multiphase PXRD analysis as a permutation-invariant set prediction problem, which bridges between computer vision and materials informatics.

Questions

(i): How does XDecomposer behave when confronted with a mixture containing a completely novel crystalline phase that does not share structural motifs with the training distribution?

(ii): Could you provide a quantitative analysis demonstrating how the reconstruction and identification accuracy decays as the true phase proportion approaches very low values, as counted by Equation 32 for the trace impurities, and minor unidentified components.

(iii): About the extension of discussion regarding the limitation part, what is the significance of the results of XDecomposer (i.e., the separated phases) to be used for the actual inverse design of the crystal structures? Would additional modules (existed modules or new modules) to be easily add into XDecomposer to form a comprehensive workflow?

Limitations

Yes.

Paper formatting concerns

No major paper formatting concerns.

Final justification

I generally agree that the primary contribution of this paper focuses on the mixture decomposition prediction stage. Accordingly, I raised my score for the Significance criterion.

Overall, I maintained my rating of 4 for this paper.

1 comment

We thank Reviewer vUPN for the constructive comments and suggestions, which have greatly improved the quality of our manuscript. In the revised manuscript, we have clarified that XDecomposer is specifically designed for In-library multiphase PXRD decomposition and have further highlighted its role as a modular component that can be readily integrated into existing crystal structure discovery and inverse materials design workflows. In addition, we have included new experiments to systematically investigate the influence of extremely low phase fractions, evaluating how reconstruction and identification performance degrades as the true phase proportion approaches very small values.

S1: Concerns about the contribution's significance since this newly defined task

Thank you for the comment. Phase identification has long been a challenging problem in science, and multiphase identification still lacks a universal solution. Traditional approaches mainly rely on similarity matching, which works well for single-phase identification but becomes ineffective for multiphase systems and often requires human intervention and tuning.

With the development of machine learning, single-phase identification has advanced from statistical models (e.g., random forests and SVMs) to deep learning frameworks over the past decade. In contrast, multiphase identification remains largely unexplored. Existing approaches typically formulate the problem as multi-label classification or regression with fixed candidate phase sets, or rely on sequential identification and subtraction strategies. To the best of our knowledge, this work is the first to achieve prior-free decomposition of multiphase diffraction patterns directly from mixtures.

Q1: When confronted with a mixture containing a previously unseen crystalline phase

Thank you for this important comment. Addressing this challenge requires solving two sequential stages:

  1. Mixture decomposition. The diffraction pattern of a multiphase mixture must first be accurately decomposed to isolate the diffraction signal corresponding to the unknown phase. This is the problem addressed by XDecomposer.

  2. Novel crystal structure determination. The isolated diffraction pattern must then be mapped to a previously unseen three-dimensional crystal structure. This remains an open research challenge and currently relies heavily on generative crystal structure prediction approaches. Although recent generative models have shown promising advances, cases where a truly novel structure is predicted from diffraction data alone and subsequently validated through experimental synthesis remain extremely limited.

Therefore, the scope of XDecomposer is intentionally focused on the first stage: robust decomposition of multiphase diffraction patterns. Our out-of-distribution (OOD) experiments demonstrate that XDecomposer maintains strong performance on previously unseen crystal structures, indicating its ability to generalize beyond the training distribution.

For the second stage, if the corresponding crystal structure has already been reported (In-library), the decomposed pattern can be assigned to a known structure through similarity-based searching or database matching. However, for completely unknown structures (Out-of-library) that have never been observed or recorded, our current framework does not aim to perform de novo crystal structure generation directly from decomposed diffraction patterns. This remains an important but separate research direction that requires integration with advanced generative crystal structure prediction methods.

We have reemphasized this key distinction in the revised manuscript. Thank you again for pointing out this important issue.

Q2: How the reconstruction and identification accuracy decays as the true phase proportion approaches very low values.

Thank you for this comment. We have added additional experiments to systematically investigate this issue. Specifically, we evaluated Materials Project mixtures with K = 2, 3, and 4 phases while reducing the minimum phase proportion from 0.15 to 0.05.

The results show a clear monotonic degradation in performance as the minimum phase proportion decreases. From 0.15 to 0.05, the Pearson correlation decreases by 1.4%, 4.1%, and 6.8%, while the Top-1 identification accuracy decreases by 2.03%, 6.02%, and 8.24% for K = 2, 3, and 4, respectively. The degradation becomes more pronounced as the number of constituent phases increases.

These results are expected from a physical perspective. As the proportion of a phase decreases, its diffraction peaks become progressively weaker and are more easily obscured by stronger peaks from other phases, background noise, and experimental uncertainties, making accurate decomposition increasingly difficult. In practical XRD analysis, phases with abundances below approximately 5 wt% are often regarded as minor impurity phases.

We have added these experiments and corresponding discussion to the revised manuscript. The Table is copied here:

KMinimum weightPearson ↑Peak Shift (°) ↓ΔFWHM (°) ↓Top-1 (%) ↑Top-10 (%) ↑
20.150.96910.02722.433087.9292.50
20.100.96440.02602.356087.7992.10
20.050.95530.02452.218685.8990.38
30.150.91010.03893.783681.1386.81
30.100.89710.03693.587978.6984.53
30.050.87270.03433.314175.1180.85
40.150.83220.04805.241069.6876.21
40.100.81070.04574.814766.1972.34
40.050.77550.04224.366861.4467.32

Q3: What is the significance of the results of XDecomposer to be used for the actual inverse design? Would additional modules to be easily add into XDecomposer?

Thank you for this insightful suggestion.

We have expanded the discussion in the revised manuscript to better highlight the role of XDecomposer in inverse materials discovery.

Multiphase samples are ubiquitous in materials synthesis and represent one of the major challenges in inverse materials design. XDecomposer is specifically designed to address this problem by converting a multiphase PXRD pattern into phase-resolved diffraction patterns. These outputs can then be directly used for structure identification when the phase exists in a crystal database, or for structure generation when the phase is previously unseen. Although generating truly novel crystal structures that are subsequently validated by experimental synthesis remains a significant open challenge.

A typical modular workflow enabled by XDecomposer is:

  1. Decompose the mixture into individual phase-resolved PXRD patterns and estimate their phase proportions.
  2. Retrieve known crystal structures from a database or generate candidate structures for previously unseen phases.
  3. Validate the predicted structures using Rietveld refinement and, ultimately, experimental synthesis and characterization.

Because the outputs of XDecomposer are standardized one-dimensional PXRD patterns, the framework is naturally modular. Existing identification, crystal structure prediction, refinement, and property prediction models can be integrated with only lightweight preprocessing (e.g., interpolation and normalization). The resulting crystal structures can then be incorporated into downstream workflows, including inverse materials optimization, autonomous discovery pipelines, and experimental validation.

We have clarified this modular workflow and its significance in the revised manuscript. We thank the reviewer again for this valuable suggestion.

Comments on the paper

1 comment
Meta-review

The manuscript presents XDecomposer, a method for decomposing multiphase XRD patterns into individual crystalline phases. The problem is important, and the proposed framework is technically interesting and potentially useful for automated phase analysis. Overall, I am positive about the work, but several important issues need to be clarified or strengthened during the rebuttal stage before a final acceptance decision can be made. First, the authors should better characterize the behavior of inactive slots. In particular, it is important to examine whether inactive slots still produce clear peak-like signals. If obvious peaks remain in inactive slots, the authors should explain whether these slots correspond to background, noise, residual unexplained signals, or possible extra phases. Second, the robustness of the model should be more thoroughly evaluated. The authors should report test results under different 2θ input ranges to clarify whether the model relies too strongly on specific peak regions. In addition, since the predicted number of phases depends on the slot-activity threshold, the authors should report how performance changes under different thresholds and justify the chosen threshold. Third, the architecture and training pipeline are relatively complex, and additional ablations are needed. The authors should clarify the contribution of self-supervised pretraining, individual loss terms, and the chosen loss weights. These results would help determine whether all components of the proposed framework are necessary. Fourth, the evaluation should more clearly assess whether the correct number of phases is predicted. The current metrics do not seem to fully capture this aspect. The authors should also analyze performance for low-abundance phases or trace impurities, where phase identification is especially challenging. Finally, the limitations should be discussed more explicitly. These include the possibility of multiple valid decompositions for the same multiphase pattern, the use of uniformly sampled synthetic mixtures rather than chemically or thermodynamically constrained mixtures, and the model’s behavior when encountering completely novel crystalline phases outside the training distribution. The authors should also clarify how the decomposed phases could support downstream inverse design or be integrated into a broader materials discovery workflow.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.