Skip to Content
Applied MechanicsApplied Mechanics
  • Article
  • Open Access

17 May 2026

16 Pages

Decoding Processing Effects in Al Alloys: A Data-Driven Approach Using Explainable Artificial Intelligence

and
1
Institute of Metal Science, Equipment and Technologies with Hydro- and Aerodynamics Centre “Acad. A. Balevski”, Bulgarian Academy of Sciences, 1574 Sofia, Bulgaria
2
National Center for Mechatronics and Clean Technologies, 8 “Kliment Ohridski” Blvd., Building 8, 1756 Sofia, Bulgaria
3
Institute of Mechanics, Bulgarian Academy of Sciences, 1113 Sofia, Bulgaria
*
Author to whom correspondence should be addressed.

Abstract

Understanding the complex relationships between processing conditions and mechanical properties in aluminum alloys remains a critical challenge in materials science. This study presents a data-driven framework using explainable artificial intelligence to quantify and interpret how different processing routes influence the strength–ductility trade-off in aluminum alloys. Using a comprehensive dataset of 1154 aluminum alloy samples with 10 distinct processing conditions, optimized XGBoost models were developed via Bayesian hyperparameter tuning to predict yield strength (R2 = 0.9392), tensile strength (R2 = 0.9491), and elongation (R2 = 0.6767). The strength models showed high predictive accuracy, whereas elongation showed lower and less uniform reliability, with the largest relative errors in the 0–5% elongation regime. SHAP (SHapley Additive exPlanations) analysis revealed that processing condition is the most influential feature for yield strength prediction, while Cu dominates tensile strength prediction. True SHAP interaction analysis identified Processing_encoded interactions with Cu as the strongest processing-coupled contribution, followed by Mg and Al, with Zn, Si, and Li showing smaller but non-negligible interaction contributions. The decision-tree surrogate is presented as an exploratory rule-extraction tool rather than as a standalone processing-selection classifier. These findings demonstrate that explainable Machine Learning (ML) can support interpretation of processing–property relationships in aluminum alloys when predictive limitations, class imbalance, and the associative nature of SHAP explanations are explicitly considered.

1. Introduction

Aluminum alloys represent one of the most technologically significant classes of structural materials, with applications spanning aerospace, automotive, defense, and construction industries [1,2]. Their exceptional strength-to-weight ratio, corrosion resistance, and recyclability make them indispensable for weight-critical applications where performance and sustainability are paramount [3]. However, achieving optimal mechanical properties in aluminum alloys requires precise control over both chemical composition and thermomechanical processing, creating a complex, multi-dimensional design space that remains challenging to navigate systematically [4].
The relationship between processing conditions and mechanical properties in aluminum alloys presents a fundamental challenge in materials science. Heat treatment sequences, including solutionizing, aging (natural or artificial), and work hardening, induce complex microstructural transformations that govern the precipitation hardening response. Traditional experimental approaches are grounded in well-established physical metallurgy principles. However, they are limited by the large number of possible processing routes and by the high cost of systematic experimental campaigns. The strength–ductility trade-off adds a further challenge. Processing conditions that maximize strength through precipitation hardening often reduce ductility by promoting strain localization. Therefore, alloy design requires careful balancing of competing property objectives [5,6].
Despite decades of research on aluminum alloy metallurgy, quantitative frameworks for predicting how specific processing routes influence the strength–ductility balance across diverse alloy compositions remain underdeveloped. Empirical guidelines exist for individual alloy series (2xxx, 6xxx, 7xxx), but generalizable, data-driven models capable of capturing composition–processing interactions are lacking [1,7,8]. This gap limits the ability of materials engineers to rationally select processing conditions for new alloy compositions or to optimize existing alloys for specific property targets.
Machine learning (ML) approaches have emerged as powerful tools for accelerating materials discovery and property prediction. In the domain of aluminum-based metal matrix composites (MMCs), recent studies have demonstrated the application of various ML algorithms for predicting mechanical and tribological properties. Xue et al. [9] applied CatBoost with SHAP analysis to predict hardness and tensile strength in graphene-reinforced aluminum composites, achieving R2 values exceeding 0.95. Nagaraju et al. [10] employed artificial neural networks to predict mechanical properties of Al2219-B4C-Gr composites, while Mishra and Jatti [11] introduced neurosymbolic programming for wear rate prediction in Al/SiC metal matrix composites. More recent work by Rajesh et al. [12] compared multiple ML algorithms including XGBoost, achieving 99% accuracy for wear prediction in Al2024/SiC/CNT hybrid composites.
Additional studies have explored diverse aspects of aluminum composite optimization using ML. Elkatatny et al. [13] combined response surface methodology with ML to optimize powder metallurgy parameters for Al-4Cu/Al2O3 composites. Poornesh et al. [14] utilized AutoML (TreeNet) for hardness optimization in Al-Si alloy composites reinforced with coconut shell ash. Sarmah et al. [15] developed PSO-SVM models for microhardness prediction in Al-SiC-ZrO2 composites, while Hasan et al. [16] pioneered ML-enabled multiscale modeling bridging atomistic and continuum scales for Al-SiC nanocomposites. Zhang et al. [17] applied deep learning (CNN-RNN architectures) for mechanical property prediction in metal matrix composites, achieving R2 scores of 0.89–0.92. Pradhan et al. [18] employed a two-stage ML framework for predicting field emission performance in graphene-reinforced aluminum composites, while Ramachari et al. [19] utilized ML regression to analyze tribological performance of Al-graphene composites. Mahaviradhan and Sivaganesan [20] developed ANN models for predicting physical properties of hybrid Al-SiC-Gr composites, and Pushparaj et al. [21] combined Taguchi optimization with ANN for friction process modeling in Al7075/SiC nanocomposites.
However, the majority of these ML studies focus on aluminum matrix composites (MMCs) with ceramic or carbonaceous reinforcements [9,10,11,12,18], primarily targeting tribological properties such as wear rate and friction coefficient [10,11,14,21]. Although explainable AI approaches such as SHAP have been successfully applied to aluminum composites [9], their application to monolithic aluminum alloys remains unexplored. Furthermore, the specific question of how heat treatment processing conditions influence mechanical properties in monolithic aluminum alloys, and how these effects interact with alloy composition to govern the strength–ductility trade-off, has not been systematically addressed using explainable ML approaches.
Explainable artificial intelligence (XAI) methods, particularly SHAP (SHapley Additive exPlanations), offer a solution to the interpretability limitation of conventional ML models. SHAP values provide a unified, theoretically grounded measure of feature importance derived from cooperative game theory, enabling quantification of how each input feature contributes to individual predictions. This approach has been successfully applied to various materials science problems, demonstrating its utility for extracting physically meaningful insights from complex datasets [9,22].
The present study introduces a comprehensive data-driven framework for decoding processing effects in aluminum alloys using explainable ML. The objectives are fourfold: (1) to develop accurate predictive models for yield strength, tensile strength, and elongation using XGBoost regression with Bayesian hyperparameter optimization; (2) to quantify the relative importance of processing conditions compared to compositional factors using SHAP analysis; (3) to identify specific processing–composition interactions that govern the strength–ductility trade-off; and (4) to develop an interpretable surrogate model that summarizes broad composition–processing associations and evaluates their reliability under processing-class imbalance. By combining gradient boosting regression with systematic interpretability analysis, this work aims to extract actionable insights that can inform processing route selection for aluminum alloy applications, bridging the gap between black-box predictions and metallurgically meaningful design guidance.

2. Materials and Methods

2.1. Dataset Description

The dataset used in this study comprises 1154 aluminum alloy samples from the open access database of Bhat et al. [23,24]. Each sample is characterized by 25 elemental composition variables (Ag, Al, B, Be, Bi, Cd, Co, Cr, Cu, Er, Eu, Fe, Ga, Li, Mg, Mn, Ni, Pb, Sc, Si, Sn, Ti, V, Zn, Zr) expressed in weight percent, along with one categorical processing condition variable and three mechanical property targets: yield strength (MPa), tensile strength (MPa), and elongation (%).
The processing conditions in the dataset span 10 distinct categories representing common industrial heat treatment sequences: (1) No Processing (n = 141), (2) Solutionized (n = 4), (3) Naturally aged (n = 18), (4) Artificially aged (n = 21), (5) Solutionized + Naturally aged (n = 86), (6) Solutionized + Artificially peak aged (n = 375), (7) Solutionized + Artificially over aged (n = 214), (8) Solutionized + Cold Worked + Naturally aged (n = 57), (9) Strain Hardened (Hard) (n = 197), and (10) Strain Hardened (n = 41). This distribution reflects the prevalence of age-hardening treatments in high-strength aluminum alloy applications. This distribution is highly imbalanced and therefore limits the reliability of category-level comparisons for rare processing states. Consequently, processing-group-level SHAP trends, ANOVA comparisons, and surrogate-classifier rules should be interpreted with greater caution for underrepresented classes.
Target variable statistics after removing samples with missing values showed: yield strength (n = 1045, range: 10.3–790.0 MPa, mean: 281.9 MPa), tensile strength (n = 1121, range: 44.8–820.0 MPa, mean: 344.5 MPa), and elongation (n = 1046, range: 0.5–50.0%, mean: 12.1%). The wide ranges indicate coverage of both soft, formable alloys and high-strength structural grades.
For visualization and statistical analysis, the 10 processing categories were consolidated into five major groups: Peak Aged (Solutionized + Artificially peak aged, n = 375), Over Aged (Solutionized + Artificially over aged, n = 214), Strain Hardened (Strain Hardened + Strain Hardened (Hard), n = 238), Naturally Aged (Naturally aged + Solutionized + Naturally aged + Solutionized + Cold Worked + Naturally aged, n = 161), and No Processing (n = 141). The remaining categories (Solutionized, n = 4; Artificially aged, n = 21) were grouped as Other (n = 25). This consolidation preserves the major metallurgical distinctions while ensuring sufficient sample sizes for robust statistical comparisons.

2.2. Machine Learning Framework

XGBoost (eXtreme Gradient Boosting) was selected as the primary modeling algorithm due to its demonstrated performance on tabular data with mixed feature types and its effectiveness with mixed numerical and encoded categorical features [25]. The algorithm builds an ensemble of decision trees sequentially, with each tree correcting the errors of the previous ensemble, making it robust to overfitting when properly regularized.
Hyperparameter optimization was performed using Optuna with Tree-structured Parzen Estimator (TPE) sampling over 50 trials for each target property. The search space included: number of estimators (100–500), maximum tree depth (3–10), learning rate (0.01–0.3), subsample ratio (0.6–1.0), column sample ratio (0.6–1.0), and minimum child weight (1–10). Five-fold cross-validation was used within each trial to estimate generalization performance, with RMSE as the optimization objective.
The dataset was split into training (80%) and test (20%) sets using stratified sampling based on processing condition to ensure representative coverage. Model performance was evaluated using coefficient of determination (R2), root mean squared error (RMSE), mean absolute error (MAE), mean absolute percentage error (MAPE), and symmetric mean absolute percentage error (sMAPE). Bootstrap resampling (n = 1000) was employed to estimate 95% confidence intervals for R2 on the test set.

2.3. Explainability Analysis

SHAP values were computed using the TreeExplainer algorithm, which provides exact Shapley values for tree-based models in polynomial time [26,27]. For each prediction, SHAP values quantify the contribution of each feature to the deviation from the expected (mean) prediction. Primary SHAP summary analyses were evaluated on held-out test samples. Full-dataset SHAP visualizations were retained only where broader sample coverage was required for exploratory interpretation, specifically representative waterfall plots and dependence plots. These full-dataset visualizations are labeled accordingly and are not used as independent validation metrics.
Processing–composition interactions were analyzed through SHAP dependence plots and interaction value matrices. To quantify processing effects on mechanical properties, one-way ANOVA was performed with Bonferroni-corrected pairwise comparisons (α = 0.05). Effect sizes were calculated using Cohen’s d with pooled standard deviation.
A decision tree classifier was trained as a surrogate model to provide an interpretable summary of composition–processing associations. The surrogate was fitted to predict the historically applied processing category based on composition, with maximum depth limited to 4 for interpretability. Surrogate performance was assessed by stratified five-fold cross-validation using overall accuracy, balanced accuracy, macro- and weighted-average precision, recall, and F1-score, together with the cross-validated confusion matrix. Per-class precision, recall, and F1-score were reported directly in the results to evaluate class-specific reliability under processing-class imbalance. For the surrogate classifier, the grouped processing categories were restricted to five major classes: Peak Aged, Over Aged, Strain Hardened, Naturally Aged, and No Processing. This grouping reduced sparsity while preserving the major metallurgical distinctions among processing routes. To verify that the optimized XGBoost results were not an artifact of model choice, a baseline sensitivity check was performed using common tabular-regression algorithms under identical train/test splits. This comparison was not intended to reframe the study as an algorithm benchmark, but to evaluate whether optimized XGBoost remained competitive on the present dataset.

3. Results and Discussion

3.1. Model Performance

The optimized XGBoost models achieved strong predictive performance for the two strength targets, whereas elongation was predicted with lower and less uniform reliability (Table 1, Figure 1). The yield strength model achieved R2 = 0.9392 (95% confidence interval, CI: [0.9103, 0.9603]), RMSE = 36.68 MPa, MAE = 23.64 MPa, MAPE = 12.57%, and sMAPE = 11.04%. The tensile strength model exhibited the highest R2, with R2 = 0.9491 (95% CI: [0.9255, 0.9676]), RMSE = 32.94 MPa, MAE = 20.55 MPa, MAPE = 6.84%, and sMAPE = 6.89%. Elongation prediction was less reliable, with R2 = 0.6767 (95% CI: [0.3699, 0.8429]), RMSE = 4.07%, MAE = 2.35%, MAPE = 35.11%, and sMAPE = 22.54%. The elongation model showed lower and less uniform predictive reliability than the strength models. Error stratification by elongation range showed that the poorest predictive behavior occurred in the 0–5% elongation regime. This subset contained 23 test samples and showed the largest RMSE (8.675%), MAE (4.311%), median absolute error (2.559%), and 90th-percentile absolute error (7.079%). The relative error was also substantially higher in this regime, with MAPE = 175.46% and sMAPE = 61.99%, even after excluding true elongation values below 1% from the MAPE calculation to avoid near-zero division effects. The positive bias in this range (4.229%) indicates that the model tends to overpredict very low elongation values. In contrast, the higher elongation ranges showed markedly lower errors, with MAE values of 1.696%, 2.245%, and 2.388% for the 5–10%, 10–20%, and >20% ranges, respectively. These results show that the elongation model is not uniformly reliable across the ductility range and that its main limitation is concentrated in the low-elongation regime. This behavior is physically reasonable because ductility is strongly affected by microstructural and defect-related variables, including grain size, precipitate morphology, damage state, porosity, texture, and testing orientation, none of which are explicitly represented in the dataset. Consequently, elongation predictions should be interpreted as trend-level estimates rather than precise ductility predictions, particularly for alloys with very low elongation.
Table 1. Model performance metrics for mechanical property prediction. R2 confidence intervals obtained via bootstrap resampling (n = 1000). RMSE and MAE are reported in the units of the corresponding target property, namely MPa for yield strength and tensile strength, and % for elongation. MAPE and sMAPE are reported as percentages.
Figure 1. Parity plots comparing predicted vs. actual values for (A) yield strength, (B) tensile strength, and (C) elongation, with (D) model performance comparison showing R2 scores and 95% confidence intervals. Dashed lines indicate perfect prediction. R2 confidence intervals were obtained by bootstrap resampling with n = 1000 resamples.
The achieved R2 values for strength prediction (0.9392 for yield strength and 0.9491 for tensile strength) are competitive with state-of-the-art ML models in the aluminum alloy domain. For comparison, Xue et al. [9] reported R2 values of 0.96 and 0.99 for hardness and tensile strength prediction in graphene-reinforced aluminum composites using CatBoost, while Zhang et al. [17] achieved R2 scores of 0.89–0.92 using deep learning (CNN-RNN) architectures for metal matrix composites. The lower predictive accuracy for elongation (R2 = 0.68) is consistent with the known complexity of ductility prediction, which depends on defect populations, grain boundary characteristics, and deformation mechanisms that are not fully captured by bulk composition and processing category alone. This observation is consistent across the broader ML-for-materials literature, where elongation prediction consistently lags behind strength prediction [28,29]. A baseline sensitivity check under identical train/test splits, reported in the baseline model comparison table (Table 2), was therefore added to verify that optimized XGBoost was not an artifact of model choice. This comparison was not intended to reframe the study as an algorithm benchmark. The results confirmed that optimized XGBoost remained highly competitive for yield and tensile strength prediction, while elongation showed greater model sensitivity, consistent with the broader conclusion that ductility is less fully captured by composition and categorical processing descriptors alone. Future work incorporating microstructural descriptors or continuous processing parameters (aging time, temperature) could improve elongation predictions.
Table 2. Baseline model comparison under identical train/test splits. RMSE and MAE are reported in target units, namely MPa for yield strength and tensile strength, and % for elongation. The table is included to verify that optimized XGBoost remained competitive for the present dataset, not to reframe the study as an algorithm benchmark.

3.2. Feature Importance Analysis

SHAP analysis revealed that processing condition (label-encoded as an ordinal integer variable, which is acceptable for tree-based models that learn split thresholds) is the most influential feature for predicting yield strength (Figure 2). For yield strength, processing achieved a mean absolute SHAP value of 54.81, followed by Cu (45.50), Zn (30.94), Al (14.82), and Mg (11.56). For tensile strength, however, Cu emerged as the dominant feature (mean |SHAP| = 69.57), followed by processing (40.07), Zn (21.94), Al (21.14), and Mg (15.22). The dominance of processing as the top feature quantitatively confirms the well-established metallurgical understanding that heat treatment is paramount for achieving target strength levels in precipitation-hardening aluminum alloys. The appearance of Cu, Zn, and Mg among the top compositional features aligns with their roles as primary strengthening elements in 2xxx, 7xxx, and 6xxx series alloys, respectively. Notably, for elongation prediction, the feature importance ranking differed substantially. Processing remained the top-ranked feature (mean |SHAP| = 3.47) but with a much smaller magnitude compared to strength predictions, followed by Al (1.10), Mg (0.59), and Si (0.44). The reduced dominance of processing and the increased relative importance of compositional features suggest that ductility is more sensitive to solid solution effects and less exclusively governed by precipitation hardening state compared to strength properties. The different ranking of processing for yield strength and Cu for tensile strength can be interpreted in terms of the different physical sensitivities of yield onset and ultimate load-bearing capacity. Yield strength is strongly affected by the imposed heat-treatment or strain-hardening state because these conditions control the density and effectiveness of precipitate and dislocation barriers at the onset of plastic flow. Tensile strength, in contrast, reflects the maximum load-bearing capacity after plastic deformation begins and is more strongly coupled to alloy-family effects, especially Cu-rich compositions and their precipitation-hardening potential in Al-Cu systems. This interpretation remains associative because the dataset does not contain direct precipitate, grain size, texture, or defect descriptors.
Figure 2. SHAP summary plots showing feature importance and value effects for (A) yield strength, (B) tensile strength, and (C) elongation. Features are ranked by mean absolute SHAP value; color indicates feature value (red = high, blue = low).
The finding that processing condition ranks as the most important feature for strength prediction has significant implications for materials design strategies. While composition optimization has traditionally received primary attention in alloy development, the quantitative analysis demonstrates that processing selection can contribute more to property variation than any single compositional variable [29,30]. This suggests that processing route optimization should be considered as a primary design variable, not merely a post hoc treatment decision. The SHAP value of 54.81 for processing in yield strength prediction indicates that, on average, processing condition shifts predictions by ±55 MPa from the baseline. This magnitude exceeds the contribution of Cu (45.50), the most important compositional feature, demonstrating the outsized influence of heat treatment on achievable strength levels. From a practical standpoint, this finding emphasizes that two alloys with identical composition can exhibit vastly different mechanical properties depending on their processing history. Analogous findings were reported by Xue et al. [9], who used SHAP to reveal the correlation between composition, processing, and properties in graphene-reinforced aluminum composites. Similarly, Datta et al. [22] demonstrated the utility of SHAP analysis for quantifying the influence of inclusions on aluminum alloy properties, confirming the broader applicability of explainable ML for materials design.

3.3. Processing Effects on Strength–Ductility Trade-Off

Analysis of the strength–ductility relationship across processing conditions revealed distinct clusters (Figure 3) corresponding to different processing routes. Note that Figure 3 includes only the n = 939 samples with non-missing values for both yield strength and elongation (276 Peak Aged, 184 Over Aged, 209 Strain Hardened, 147 Naturally Aged, 104 No Processing, 19 Other), rather than the full dataset. Peak-aged conditions (Solutionized + Artificially peak aged) occupied the high-strength, low-ductility region with mean yield strength of 356 ± 138 MPa and elongation of 10.4 ± 5.2%. In contrast, naturally aged conditions exhibited moderate strength (mean YS: 239 ± 107 MPa) with higher ductility (mean elongation: 16.9 ± 5.8%), while no-processing conditions showed the lowest strength (mean YS: 85 ± 45 MPa) but the highest ductility (mean elongation: 22.0 ± 9.8%).
Figure 3. (A) Strength–ductility trade-off scatter plot showing yield strength vs. elongation, colored by processing group, and (B) box plot of yield strength distribution by processing group.
One-way ANOVA confirmed highly significant differences in mechanical properties across processing groups for all three targets: yield strength (F = 238.28, p < 0.001), tensile strength (F = 200.69, p < 0.001), and elongation (F = 163.72, p < 0.001). Bonferroni-corrected pairwise comparisons revealed that the largest effect sizes (Cohen’s d) for yield strength were between no-processing and over-aged conditions (d = 3.34), followed by no-processing vs. peak-aged conditions (d = 2.23). For elongation, the strongest contrast was between over-aged and no-processing conditions (d = 1.98), confirming that the strength–ductility trade-off is statistically robust across processing routes.
SHAP waterfall plots for representative samples from selected processing categories (Figure 4) illustrated how processing contributes to individual predictions. For a peak-aged alloy (predicted yield strength = 346 MPa), Cu and processing were the largest positive contributors. For a strain-hardened sample (200 MPa), Cu, Al, and Zn dominated the negative feature contributions, while Mn contributed positively. In the naturally aged case (246 MPa), Cu was the largest positive contributor, whereas Mg, Zn, and processing contributed negatively.
Figure 4. SHAP waterfall plots for representative samples showing feature contributions to yield strength predictions for (A) peak-aged alloy (346 MPa), (B) strain-hardened alloy (200 MPa), and (C) naturally aged alloy (246 MPa).
The strength–ductility trade-off visualized in Figure 3 represents a fundamental constraint in aluminum alloy design. The present analysis provides a data-driven quantification of how different processing routes navigate this trade-off. Peak-aged states were associated with higher strength and lower ductility in the observed dataset, whereas natural aging and minimal processing tended to retain higher ductility. This quantitative mapping complements inverse design approaches such as that of Bhat et al. [24], who used multi-targeted random forest models on the same dataset to predict alloy compositions from desired mechanical properties, further confirming the critical role of processing conditions in determining the achievable property space.

3.4. Processing–Composition Interactions

The SHAP dependence analysis (Figure 5) provides an explanatory visualization of how key compositional features contribute to yield strength predictions across processing states. Because these dependence plots were computed using full-dataset SHAP values to improve coverage of processing groups, they should be interpreted as exploratory rather than as independent validation evidence. The Cu, Zn, Al, and Mg panels indicate that the model captures different composition–response patterns across processing conditions, but SHAP dependence patterns do not by themselves establish causality or isolate complete thermal histories. The relatively large strength variation observed for low-Al samples in the No Processing group should be interpreted cautiously. In this dataset, low Al content corresponds to higher total alloying content, so these samples may differ substantially in solid-solution strengthening, precipitation potential, alloy family, and unrecorded prior casting or thermomechanical history. Therefore, the No Processing label should not be interpreted as a uniform microstructural state, and the observed SHAP pattern is treated as an associative composition–response trend rather than as direct evidence of a processing mechanism. To quantify processing–composition coupling more rigorously, true SHAP interaction values were computed using shap_interaction_values() on the held-out test set. The reported values represent mean absolute SHAP interaction values between Processing_encoded and each elemental feature. They should therefore not be conflated with the ordinary SHAP-importance ranking shown in Figure 2. Figure 6 presents group-resolved mean absolute SHAP interaction values between the encoded processing variable and selected elemental features. The values discussed in the text were obtained by collapsing the group-resolved results across processing groups using sample-count weighting. On this overall basis, Cu shows the strongest processing-coupled contribution (mean |interaction| = 8.92), followed by Mg (3.54) and Al (3.48), while Zn (2.56), Si (2.41), and Li (1.96) show smaller but non-negligible contributions.
Figure 5. SHAP dependence plots for key features showing their effect on yield strength, colored by processing condition, for (A) Cu, (B) Zn, (C) Al, and (D) Mg. SHAP values for these dependence plots are computed on the full dataset to maximize sample coverage across processing groups.
Figure 6. Group-resolved true SHAP interaction analysis for yield strength. SHAP interaction values were computed using shap_interaction_values(). Each cell shows the mean absolute interaction value between the encoded processing variable and a selected elemental feature within a processing group. The overall element-level ranking discussed in the text was obtained by collapsing the group-resolved values across processing groups using sample-count weighting.
The interaction-level results, with Cu identified as the strongest processing-coupled feature and Mg, Al, Zn, Si, and Li contributing successively smaller interaction terms, align with established precipitation-hardening mechanisms. In Al-Cu alloys, artificial aging promotes the formation of coherent θ″ and semi-coherent θ′ precipitates that provide maximum strengthening [31,32]. The amplification of Cu’s strengthening effect by peak aging quantifies this well-known phenomenon in a data-driven manner. These interaction insights enable more efficient alloy-process co-design. Rather than optimizing composition and processing independently, designers can leverage the identified synergies to achieve target properties with potentially leaner compositions when appropriate processing is applied, or to identify robust composition ranges that are less sensitive to processing variations. This co-design perspective is consistent with the inverse design workflow proposed by Bhat et al. [24], who demonstrated that multi-targeted ML models can directly predict optimal alloy compositions and processing conditions from desired mechanical property targets. Furthermore, Elkatatny et al. [13] demonstrated similar composition–processing optimization synergies in Al-4Cu/Al2O3 composites fabricated by powder metallurgy, where ML combined with response surface methodology identified optimal parameter combinations that significantly improved mechanical properties.

3.5. Decision-Tree Surrogate Model

The decision-tree surrogate was trained (Table 3) as an interpretable, simplified summary of composition–processing relationships. The cross-validated confusion matrix of the decision-tree surrogate classifier is presented in Figure 7. It predicts historically applied grouped processing categories from composition and should not be interpreted as a definitive processing-selection classifier. Under stratified 5-fold cross-validation, the surrogate achieved an overall accuracy of 59.6%, balanced accuracy of 52.3%, macro precision of 0.613, macro recall of 0.523, macro F1 of 0.494, weighted precision of 0.605, weighted recall of 0.596, and weighted F1 of 0.556. Per-class performance was uneven: Strain Hardened was classified most reliably (precision = 0.662, recall = 0.950, F1 = 0.781), followed by Peak Aged (precision = 0.589, recall = 0.672, F1 = 0.628), Over Aged (precision = 0.580, recall = 0.529, F1 = 0.553), and Naturally Aged (precision = 0.482, recall = 0.439, F1 = 0.459). No Processing showed very low recall despite high precision (precision = 0.750, recall = 0.026, F1 = 0.051), indicating that this class was rarely predicted. The confusion-matrix results confirmed this limitation: only 3 of 114 No Processing samples were correctly classified, while 72 were assigned to Strain Hardened and 21 to Peak Aged. Therefore, the surrogate captures broad composition–processing associations but should be used only as an exploratory rule-extraction tool, not as a standalone processing-selection model.
Table 3. Decision-tree surrogate model node structure. Each row corresponds to a node in the decision tree. For internal nodes, the splitting rule is defined by the Feature and Threshold columns, where the decision condition is Feature ≤ Threshold. For terminal nodes, the Feature column is reported as LEAF and the Threshold column is marked as N/A. Per-class columns show sample counts for each processing group.
Figure 7. Cross-validated confusion matrix for the decision-tree surrogate classifier.

4. Conclusions

This study demonstrated the application of explainable machine learning to decode processing effects in aluminum alloys. The key findings are as follows:
  • The optimized XGBoost models showed strong predictive performance for yield strength (R2= 0.9392) and tensile strength (R2= 0.9491), while elongation was predicted with lower and non-uniform reliability across the ductility range (R2= 0.6767). The largest errors occurred in the low-elongation regime, where small absolute deviations produce large relative errors and where ductility is strongly affected by microstructural, defect-related, and testing-orientation variables not represented in the dataset.
  • SHAP analysis showed that processing condition is highly influential for yield strength prediction, while Cu is the leading feature for tensile strength prediction. For elongation, processing remained important, but the lower model reliability indicates that composition and categorical processing descriptors alone are insufficient to fully capture ductility-controlling mechanisms.
  • The strength–ductility trade-off was mapped across processing conditions. Peak-aged states were associated with higher strength and lower ductility, whereas natural aging and minimal processing tended to retain higher ductility in the observed dataset.
  • True SHAP interaction analysis refined the processing–composition interpretation by quantifying interactions between the encoded processing variable and elemental features. Cu showed the strongest processing-coupled contribution, followed by Mg and Al, with smaller but non-negligible interactions for Zn, Si, and Li.
  • The decision-tree surrogate model provides an exploratory rule-extraction summary of composition–processing associations. However, because of class imbalance and moderate classification performance, it should not be used as a standalone processing-selection tool.
Overall, the results show that explainable AI can support interpretation of processing–property relationships in aluminum alloys when its outputs are treated as associative model explanations rather than causal proof. The framework is strongest for strength prediction and processing–composition interpretation, whereas reliable ductility prediction requires additional microstructural, defect-state, and testing descriptors.

Author Contributions

Conceptualization, M.K.; methodology, M.K.; software, M.K.; validation, M.K.; formal analysis, M.K. and T.S.; investigation, M.K. and T.S.; resources, M.K. and T.S.; data curation, M.K. and T.S.; writing, original draft preparation, M.K. and T.S.; writing—review and editing, M.K.; visualization, M.K., supervision, M.K.; project administration, M.K. and T.S.; funding acquisition, M.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Bulgarian National Science Fund, Project KП-06-H97/10 “Fabrication and Investigation of Antifriction Hybrid Nanocomposites Based on Aluminum Alloys Using an Integrated Approach Combining Experimental Methods and Machine Learning”.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The dataset analyzed in this study is publicly available in Mendeley Data: Bhat, Ninad; Barnard, Amanda; Birbilis, Nick (2023), “Aluminium alloy dataset for supervised learning”, Mendeley Data, V1, https://doi.org/10.17632/b6br4yk6r3.1.

Acknowledgments

The work in this publication was performed using equipment funded by project BG16RFPR002-1.014-0006 “National Center for Mechatronics and Clean Technologies”.

Conflicts of Interest

The author declares no conflicts of interest.

References

  1. Zhou, B.; Liu, B.; Zhang, S. The Advancement of 7XXX Series Aluminum Alloys for Aircraft Structures: A Review. Metals 2021, 11, 718. [Google Scholar] [CrossRef] [Scilit]
  2. Mishra, D.M. A Review of Manufacturing Processes for Aluminum-Lithium Alloys and Their Applications. Prem. J. Eng. 2025, 3, 100007. [Google Scholar] [CrossRef] [Scilit]
  3. Trindade, W.G.; Padovezzi, R.O.; Pinto, E.P.G.; Marques, G.A.; Amorese, R.A.; Silva, M.C.; Damasio, T.S.; de Andrade, G.O.; de Luca, R.; do Nascimento, P.H.T. Influence of Alloying Elements on the Mechanical Properties and Electrical Conductivity of 6000 Series Aluminum Alloy. A Review. Contrib. A Las Cienc. Soc. 2025, 18, e18763. [Google Scholar] [CrossRef] [Scilit]
  4. Chaskis, S.; Tiktopoulos, C.; Gavalas, E.; Bouzouni, M.; Tsiolis, F.; Papaefthymiou, S. Compositional Design, Microstructure, and Thermal Processing of Aluminum-Based Complex Concentrated Alloys. Crystals 2025, 15, 88. [Google Scholar] [CrossRef] [Scilit]
  5. Zhang, X.; Yang, C.; Meng, L.; Chen, Z.; Gong, W.; Sun, B.; Zhao, S.; Zhang, D.; Li, Y.; Zhou, D. The Influence of Precipitation on Plastic Deformation in a High Mg-Containing AlMgZn-Based Crossover Alloy: Slip Localization and Strain Hardening. Int. J. Plast. 2024, 173, 103896. [Google Scholar] [CrossRef] [Scilit]
  6. Siddesh Kumar, N.M.; Dhruthi; Pramod, G.K.; Samrat, P.; Sadashiva, M. A Critical Review on Heat Treatment of Aluminium Alloys. Mater. Today 2022, 58, 71–79. [Google Scholar] [CrossRef] [Scilit]
  7. Dash, S.S.; Chen, D. A Review on Processing–Microstructure–Property Relationships of Al-Si Alloys: Recent Advances in Deformation Behavior. Metals 2023, 13, 609. [Google Scholar] [CrossRef] [Scilit]
  8. Carta, M.; Aydi, L.; Buonadonna, P.; Morea, D.; El Mehtedi, M. Effect of Post Heat Treatment on Microstructure and Mechanical Properties of Hot-Rolled AA2017 Aluminum Alloy. Heliyon 2024, 10, e40922. [Google Scholar] [CrossRef] [Scilit]
  9. Xue, J.; Huang, J.; Li, M.; Chen, J.; Wei, Z.; Cheng, Y.; Lai, Z.; Qu, N.; Liu, Y.; Zhu, J. Explanatory Machine Learning Accelerates the Design of Graphene-Reinforced Aluminium Matrix Composites with Superior Performance. Metals 2023, 13, 1690. [Google Scholar] [CrossRef] [Scilit]
  10. Nagaraju, S.B.; Sathyanarayana, K.; Somashekara, M.K.; Pradeep, D.G.; Puttegowda, M.; Verma, A. Artificial Neural Networks for Predicting Mechanical Properties of Al2219-B4C-Gr Composites with Multireinforcements. Proc. Inst. Mech. Eng. Part C 2024, 238, 2170–2184. [Google Scholar] [CrossRef] [Scilit]
  11. Mishra, A.; Jatti, V.S. Prediction of Wear Rate in Al/SiC Metal Matrix Composites Using a Neurosymbolic Artificial Intelligence (NSAI)-Based Algorithm. Lubricants 2023, 11, 261. [Google Scholar] [CrossRef] [Scilit]
  12. Rajesh, M.N.; Siddaraju, C.; Prabhu, T.R.; Sachit, T.S.; Suresh, R. Machine learning and Taguchi optimization technique for wear rate analysis of Al 2024/SiC/CNT based hybrid metal matrix composites. Res. Eng. Struct. Mater. 2025, 11, 2559–2579. [Google Scholar] [CrossRef] [Scilit]
  13. Elkatatny, S.; Alsharekh, M.F.; Alateyah, A.I.; El-Sanabary, S.; Nassef, A.; Kamel, M.; Alawad, M.O.; BaQais, A.; El-Garaihy, W.H.; Kouta, H. Optimizing the Powder Metallurgy Parameters to Enhance the Mechanical Properties of Al-4Cu/XAl2O3 Composites Using Machine Learning and Response Surface Approaches. Appl. Sci. 2023, 13, 7483. [Google Scholar] [CrossRef] [Scilit]
  14. Poornesh, M.; Bhat, S.; Kanchan, M. Harnessing Machine Learning Approach for Hardness Optimization of Al-Si Alloy Composites Reinforced with Coconut Shell Ash. Mater. Res. Express 2025, 12, 046508. [Google Scholar] [CrossRef] [Scilit]
  15. Sarmah, P.; Pawanr, S.; Gupta, K. Fabrication of Novel Hybrid Al-SiC-ZrO2 Composites via Powder Metallurgy Route and Intelligent Modeling for Their Microhardness. Ceramics 2025, 8, 91. [Google Scholar] [CrossRef] [Scilit]
  16. Hasan, M.S.; Bayat, H.; de Jong, W.; Xu, W. Machine Learning-Enabled Multiscale Modeling of Mechanical Deformation of Aluminum and Al-SiC Nanocomposites. Mater. Des. 2025, 260, 115063. [Google Scholar] [CrossRef] [Scilit]
  17. Zhang, T.; Sun, M.; Sun, J.; Xu, Y.; Fu, Y.; Feng, Y. Optimization and Bioapplication of Deep Learning Algorithm in the Prediction of Mechanical Properties of Metal Matrix Composites. Mol. Cell. Biomech. 2025, 22, 1324. [Google Scholar] [CrossRef] [Scilit]
  18. Pradhan, S.K.; Kabiraj, S.; Gupta, S.K.; Singh, A.; Chavan, P.G.; Patil, S.S.; Pandey, T.N. Machine Learning Enhanced Ultra-High Vacuum System for Predicting Field Emission Performance in Graphene Reinforced Aluminium Based Metal Matrix Composites. Sci. Rep. 2025, 15, 26416. [Google Scholar] [CrossRef] [Scilit]
  19. Ramachari, S.H.; Devi, K.V.; Selvaraj, S.P.; Singh, V.H.; Kandavalli, S.R.; Rallabandi, R.; Selvaraju, M. Enhancing Tribological Performance of Aluminum Matrix Composites through Graphene Reinforcement: Insights from Machine Learning Regression Analysis. NanoWorld J. 2023, 9, S992–S998. [Google Scholar] [CrossRef] [Scilit]
  20. Mahaviradhan, N.; Sivaganesan, S. Fabrication of Hybrid Aluminum Matrix Composites and Prediction of Physical Characteristics Using Artificial Network. Mater. Today 2023, in press. [Google Scholar] [CrossRef] [Scilit]
  21. Pushparaj, J.P.; Jeremiah, R.; Solomon, I.J.; Ahamed Ali, S.; Vindhya, A.S.; Jayabalan, C.; De Poures, M.V.; Bayisa Abdeta, D. Taguchi-Based Artificial Neural Network Modeling of Friction Process on Aluminum Alloy Reinforced with SiC Nanoparticles. J. Nanomater. 2023, 2023, 3258173. [Google Scholar] [CrossRef] [Scilit]
  22. Datta, A.; Rana, A.K.; Ghadai, R.K. Machine Learning-Driven Nonlinear Analysis of Inclusion Effects in Aluminium Alloys. Sci. Rep. 2025, 15, 35866. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  23. Bhat, N.; Barnard, A.; Birbilis, N. Aluminium Alloy Dataset for Supervised Learning. Mendeley Data. V1. 2023. Available online: https://data.mendeley.com/datasets/b6br4yk6r3/1 (accessed on 13 March 2026).
  24. Bhat, N.; Barnard, A.S.; Birbilis, N. Inverse Design of Aluminium Alloys Using Multi-Targeted Regression. J. Mater. Sci. 2024, 59, 1448–1463. [Google Scholar] [CrossRef] [Scilit]
  25. Chen, T.; Guestrin, C. XGBoost: A Scalable Tree Boosting System. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining; Association for Computing Machinery: New York, NY, USA, 2016; pp. 785–794. [Google Scholar]
  26. Sharma, P.; Mirzan, S.R.; Bhandari, A.; Pimpley, A.; Eswaran, A.; Srinivasan, S.; Shao, L. Evaluating Tree Explanation Methods for Anomaly Reasoning: A Case Study of SHAP TreeExplainer and TreeInterpreter. arXiv 2020, arXiv:2010.06734. [Google Scholar] [CrossRef] [Scilit]
  27. Liu, S.; Liang, L. Machine Learning Unveils the Impacts of Key Elements and Their Interaction on the Ambient-Temperature Tensile Properties of Cast Titanium Aluminides Employing SHAP Analysis. Crystals 2025, 15, 468. [Google Scholar] [CrossRef] [Scilit]
  28. Li, T.; Yang, Z.; Cui, J.; Chen, W.; Almatani, R.; Wu, Y. Prediction and Optimization of Stretch Flangeability of Advanced High Strength Steels Utilizing Machine Learning Approaches. Sci. Rep. 2025, 15, 16296. [Google Scholar] [CrossRef] [Scilit]
  29. Akbari, P.; Zamani, M.; Mostafaei, A. Machine Learning Prediction of Mechanical Properties in Metal Additive Manufacturing. Addit. Manuf. 2024, 91, 104320. [Google Scholar] [CrossRef] [Scilit]
  30. Hills, M.A.; Becker, T.H. Machine Learning-Based Prediction of Fatigue Strength in Additively Manufactured Ti-6Al-4V Parts: A Sensitivity Analysis of Input Features. J. Mater. Eng. Perform. 2025, 34, 16801–16821. [Google Scholar] [CrossRef] [Scilit]
  31. Mrówka-Nowotnik, G.; Boczkal, G.; Nabel, D. Kinetics of Precipitation Hardening Phases in Recycled 2017A Aluminum Alloy. Materials 2025, 18, 1235. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  32. Zhou, Y.; Lin, X.; Kang, N.; Huang, W.; Wang, Z. Mechanical Properties and Precipitation Behavior of the Heat-Treated Wire + Arc Additively Manufactured 2219 Aluminum Alloy. Mater. Charact. 2021, 171, 110735. [Google Scholar] [CrossRef] [Scilit]
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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.