arXiv:2610.33310cond-mat.mtrl-sciOct 2026

Manuscript Offprint

arXiv:2610.33310

Exploring Joint-Embedding Predictive Architectures for Self-Supervised Representation Learning of Powder X-ray Diffraction Patterns

Ming-Chiang Chang, Brian DeCost

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Powder X-ray diffraction (XRD) is the primary high-throughput method for resolving crystal structures, a cornerstone of materials science. As high-throughput synthesis and self-driving laboratories advance, automated XRD pattern analysis has become vital for accelerating materials discovery. However, traditional matrix factorization methods fail when lattice variations cause non-linear peak shifts. At the same time, supervised learning approaches face a combinatorial explosion when handling multi-phase mixtures. To overcome these challenges, we adopt a self-supervised Joint Embedding Predictive Architecture (JEPA) to learn representation embeddings from 1D diffraction patterns. By optimizing a masked self-prediction loss directly within the latent space, the framework captures high-level crystallographic semantics. Downstream evaluations show that lightweight attentive probes trained on frozen JEPA representations achieve space group classification and lattice parameter estimation accuracy close to much larger supervised vision transformers. Furthermore, latent probing reveals that the learned representation space naturally organizes physical transformations, isolating smooth trajectories for peak broadening. Interestingly, decoding along latent paths between single-phase crystal representations yields realistic multi-phase mixture patterns, demonstrating an emergent continuous structure learned without explicit multi-phase supervision.

Introduction

New and better materials have been the driving force for the advancement and prosperity of societies. The emergence of self-driving laboratories represents the next major catalyst in accelerating materials discovery and development (Szymanski et al. 2023; Kusne et al. 2020; Chang et al. 2026). Still, key technical hurdles remain before these facilities can truly achieve autonomy and the speedup they wish to accomplish. Chief among them is X-ray diffraction (XRD) analysis. While XRD is the primary method for resolving crystalline structures, yielding rich insights into grain size, microstrain, and secondary phases, interpreting these patterns programmatically remains remarkably challenging (Cullity and Smoluchowski 1957). As illustrated in Figure 1, an XRD pattern consists of discrete peaks whose positions reflect interplanar lattice spacings and whose intensities correspond to atomic species and arrangements within the unit cell. However, automated analysis is complicated by the nonlinear shift in peak positions caused by linear lattice variations, as well as the challenge of deconvoluting multi-phase mixture spectra. The former precludes the direct application of standard matrix factorization techniques like nonnegative matrix factorization (NMF) (Lee and Seung 1999), while the latter creates a combinatorial explosion of phase combinations that severely complicates supervised learning. As most previous work approaches the XRD analysis problem with supervised learning on specific prediction tasks (Oviedo et al. 2019; Lee et al. 2020; Szymanski et al. 2021), self-supervised representation learning of XRD patterns is underexplored.

Recently, joint embedding predictive architecture (JEPA) was proposed for self-supervised representation learning, achieving this by predicting masked regions with provided context within a learned latent space (Assran et al. 2023; LeCun et al. 2022). Supervision based on latent space predictions forces JEPA to capture high-level semantic representations rather than low-level pixel details, reducing computational overhead and enabling higher-level reasoning. Followup works extend this concept to deal with videos and develop a world model for robotic controls and planning (Assran et al. 2025; Maes et al. 2026). Other than computer vision and robotics, JEPA has also been widely adapted to serve other purposes, such as audio (Fei, Fan, and Huang 2023), genomics (Larey et al. 2026).

Applying self-supervised representation learning, and JEPA in particular, to XRD analysis is uniquely compelling. Traditional generative or reconstructive self-supervised models, such as Masked Autoencoders (MAE), force the network to reconstruct exact 1D intensity profiles, causing the model to overfit to background noise or minor peak displacements (He et al. 2022; Subramanian et al. 2025). Conversely, contrastive learning forces discrete clustering via negative pairs, creating sharp latent boundaries rather than a smooth, continuous representation space. (LeCun et al. 2022; Wang and Isola 2020). JEPA circumvents these limitations: by performing predictions purely in the latent space, it enables the model to learn invariant crystallographic features across continuous lattice shifts and complex peak overlaps with

∗^{*}Corresponding author.

†^{\dagger}0000-0003-1880-6654

∗^{*}0000-0002-3459-5888

Figure

Figure 1: Schematic of the JEPA model architecture trained on XRD patterns, illustrating the context encoder, predictor, and target encoder pipelines.

out needing expensive pixel-level reconstructions or artificial augmentations.

In this work, we demonstrate the application of a self-supervised JEPA model to build an information-rich representation space for XRD patterns. We show that the self-supervised pre-training trajectory is highly stable, with downstream performance scaling consistently as representation learning progresses. Leveraging the learned JEPA representations, lightweight probe networks achieve high accuracy in downstream crystallographic tasks, such as space group classification and lattice parameter estimation, comparable to much larger ResNet (He et al. 2016) and vision transformer (ViT) (Dosovitskiy et al. 2020) models, while drastically reducing computational costs and data requirements relative to fully supervised models. JEPA also demonstrates superior performance compared to MAE, which we attribute to its latent-space prediction strategy that avoids expending model capacity on reconstructing low-level pixel noise. Furthermore, vector arithmetic within the latent space reveals semantically meaningful directions that map directly to continuous peak broadening variations. Finally, we observe that interpolating between latent representations of different crystal structures produces valid mixture XRD patterns upon decoding, demonstrating an emergent capability not explicitly included in the training data. Ultimately, this work establishes JEPA as a powerful foundational paradigm for XRD analysis, bridging the gap toward fully autonomous materials characterization in next-generation self-driving laboratories.

References (26)