Abstract
The research and development cycle of advanced manufacturing processes traditionally requires a large investment of time and resources. Experiments can be expensive and are hence conducted on relatively small scales. This poses problems for typically data-hungry machine learning tools which could otherwise expedite the development cycle. We build upon prior work by applying conditional generative adversarial networks (GANs) to scanning electron microscope (SEM) imagery from an emerging advanced manufacturing process, shear-assisted processing and extrusion (ShAPE). We generate realistic images conditioned on temper and either experimental parameters or material properties. In doing so, we are able to integrate machine learning into the development cycle, by allowing a user to immediately visualize the microstructure that would arise from particular process parameters or properties. This work forms a technical backbone for a fundamentally new approach for understanding manufacturing processes in the absence of first-principle models. By characterizing microstructure from a topological perspective, we are able to evaluate our models’ ability to capture the breadth and diversity of experimental scanning electron microscope (SEM) samples. Our method is successful in capturing the visual and general microstructural features arising from the considered process, with analysis highlighting directions to further improve the topological realism of our synthetic imagery.
Introduction
In advanced manufacturing, the "trial and error" phase remains a significant bottleneck. Emerging techniques like Shear-Assisted Processing and Extrusion (ShAPE) produce materials with unique properties, but understanding the relationship between process inputs (like feed rate) and resulting microstructures (like precipitate distribution) typically requires expensive, time-consuming experiments.
While machine learning (ML) offers a path to accelerate this cycle, standard deep learning models are notoriously data-hungry. In specialized manufacturing, researchers often work with sparse datasets—sometimes only a few dozen experimental samples. This research addresses this challenge by developing a conditional generative adversarial network (GAN) capable of synthesizing high-fidelity, physically meaningful SEM imagery from limited real-world data.
Methods
The authors employed an Auxiliary Classifier Wasserstein GAN with Gradient Penalty (ACWGAN-GP). The architecture consists of a generator that creates synthetic SEM "chips" and a critic (discriminator) that evaluates them for realism while classifying them based on metadata.
To overcome the limitations of sparse data, the researchers used two key strategies:
- Binned Conditioning: Continuous values, such as feed rate and ultimate tensile strength (UTS), were discretized into "low," "mid," and "hi" categorical bins. This prevents overfitting and allows the model to learn general trends rather than specific noise in the regression data.
- Data Augmentation: 32 high-resolution SEM images of AA7075 aluminum alloy were cropped into 128×128 pixel chips, resulting in a training set of approximately 437,000 images.
Beyond visual inspection, the team utilized Persistent Homology from Topological Data Analysis (TDA). By generating "Persistence Images," they could mathematically quantify the number and distribution of precipitates, ensuring the GAN captured structural logic rather than just surface-level textures.
Key Results
The synthetic images proved to be visually plausible, successfully mimicking the appearance of light intermetallic precipitates against a dark aluminum matrix. For T5 microstructures, the variation in mean area fraction (precipitate density) between synthetic and real images was less than 10%.
However, the model encountered a "T6 challenge." T6 tempered samples feature a dense blanket of tiny precipitates. The GAN tended to simplify this into a uniform background of noise, failing to capture the subtle diversity found in experimental samples. PCA analysis of topological features confirmed that while the synthetic and real data distributions share a general shape in feature space, they remain topologically distinct.
Discussion and Future Work
While the GAN achieves high visual realism, it has not yet fully mastered the underlying spatial "logic" of precipitate formation. The synthetic images currently reside in an "uncanny valley" where they look real to the eye but possess different topological signatures than physical samples.
Future research will focus on:
- Topological Regularization: Incorporating TDA-based loss functions directly into training to enforce physical constraints on precipitate distribution.
- Denoising: Cleaning experimental backgrounds to help the model focus on scientifically salient features.
- Advanced Augmentation: Implementing differentiable data augmentation to further improve learning efficiency from small experimental batches.
Summary updated