J. Mater. Sci. Technol. ›› 2026, Vol. 241: 21-34.DOI: 10.1016/j.jmst.2025.02.093

• Research Article • Previous Articles     Next Articles

Artificial intelligence enabled microstructure prediction in Al alloy castings

Qinghuai Houa,b, Xuelong Wub,c, Zhongyao Lib,c, Shuwei Fengd, Decai Kongd,*, Shihao Wangb,c, Xiaoying Mad, Yisheng Miaoa,b, Haibo Qiaod, Xiang Lid, Wenbo Wangd, Yuling Langd, Shiwen Xud, Junsheng Wanga,b,c,*   

  1. aSchool of Materials Science and Engineering, Beijing Institute of Technology, Beijing 100081, China;
    bSchool of Interdisciplinary Science, Beijing Institute of Technology, Beijing 100081, China;
    cSchool of Mechanical Engineering, Beijing Institute of Technology, Beijing 100081, China;
    dCITIC Dicastal Co., Ltd., Qinhuangdao 066011, China
  • Received:2024-12-30 Revised:2025-02-27 Accepted:2025-02-27 Published:2026-01-10 Online:2025-05-09
  • Contact: *E-mail addresses: kongdecai@dicastal.com (D. Kong), junsheng.wang@bit.edu.cn (J. Wang)

Abstract: Gas porosity defects and secondary dendrite arm spacing (SDAS) are the key microstructure influencing the mechanical properties of Al alloys and their predictions are critical for the safety and reliability of automotive casting components. Existing works mainly utilize experimental methods or numerical simulations to characterize the microstructure, which cost highly and offer limited physical insights. In this study, we generated a comprehensive porosity dataset (472 samples) via 3D cellular automata (CA) simulations and curated an SDAS dataset (310 samples) derived from published literature. Seven artificial intelligence (AI) algorithms have been systematically evaluated, and the eXtreme Gradient Boosting (XGBoost) was identified as the most robust model for microstructure prediction. To validate the AI models, X-ray computed tomography (X-CT) and metallographic experiments were conducted, and the results indicated an accuracy exceeding 90%. Beyond prediction accuracy, we employed SHapley Additive exPlanations (SHAP) analysis to elucidate the impact of alloy elements and processing parameters on the microstructure features, bridging the gap between “black-box” AI and physical insights behind.

Key words: Al alloy, Gas porosity, Secondary dendrite arm spacing, Cellular automata, Artificial intelligence, X-ray computed tomography