CPGAN: A Multi-Input Conditional Generative Adversarial Network for Rapid Prediction of Microstructure and Field Evolution
Abstract
1. Introduction
2. Methods
2.1. Network Architecture
2.2. Network Training
3. Experiments
3.1. Datasets Generation
3.1.1. SLS Datasets
3.1.2. Stress Datasets
3.1.3. Grain Growth Datasets
3.2. Evaluation Metrics
4. Results and Discussion
4.1. Porosity Evolution of SLS
4.2. Stress-Field Prediction
4.3. Grain Growth Results
4.4. Ablation Study and Computational Efficiency
5. Discussion
6. Conclusions
7. Related Work
7.1. Physical SLS Model
7.2. Stress Computation via Finite Element Method (FEM)
7.3. Phase Field Grain Growth Model
Supplementary Materials
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Song, X.; He, L.; Yang, W.; Wang, Z.; Chen, Z.; Guo, J.; Wang, H.; Chen, L. Additive Manufacturing of Bi-Continuous Piezocomposites with Triply Periodic Phase Interfaces for Combined Flexibility and Piezoelectricity. J. Manuf. Sci. Eng. 2019, 141, 111004. [Google Scholar] [CrossRef]
- Song, X.; He, L.; Yang, W.; Wang, Z.; Chen, L. Co-continuous piezocomposites with triply periodic phase interfaces for enhanced mechanical flexibility and piezoelectricity. In International Manufacturing Science and Engineering Conference; American Society of Mechanical Engineers: New York, NY, USA, 2018; Volume 51357, p. V001T01A020. [Google Scholar]
- Yang, W.; Wang, Z.; Yenusah, C.; Liu, Y. An Integrated Model for Prediction of Process-Structure-Property Relationship for Additively Manufactured Al-10Si-Mg Alloy; SAE Technical Paper 0148-7191; SAE International: Warrendale, PA, USA, 2020. [Google Scholar]
- Perkins, A.; Yang, W.; Liu, Y.; Chen, L.; Yenusah, C. Finite Element Analysis of the Effect of Porosity on the Plasticity and Damage Behavior of Mg AZ31 and Al 6061 T651 Alloys. In ASME International Mechanical Engineering Congress and Exposition; American Society of Mechanical Engineers: New York, NY, USA, 2019; Volume 59469, p. V009T11A055. [Google Scholar]
- Cang, R.; Xu, Y.; Chen, S.; Liu, Y.; Jiao, Y.; Ren, M.Y. Microstructure Representation and Reconstruction of Heterogeneous Materials via Deep Belief Network for Computational Material Design. J. Mech. Des. 2017, 139, 071404. [Google Scholar] [CrossRef]
- Yang, Z.; Yabansu, Y.C.; Al-Bahrani, R.; Liao, W.-K.; Choudhary, A.N.; Kalidindi, S.R.; Agrawal, A. Deep learning approaches for mining structure-property linkages in high contrast composites from simulation datasets. Comput. Mater. Sci. 2018, 151, 278–287. [Google Scholar] [CrossRef]
- Wang, J.; Ma, Y.; Zhang, L.; Gao, R.X.; Wu, D. Deep learning for smart manufacturing: Methods and applications. J. Manuf. Syst. 2018, 48, 144–156. [Google Scholar] [CrossRef]
- Razzak, M.I.; Naz, S.; Zaib, A. Deep learning for medical image processing: Overview, challenges and the future. In Classification in BioApps; Springer: Cham, Switzerland, 2018; pp. 323–350. [Google Scholar]
- Nie, Z.; Jiang, H.; Kara, L.B. Stress Field Prediction in Cantilevered Structures Using Convolutional Neural Networks. J. Comput. Inf. Sci. Eng. 2019, 20, 011002. [Google Scholar] [CrossRef]
- Liang, L.; Liu, M.; Martin, C.; Sun, W. A deep learning approach to estimate stress distribution: A fast and accurate surrogate of finite-element analysis. J. R. Soc. Interface 2018, 15, 20170844. [Google Scholar] [CrossRef] [PubMed]
- Khadilkar, A.; Wang, J.; Rai, R. Deep learning–based stress prediction for bottom-up SLA 3D printing process. Int. J. Adv. Manuf. Technol. 2019, 102, 2555–2569. [Google Scholar]
- Wang, Z.; Wang, X.; Yang, W.; Xiao, Y.; Liu, Y.; Chen, L. yNet: A multi-input convolutional network for ultra-fast simulation of field evolvement. arXiv 2020, arXiv:2012.10575. [Google Scholar]
- Park, S.J.; Heogh, W.; Yang, J.; Kang, S.; Jeong, W.; Lee, H.; Jang, T.-S.; Jung, H.-D.; Jahazi, M.; Han, S.C.; et al. Meta-structure of amorphous-inspired 65.1Co28.2Cr5.3Mo lattices augmented by artificial intelligence. Adv. Compos. Hybrid. Mater. 2024, 7, 224. [Google Scholar] [PubMed]
- Mirza, M.; Osindero, S. Conditional generative adversarial nets. arXiv 2014, arXiv:1411.1784. [Google Scholar]
- Reed, S.; Akata, Z.; Yan, X.; Logeswaran, L.; Schiele, B.; Lee, H. Generative adversarial text to image synthesis. arXiv 2016, arXiv:1605.05396. [Google Scholar]
- Zhang, H.; Xu, T.; Li, H.; Zhang, S.; Wang, X.; Huang, X.; Metaxas, D.N. StackGAN++: Realistic Image Synthesis with Stacked Generative Adversarial Networks. IEEE Trans. Pattern Anal. Mach. Intell. 2019, 41, 1947–1962. [Google Scholar] [CrossRef] [PubMed]
- Isola, P.; Zhu, J.-Y.; Zhou, T.; Efros, A.A. Image-to-image translation with conditional adversarial networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2017; pp. 1125–1134. [Google Scholar]
- Zhu, J.-Y.; Park, T.; Isola, P.; Efros, A.A. Unpaired image-to-image translation using cycle-consistent adversarial networks. In Proceedings of the IEEE International Conference on Computer Vision; IEEE: New York, NY, USA, 2017; pp. 2223–2232. [Google Scholar]
- Shaham, T.R.; Dekel, T.; Michaeli, T. SinGAN: Learning a generative model from a single natural image. In Proceedings of the IEEE International Conference on Computer Vision; IEEE: New York, NY, USA, 2019; pp. 4570–4580. [Google Scholar]
- Choi, Y.; Choi, M.; Kim, M.; Ha, J.-W.; Kim, S.; Choo, J. StarGAN: Unified generative adversarial networks for multi-domain image-to-image translation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2018; pp. 8789–8797. [Google Scholar]
- Yi, Z.; Zhang, H.; Tan, P.; Gong, M. DualGAN: Unsupervised dual learning for image-to-image translation. In Proceedings of the IEEE International Conference on Computer Vision; IEEE: New York, NY, USA, 2017; pp. 2849–2857. [Google Scholar]
- Wang, X.; Gupta, A. Generative image modeling using style and structure adversarial networks. In European Conference on Computer Vision; Springer: Cham, Switzerland, 2016; pp. 318–335. [Google Scholar]
- Farimani, A.B.; Gomes, J.; Pande, V.S. Deep learning the physics of transport phenomena. arXiv 2017, arXiv:1709.02432. [Google Scholar]
- Jiang, H.; Nie, Z.; Yeo, R.; Farimani, A.B.; Kara, L.B. StressGAN: A Generative Deep Learning Model for 2D Stress Distribution Prediction. In ASME 2020 International Design Engineering Technical Conferences and Computers and Information in Engineering Conference; American Society of Mechanical Engineers Digital Collection: New York, NY, USA, 2020. [Google Scholar]
- Li, Z.; Kovachki, N.; Azizzadenesheli, K.; Liu, B.; Bhattacharya, K.; Stuart, A.; Anandkumar, A. Fourier neural operator for parametric partial differential equations. arXiv 2020, arXiv:2010.08895. [Google Scholar]
- Lu, L.; Jin, P.; Pang, G.; Zhang, Z.; Karniadakis, G.E. Learning nonlinear operators via DeepONet based on the universal approximation theorem of operators. Nat. Mach. Intell. 2021, 3, 218–229. [Google Scholar] [CrossRef]
- Ronneberger, O.; Fischer, P.; Brox, T. U-Net: Convolutional networks for biomedical image segmentation. In International Conference on Medical Image Computing and Computer-Assisted Intervention; Springer: Cham, Switzerland, 2015; pp. 234–241. [Google Scholar]
- Yuan, Z.; Jiang, Y.; Li, J.; Huang, H. Hybrid-DNNs: Hybrid Deep Neural Networks for Mixed Inputs. arXiv 2020, arXiv:2005.08419. [Google Scholar]
- Hendricks, L.A.; Venugopalan, S.; Rohrbach, M.; Mooney, R.; Saenko, K.; Darrell, T. Deep compositional captioning: Describing novel object categories without paired training data. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2016; pp. 1–10. [Google Scholar]
- Noh, H.; Hong, S.; Han, B. Learning deconvolution network for semantic segmentation. In Proceedings of the IEEE International Conference on Computer Vision; IEEE: New York, NY, USA, 2015; pp. 1520–1528. [Google Scholar]
- Badrinarayanan, V.; Kendall, A.; Cipolla, R. Segnet: A deep convolutional encoder-decoder architecture for image segmentation. IEEE Trans. Pattern Anal. Mach. Intell. 2017, 39, 2481–2495. [Google Scholar] [CrossRef] [PubMed]
- Hu, J.; Shen, L.; Sun, G. Squeeze-and-excitation networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2018; pp. 7132–7141. [Google Scholar]
- Kingma, D.P.; Ba, J. Adam: A method for stochastic optimization. arXiv 2014, arXiv:1412.6980. [Google Scholar]
- Pathak, D.; Krahenbuhl, P.; Donahue, J.; Darrell, T.; Efros, A.A. Context encoders: Feature learning by inpainting. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2016; pp. 2536–2544. [Google Scholar]
- Mao, X.; Li, Q.; Xie, H.; Lau, R.Y.; Wang, Z.; Smolley, S.P. Least squares generative adversarial networks. In Proceedings of the IEEE International Conference on Computer Vision; IEEE: New York, NY, USA, 2017; pp. 2794–2802. [Google Scholar]
- Helton, J.C.; Davis, F.J. Latin hypercube sampling and the propagation of uncertainty in analyses of complex systems. Reliab. Eng. Syst. Saf. 2003, 81, 23–69. [Google Scholar] [CrossRef]
- Niezgoda, S.R.; Yabansu, Y.C.; Kalidindi, S.R. Understanding and visualizing microstructure and microstructure variance as a stochastic process. Acta Mater. 2011, 59, 6387–6400. [Google Scholar] [CrossRef]
- Gayon-Lombardo, A.; Mosser, L.; Brandon, N.P.; Cooper, S.J. Stochastic reconstruction of periodic, three-dimensional multi-phase electrode microstructures using generative adversarial networks. arXiv 2020, arXiv:2003.11632. [Google Scholar]
- Bostanabad, R.; Bui, A.T.; Xie, W.; Apley, D.W.; Chen, W. Stochastic microstructure characterization and reconstruction via supervised learning. Acta Mater. 2016, 103, 89–102. [Google Scholar] [CrossRef]
- Brough, D.B.; Kannan, A.; Haaland, B.; Bucknall, D.G.; Kalidindi, S.R. Extraction of Process-Structure Evolution Linkages from X-ray Scattering Measurements Using Dimensionality Reduction and Time Series Analysis. Integr. Mater. Manuf. Innov. 2017, 6, 147–159. [Google Scholar] [PubMed]
- Pfeifer, S.; Wodo, O.; Ganapathysubramanian, B. An optimization approach to identify processing pathways for achieving tailored thin film morphologies. Comput. Mater. Sci. 2018, 143, 486–496. [Google Scholar] [CrossRef]
- Zapiain, D.M.d.O.; Stewart, J.A.; Dingreville, R. Accelerating phase-field-based microstructure evolution predictions via surrogate models trained by machine learning methods. npj Comput. Mater. 2021, 7, 3. [Google Scholar] [CrossRef]
- Wang, Y.U. Computer modeling and simulation of solid-state sintering: A phase field approach. Acta Mater. 2006, 54, 953–961. [Google Scholar] [CrossRef]
- Yang, Y.; Kühn, P.; Yi, M.; Egger, H.; Xu, B.-X. Non-isothermal Phase-Field Modeling of Heat–Melt–Microstructure-Coupled Processes During Powder Bed Fusion. JOM 2020, 72, 1719–1733. [Google Scholar]
- Wang, X.; Liu, Y.; Li, L.; Yenusah, C.; Xiao, Y.; Chen, L. Multi-scale phase-field modeling of layer-by-layer powder compact densification during solid-state direct metal laser sintering. Mater. Des. 2021, 203, 109615. [Google Scholar]
- Lu, L.-X.; Sridhar, N.; Zhang, Y.-W. Phase field simulation of powder bed-based additive manufacturing. Acta Mater. 2018, 144, 801–809. [Google Scholar] [CrossRef]
- Yang, W.; Wang, Z.; Yang, T.; He, L.; Song, X.; Liu, Y.; Chen, L. Exploration of the Underlying Space in Microscopic Images via Deep Learning for Additively Manufactured Piezoceramics. ACS Appl. Mater. Interfaces 2021, 13, 53439–53453. [Google Scholar] [CrossRef] [PubMed]
- Wang, Z.; Jiang, C.; Liu, P.; Yang, W.; Zhao, Y.; Horstemeyer, M.F.; Chen, L.-Q.; Hu, Z.; Chen, L. Uncertainty quantification and reduction in metal additive manufacturing. npj Comput. Mater. 2020, 6, 175. [Google Scholar] [CrossRef]
- Yang, W.; Wang, R.; Yao, X.; Yan, H.; Su, J.; Liu, P.; Xiao, Y.; Wang, Q.; Wang, A.; Chen, L. DendriX: A flexible, maintainable, and extendable platform to simulate 3D Li-dendrite growth in Li-ion batteries. SoftwareX 2026, 35, 102768. [Google Scholar]










| Time-Step Difference | NMARE | NMAAE | NMAENG | NMAENN | |
|---|---|---|---|---|---|
| 250 | Ave | 0.86% | 1.16% | 1.04% | 1.51% |
| Std | 1.27% | 1.88% | 1.54% | 1.26% | |
| 500 | Ave | 1.27% | 1.72% | 1.82% | 1.73% |
| Std | 1.76% | 2.65% | 2.1% | 1.47% | |
| 1000 | Ave | 1.98% | 2.82% | 2.38% | 2.5% |
| Std | 2.45% | 3.92% | 2.88% | 1.84% | |
| 2000 | Ave | 4.2% | 7.99% | 5.48% | 3.61% |
| Std | 6.52% | 16.5% | 8.03% | 4.51% | |
| 3000 | Ave | 7.67% | 27.4% | 7.94% | 5.54% |
| Std | 21.9% | 140.9% | 13.94% | 12.2% | |
| Model | NMAE (%) | NHAE (%) | NPAE (%) | Params (M) |
|---|---|---|---|---|
| CNN baseline | 5.4 ± 3.5 | 2.3 ± 1 | 15 ± 6 | 17.72 |
| yNet [12] | 0.19 ± 0.16 | 0.36 ± 0.31 | 1.3 ± 1.8 | 30.17 |
| CPGAN (vanilla-GAN) | 1.2 ± 0.7 | 2.1 ± 1.5 | 6.2 ± 4.6 | 33.7 |
| CPGAN (LSGAN) | 0.02 ± 0.01 | 0.05 ± 0.04 | 0.7 ± 1.6 | 33.7 |
| Domain Size | Application | Physics-Based (ms) | CPGAN Inference (ms) | Training Time (h) | Dataset Generation (d) |
|---|---|---|---|---|---|
| 128 × 512 | SLS porosity | 3.42 × 106 | 1.85 × 101 | 6.2 | 118.6 |
| 128 × 1024 | SLS porosity | 1.23 × 107 | 6.67 × 101 | ||
| 256 × 1024 | SLS porosity | 3.9 × 107 | 1.13 × 102 | ||
| 128 × 128 | Stress field | 0.12 × 106 | 1.62 × 101 | 5.47 | 8.3 |
| 128 × 1024 | Grain growth | 1.56 × 107 | 2.26 × 104 | 7.6 | 5.1 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Yang, W.; Wang, Z.; Wang, X.; Kommalapati, R.; Duan, C.; Chen, L. CPGAN: A Multi-Input Conditional Generative Adversarial Network for Rapid Prediction of Microstructure and Field Evolution. Metals 2026, 16, 691. https://doi.org/10.3390/met16070691
Yang W, Wang Z, Wang X, Kommalapati R, Duan C, Chen L. CPGAN: A Multi-Input Conditional Generative Adversarial Network for Rapid Prediction of Microstructure and Field Evolution. Metals. 2026; 16(7):691. https://doi.org/10.3390/met16070691
Chicago/Turabian StyleYang, Wenhua, Zhuo Wang, Xiao Wang, Raghava Kommalapati, Chang Duan, and Lei Chen. 2026. "CPGAN: A Multi-Input Conditional Generative Adversarial Network for Rapid Prediction of Microstructure and Field Evolution" Metals 16, no. 7: 691. https://doi.org/10.3390/met16070691
APA StyleYang, W., Wang, Z., Wang, X., Kommalapati, R., Duan, C., & Chen, L. (2026). CPGAN: A Multi-Input Conditional Generative Adversarial Network for Rapid Prediction of Microstructure and Field Evolution. Metals, 16(7), 691. https://doi.org/10.3390/met16070691

