Leveraging Machine Learning for Porosity Prediction in AM Using FDM for Pretrained Models and Process Development

Additive manufacturing involves numerous independent parameters, often leading to inconsistent print quality and necessitating costly trial-and-error approaches to optimize input variables. Machine learning offers a solution to this non-linear problem by predicting optimal printing parameters from a minimal set of experiments. Using Fused Deposition Modeling (FDM) as a case study, this work develops a machine learning-powered process to predict porosity defects. Specimens in two geometrical scales were 3D-printed and CT-scanned, yielding raw datasets of grayscale images. A machine learning image classifier was trained on the small-cube dataset (~2200 images) to distinguish exploitable images from defective ones, averaging over 97% accuracy and correctly classifying more than 90% of the large-cube exploitable images. The developed preprocessing scripts extracted porosity features from the exploitable images. A repeatability study analyzed three replicate specimens printed under identical conditions, and quantified the intrinsic process variability, showing an average porosity standard deviation of 0.47% and defining an uncertainty zone for quality control. A multi-layer perceptron (MLP) was independently trained on 1709 data points derived from the small-cube dataset and 3746 data points derived from the large-cube dataset. Its accuracy was 54.4% for the small cube and increased to 77.6% with the large-cube dataset, due to the larger sample size. A rigorous grouped k-fold cross-validation protocol, relying on splitting data per cube, strengthened the ML algorithms against data leakage and overfitting. Finally, a dimensional scalability study further assessed the use of the pipeline for the large-cube dataset and established the impact of geometrical scaling on defect formation and prediction in 3D-printed parts.

Authors

Institutions

Publication Details

Journal
Materials
Published
2025-09-27
DOI
https://doi.org/10.3390/ma18194499
Primary Topic
Additive Manufacturing and 3D Printing Technologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Leveraging Machine Learning for Porosity Prediction in AM Using FDM for Pretrained Models and Process Development

James E. Steck, Gerardo Olivares, Khadija Ouajjani
Materials
Additive Manufacturing and 3D Printing Technologies
article

Leveraging Machine Learning for Porosity Prediction in AM Using FDM for Pretrained Models and Process Development

James E. Steck, Gerardo Olivares, Khadija Ouajjani
article en

Abstract

Additive manufacturing involves numerous independent parameters, often leading to inconsistent print quality and necessitating costly trial-and-error approaches to optimize input variables. Machine learning offers a solution to this non-linear problem by predicting optimal printing parameters from a minimal set of experiments. Using Fused Deposition Modeling (FDM) as a case study, this work develops a machine learning-powered process to predict porosity defects. Specimens in two geometrical scales were 3D-printed and CT-scanned, yielding raw datasets of grayscale images. A machine learning image classifier was trained on the small-cube dataset (~2200 images) to distinguish exploitable images from defective ones, averaging over 97% accuracy and correctly classifying more than 90% of the large-cube exploitable images. The developed preprocessing scripts extracted porosity features from the exploitable images. A repeatability study analyzed three replicate specimens printed under identical conditions, and quantified the intrinsic process variability, showing an average porosity standard deviation of 0.47% and defining an uncertainty zone for quality control. A multi-layer perceptron (MLP) was independently trained on 1709 data points derived from the small-cube dataset and 3746 data points derived from the large-cube dataset. Its accuracy was 54.4% for the small cube and increased to 77.6% with the large-cube dataset, due to the larger sample size. A rigorous grouped k-fold cross-validation protocol, relying on splitting data per cube, strengthened the ML algorithms against data leakage and overfitting. Finally, a dimensional scalability study further assessed the use of the pipeline for the large-cube dataset and established the impact of geometrical scaling on defect formation and prediction in 3D-printed parts.

MaterialsVol. 18(19)
Wichita State University (US), National University "Kyiv Aviation Institute" (UA)
Openalex Percentile: Top 71%
Additive Manufacturing and 3D Printing Technologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.