The three-dimensional (3D) microstructures of polycrystalline materials exert a critical influence on their mechanical and physical properties. Realistic, controllable construction of these microstructures is a key step toward elucidating structure-property relationships, yet remains a formidable challenge. Herein, we propose PolyCrysDiff, a framework based on conditional latent diffusion that enables the end-to-end generation of computable 3D polycrystalline microstructures. Comprehensive qualitative and quantitative evaluations demonstrate that PolyCrysDiff faithfully reproduces target grain morphologies, orientation distributions, and 3D spatial correlations, while achieving an R2 over 0.972 on grain attributes (e.g., size and sphericity) control, thereby outperforming mainstream approaches such as Markov random field (MRF)- and convolutional neural network (CNN)-based methods. The computability and physical validity of the generated microstructures are verified through a series of crystal plasticity finite element method (CPFEM) simulations. Leveraging PolyCrysDiff's controllable generative capability, we systematically elucidate how grain-level microstructural characteristics affect the mechanical properties of polycrystalline materials. This development is expected to pave a key step toward accelerated, data-driven optimization and design of polycrystalline materials.
Figures & tables
Figure 1: Model architecture of the proposed PolyCrysDiff framework. The blue blocks represent the encoder–decoder components of the 3D variational autoencoder (VAE). The green blocks denote the conditional generation module.
Figure 2: Qualitative and quantitative evaluation of the proposed PolyCrysDiff model for unconditioned polycrystalline microstructure generation (a) 3D view and orthogonal slices of a reference polycrystalline microstructure from the training dataset. (b) 3D view and slices of an unconditionally generated microstructure with a comparable grain count to (a). (c)-(e) Distributions of grain size, aspect ratio, and sphericity for generated and reference structures. (f) Distribution of VGG perceptual similarity scores for 2D slices sampled from generated and reference 3D microstructures.(g) Range and mean of the two-point correlation function ( S2 ) for both datasets. (h) Cumulative distribution functions of RGB channels representing crystallographic orientation.
Metric
Grain size
Aspect ratio
Sphericity
VGG score
KS
0.0662
0.0858
0.0357
0.0280
EMD
0.0155
0.0176
0.0051
0.0085
Table 1: Statistical comparison between generated and reference microstructures.
Figure 3: Qualitative and quantitative evaluation of the proposed PolyCrysDiff model for conditioned polycrystalline microstructure generation. (a) Microstructures generated under mean grain size conditions of 437, 262, 187, and 146 µm 3 , v stands for mean grain size(µm 3 ) and n stands for total grain number. (b) Correlation between target and generated grain numbers. (c) Distribution of generated grain numbers for six samples per condition, demonstrating stability and repeatability. (d) Microstructures generated under mean sphericity conditions of 0.725, 0.75, 0.775, and 0.800, s stands for grain sphericity. (e) Correlation between target and generated sphericity values for grain mean sphericity. (f) Variability of generated sphericity across repeated samples for each condition.
Figure 4: (a) Microstructure generated by the proposed PolyCrysDiff model, showing clear grain morphology, sharp grain boundaries, and consistent orientation distribution. (b) Microstructure generated by the MRF model, having indistinguishable grains and unrealistic structures. (c) Microstructure generated by the SolidTexture model, which fails to reconstruct coherent 3D grain structures and exhibits missing orientations.
Figure 5: (a) Workflow of the proposed end-to-end framework based on PolyCrysDiff. User-defined condition inputs are given to PolyCrysDiff and structures satisfying these inputs are generated. Structures can be easily meshed and then CPFEM simulation is applied. (b) Stress–strain curves from CPFEM simulations of 50 PolyCrysDiff-generated structures conditioned on a grain count of 125. (c) Stress–strain curves from CPFEM simulations of 50 PolyCrysDiff-generated structures conditioned on a grain count of 250. (d) Histogram of the tensile strength distribution for results in (b) and (c). Grain count are represented in mean grain size. (e) PDFs of the CPFEM-predicted tensile strength.
Figure 6: Polycrystalline material structure analysis process.
Designing 3D metamaterial microstructures that meet the intended functions remains a major challenge, as it typically requires domain expertise, iterative simulations, and extensive manual tuning. Existing work on inverse design that automatically generates microstructures based on desired target properties often suffers from limited design diversity and faces challenges in ensuring the physical feasibility of the generated structures. To address this issue, a property-informed diffusion-based network is proposed that enables the generation of 3D microstructures directly from textual descriptions. Unlike traditional property conditioning methods, our approach leverages rich guidance in terms of semantics and physical properties in the text input to support diverse structure synthesis. To enforce consistency between the generated structures and the target textual prompts, a dual alignment strategy is adopted, including contrastive text-structure alignment and test-time reward-guided alignment. Experimental results show that the model is capable of generating semantically meaningful and physically plausible structures across a wide range of material categories. Our approach has good potential for interactive microstructure design and opens up new directions for combining language-based interfaces with inverse material discovery. Code is available at: https://github.com/hongsong-wang/PropDiff-TMG
Bingxuan Dai, Hongsong Wang, Jie Gui
School of Cyber Science and Engineering, Southeast University, Nanjing 210096, China · School of Computer Science and Engineering, Southeast University, Nanjing 210096, China · Key Laboratory of New Generation Artificial Intelligence Technology and Its Interdisciplinary Applications (Southeast University), Ministry of Education, China +2
De novo crystal generation, a central task in materials discovery, aims to generate crystals that are simultaneously valid, stable, unique, and novel. Existing methods mainly rely on black-box stochastic sampling, providing limited control over how generated structures move beyond the observed distribution. In this paper, we introduce a concept-based compositional framework for crystal generation. We train a vector-quantized variational autoencoder to automatically discover a shared set of reusable crystal concepts, which serve as building blocks for guided generation. These learned concepts naturally exhibit interpretability from both local atomic environments and global symmetry patterns, and generalize to crystals from different distributions. By recombining such concepts, our framework enables controllable exploration of novel crystals beyond the training distribution, rather than relying solely on unconstrained random sampling. To further improve composition efficiency, we introduce a composition generator and iteratively refine it using high-quality samples generated by the model itself. The resulting concept compositions are then used to condition downstream crystal generation. Numerical experiments on MP-20 and Alex-MP-20 show that compositing concepts separately increase base model up to 53.2% and 51.7% on V.S.U.N metric, with particular gains in novelty.
Nian Liu, Yuwei Zeng, Ryoji Kubo +7
National University of Singapore · Loyola Marymount University
Acquiring realistic microstructure data through Electron Backscatter Diffraction (EBSD) is costly and time consuming, often relying on specialised equipment. As microstructures strongly influence material properties, generating realistic samples is essential for modelling the behaviour of polycrystalline materials. We introduce a generative model for synthesising realistic polycrystalline microstructures using flow matching and graph neural networks. By representing microstructures as anisotropic power diagrams, our model learns a compact geometric parametrisation and can render generated samples at arbitrary pixel resolution. A C4-equivariant architecture incorporates rotational symmetry directly into the model, ensuring that rotations of the input noise produce corresponding rotations of the generated microstructure. We also demonstrate how training-free guidance can be used to generate complex microstructures, based on user defined objective function. In particular, we generate microstructures resembling a copper weld, cast metal slab, 3D-printed stainless steel and heterogeneous lamella titanium.
Dawid Lipinski, Jixiang Qing, Henry Moss
School of Mathematical Sciences Lancaster University Lancaster, LA1 4YF, United Kingdom