Machine Learning-Assisted Optimisation of the Laser Beam Powder Bed Fusion (PBF-LB) Process Parameters of H13 Tool Steel Fabricated on a Preheated to 350 ∘C Building Platform
Katsiaryna Kosarava, Paweł Widomski, Michał Ziętala, Daniel Dobras, Marek Muzyk, Bartłomiej Adam Wysocki

TL;DR
This paper uses machine learning to optimize laser 3D printing parameters for H13 tool steel, achieving very high density and hardness suitable for industrial parts.
Contribution
First application of ML to optimize PBF-LB process parameters for H13 steel on a preheated platform.
Findings
XGBoost model achieved highest predictive accuracy with R2=0.977 and MAPE=0.002.
LightGBM-predicted samples showed lowest MAE=0.004 and density exceeding 99.6% of theoretical value.
ML-optimized H13 components achieved hardness of 604 ± 13 HV0.5, increasing to 630 HV0.5 after tempering.
Abstract
This study presents the first application of Machine Learning (ML) models to optimise Powder Bed Fusion using Laser Beam (PBF-LB) process parameters for H13 steel fabricated on a 350 °C preheated building platform. A total of 189 cylindrical specimens were produced for training and testing machine learning (ML) models using variable process parameters: laser power (250–350 W), scanning speed (1050–1300 mm/s), and hatch spacing (65–90 μm). Eight ML models were investigated: 1. Support Vector Regression (SVR), 2. Kernel Ridge Regression (KRR), 3. Stochastic Gradient Descent Regressor, 4. Random Forest Regressor (RFR), 5. Extreme Gradient Boosting (XGBoost), 6. Extreme Gradient Boosting with limited depth (XGBoost LD), 7. Extra Trees Regressor (ETR) and 8. Light Gradient Boosting Machine (LightGBM). All models were trained using the Fast Library for Automated Machine Learning & Tuning…
Genes, proteins, chemicals, diseases, species, mutations and cell lines named across the full text — each resolved to its canonical identifier and authoritative record.
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Figure 11
Figure 12
Figure 13
Figure 14- —Polish Ministry of Science and Higher Education
- —National Centre for Research and Development in Poland
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdditive Manufacturing Materials and Processes · Additive Manufacturing and 3D Printing Technologies · Welding Techniques and Residual Stresses
1. Introduction
Steel is the most widely used metallic material in the world, playing a crucial role across sectors such as construction (beams, reinforcement bars), transportation (automotive frames, shipbuilding), infrastructure (bridges, pipelines), and machinery. According to the World Steel Association, over 1.8 billion tonnes of steel are produced annually as of the early 2020s, significantly outpacing the production of aluminium, copper, or titanium. H13 tool steel, a versatile chromium-molybdenum alloy, is commonly utilised in demanding industrial applications, particularly where high temperatures are involved. Its primary uses include hot forging, die casting, extrusion, and the creation of moulds and dies for injection moulding. H13 is valued for its remarkable resistance to heat, wear, and thermal fatigue [1,2]. Traditionally, H13 is manufactured through processes such as melting, casting, forging, and heat treatment, all of which optimise its mechanical properties and stability. It is known for its excellent combination of hardness, toughness, and ability to maintain strength at elevated temperatures, often up to 600 °C. These attributes make H13 a preferred choice in the tooling, aerospace, and automotive industries, where reliability and durability are essential. On the other hand, H13 steel is difficult to weld due to its high content of carbide-forming elements and high hardenability, both of which result from its chemical composition. These two characteristics result in a hard, brittle microstructure during welding, thereby increasing the material’s susceptibility to cracking. Furthermore, the amount of heat introduced during the welding process leads to the softening of the microstructure, thus reducing its mechanical properties [3,4]. Therefore, the microstructure and mechanical properties of H13 steel after various fabrication methods remain the subject of ongoing research.
Nowadays, H13 steel is also produced using various additive manufacturing technologies outlined in ASTM/ISO 52900:2021 [5]. One notable method is Direct Energy Deposition (DED), one of the seven Additive Manufacturing (AM) technologies defined in this standard. DED is effective for fabricating functionally graded materials (FGMs) and for repairing high-value dies. Recent studies indicate that intrinsic heat treatment during DED creates a graded microstructure that improves wear resistance [6]. The Wire Arc Additive Manufacturing (WAAM) process, a type of DED technology, offers deposition rates of 1–4 kg/h. This makes WAAM particularly suitable for manufacturing hot-working tools. Tooling made by WAAM with integrated conformal channels can reduce part mass by about 25% using strategically placed voids without losing structural integrity [7]. However, DED processes face limitations related to channel diameter, which must be several millimetres. Additionally, producing features with highly inclined surfaces is also difficult, and additional machining is often required to achieve the desired surface topography.
The attainment of optimal geometrical freedom and precision in AM is predominantly realised through powder-in-bed technlogies, notably Binder Jetting (BJT) and Powder Bed Fusion (PBF). In the case of BJT, it has been demonstrated that a density of 95% for H13 steel can be achieved, alongside a hardness value of 499 HV10, following the sintering of green parts within a temperature range of 1410–1415 °C [8]. This methodology capitalises on the utilisation of fine powders, characterised by diameters less than 10 m. In contrast, market availability of such fine metallic powders is somewhat constrained, as most commercially available options possess diameters ranging from 30 to 70 m. Furthermore, a density below 99% of the theoretical density limits its use in some more demanding applications. Conversely, Powder Bed Fusion using a Laser Beam (PBF-LB) stands out as a process that can generate stainless steel cellular structures with densities exceeding 99.5% [9]. However, the problems addressed in PBF-LB processes still include process parameter optimisation, density and porosity prediction, defect detection, and melt pool geometry prediction.
AI and machine learning approaches are increasingly being utilised to tackle these challenges. Liu et al. [10] conducted a comprehensive review of ML applications in PBF-LB processes, examining the interconnections among process parameters, microstructure, mechanical properties, and overall performance. This review highlighted the substantial potential of various ML techniques for optimising additive manufacturing processes and accurately predicting material properties. Current artificial intelligence (AI) models can recommend optimal material selections and process configurations to achieve the desired product performance, while also facilitating the development of innovative composites and improving mechanical behaviour through a deeper understanding of material physics [11]. In additive manufacturing, traditional machine learning models have been widely used to predict porosity and density. These include Linear Regression (LR), Decision Trees (DT), Support Vector Machines (SVM), and Random Forests Regression (RFR) have been employed to predict the porosity and density of various steels. These models typically utilise hand-engineered features, including laser power “P” [W], scanning speed “V” [mm/s], distance between scanning vectors “H” [ m], and layer thickness “T” [ m], and perform effectively on relatively small, structured datasets [12]. For property prediction, studies have successfully employed classical ML models to predict ultimate tensile strength and elongation [13] and deep neural networks to link in situ photodiode signals with mechanical performance in PBF-LB parts [14]. AI is used to predict the fatigue life of metals and to analyse the factors that influence it, including material properties, manufacturing processes, service conditions, environmental factors, and operational usage [15,16,17]. Process parameter-based ML models have achieved over 99% accuracy in predicting part density across metals such as aluminium and nickel alloys [18]. Benchmarking studies have further strengthened the field by evaluating ML performance across diverse materials and machines [19]. Melt pool geometry, a critical factor in determining microstructure, has also been predicted using ML models [20] and experimental ML pipelines like MeltpoolNet [21]. Deep learning models based on artificial neural network (ANN) architectures can automatically extract complex features from large, unstructured data, such as images, sensor streams, or process videos, capturing intricate patterns, including defect formation and surface quality variations, that classical models might miss. ANN showed high potential for real-time defect detection in the PBF-LB process, aiming to improve product quality and process reliability [22]. They can infer internal flaws from surface features [23] and segment microstructural defects, such as lack of fusion or porosity, in samples [24]. Deep neural networks can analyse thermographic images of samples to detect defects [25], achieving 96.8% accuracy in detecting porosity/cracks. Together, these advances demonstrate AI/ML’s vast potential to enable predictive, adaptive, and intelligent AM systems.
This study focuses on selecting parameters for the PBF-LB process, which is essential for industry, especially when working with new materials or transitioning between feedstock suppliers. Such parameter selection represents the initial stage of optimising the PBF-LB process. Currently, identifying process parameters that effectively minimise porosity (a material property that significantly affects mechanical properties) is both time-consuming and resource-intensive. Typically, this optimisation process involves adjusting multiple parameters and producing a substantial number of samples for characterisation. The primary objective of our research is to assess the effectiveness of various ML models for predicting PBF-LB process parameters and achieving densities that closely match theoretical values, particularly for H13 steel, which poses challenges during welding. We introduce the application of eight ML models to predict the PBF-LB process parameters that yield the lowest porosity in H13 steel, specifically on building platforms preheated to 350 250 °C. In our study, the preheating temperature exceeds the 200–250 °C range, which is typically the maximum for industrial AM machines. We have performed the study on building table preheated to higher temperatures because H13 tool steel has high hardenability and is prone to cracking at high cooling rates (approximately K/s), typical of laser-based processing [26]. Furthermore, heating the platform to 350 °C minimises thermal gradients, facilitates hydrogen removal [27], and reduces the potential for crack formation, while ensuring that temperatures do not exceed 450 °C, which could negatively affect martensitic transformation [28]. This approach enhances the stability of the fabrication process and improves microstructural control compared to lower preheating temperatures.
Eight ML models were verified in this study: 1. Support Vector Regression (SVR), 2. Kernel Ridge Regression (KRR), 3. RFR, 4. Stochastic Gradient Descent (SGD), 5. Extreme Gradient Boosting (XGBoost), 6. Extreme Gradient Boosting with limited depth (XGBoost LD), 7. Extra-Trees Regressor (ETR), and 8. Light Gradient Boosting Machine (LightGBM). To identify the best-performing model, we utilised the Fast Library for Automated Machine Learning & Tuning (FLAML) framework, which autonomously optimises hyperparameters for ML models beyond predetermined ranges [https://microsoft.github.io/FLAML/ accessed on 31 December 2025]. A thorough evaluation of the trained models, for porosity prediction, was conducted using , Mean Absolute Percentage Error (MAPE), and Mean Absolute Error (MAE) metrics. This multi-metric assessment provides a comprehensive view of model performance, as each metric highlights different facets of accuracy. This allows us not only to gauge how well models account for the overall variation in the data but also to evaluate the significance of prediction errors. All eight tested ML models were validated for their predictive capability in the PBF-LB process by fabricating H13 steel samples. Notably, a single set of PBF-LB process parameters predicted by an ML model yielded laboratory samples with Archimedes’ density closest to the theoretical H13 value. This ML model (PBF-LB parameters set) was used to fabricate a more complex component from H13 tool steel: a forging die punch with integrated cooling channels.
2. Materials and Methods
2.1. Powder Characterisation Methods
The material used for the experiment was H13 tool steel, manufactured by Höganäs Belgium S.A., Ath, Belgium According to the manufacturer’s information, the average particle size ranged from 15 to 53 m. The chemical composition of the H13 steel, as provided in the manufacturer’s data sheet, is presented in Table A1 of Appendix A.1. To verify the quality of the powder, particle size and shape analysis were conducted using a Kamika mini 3D analyser (Kamika Instruments, Warsaw, Poland). Additionally, the powder flow coefficient was measured using an Anton Paar MCR 302e rheometer (Anton Paar Ltd., Luton, Bedfordshire, UK). The H13 powder included in the resin was subjected to metallographic preparation, which involved grinding on SiC papers with granulations ranging from 400 to 4000, followed by polishing with 1 m diamond suspension and 0.1 m silica suspension. Microstructure observations after etching with Nital reagent (3% HNO_3_ + 97% CH_3_CH_2_OH) and the morphology of H13 steel powder without metallography preparation were carried out using an Axia ChemiSEM (Thermo Fisher Scientific, Waltham, MA, USA) Scanning Electron Microscope (SEM).
2.2. Design of PBF-LB Experiment
The H13 steel PBF-LB fabrication process was conducted using the Aconity mini device (Aconity3D GmbH, Herzogenrath, Germany) at the Multidisciplinary Research Centre (Dziekanów Leśny, Poland). During the multiple processes, 189 cylindrical samples (10 mm in diameter and 10 mm in height) were fabricated and used as a dataset for training and testing ML models (Platforms 1–7). Several PBF-LB parameters were adjusted during the fabrication of the ML data set. These included laser power (250–350 W), scanning speed (1050–1300 mm/s), laser spot size (65–85 m), and the distance between scanning vectors (70–90 m). The layer thickness was maintained at 60 m, while the platform was heated to 350 °C. This high-temperature building platform temperature was kept during fabrication to minimise stresses [29] and facilitate the melting process of the challenging-to-weld steel grade H13 [30]. Each set of parameters was used to fabricate at least 3 samples, which were randomly placed on the building platform for statistical purposes. On each building platform, the number of samples was always 27, with the samples numbered on the top surface (see Figure 1A,B). We utilised information about the placement of the samples on the building platforms to train ML models. However, we didn’t use this information to select the PBF-LB process settings that yield the minimum porosity in H13 steel. Table 1 presents the range of parameters used along with their steps. The specific parameter ranges for each build plate, along with the sample numbering on the building platforms, are provided in the Supplementary Material spreadsheets (Supplementary Material).
An additional platform (No. 8) was created using 27 samples with PBF-LB process parameters predicted by the eight ML models (Table 6 in Section 3.3, ML results), selecting from each model the set that resulted in the highest theoretical density and the lowest energy density, “E” [J/mm^3^]. This was done to empirically verify the performance of ML models in predicting the density of H13 steel and to select the PBF-LB parameter set for fabricating a more complex element—a part of the forging die with cooling channels.
2.3. Samples Characterisation
2.3.1. Archimedes’ Theoretical Density and X-Ray Computed Micro-Tomography (XCT)
Archimedes’ method was used to determine the theoretical density and porosity of all samples using a RADWAG AS 520.X2 PLUS (Radwag, Radom, Poland) balance (d = 0.1 mg). The theoretical density of 7.76 g/cm^3^ was used for H13 steel in the calculations. Additionally, the porosity of the die fabricated using PBF-LB parameters predicted by the ML model, which yielded the density closest to the theoretical value for H13 steel, was verified using an XCT Nikon XT H 225 ST 2x (Nikon Corporation, Tokyo, Japan). The source voltage and source current to obtain XCT scans were set to 215 kV and 830 A, respectively. A 2.5 mm copper filter material was selected to achieve the optimal greyscale value for the reconstruction. The scanning procedure was performed by acquiring 4000 projections, each with 1 frame, at an exposure time of 125 milliseconds. The reconstructed voxel size was set to 13.4 m. The reconstruction data were prepared using Nikon CT Pro 3D XT 6.9.1 software. The data visualisation and porosity measurements were performed using Volume Graphics Studio Max 2022.3 with the Additive Manufacturing plugin set (Volume Graphics GmbH, Heidelberg, Germany).
2.3.2. Heat Treatments and Metallographic Preparation
Cylindrical samples for heat treatment were manufactured using parameters predicted by the ML model, yielding a density closest to the theoretical value for H13 steel. These samples underwent heat treatment, which included two approaches: 1. tempering by holding for 90 min at three different temperatures (500 °C, 550°C, and 600°C) and cooling in air; 2. oil quenching followed by heating to the austenite temperature of 1050°C and holding for 20 min + tempering after holding for 90 min at three different temperatures (500 °C, 550 °C, and 600°C) and cooling in air (Table 2 and Figure 2). The purpose of the heat treatments was to provide the necessary post-processing after the PBF-LB process, enabling the target components (forging dies) to achieve the microstructure required for operation at temperatures ranging from 400 to 600 °C. The microstructure of the samples after heat treatment was verified by metallographic examination of cross-sections. To prepare for metallographic observation, the samples were first cut in half parallel to the build direction (perpendicular to the layers).
The inner surfaces of the samples were mechanically ground and polished with a diamond suspension, then etched with Nital reagent (2% HNO_3_+ 98% CH_3_CH_2_OH), which had a slightly lower nitric acid concentration than that used for powder etching. The microstructure was examined using an Olympus GX51 optical microscope (Olympus Corporation, Hachiōji, Tokyo). The Vickers microhardness was measured using the LECO LM100AT (LECO Corporation, St. Joseph, MI, USA) hardness tester at a load of 500 g. Six hardness measurements were made for each sample. The presented hardness result is the average of the measurements. The final fragment of the forging tool, featuring an internal channel was subsequently examined under a light microscope Keyence VHX-7000 (KEYENCE International, Machelen, Belgium).
2.4. ML Models
2.4.1. Data Analysis and Preprocessing
The total number of data samples fabricated in the PBF-LB process was 189, which corresponds to 7 platforms with 27 samples each in each bath. From this dataset, 7 samples showing the lowest density values within their respective process parameters were removed. The collected data was split into training and test sets at an 80:20 ratio, with 145 samples in the training set and 37 in the test set. To prevent model overfitting, another operator obtained repeated theoretical Archimedes density measurements for platform no.6 (samples marked as 6.1 in Supplementary Material). These data were split to ensure that paired measurements from the same sample were consistently allocated to the training set or, analogously, to the test set. Finally, the training and testing sets contained 166 and 43 samples, respectively. The Kolmogorov–Smirnov tests [31] demonstrated that both the training and test sets are derived from the same underlying distribution. For all features examined, the tests produced p-values exceeding 0.2, suggesting a high likelihood that any observed differences between the training and test samples are attributable to random variation. This provides no justification for rejecting the null hypothesis of identical distributions. Additionally, the analysis of Wasserstein distances reinforces this conclusion, as these distances remain small in relation to the respective feature ranges. Specifically, the Wasserstein distances range from 0.28% to 5.7% of the mean values of the features. Overall, the train/test split was statistically balanced with respect to both the target variable and the selected predictors. To identify the PBF-LB process parameters that maximise theoretical density and minimise porosity using ML models, we followed several steps. First, we analysed the available data to understand its characteristics, structure, and potential issues, including missing values and outliers. The data was then pre-processed to prepare it for training ML models.
The preprocessing stage involved several steps to prepare the data for modelling. First, three features—layer thickness “T” [ m], building platform preheating temperature “Temp.” [°C] and laser spot size “F” [ m] were removed because they were constant and don’t correlate with the target variable, alloy theoretical density “D” [g/cm^3^]. The correlation between process parameters (laser power “P” [W], scanning speed “V” [mm/s], hatch spacing “H” [ m], volumetric energy density “E” [J/mm^3^], linear energy density “LE” [J/mm^2^], sample position on the build platform (marked on each sample by number on the top surface) “Placement”, and sample marking depth “Mark depth”) and the target property, theoretical density “D” [g/cm^3^], was analysed to establish the relative significance of the individual parameters (Figure 3). Correlation analysis revealed significant relationships between theoretical density “D” [g/cm^3^], volumetric energy density “E” [J/mm^3^], and linear energy density “LE” [J/mm^2^], which were calculated using Formula (1). Additionally, correlations were noted with laser power “P” [W], depth of sample marking “Mark depth”, and the platform number “Set”. However, the correlation with the platform number “Set” parameter was found to be insignificant, as the last experiments were conducted using PBF-LB process parameters that yielded the lowest standard deviation in Archimedes measurements results. The relatively low inter-feature correlations suggest that there is no strong redundancy among predictors, allowing all features to be retained for modelling. This indicates that more complex, non-linear approaches might be better suited to capture patterns in the data.
The following preprocessing step is data encoding and normalisation. Categorical features—specifically, the depth of sample marking “Mark depth” (0.5 mm—A or 0.1 mm—B, see Supplementary Material) and the position of each sample on the building platform “Placement” (number on the top of the sample in a range 1–27) were encoded as integers to facilitate numerical processing. Encoding in our study means converting non-numeric data, such as categories, labels, or text, into a numerical format that ML algorithms can understand. Normalisation was then applied to the numeric columns using the MinMaxScaler. Normalisation transforms numerical features to a similar range, preventing features with large values from dominating the model and ensuring balanced contributions and better performance in scale-sensitive ML algorithms.
Subsequently, we trained various machine learning models on this dataset and assessed their performance using the coefficient. For all eight models, we predicted the density of H13 tool steel across different combinations of laser parameters. We identified nine optimal laser settings (as outlined in Table 6 of Section 3.3) that resulted in the highest predicted sample density while maintaining the lowest energy density “E“[J/mm^3^] for each model. Based on these predicted parameters, we conducted physical PBF-LB experiments to fabricate the corresponding samples. Finally, we evaluated the density and microstructure of the fabricated samples, ultimately selecting a set of parameters for producing a representative piece of the H13 steel die with conformal channels.
2.4.2. Model Description
In this section, we provide a brief description of each model used in our research, along with its key characteristics.
I. Kernel methods:
- Support Vector Regression (SVR)—An extension of SVM that can be used to solve regression problems. It optimises a function by finding a tube that approximates a continuous-valued function while minimising the prediction error [32].
- Kernel Ridge Regression (KRR)—Combines Ridge regression and classification (linear least squares with L2-norm regularisation) with the kernel trick. This approach allows the model to learn a linear function in the feature space induced by the chosen kernel and the data. For non-linear kernels, this results in a non-linear function in the original input space. The form of the model learned by Kernel Ridge Regression is similar to that of SVR. However, they use different loss functions: KRR employs squared error loss, while SVR utilizes an -insensitive loss, both combined with L2 regularisation [33].
II. Linear model with regularisation:
- 3.Stochastic Gradient Descent (SGD) Regressor—Linear model fitted by minimising a regularised empirical loss with stochastic gradient descent. It implements a plain stochastic gradient descent learning routine, which supports different loss functions and penalties to fit linear regression models.
III. Tree-based ensemble models:
- 4.Random Forest Regressor (RFR)—A random forest is an ensemble learning method (Figure 4) that combines the predictions from multiple decision trees to produce a more accurate and stable prediction. RFR predicts continuous values by averaging the results of multiple decision trees.
- 5.Extreme Gradient Boosting (XGBoost)—An optimised distributed gradient boosting library designed to be highly efficient, flexible and portable. XGBoost builds an ensemble of weak decision tree models iteratively, optimising each new tree to correct the errors of the previous ones. It includes L1 (Lasso) and L2 (Ridge) regularisation to prevent overfitting.
- 6.Extreme Gradient Boosting with limited depth (XGBoost LD)—Restricts the maximum depth of the decision trees in the ensemble to avoid overfitting.
- 7.Extra Trees Regressor (ETR)—Extra-trees differ from classic decision trees in the way they are built. When looking for the best split to separate a node’s samples into two groups, random splits are drawn for each randomly selected feature, and the best split among them is chosen.
- 8.Light Gradient Boosting Machine (LightGBM)—A gradient boosting framework that is optimised for speed and efficiency. Uses histogram-based decision tree learning, making it much faster than traditional boosting methods like XGBoost. Unlike XGBoost, which grows trees level-wise, LightGBM grows trees leaf-wise. LightGBM can lead to deeper trees and sometimes better accuracy but requires tuning to prevent overfitting.
To train tree-based models and SGD, we utilised FLAML, a lightweight Python 3.10 library designed for the efficient automation of machine learning and AI operations. It automatically selects the best model, optimises hyperparameters using cost-effective tuning, supports time budgeting to control how long AutoML runs, and adapts to dataset size and complexity, finding a good trade-off between accuracy and efficiency. The FLAML framework was configured with a time budget of 200 s per model for automated model parameter-tuning and optimisation. The coefficient was used as the evaluation metric for the regression task. Model performance was assessed using five-fold cross-validation, as specified by the chosen evaluation method and number of splits.
2.4.3. Evaluating Metrics
To evaluate model performance, we used the following metrics:
I.* The coefficient of determination *—A number between 0 and 1 that measures how well a statistical model predicts an outcome. can be interpreted as the proportion of variation in the dependent variable predicted by the statistical model. If the —the model perfectly predicts unknown values.
—actual value, —average value, —predicted value.
II.* Mean Absolute Error* (MAE)—The average of the absolute value of the difference between actual and predicted values. The lower value is better.
III.* Mean Absolute Percentage Error* (MAPE)—Also known as mean absolute percentage deviation (MAPD), is a measure of prediction accuracy of a forecasting method in statistics. It usually expresses the accuracy as a ratio defined by the formula:
A MAPE less than 5% is considered an indication that the forecast is acceptably accurate.
3. Results
3.1. Powder Characterisation
Powder size analysis performed on a parallel light beam analyser confirmed that the average particle size of the H13 powder used in the research was Dv = 44.8 and Dn = 28.8 (Table 3 and Figure 5), consistent with the manufacturer’s stated range of 15–53 m. The particle shape distribution analysis performed on a parallel light beam analyser (Figure 6A) showed that more than 91% volume of measured powders are spheres. Dominant spherical powder shape was also confirmed by SEM observations (Figure 6B,C). As seen in Figure 6C, some powder particles had pores that were closed within the particles. Furthermore, powder flowability test performed on a rheometer resulted in a flow coefficient ( ) above 4 (easy-flowing) or above 10 (free-flowing), regardless of the applied force (Figure 7). The powder’s microstructure (Figure 6C) has a cellular structure (dendrites) with clearly visible cell boundaries (interdendritic areas). The brighter cell boundaries may contain retained austenite, which is stable due to the increased carbon and alloying element content, which allows carbides to form in these areas [34,35,36].
3.2. Optimisation of the PBF-LB Process Parameters Without ML
In the AM experimental study on H13 steel, the initial set of PBF-LB process parameters was derived from an established parameter set for H11 steel, provided by Aconity GmbH. These parameters included a laser power of “P” = 300 W, a scanning velocity of “V” = 1200 mm/s, a hatch distance of “H” = 80 m, a laser spot size of “F” = 80 m, a layer thickness “T” = 60 m, and a preheating temperature for the building platform of “Temp” = 350 ^∘^C. Utilising these values, Matrix I (refer to Appendix A.2) was developed, consisting of 27 parameter sets with variations in P (increments of 50 W), V (increments of 100 mm/s), and H (increments of 10 m). The parameters from Matrix I were tested across three distinct platforms (denoted as Platform 1–3), yielding porosity levels between 1.3% and 1.5% for three sets of PBF-LB parameters (see Figure 8). Following these initial trials, Matrix II was proposed, introducing a hatch distance H with steps of 5 m, while retaining the three parameter sets identified from Platforms 1–3 that resulted in the lowest porosity. The parameter sets from Matrix II were utilised to produce samples on Platform 4, which maintained porosity levels similar to those observed in Matrix I, ranging from 1.4% to 1.5%.
Following the analysis of the best-performing parameter sets from Matrix II, Matrix III was developed. This new matrix adjusted the laser scanning speed, “V“, in increments of 50 mm/s. Out of the nine parameter sets tested in Matrix III, five successfully minimised porosity to a range between 0.6% and 0.8% on Platform 5. It’s noteworthy that four of these five top-performing sets had at least one sample excluded from the average calculation due to significant standard deviations observed in their respective series. Building on these results, Platform 6 was established using the parameter sets obtained from Matrix III, with the marking depth on the sample surface reduced from 500 m to 100 m. The objects produced from this platform exhibited porosity levels below 0.8%, with three parameter sets achieving an average porosity of 0.3–0.4%. Additionally, Platform 7 was made using Matrix II parameters, also with a modified depth of 100 m. Platform 7 demonstrated a porosity range of 0.4% to 0.5%, reflecting a 1% decrease compared to the porosity achieved with Matrix II on Platform 4, which utilised a 500 m depth.
3.3. ML Results
3.3.1. ML Models Training Results
The PBF-LB process parameters and density results from platforms 1–7 were used for training ML models. Four models developed using FLAML (ETR, XGBoost LD, XGBoost, LightGBM), along with KRR, exhibited comparable CV values of approximately 0.96 for the training dataset, based on 5-fold cross-validation. Notably, the XGBoost model showcased the best performance on the testing data, achieving an of 0.977, a MAPE of 0.002, and a MAE of 0.017. The performance results for all models are summarised in Table 4.
Figure 9 illustrates the plots for all trained models (A—training data, B—test data). The plots clearly indicate that only the SGD model fell short in effectively addressing the task, while the other models demonstrated data points closely aligned with the 45-degree line. This alignment suggests that the predicted density values are in close proximity to the ground-truth values. Despite standard preprocessing and hyperparameter tuning, the linear nature of the SGD model limited its ability to capture the underlying relationships in the data, leading to unstable optimisation and a failure to converge. Almost all trained models (except for SVR) demonstrated similar results in terms of the mean and standard deviation of the predicted density values relative to the actual values on the test data, ranging from 0.22–0.26% and 0.22–0.29%, respectively. Only at a single point in the test dataset (Platform no.2—I.27, see Supplementary Material), all ML models’ predictions, except SVR, exhibit an absolute deviation between 1% and 1.4%. To evaluate the equality of distributions between the predicted and ground-truth density values, we employed a two-sided Wilcoxon test. The resulting p-value is greater than 0.05, indicating that there is no significant difference between the two distributions.
3.3.2. Validation of the ML Models and PBF-LB Density Results from Platform 8
To determine the optimal settings for the PBF-LB process, we initially generated a grid of parameter values for “P” [W], “V” [mm/s], and “H” [ m] (see Table 5). For each combination of laser parameters, we predicted the sample density values using all the trained models. The coefficient of determination ( ) obtained from cross-validation, along with the error metrics (MAE and MAPE), showed remarkable consistency across all models, except for the SVR model. The optimal laser parameters identified by the trained models, which yielded the maximum predicted density (“D” [g/cm^ 3^]), are summarised in Table 6. These PBF-LB process parameters were empirically validated by fabricating an additional platform (P8) that included, like for data collecting, three samples for each parameter set. The density of these manufactured samples was then measured using Archimedes’ method and compared with the ML models’ predicted values. After excluding the lowest-performing samples (one from each set of laser parameters), MAE and MAPE were calculated for the remaining samples, yielding values of 0.050 and 0.640, respectively. The MAE and MAPE values for the validation data of each model are also summarised in Table 6.
Figure 10A illustrates the discrepancies in the density of H13 steel obtained from the parameters predicted by various machine learning models, including LightGBM/LGBM, RFR, XGBoost/XGB, SVR, XGBoost LD/XGB LD, and KRR, compared to the results from the PBF-LB experiments. Five of the seven models (LGBM, RFR, XGB, ETR, XGB LD) demonstrated a high degree of agreement with the predictions, yielding samples with densities exceeding 99.4% of the theoretical density of H13 steel. Utilising the parameters forecasted by four of the five most accurate models (LGBM, RFR, XGB, ETR), samples were produced with a theoretical density surpassing 99.6% of the specified density for H13 steel. The SVR model also facilitated the production of samples with densities above 99.6%; however, its predicted theoretical density for H13 steel was found to be 0.17 g/cm^3^ greater than the established theoretical value of 7.76 g/cm^3^. Conversely, the KRR model presented the lowest sample density achieved in the experiment, measuring 7.70 g/cm^3^, which resulted in a significant discrepancy of 0.11 g/cm^3^ between the predicted density and the PBF-LB experimental results. Figure 10B provides a visual representation of the differences in porosity, expressed as a percentage, computed using the ML models versus the values obtained from the PBF-LB experiments. It is important to note that although the actual porosity cannot be negative, two models (SVR and KRR) yielded such results, as their predicted density values exceeded the theoretical density for H13 steel. Continuous regression models such as KRR and SVR approximate the target function with a smooth mathematical relationship and lack built-in constraints on the range of output values. Consequently, when presented with a feature set that was not included in the training data, these models tend to extend the shape of the learned function, which can easily result in predictions that fall outside the observed values. To mitigate this issue, physical constraints can be integrated through custom loss functions or constrained regression techniques. In contrast, tree-based models such as RFR, LightGBM (LGBM), GBR, and ETR do not create a global smooth function. Instead, they generate predictions based on the average of target values within the terminal leaves. As a result, the predicted outputs are nearly always confined within the range of the training data, making these models more likely to produce physically plausible predictions.
The graph further indicates that the LightGBM model attained the lowest porosity value and the smallest deviation between the model predictions and the experimental outcomes. Consequently, the process parameters selected by the LightGBM model were utilised for subsequent experimental investigations, including the fabrication of heat treatment samples and a forging die fragment.
3.4. Microstructure and Mechanical Properties (Hardness) After Heat Treatments
The hardness of H13 steel samples produced through PBF-LB fabrication, following parameter optimisation supported by machine learning and various heat treatments, is illustrated in Figure 11. The hardness of the as-fabricated PBF-LB sample, which was processed on a building platform preheated to 350 ° was 604 ± 13 HV0.5 (Figure 11). Following tempering at temperatures of 500 °C and 650 °C, the hardness of the material increased by approximately 30 HV0.5, reaching around 630 HV0.5. In contrast, tempering at 600 °C did not affect the material’s hardness. Additionally, both the quenching (Q) of H13 steel after the laser melting process and the combined quenching and tempering (Q + T) at temperatures of 500 °C, 550 °C, and 600 °C resulted in similar hardness level of 627, 624 and 618 HV0.5, respectively.
The microstructure of H13 steel, fabricated through PBF-LB process using parameters predicted by the LightGBM machine learning model, is presented in Figure 12. The melt pool boundaries are distinctly observed in both the as-fabricated state (Figure 12A) and the tempered state at 550 °C (Figure 12B) following etching with a Nital reagent. The microstructure of both the as-fabricated and tempered samples exhibits a characteristic sub-grain cell structure, defined by a dendritic formation of long, thin grains that results from the rapid cooling during processing. When viewed perpendicularly to the axis of these dendritic grains, they appear as roughly circular shapes (Figure 12B). This cellular structure, consisting of a lath-like martensite core, was formed as a result of rapid cooling, whereas the interdendritic regions were enriched in alloying elements (Cr, Mo, V) and retained austenite, stabilised by local segregation during solidification [34,35,36,37,38,39]. Such features are consistent with previous observations for PBF-LB H13 steels by Deirmina et al. [34] and Li et al. [37], who reported that cyclic reheating between deposited layers promotes partial tempering and stabilisation of retained austenite.
The tempering process (Figure 12B) did not induce significant changes in the microstructure, as the melt pool boundaries typical of laser metal processing remained observable. However, small precipitates were detected at the grain boundaries post-tempering. Literature suggests that these precipitates may correspond to cementite or other phases enriched with alloying elements, e.g, fine (Figure 12B, right side, higher magnification) [37,38] accompanied by the partial decomposition of retained austenite. This microstructure, partially characterised by fine, round cementite precipitates, is reminiscent of that observed following partial spheroidization heat treatment [39]. The extent of these microstructural changes was observed to increase with elevated tempering temperatures. The subtle differences in microstructure between the as-fabricated and tempered samples correspond to a modest increase in hardness, from approximately 600 HV0.5 to 630 HV0.5, consistent with the typical secondary hardening range for H13 steel [38,40]. Quenching of the samples following the PBF-LB process led to the elimination of melt pool boundaries and columnar dendritic grains (Figure 12C). The resultant microstructure was comprised of lath martensite packets, as well as finer needle-like and lamellar martensite (Figure 12C, right side, higher magnification). The microstructure resulting from the quenching and tempering (denoted as Q + T550) displayed similarities to that of the as-fabricated sample tempered at 550 °C (Figure 12B); however, the dendritic grain boundaries remained concealed, despite prolonged etching times.
3.5. Forging Die
A section of the forging die, produced in the PBF-LB process using parameters optimised by LightGBM model, is depicted in Figure 13. This section was fabricated on support structures inclined 60° to the building platform (illustrated in Figure 13A) and incorporates two conformal channels (shown in Figure 13B). The metallographic cross-section revealed that the channels exhibited some irregular surfaces, aligned parallel to the building platform. Notably, these channels are pass-through, ensuring that no powder was trapped inside. Furthermore, Archimedes’ measurements confirmed that the porosity is below 0.5%. The X-ray Computed Tomography (XCT) cross-section reconstruction of the forging die is presented in Figure 13.
4. Discussion
4.1. PBF-LB Processing
To obtain functional objects with the required mechanical properties in the PBF-LB process, it is essential to minimise defects such as porosity and cracks [41,42]. This can be achieved by using high-quality feedstock materials and carefully selected parameters that ensure the continuity of the molten metal pool [43,44]. Additionally, internal stresses and non-equilibrium or non-compliant with ASTM/ISO standards microstructures resulting from the PBF-LB process can be mitigated through heat treatments [45,46,47].
In our research, we utilised H13 steel powders, which had a wide range of particle sizes, from around 3 m to 96 m (Figure 5). Furthermore, H13 steel powder was characterised by very high sphericity—more than 91% of powder particles in measured sample were spheres (Figure 6A) with a high flow coefficient— (Figure 7). Moreover, used in our research steel feedstock was characterised by minimal internal porosity seen only within individual particles (Figure 6B). This choice of materials ensured that the porosity observed during the parameter selection stage of the PBF-LB process was related to the process itself and its parameters, rather than the quality of the feedstock. It is essential to note that H13 steel is recognised as challenging to weld and prone to cracking due to the high stresses it generates during production, which are attributed to its chemical composition [48]. To address this issue, we carried out the PBF-LB process at an elevated build plate temperature of up to 350 °C, a condition that has not been previously reported for H13 steel. PBF-LB processes conducted at a building platform heated above 200–250 °C are rarely documented in the literature, as most commercially available devices do not support heating the building plate beyond this temperature range.
The traditional methodology for selecting PBF-LB process parameters typically involves modifying a set of parameters developed by the device manufacturer through a trial-and-error process. Another method is to create your own matrices with PBF-LB parameter sets and material characterisation of fabricated samples one by one until the required microstructure is obtained with a slight change of parameters during optimisation [49,50]. In our study, the initial set of parameters was adapted from the set of H11 steel parameters distributed by Aconity GmbH (Aconity device manufacturer). This set, prepared for H11 steel, is expected to result in porosity below 1% when used by Aconity GmbH powder supplier. Based on the parameters set for H11 steel, we prepared for H13 steel process optimisation nine sets of parameters (Matrix I—Appendix A.2), each adjusting three key variables of the PBF-LB process: laser power “P” [W], scanning speed “V” [mm/s], and distance between scan lines “H” [mm]. Using these three arrays, we fabricated seven platforms with 189 test samples. Each array produced three samples with a specific set of parameters, resulting in porosity levels below 0.6% for most samples from platforms 5, 6, and 7, where values below 1% are generally acceptable in industrial applications. Notably, the lowest porosity values, below 0.4%, were achieved not by modifying the PBF-LB process parameters, but by adjusting the marking depth for relatively small (10 mm diameter and 10 mm height) test samples. This marking depth was reduced to 100 micrometres for platforms 6 and 7, compared to 500 micrometres for platforms 1–5.
The challenge of identifying a single “best” set of PBF-LB process parameters for producing H13 steel prompted us to test eight selected ML models using the collected data.
4.2. ML Prediction Results
Despite the significant number of publications in recent years focused on using ML to optimise laser processing parameters for additive manufacturing of various metals, there have been no ML-based studies specifically addressing laser parameter optimisation for H13 steel. Yonehara et al. [51] optimised laser power, scan speed, and hatch spacing through a series of experiments that tested various parameter combinations, achieving a density of 99.9% at 400 W ( not reported; experimental validation) using a trial-and-error approach without incorporating ML methods. In another study [52], single-track PBF-LB/M experiments were conducted to establish a parameter window that would yield defect-free parts, identifying continuous tracks with depth-to-width ratios of 0.4–0.6 as optimal. Several key machine learning techniques have been reported for predicting porosity and density in different steels, including: 1. GPR for 17-4 PH [53]; 2. SVM and ANN for 316L SS [54]; 3. Ensemble Tree Algorithms (such as RFR and XGBoost) for 316L SS [55,56]. In this work, we evaluated the performance of models, including KRR, SVR, SGD, RFR, XGBoost, XGBoost LD, ETR, and LightGBM, to predict the theoretical density “D” [g/cm^3^] based on selected PBF-LB process parameters. Initially, we conducted trials with SVR and KRR, as these methods are frequently cited in studies related to predicting the physical properties of samples produced via PBF-LB for various alloys [10,54,56] and have demonstrated relatively high prediction accuracy. Subsequently, we trained various ensemble models, which offer the primary advantages of increased accuracy and robustness compared to the usage of a single model [32,57].
Feature analysis revealed that H13 steel theoretical density was strongly correlated with volumetric “E” [J/mm^3^] and linear “LE” [J/mm^3^] energy densities. Other parameters, such as laser power “P” [W] and the depth of sample marking “Mark depth” (100 m or 500 m), also showed notable effects. The absence of high inter-feature correlations suggested that non-linear models could better capture the underlying dependencies. Following preprocessing, including encoding categorical variables and normalising feature ranges, the trained models were applied to predict optimal process parameters for the PBF-LB process. Its experimental validation (Platform No. 8) confirmed the effectiveness of the predictive framework, as the models successfully identified laser parameter combinations that yielded a high-density (mostly above 99.6% of the 7.76 g/cm^3^ theoretical density of H13 steel) H13 steel sample. The comparative analysis of the trained models demonstrated that ETR, XGB, XGB LD, RF, LGBM and KRR achieved similar performance on the training dataset (CV ). However, XGBoost proved to be the most effective on the testing data, yielding = 0.977, MAPE = 0.017, and MAE = 0.02, indicating excellent predictive accuracy. Although a few test points exhibited larger deviations (∼1%) between predicted and experimental values, the majority of predictions showed minimal errors with a mean absolute difference of 0.22% and a standard deviation of 0.27%.
A clear distinction arises when comparing the statistical performance of different models (see Table 4 and Figure 9) with their experimental reliability (see Table 6 and Figure 10). To validate the ML results, optimal laser parameters corresponding to the maximum predicted density were selected for each trained model, as shown in Table 6. While the XGBoost model maintained high calculated predictive accuracy, the LightGBM model demonstrated greater reliability and generalizability in practical applications (PBF-LB processing). Specifically, the predicted density values from LightGBM showed the closest agreement with both the theoretical density of H13 steel and the experimentally measured densities of the PBF-LB samples, with deviations not exceeding 0.2% (refer to Figure 10A,B).
In contrast, although the KRR model exhibited a high cross-validation and competitive MSE and MAPE values, it predicted maximum density values that substantially exceeded the theoretical density of H13 steel. This overestimation indicates a limited physical consistency of the model, a finding confirmed by validation experiments (see Figure 10A,B). The SVR model showed the weakest performance from the outset, with a CV of 0.785, MAPE of 0.007, and MAE of 0.052, leading to unrealistically high density predictions beyond the theoretical limit. Consequently, during Archimedes’ density validation, measured densities deviated from the predicted values by 2.6%, highlighting the model’s inadequacy for reliable predictions.
By comparing our results with previously reported data for other materials, we conclude that our trained models predict sample porosity with comparable or superior accuracy. Studies on 316L stainless steel have demonstrated that classical ML algorithms, such as KNN, SVM, logistic regression, and ensemble tree-based methods, can achieve accuracies of up to 96%, with values ranging from 0.95 to 0.99 [54,55,56]. Similarly, linear regression, ANN, KNN, and SVM have been employed to predict the density of 316L stainless steel. The best-performing ANN model achieving = 0.95 and MAE of 3.56 [54]. Tao Shen et al. [58] reported that a multilayer perceptron (MLP) with three hidden layers and feature engineering techniques, achieved an of 0.954 when predicting the relative density of Ti-6Al-4V alloy parts manufactured using the PBF-LB process. In contrast, another study that applied seven ML algorithms to 316L stainless steel parts processed by PBF-LB reported lower accuracy, with the Gradient Boosting Regressor (GBR) B algorithm achieving only = 0.6296 and MAE = 0.4665. Regarding Al-10Si-Mg alloys fabricated by PBF-LB, predictive modelling of porosity using an adaptive-network-based fuzzy inference system achieved an of 0.97 [59]. Table 7 summarises the ML porosity prediction results from current and other published studies.
In many previous studies, training data were collected from multiple literature sources with different measurement protocols and machine conditions, which may introduce inconsistent input–output relationships and degrade model performance. In addition, some commonly used ML techniques assume linear relationships and therefore fail to capture the complex nonlinear interactions inherent to the PBF process, while limited experimental diversity can further restrict model generalization. In contrast, in this study, the data were obtained under consistent experimental conditions across a sufficiently wide range of laser parameters, the selected ML models are capable of approximating complex nonlinear dependencies, and the optimal parameter sets were validated through an independent experimental campaign. In addition, the standard set of features—laser power “P” (W), scanning speed “V” (mm/s), hatch distance “H” ( m), and layer thickness “T” ( m)—was expanded to include volumetric energy density “E” (J/mm^3^), linear energy density “LE” (J/mm^2^), the sample position on the build platform (denoted on each sample by a number on the top surface and referred to as “Placement”), and the sample marking depth (“Mark depth”). These additional features demonstrated a high degree of correlation with the target function.
4.3. Heat Treatments and Hardness
Steels used for forging tools must have various properties at an appropriately high level to cope with the problematic conditions present during the forging process. One of the requirements for these steels is the appropriate hardness, indicating the high strength of the material. The elevated build platform temperature of 350 °C in our study served as an in-situ heat treatment, partially relieving residual stresses and significantly reducing the risk of cracking in this high-hardenability tool steel. Moderate preheating of the building platform, in the range of 200–400 °C, during PBF-LB fabrication of H13 steel effectively promotes stress relaxation and stabilises melt pool geometry, resulting in a more uniform material [61,62]. In contrast, excessive preheating above 450 °C can suppress martensitic transformations and promote extensive tempering of the microstructure. The preheating level used in this work, therefore, provides a favorable compromise between build quality, dimensional stability, and microstructural control [63]. To ensure the high strength and homogeneity of the tested steels throughout their volume, the H13 steel samples were subjected to various heat treatment processes. Moreover, heat treatment of steel after the additive manufacturing process removes unwanted internal stresses created during this process, which may be responsible for tool cracks in the future [36]. The hardness of the As-made samples, processed using the LightGBM model-predicted parameters, on the building platform preheated to 350 °C, was HV0.5, which is similar to that of tools used in the forging industry, indicating that the optimal fabrication parameters have been selected. During the PBF-LB fabrication process, the material solidifies from the melt at very high cooling rates, beginning just below the liquidus temperature. Then, the material is cyclically exposed to elevated temperatures, which results from the application of successive layers of material. Depending on the process parameters, the initial thermal cycles for H13 steel cause the material to recrystallise due to fast cooling from the austenitization temperature. Subsequent cycles lead to tempering. As a result of these thermal cycles, the material within the sample ultimately becomes tempered steel. However, because the amount of material used in subsequent runs is small, the tempering process is brief and does not occur fully. Consequently, tempering of laser-processed material increased the hardness of H13 steel, as the tempering could proceed more fully due to the effects of secondary hardening. Tempering at 500 °C was likely cooler than the previous tempering temperatures of the material during the PBF-LB process. Therefore, it did not raise the temperature compared to the material in its as-made state. The hardness of the PBF-LB fabricated material after the quenching process is approximately 625 HV (50–51 HRC), as shown in Figure 11. This value is roughly 10 HV lower than the typical range of 51–53 HRC (635–670 HV) reported for wrought H13 steel that has undergone oil quenching from 1050 °C [40]. This discrepancy can be attributed to the lath martensite morphology illustrated in Figure 12C. The martensite present in our PBF-LB samples is notably finer and more densely packed than that in conventionally processed H13, due to the exceptional cooling rates ( K/s) characteristic of laser-based additive manufacturing. In contrast, wrought H13 experiences significantly slower cooling rates during traditional forging and heat treatment, leading to coarser martensitic lath structures that may accommodate higher local dislocation densities; however, verifying this hypothesis would require a more thorough quantitative microstructural analysis. While the refined martensite morphology provides enhanced toughness and ductility relative to its coarser conventional counterparts, it also yields lower hardness values. Moreover, the retained austenite observed in the interdendritic regions (enriched in Cr, Mo, and V) serves as a softer phase interspersed within the martensitic matrix. Although the hardness is slightly lower than that of conventionally processed H13, it remains entirely suitable for tool applications, especially where thermal fatigue resistance, ductility, and a refined grain structure confer superior service performance.
4.4. Limitations and Future Work
While the results of the present study are promising, several limitations must be acknowledged. Firstly, the dataset utilised is relatively small, which may hinder the generalisation capability of the trained models and increase their susceptibility to noise or outliers. Secondly, the process variables examined were confined to a predefined set of PBF-LB parameters, without considering other potentially influential factors, such as powder morphology, chemical composition, or environmental conditions, for example, gas flow or oxygen content during the process. This limitation may restrict the model’s ability to fully capture the complexity of process–structure relationships. Additionally, the experiments were conducted using a single AM process system with specific hardware configurations and control strategies. Consequently, directly transferring trained models to other PBF-LB machines may lead to diminished predictive performance due to machine-to-machine variability. Variations in recoating mechanisms, oxygen content, and gas flow intensity further challenge model portability.
Future research should focus on expanding the dataset to include a broader range of process parameters and build conditions, thereby enhancing the models’ robustness. Including data from multiple AM process systems would facilitate systematic evaluations of model transferability and contribute to the development of more generalizable predictive frameworks. Another promising avenue is the integration of physics-informed constraints to mitigate non-physical predictions and improve extrapolation capabilities. Finally, using adaptive or transfer learning strategies can adjust an existing model to different machines or materials by reusing prior training, enabling efficient recalibration with only a small amount of new experimental data. Results of this study provide a basis for future research to utilise the developed ML models to predict parameters of the PBF-LB process for other alloy groups, such as new copper and titanium alloys.
5. Conclusions
Our research results confirm that the implemented ML framework, based on automated hyperparameter optimisation using the FLAML library, effectively captures complex non-linear relationships between PBF-LB process parameters and relative density. Our research demonstrates that even with a limited experimental dataset ( ), properly tuned ensemble models can provide robust and generalisable predictions. The best-performing model, XGBoost, achieved an value of 0.977, MAPE = 0.002, and MAE = 0.017, surpassing most results reported for similar alloys in the literature. This validates the suitability of automated ML approaches for efficient parameter screening and process window identification prior to experimental validation, thereby substantially reducing the number of physical trials required.
The LightGBM model provided the most reliable and experimentally validated prediction, yielding additional manufactured samples with a relative density above 99.6% of the theoretical value (7.76 g/cm^3^). These parameters also enabled successful fabrication of a forging die segment with internal conformal channels and porosity below 0.5%, demonstrating the feasibility of ML-guided optimisation for industrial-scale PBF-LB production.
Microstructural analyses of samples fabricated with the LightGBM model predicted PBF-LB parameters confirmed a fine cellular martensitic structure typical of laser-processed H13 steel, with limited retained austenite. After tempering at 550 °C, hardness increased slightly to approximately 630 HV0.5, indicating partial secondary hardening without significant grain coarsening. Post-process heat treatment, involving re-quenching and tempering, reduced microstructural heterogeneity and improved homogeneity, although the hardness remained unchanged at a level typical of conventionally processed H13 steel.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Totten G.E. Steel Heat Treatment Metallurgy and Technologies. Steel Treatment Handbook CRC Press Boca Raton, FL, USA 200635210.1201/NOF 0849384523 · doi ↗
- 2Davis J.R. ASM Specialty Handbook: Tool Materials ASM International Almere, The Netherlands 1995117283
- 3Kou S. Work-Hardened Materials Welding Metallurgy John Wiley & Sons, Ltd.Hoboken, NJ, USA 200234135210.1002/0471434027.ch 14 · doi ↗
- 4Lippold J.C. Kotecki D.J. Welding Metallurgy and Weldability John Wiley & Sons, Ltd.Hoboken, NJ, USA 201428831010.1002/9781118960332 · doi ↗
- 5ISO/ASTM 52900:2021(en)Additive Manufacturing—General Principles—Fundamentals and Vocabulary ISO Geneva, Switzerland 2021
- 6Huang X. Kang N. Wang Q. El Mansori M. Guittonneau F. Wear of directed energy deposited H 13 steel as a function of its graded microstructure Tribol. Int.202520711061710.1016/j.triboint.2025.110617 · doi ↗
- 7Tanvir A.N.M. Ahsan M.R.U. Seo G. Bates B. Lee C. Liaw P.K. Noakes M. Nycz A. Ji C. Kim D.B. Phase stability and mechanical properties of wire + arc additively manufactured H 13 tool steel at elevated temperatures J. Mater. Sci. Technol.202167809410.1016/j.jmst.2020.04.085 · doi ↗
- 8Nandwana P. Goldsby D. Siddel D. Kannan R. Sears J. Binder Jet Printing of H 13 Tool Steel Technical Report Oak Ridge National Laboratory (ORNL)Oak Ridge, TN, USA 202110.2172/1810015 · doi ↗
