Harnessing Interpretable and Unsupervised Machine Learning to Address Big Data from Modern X-ray Diffraction

Eun-Ah Kim, Jordan Venderley, Michael Matty, Krishnanand Mallayya, Matthew Krogstad, Jacob Ruff, Geoff Pleiss, Varsha Kishore, David Mandrus, Daniel Phelan, L. Poudel, Andrew Gordon Wilson, Kilian Q. Weinberger, Puspa Upreti, M. R. Norman, Stephan Rosenkranz, R. OsbornResearch Square 2021

Abstract

The information content of crystalline materials becomes astronomical when collective electronic behavior and their fluctuations are taken into account. In the past decade, improvements in source brightness and detector technology at modern x-ray facilities have allowed a dramatically increased fraction of this information to be captured. Now, the primary challenge is to understand and discover scientific principles from big data sets when a comprehensive analysis is beyond human reach. We report the development of a novel unsupervised machine learning approach, XRD Temperature Clustering (X-TEC), that can automatically extract charge density wave (CDW) order parameters and detect intra-unit cell (IUC) ordering and its fluctuations from a series of high-volume X-ray diffraction (XRD) measurements taken at multiple temperatures. We apply X-TEC to XRD data on a quasi-skutterudite family of materials, (CaxSr1-x)3Rh4Sn13, where a quantum critical point arising from charge order is observed as a function of Ca concentration. We further apply X-TEC to XRD data on the pyrochlore metal, Cd2Re2O7, to investigate its two much debated structural phase transitions and uncover the Goldstone mode accompanying them. We demonstrate how unprecedented atomic scale knowledge can be gained when human researchers connect the X-TEC results to physical principles. Specifically, we extract from the X-TEC-revealed selection rule that the Cd and Re displacements are approximately equal in amplitude, but out of phase. This discovery reveals a previously unknown involvement of 5d2 34 Re, supporting the idea of an electronic origin to the structural order. Our approach can radically transform XRD experiments by allowing in-operando data analysis and enabling researchers to refine experiments by discovering interesting regions of phase space on-the-fly.

Introduction: The Big Data Bottleneck in Crystallography

X-ray diffraction (XRD) remains the definitive technique for mapping the atomic architecture of matter. However, the field is currently facing a "crisis of success." Modern synchrotron facilities, equipped with high-speed detectors, now generate hundreds of gigabytes to terabytes of data in a single session. This deluge of information has created a significant bottleneck: while we can capture the data, we struggle to analyze it comprehensively.

Traditional analysis often relies on human intuition to select specific "Bragg peaks" for study. This approach is inherently biased and frequently overlooks the subtle, diffuse scattering between peaks where the most interesting physics—such as Charge Density Waves (CDW) or hidden electronic orders—resides. To bridge this gap, we developed X-TEC (XRD Temperature Clustering), an unsupervised machine learning pipeline designed to sift through massive datasets and extract physical insights without prior human bias.

The X-TEC Methodology

X-TEC leverages Gaussian Mixture Models (GMM) to perform unsupervised clustering on reciprocal space data. The core innovation of the pipeline is its focus on "temperature trajectories." Rather than analyzing static diffraction patterns, X-TEC examines how the intensity at every point in momentum space evolves as a function of temperature.

The pipeline incorporates several key features:

  1. Trajectory Clustering: Points that exhibit similar thermal behavior (e.g., intensity "turning on" at a specific transition temperature) are grouped together.
  2. Label Smoothing: By enforcing local smoothness—a technique adapted from computer vision—the algorithm ensures that adjacent points in momentum space are likely to belong to the same physical cluster, effectively filtering out experimental noise.
  3. Dual Modes: The framework operates in two modes: X-TECs (smoothened) for identifying broad order parameters and X-TECd (detailed) for capturing high-resolution fluctuations.

Experimental Validation and Discovery

The power of X-TEC was demonstrated through its application to two complex material systems.

Mapping Phase Diagrams in Quasi-Skutterudites

In the study of $(Ca_xSr_{1-x})_3Rh_4Sn_{13}$, X-TEC processed approximately 200 GB of data across multiple chemical compositions. Without any prior knowledge of the system's symmetry, the algorithm automatically identified the ordering wavevector and mapped the full quantum phase diagram. It successfully tracked how the CDW transition temperature shifted with chemical "pressure," a task that would typically require weeks of manual peak fitting.

Solving the Structural Mystery of $Cd_2Re_2O_7$

The analysis of the pyrochlore metal $Cd_2Re_2O_7$ involved a massive 8 TB dataset. X-TEC revealed a specific "selection rule" within the clusters that had previously eluded researchers. By analyzing the relative intensities of the clustered peaks, it was determined that Cadmium (Cd) and Rhenium (Re) atoms displace with nearly equal amplitude but in opposite phases. This finding suggests an electronic origin for the structural transition driven by $5d$ orbitals, resolving a long-standing debate in the field. Furthermore, X-TEC successfully identified a structural Goldstone mode—a low-energy fluctuation usually too faint to detect against background noise.

Conclusion and Future Outlook

X-TEC represents a paradigm shift in XRD data analysis, reducing processing time from weeks to minutes. By providing an unbiased, global view of the data, it allows researchers to discover physical phenomena that might otherwise remain hidden.

The ultimate goal for this technology is in-operando analysis. By integrating X-TEC directly into the experimental workflow at synchrotrons, researchers could receive real-time feedback, allowing them to refine their experiments and explore interesting regions of phase space as they are discovered. This transition from "collect now, analyze later" to interactive discovery will be essential for the next generation of high-throughput materials science.

Summary updated

BibTeX
@inproceedings{kim2021harnessing,
  author = {Eun-Ah Kim and Jordan Venderley and Michael Matty and Krishnanand Mallayya and Matthew Krogstad and Jacob Ruff and Geoff Pleiss and Varsha Kishore and David Mandrus and Daniel Phelan and L. Poudel and Andrew Gordon Wilson and Kilian Q. Weinberger and Puspa Upreti and M. R. Norman and Stephan Rosenkranz and R. Osborn},
  title = {{Harnessing Interpretable and Unsupervised Machine Learning to Address Big Data from Modern X-ray Diffraction}},
  booktitle = {Research Square},
  year = {2021},
  doi = {10.21203/rs.3.rs-312345/v1},
}
Figure