Microstructure synthesis using style-based generative adversarial network

Daria Fokina, Ekaterina A. Muravleva, George V. Ovchinnikov, Ivan V. OseledetsarXiv 2019 · DOI

Abstract

Understanding material microstructures is critical for predicting physical properties, yet traditional modeling often fails to capture the inherent randomness of real-world materials. This study adapts the StyleGAN architecture to synthesize high-fidelity 2D microstructures of aluminum foam and sandstone. By leveraging progressive growing and Adaptive Instance Normalization (AdaIN), the model captures hierarchical structural features. To overcome the fixed-resolution constraints of GANs, an image quilting technique is employed to generate large-scale representative volume elements. Evaluation against physical benchmarks—including Young’s modulus and Minkowski functionals—demonstrates that the synthetic samples accurately replicate the mechanical and morphological characteristics of the original materials.

Introduction

In material science, the "microstructure"—the small-scale arrangement of phases and defects—governs macro-scale behavior, such as stress response or fluid permeability. Traditionally, researchers relied on Periodic Unit Cells (PUC) for modeling. However, real materials are frequently stochastic and heterogeneous, making perfectly repeating patterns insufficient for accurate simulation.

Generative Adversarial Networks (GANs) offer a path toward creating realistic synthetic data, but they face two primary challenges in this domain:

  1. Representativeness: Synthetic images must not only look realistic but also preserve the underlying physical properties (e.g., elasticity, porosity).
  2. Fixed Resolution: Standard GANs typically output fixed-size images (e.g., 128x128), whereas scientific simulations often require much larger "Representative Volume Elements" (RVEs).

Methodology

The researchers utilized the StyleGAN architecture, known for its ability to control image features at various scales through a mapping network and Adaptive Instance Normalization (AdaIN).

The StyleGAN generator architecture, showing the sequence of constant and upsampling blocks controlled by the mapping network.

Key Technical Components

  • Progressive Growing: The network is trained starting at low resolutions (e.g., 8x8), with layers added incrementally. This allows the model to learn global topology before refining fine-grained details.
  • WGAN-GP: The Wasserstein GAN with Gradient Penalty was implemented to stabilize training and mitigate mode collapse.
  • Image Quilting: To generate large-scale samples beyond the GAN's native output size, multiple patches are merged using an algorithm that identifies optimal seams, minimizing structural artifacts at boundaries.

Datasets and Evaluation

The study focused on two distinct microstructure types:

  1. Alporas Aluminum Foam: Gray-scale images of porous metal foam, processed into 16,000 training samples.
  2. Digital Rock (Berea Sandstone and Ketton Limestone): 3D micro-CT datasets from which 10,000 2D slices were extracted for training.

Validation went beyond visual inspection. The team calculated Young’s modulus (stiffness), Poisson’s ratio, and Minkowski functionals (Area, Perimeter, and Euler characteristic) to ensure the synthetic samples were physically equivalent to the originals.

Results and Discussion

The StyleGAN approach demonstrated superior performance compared to previous benchmarks like the Porous Media GAN.

Comparison between original and StyleGAN-synthesized microstructures for (a) aluminum foam, (b) a secondary texture, and (c) binary sandstone slices.

Mechanical and Morphological Accuracy

For Alporas foam, the original material's Young’s modulus ($E$) was $0.0998 \pm 0.0067$, while the StyleGAN-synthesized samples reached $0.1002 \pm 0.0122$. This indicates a high level of mechanical fidelity. Morphologically, StyleGAN matched the area density of Berea sandstone almost perfectly (0.8174 vs. 0.7810), significantly outperforming earlier architectures that struggled with connectivity.

The "style" mechanism proved essential for capturing the hierarchical nature of these materials—from large-scale pores to minute grain boundaries. Furthermore, progressive growing was found to be critical for capturing the statistical variance inherent in real-world data.

Conclusion

This work demonstrates that StyleGAN, combined with image quilting, is a powerful tool for generating large-scale, physically accurate material microstructures. While challenges remain in automating post-processing (e.g., thresholding) and minimizing minor quilting artifacts, the success in 2D paves the way for 3D volumetric synthesis—a potential "holy grail" for digital rock physics and porous media research.

Summary updated

BibTeX
@misc{fokina2019microstructure,
  author = {Daria Fokina and Ekaterina A. Muravleva and George V. Ovchinnikov and Ivan V. Oseledets},
  title = {{Microstructure synthesis using style-based generative adversarial network}},
  year = {2019},
  eprint = {1909.07042},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1909.07042},
}
Figure