A Multilevel Machine Learning Framework for Mapping and Predicting Diffuse and Point-Source Heavy Metal Contamination in Surface Soils
Abstract
1. Introduction
2. Materials and Methods
2.1. Study Area
2.2. Data Acquisition and Environmental Covariates
2.2.1. Soil Chemical Data and AERMOD Co-Occurrence
2.2.2. Remote Sensing Covariates (NDVI)
2.2.3. Land Use and Geomorphometric Variables
2.3. AERMOD Atmospheric Dispersion Modeling
2.4. Data Pre-Processing and Climatic Field Reconstruction
2.5. Spatial Statistical Analysis
2.5.1. Global Spatial Autocorrelation
2.5.2. Local Spatial Autocorrelation
2.5.3. Spatial Structure Decomposition
2.5.4. Multivariate Spatial Relationships
2.6. Integrated ML Framework
2.6.1. Spatial Cross-Validation and Model Optimization
2.6.2. Model Evaluation and Interpretability
2.6.3. Ensemble ML Algorithms and Workflow
- Data preparation through dataset normalization and cleaning, outlier removal, and missing value management;
- Spatial join and information enrichment, as each analytical point is associated with the corresponding environmental variables, building the input matrix for training;
- Training of the model, in fact, in this way the model learns the relationship between measured concentrations and territorial variables through an iterative process of boosting decision trees, optimizing a regularized loss function;
- Validation and optimization by evaluating the model performance through k-fold cross-validation and quantitative metrics including R2, RMSE (Root Mean Square Error), and MAE (Mean Absolute Error), to quantify the predictive capacity and stability of the model;
- Feature importance analysis by estimating the weights associated with each variable to identify the territorial factors most influential on metal concentration;
- Interpretability through SHAP values (SHapley Additive exPlanations), in fact, this analysis allows us to understand the causal effect of each variable on the predicted value, highlighting whether, for example, the fallout to the ground or the land use acts as the main driver of accumulation;
- Spatial prediction by applying the validated model to the 12,000 grid points to generate a continuous map of estimated heavy metal concentrations. The results were exported in shapefile format and subsequently rasterized in QGIS for cartographic representation.
3. Results
3.1. Data Quality Assessment and Climatic Model Validation
3.2. Descriptive Statistics and Geochemical Distributions
3.3. Geostatistical Analysis and Spatial Dependence
3.4. Environmental Predictors and Atmospheric Dynamics
3.5. ML Predictive Performance and Mapping
4. Discussion
5. Conclusions
Supplementary Materials
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Han, Q.; Fu, G.; Liu, K.; Adnan, M.; Liu, S.; Wang, M.; Jiang, F.; Wang, M. Chemical speciation and transformation of heavy metals in soil and groundwater: Implications for ecotoxicology and remediation. J. Environ. Chem. Eng. 2025, 13, 119858. [Google Scholar] [CrossRef] [Scilit]
- Manegabe, B.J.; Msagati, T.A.M.; Adeyemi Ojutalayo, A.; Ntabugi, M.M.K.; Dewar, J.B.; De Bryun, K. Assessment of heavy metals pollution in vegetables grown on irrigated soil and their potential threat to human health and global food security. Hyg. Environ. Health Adv. 2025, 14, 100129. [Google Scholar] [CrossRef] [Scilit]
- Mishra, P.; Ali, S.; Kumar, R.; Shekhar, S. Global lead contamination in soils, sediments, and aqueous environments: Exposure, toxicity, and remediation. J. Trace Elem. Miner. 2025, 14, 100259. [Google Scholar] [CrossRef] [Scilit]
- Li, X.; Ye, J.; Yue, X.; Wang, H.; Chen, Y.; Zhou, Z.; Qiu, H.; Liu, J.; Wang, Z.; Li, S.; et al. Spatial distribution and ecological risk assessment of heavy metals in sediment around the coastal oyster reefs in Guangdong, China. Mar. Pollut. Bull. 2026, 222, 118609. [Google Scholar] [CrossRef] [Scilit]
- Kopobayeva, A.N.; Zharylgapov, Y.Y.; Ulgibayeva, B.S.; Amangeldikyzy, A.; Askarova, N.S.; Kabyken, A.B. A study of the geochemical features of the Nurkazgan copper-porphyry deposit. Kompleks. Ispolz. Miner. Syra 2027, 340, 67–76. [Google Scholar] [CrossRef] [Scilit]
- Giorgi, F.; Lionello, P. Climate change projections for the Mediterranean region. Glob. Planet. Change 2008, 63, 90–104. [Google Scholar] [CrossRef] [Scilit]
- Harvey, P.J.; Rouillon, M.; Dong, C.; Ettler, V.; Handley, H.K.; Taylor, M.P.; Tyson, E.; Tennant, P.; Telfer, V.; Trinh, R. Geochemical sources, forms and phases of soil contamination in an industrial city. Sci. Total Environ. 2017, 584–585, 505–514. [Google Scholar] [CrossRef] [Scilit]
- Tume, P.; Roca, N.; Rubio, R.; King, R.; Bech, J. An assessment of the potentially hazardous element contamination in urban soils of Arica, Chile. J. Geochem. Explor. 2018, 184, 345–357. [Google Scholar] [CrossRef] [Scilit]
- Biasioli, M.; Fabietti, G.; Barberis, R.; Ajmone-Marsan, F. An appraisal of soil diffuse contamination in an industrial district in northern Italy. Chemosphere 2012, 88, 1241–1249. [Google Scholar] [CrossRef] [Scilit]
- Massarelli, C.; Matarrese, R.; Uricchio, V.F.; Muolo, M.R.; Laterza, M.; Ernesto, L. Detection of asbestos-containing materials in agro-ecosystem by the use of airborne hyperspectral CASI-1500 sensor including the limited use of two UAVs equipped with RGB cameras. Int. J. Remote Sens. 2017, 38, 2135–2149. [Google Scholar] [CrossRef] [Scilit]
- Brewer, R.; Peard, J.; Heskett, M. A Critical Review of Discrete Soil Sample Data Reliability: Part 1—Field Study Results. Soil Sediment Contam. 2017, 26, 1–22. [Google Scholar] [CrossRef] [Scilit]
- Brewer, R.; Peard, J.; Heskett, M. A Critical Review of Discrete Soil Sample Data Reliability: Part 2—Implications. Soil Sediment Contam. 2017, 26, 23–44. [Google Scholar] [CrossRef] [Scilit]
- Lloyd, C.D. Nonstationary models for exploring and mapping monthly precipitation in the United kingdom. Int. J. Climatol. 2010, 30, 390–405. [Google Scholar] [CrossRef] [Scilit]
- Zhao, W.; Ma, J.; Li, X.; Li, T.; Wang, M.; Chen, Y. Explainable deep learning unveils critical scenarios driving soil cadmium pollution in a coastal industrial city in China: A geospatial AI approach. Environ. Pollut. 2025, 382, 126769. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Yang, B.; He, A.; Ren, Z.; Yu, K.; Zhao, G.; Fan, Y.; Wang, Q.; Luo, S. A transfer learning–enhanced deep learning framework for efficient and interpretable soil heavy metal pollution prediction under data scarcity and spatial heterogeneity. J. Hazard. Mater. 2025, 495, 138926. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- AERMOD Modeling System Development|US EPA. Available online: https://www.epa.gov/scram/aermod-modeling-system-development (accessed on 31 October 2025).
- Air Quality Dispersion Modeling—Preferred and Recommended Models|US EPA. Available online: https://www.epa.gov/scram/air-quality-dispersion-modeling-preferred-and-recommended-models (accessed on 31 October 2025).
- 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, San Francisco, CA, USA, 13–17 August 2016; pp. 785–794. [Google Scholar] [CrossRef] [Scilit]
- Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef] [Scilit]
- Obakrim, S.; Ailliot, P.; Monbet, V.; Raillard, N. EM algorithm for generalized Ridge regression with spatial covariates. Environmetrics 2022, 35, e2871. [Google Scholar] [CrossRef] [Scilit]
- Anselin, L. Local Indicators of Spatial Association—LISA. Geogr. Anal. 1995, 27, 93–115. [Google Scholar] [CrossRef] [Scilit]
- Barca, E.; Caputo, M.C.; Masciale, R. Building the optimal hybrid spatial Data-Driven Model: Balancing accuracy and complexity. Int. J. Appl. Earth Obs. Geoinf. 2025, 139, 104478. [Google Scholar] [CrossRef] [Scilit]
- Adriano, D.C. Trace Elements in Terrestrial Environments; Springer: New York, NY, USA, 2001. [Google Scholar] [CrossRef] [Scilit]
- Alloway, B.J. (Ed.) Heavy Metals in Soils; Springer: Dordrecht, The Netherlands, 2013; Volume 22. [Google Scholar] [CrossRef] [Scilit]
- Campanale, C.; Triozzi, M.; Losacco, D.; Ragonese, A.; Massarelli, C. Assessing glyphosate and AMPA pesticides in the Ofanto River waters and sediments. Mar. Pollut. Bull. 2024, 202, 116376. [Google Scholar] [CrossRef] [Scilit]
- Massarelli, C.; Ancona, V.; Galeone, C.; Uricchio, V.F. Methodology for the implementation of monitoring plans with different spatial and temporal scales of plant protection products residues in water bodies based on site-specific environmental pressures assessments. Hum. Ecol. Risk Assess. Int. J. 2019, 26, 1341–1358. [Google Scholar] [CrossRef] [Scilit]
- Massarelli, C. Developing a Calculation Workflow for Designing and Monitoring Urban Ecological Corridors: A Case Study. Urban Sci. 2024, 8, 169. [Google Scholar] [CrossRef] [Scilit]
- Carter, M.R.; Gregorich, E.G. (Eds.) Soil Sampling and Methods of Analysis, 2nd ed.; CRC Press: Boca Raton, FL, USA, 2007. [Google Scholar]
- Copernicus Land Monitoring Service. Available online: https://land.copernicus.eu/ (accessed on 28 November 2022).
- Welcome to the QGIS Project! Available online: https://www.qgis.org/ (accessed on 1 November 2024).
- Protezione Civile Puglia. Available online: https://reteidrometeo.protezionecivile.puglia.it/polarisopen/gis/map?guest=pubblico (accessed on 31 October 2025).
- Massarelli, C.; Binetti, M.S. Improving Urban Resilience Through a Scalable Multi-Criteria Planning Approach. Urban Sci. 2025, 9, 309. [Google Scholar] [CrossRef] [Scilit]
- Mohd Shafie, S.H. Application of AERMOD dispersion model for assessment PM10 concentrations from mobile sources in Kuala Lumpur Metropolitan City, Malaysia. Environ. Monit. Assess. 2024, 196, 969. [Google Scholar] [CrossRef] [Scilit]
- Khan, M.M.H.; Kurniawan, T.A.; Chandra, I.; Lei, T.M.T. Modeling PM10 Emissions in Quarry and Mining Operations: Insights from AERMOD Applications in Malaysia. Atmosphere 2025, 16, 369. [Google Scholar] [CrossRef] [Scilit]
- Siahpour, G.; Jozi, S.A.; Orak, N.; Fathian, H.; Dashti, S. Estimation of environmental pollutants using the AERMOD model in Shazand thermal power plant, Arak, Iran. Toxin Rev. 2022, 41, 1269–1279. [Google Scholar] [CrossRef] [Scilit]
- Kumar, A.; Dixit, S.; Varadarajan, C.; Vijayan, A.; Masuraha, A. Evaluation of the AERMOD dispersion model as a function of atmospheric stability for an urban area. Environ. Prog. 2006, 25, 141–151. [Google Scholar] [CrossRef] [Scilit]
- Jittra, N.; Pinthong, N.; Thepanondh, S. Performance evaluation of AERMOD and CALPUFF air dispersion models in industrial complex area. Air Soil Water Res. 2015, 8, 87–95. [Google Scholar] [CrossRef] [Scilit]
- Relazioni ISPRA Controlli Stabilimento Acciaierie d’Italia S.p.A. di Taranto—Italiano. Available online: https://www.isprambiente.gov.it/it/attivita/controlli-e-ispezioni/relazioni-ispra-controlli-stabilimento-arcelormittal-italia (accessed on 31 October 2025).
- Meteorological Processors and Accessory Programs|US EPA. Available online: https://www.epa.gov/scram/meteorological-processors-and-accessory-programs (accessed on 31 October 2025).
- Sepulveda-Villet, O.J.; Ford, A.M.; Williams, J.D.; Stepien, C.A. Population genetic diversity and phylogeographic divergence patterns of the yellow perch (Perca flavescens). J. Great Lakes Res. 2009, 35, 107–119. [Google Scholar] [CrossRef] [Scilit]
- Dray, S.; Legendre, P.; Peres-Neto, P.R. Spatial modelling: A comprehensive framework for principal coordinate analysis of neighbour matrices (PCNM). Ecol. Modell. 2006, 196, 483–493. [Google Scholar] [CrossRef] [Scilit]
- Borcard, D.; Legendre, P. All-scale spatial analysis of ecological data by means of principal coordinates of neighbour matrices. Ecol. Model. 2002, 153, 51–68. [Google Scholar] [CrossRef] [Scilit]
- Yan, Y.; Yang, Y. Revealing the synergistic spatial effects in soil heavy metal pollution with explainable machine learning models. J. Hazard. Mater. 2025, 482, 136578. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Li, X.; Gu, H.; Tang, R.; Zou, B.; Liu, X.; Ou, H.; Chen, X.; Song, Y.; Luo, W.; Wen, B. A Fusion XGBoost Approach for Large-Scale Monitoring of Soil Heavy Metal in Farmland Using Hyperspectral Imagery. Agronomy 2025, 15, 676. [Google Scholar] [CrossRef] [Scilit]
- Li, J.; Meng, L.; Li, T.; Xue, P.; Wang, H.; Hua, J. Application of Machine Learning Approaches to Predict Soil Element Background Concentration at Large Region Scale. Sustainability 2025, 17, 7853. [Google Scholar] [CrossRef] [Scilit]
- Omondi, E.; Boitt, M.; Omondi, E.; Boitt, M. Modeling the Spatial Distribution of Soil Heavy Metals Using Random Forest Model—A Case Study of Nairobi and Thirirka Rivers’ Confluence. J. Geogr. Inf. Syst. 2020, 12, 597–619. [Google Scholar] [CrossRef]
- Keçeci, M.; Gökmen, F.; Usul, M.; Koca, C.; Uygur, V. Prediction of cadmium content using machine learning methods. Environ. Earth Sci. 2024, 83, 362. [Google Scholar] [CrossRef] [Scilit]
- Cule, E.; De Iorio, M. A semi-automatic method to guide the choice of ridge parameter in ridge regression. arXiv 2012, arXiv:1205.0686. [Google Scholar] [CrossRef] [Scilit]
- Fan, Y.-T.; Wang, Y.-L.; Tsou, M.-C.; Hseu, Z.-Y.; Hsi, H.-C.; Chien, L.-C. Assessing soil pollution potential through spatial heavy metal bioaccessibility for health risk evaluation. Integr. Environ. Assess. Manag. 2025, 1551–3777, vjaf124. [Google Scholar] [CrossRef] [Scilit]
- Pollice, A.; Lasinio, G.J. Spatiotemporal analysis of the PM10 concentration over the Taranto area. Environ. Monit. Assess. 2009, 162, 177–190. [Google Scholar] [CrossRef] [Scilit]
- Pollice, A.; Jona Lasinio, G. A multivariate approach to the analysis of air quality in a high environmental risk area. Environmetrics 2010, 21, 741–754. [Google Scholar] [CrossRef] [Scilit]
- Lionello, P. (Ed.) The Climate of the Mediterranean Region; Elsevier: Amsterdam, The Netherlands, 2012; ISBN 978-0-12-416042-2. [Google Scholar]
- Massarelli, C.; Campanale, C. Climatic, bioclimatic, and pedological influences on the vegetation classification of “Bosco dell’Incoronata” in Southern Italy. Rend. Lincei 2023, 34, 537–552. [Google Scholar] [CrossRef] [Scilit]
- Xoplaki, E.; González-Rouco, J.F.; Luterbacher, J.; Wanner, H. Wet season Mediterranean precipitation variability: Influence of large-scale dynamics and trends. Clim. Dyn. 2004, 23, 63–78. [Google Scholar] [CrossRef] [Scilit]
- Wen, Y.; Li, W.; Yang, Z.; Zhang, Q.; Ji, J. Enrichment and source identification of Cd and other heavy metals in soils with high geochemical background in the karst region, Southwestern China. Chemosphere 2020, 245, 125620. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Yang, Q.; Yang, Z.; Filippelli, G.M.; Ji, J.; Ji, W.; Liu, X.; Wang, L.; Yu, T.; Wu, T.; Zhuo, X.; et al. Distribution and secondary enrichment of heavy metal elements in karstic soils with high geochemical background in Guangxi, China. Chem. Geol. 2021, 567, 120081. [Google Scholar] [CrossRef] [Scilit]
- Kelley, D.L. Geochemical Anomaly and Mineral Prospectivity Mapping in GIS. Emmanuel John M. Carranza, Editor. Pp. 368. 2008. Elsevier, Amsterdam. ISBN 987-0-444-51325-0. Price $165.00. Econ. Geol. 2009, 104, 890. [Google Scholar] [CrossRef] [Scilit]
- Tanzarella, A.; Morabito, A.; Schipa, I.; Intini, F.; Menegotto, M.; Tateo, A.; Pastore, T.; Tinarelli, G.; D’Allura, A.; Costa, M.P.; et al. Performance evaluation of a modelling system for air quality forecasting and air pollution warning during particular windy days, in a highly industrialized area. In Proceedings of the 18th International Conference on Harmonisation Within Atmospheric Dispersion Modelling for Regulatory Purposes, Bologna, Italy, 9–12 October 2017. [Google Scholar]
- Moreno, T.; Jones, T.P.; Richards, R.J. Characterisation of aerosol particulate matter from urban and industrial environments: Examples from Cardiff and Port Talbot, South Wales, UK. Sci. Total Environ. 2004, 334–335, 337–346. [Google Scholar] [CrossRef] [Scilit]
- Sprovieri, M.; Passaro, S.; Ausili, A.; Bergamin, L.; Finoia, M.G.; Gherardi, S.; Molisso, F.; Quinci, E.M.; Sacchi, M.; Sesta, G.; et al. Integrated approach of multiple environmental datasets for the assessment of sediment contamination in marine areas affected by long-lasting industrial activity: The case study of Bagnoli (southern Italy). J. Soils Sediments 2019, 20, 1692–1705. [Google Scholar] [CrossRef] [Scilit]
- Leogrande, S.; Alessandrini, E.R.; Stafoggia, M.; Morabito, A.; Nocioni, A.; Ancona, C.; Bisceglia, L.; Mataloni, F.; Giua, R.; Mincuzzi, A.; et al. Industrial air pollution and mortality in the Taranto area, Southern Italy: A difference-in-differences approach. Environ. Int. 2019, 132, 105030. [Google Scholar] [CrossRef] [Scilit]
- Li, Y.; Yang, K.; Gu, X.; Peng, L.; Chen, X. Multisource remote sensing and ensemble learning for multidimensional monitoring of heavy metals on mine surfaces. Environ. Geochem. Health 2025, 47, 184. [Google Scholar] [CrossRef] [Scilit]
- Xu, Y.; Li, P.; Zhang, Z.; Gu, Y.; Xiao, L.; Liu, X.; Wang, B. Integrating machine learning for enhanced spatial prediction and risk assessment of soil heavy metal(loid)s. Environ. Pollut. 2025, 383, 126919. [Google Scholar] [CrossRef] [Scilit]
- Lovynska, V.; Bayat, B.; Bol, R.; Moradi, S.; Rahmati, M.; Raj, R.; Sytnyk, S.; Wiche, O.; Wu, B.; Montzka, C. Monitoring Heavy Metals and Metalloids in Soils and Vegetation by Remote Sensing: A Review. Remote Sens. 2024, 16, 3221. [Google Scholar] [CrossRef] [Scilit]
- Liu, Q.; Du, B.; He, L.; Zeng, Y.; Tian, Y.; Zhang, Z.; Wang, R.; Shi, T. Digital soil mapping of heavy metals using multiple geospatial data: Feature identification and deep neural network. Ecol. Indic. 2023, 154, 110863. [Google Scholar] [CrossRef] [Scilit]
- Shi, T.; He, L.; Wang, R.; Li, Z.; Hu, Z.; Wu, G. Digital mapping of heavy metals in urban soils: A review and research challenges. CATENA 2023, 228, 107183. [Google Scholar] [CrossRef] [Scilit]
- Sonwalkar, M.; Fang, L.; Sun, D. Use of NDVI dataset for a GIS based analysis: A sample study of TAR Creek superfund site. Ecol. Inform. 2010, 5, 484–491. [Google Scholar] [CrossRef] [Scilit]
- Yang, P.G.; Mao, R.Z.; Shao, H.B.; Gao, Y.F. The spatial variability of heavy metal distribution in the suburban farmland of Taihang Piedmont Plain, China. Comptes Rendus Biol. 2009, 332, 558–566. [Google Scholar] [CrossRef] [Scilit]
- Taghizadeh-Mehrjardi, R.; Fathizad, H.; Hakimzadeh Ardakani, M.A.; Sodaiezadeh, H.; Kerry, R.; Heung, B.; Scholten, T. Spatio-temporal analysis of heavy metals in arid soils at the catchment scale using digital soil assessment and a random forest model. Remote Sens. 2021, 13, 1698. [Google Scholar] [CrossRef] [Scilit]
- Janga, J.K.; Reddy, K.R.; Raviteja, K.V.N.S. Integrating artificial intelligence, machine learning, and deep learning approaches into remediation of contaminated sites: A review. Chemosphere 2023, 345, 140476. [Google Scholar] [CrossRef] [Scilit]











| Mean (mg/kg) | SD (mg/kg) | Median (mg/kg) | Min (mg/kg) | Max (mg/kg) | Skew (Unitless) | Kurtosis (Unitless) | |
|---|---|---|---|---|---|---|---|
| Be | 3.938 | 1.530 | 3.761 | 1.253 | 6.857 | 0.143 | −1.281 |
| V | 80.312 | 23.578 | 80.814 | 33.252 | 153.440 | 0.471 | 0.620 |
| Cr | 59.912 | 31.934 | 56.392 | 16.365 | 146.891 | 0.668 | −0.159 |
| Co | 16.207 | 19.849 | 10.579 | 3.928 | 102.498 | 3.061 | 8.341 |
| Ni | 49.726 | 23.839 | 45.721 | 15.332 | 150.386 | 1.714 | 4.151 |
| Cu | 50.019 | 30.919 | 48.019 | 11.459 | 178.721 | 1.829 | 4.724 |
| Zn | 86.449 | 68.552 | 68.485 | 9.740 | 464.137 | 3.459 | 14.583 |
| As | 16.918 | 4.580 | 16.248 | 9.514 | 35.781 | 1.372 | 3.065 |
| Se | 1.624 | 1.230 | 1.333 | 0.136 | 5.194 | 0.865 | 0.008 |
| Cd | 0.355 | 0.167 | 0.310 | 0.122 | 0.939 | 1.925 | 3.755 |
| Sn | 5.902 | 7.741 | 3.886 | −0.488 | 39.346 | 3.127 | 9.555 |
| Sb | 1.585 | 1.174 | 1.274 | 0.523 | 8.004 | 3.724 | 15.189 |
| Tl | 1.281 | 0.391 | 1.344 | 0.479 | 2.075 | −0.175 | −1.017 |
| Pb | 62.872 | 38.245 | 55.802 | 19.451 | 259.768 | 2.943 | 11.029 |
| Element | Statistical Summary | Results |
|---|---|---|
| Be, Tl | Near-symmetric and platykurtic distributions. | Spatially Homogeneous/Natural. Relatively uniform distribution with limited outliers, indicating natural geochemical variability. |
| V, Cr, Se | Low-to-moderate positive skew, Kurtosis near 0. | Near-Normal/Stable Background. Consistent with natural geochemical distribution, though a slight asymmetry for Cr/Se suggests minor, non-extreme anomalies. |
| Ni, Cu, Cd, As | High positive skew, moderate-to-high Kurtosis. | Moderately Heterogeneous/Local Enrichment. Distribution is significantly asymmetrical with heavy right tails, indicating the presence of localized elevated concentrations (potential anthropogenic influence). |
| Co, Zn, Sn, Sb, Pb | Extreme positive skew and very high Kurtosis. | Highly Heterogeneous/Strong Hotspots. Distributions are extremely asymmetrical and leptokurtic. This pattern is characteristic of point-source contamination or highly localized accumulation, particularly for Zn and Sb (the highest skew and kurtosis). |
| Clustering Category | Metals (Variables) | Moran’s I Range | Significance Level | Spatial Implication |
|---|---|---|---|---|
| Strong Positive Autocorrelation (Extensive Hotspots) | Cr, Cu, V, Zn, Sn, As | 0.19 to 0.25 | Highly Significant (p ≤ 0.001) | Strong tendency for similar concentrations to cluster spatially. Suggests a well-defined spatial pattern, likely controlled by widespread contamination sources. |
| Moderate Positive Autocorrelation (Moderate Clustering) | Sb, Se, Cd, Be | 0.13 to 0.17 | Significant (p ≤ 0.01) | Spatial clustering is evident but with less intensity and spatial extent. Similar concentrations are nearby, but the influence is less pervasive across the study area. |
| Weak or Absent Autocorrelation (Random/Isolated Pattern) | Ni, Pb, Tl, Co | −0.08 to 0.08 | Non-Significant (p > 0.05) or Borderline | Distribution is random at the global scale. For Co and Tl (non-significant), no clear overall pattern exists. For Ni and Pb (borderline), the weak Global I is due to the pattern being heavily dominated by isolated anomalies. |
| Shared Spatial Control | Variable Pair | Mantel r | p-Value | Interpretation and Coherence |
|---|---|---|---|---|
| Extremely Strong (Contaminant Group) | Zn–Sb | r ≈ 0.96 | 0.01 | Near-perfect spatial correlation. Hotspots of these elements are spatially co-located, suggesting an anthropogenic process. |
| Very Strong (Geogenic Group) | V–Ni | r ≈ 0.68 | 0.01 | Strong spatial link confirming a common geological control over their regional distribution. |
| Very Strong (Contaminant Group) | Zn–Cd | r ≈ 0.74 | 0.01 | Hotspots are spatially superimposed, consistent with their geochemical association. |
| Absence of Co-variation | Co with most elements | p > 0.3 | Non-Significant | Cobalt’s high concentrations are spatially unique and isolated. |
| Decoupled Groups | Zn, Pb, Ni vs. Be, V, Cr | p > 0.05 | Non-Significant | The spatial processes driving the contaminant group are largely independent of those driving the natural background elements. |
| Element Group | Key Observations (Clusters Ii > 0 vs. Outliers Ii < 0) | Implication |
|---|---|---|
| Strong Clustering (V, Cu, Sn, As) | Overwhelmingly dominated by clusters (e.g., V: 8 Clusters, 1 Outlier; Cu: 6 Clusters). | The spatial pattern is robust and regional. The LISA analysis pinpoints the exact locations (e.g., sites 48, 55, 56) that form the major regional hotspots inferred from the Global Moran’s I and high skewness. |
| Mixed Pattern (Cr, Be, Ni, Se) | Balanced presence of Clusters and Outliers (e.g., Ni: 4 Clusters, 4 Outliers). | The presence of multiple significant outliers explains the weak Global Moran’s I for these elements. The spatial pattern is a complex mosaic of clustered sites mixed with sites that are locally very different from their neighbors. |
| Outlier Dominated (Pb, Sb, Zn) | Lead (Pb) shows only one significant spatial outlier (site 8: Ii = −0.02, Z = −3.57). Antimony (Sb) shows more outliers than clusters. | This confirms that anomalies for Pb and Sb are highly localized and isolated, suggesting a pattern of spatial dissimilarity. The high Z-score for the Pb outlier indicates a very strong, isolated anomaly. |
| Anomalous Pattern (Tl) | Tl, despite having a non-significant Global Moran’s I, displays four specific local clusters. | Tl’s global distribution is random, but the local environment creates a few, highly significant pockets of high concentration. |
| Metric | Value | Interpretation |
|---|---|---|
| Global RDA ANOVA p-value | 0.04 | Significant Spatial Structure. The null hypothesis is rejected; the spatial structure (MEMs) significantly explains the variation in metal concentrations. |
| Adjusted R2 (AdjR2) | ≈0.17 | Approximately 17% of the total variance in metal concentrations is linearly explained by the significant spatial structure of the sampling sites. |
| Selected Significant MEMs | MEM4, MEM14, MEM9 | Only three vectors (out of 19) were sufficient to capture all statistically significant spatial variation. |
| MEM | Angle (°) | Spatial Scale | Interpretation of Direction |
|---|---|---|---|
| MEM4 | 172.0° | Principal, Broad Scale | Near North–South Gradient. Captures the dominant, large-scale spatial process (e.g., related to regional geology or a major drainage/flow axis). |
| MEM14 | 146.9° | Secondary, Local Scale | South-East/North-West Diagonal. Represents an intermediate-scale pattern, possibly linked to secondary environmental or geological gradients. |
| MEM9 | 154.9° | Marginal, Local Scale | Local, Marginal SE-NW Pattern. Captures the finest significant spatial structure. |
| Element | Ratio | Direction (°) | Empirical Classification | Geostatistical Meaning |
|---|---|---|---|---|
| Pb | 1.63 | 65.61 | Significant Anisotropy | Spatial variation is clearly directional. |
| Zn | 1.55 | 67.26 | Significant Anisotropy | Spatial variation is clearly directional. |
| Sb | 1.55 | 66.96 | Significant Anisotropy | Spatial variation is clearly directional. |
| Cu | 1.50 | 75.62 | Significant Anisotropy | Spatial variation is clearly directional. |
| Sn | 1.34 | 65.16 | Weak/Moderate Anisotropy | Slightly directional variation. |
| As | 1.33 | −38.09 | Weak/Moderate Anisotropy | Slightly directional variation. |
| Cr | 1.30 | 62.64 | Weak/Moderate Anisotropy | Slightly directional variation. |
| Se | 1.30 | 50.69 | Weak/Moderate Anisotropy | Slightly directional variation. |
| Tl | 1.19 | 40.69 | Weak/Moderate Anisotropy | Slightly directional variation. |
| Cd | 1.19 | −0.30 | Weak/Moderate Anisotropy | Slightly directional variation |
| Be | 1.12 | 60.12 | Weak/Moderate Anisotropy | Slightly directional variation. |
| Co | 1.09 | 74.96 | Isotropy | Spatial variation is the same in all directions (stable geological background). |
| Ni | 1.03 | 53.77 | Isotropy | Spatial variation is the same in all directions (stable geological background). |
| V | 1.03 | 49.18 | Isotropy | Spatial variation is the same in all directions (stable geological background). |
| Metal | R2 | RMSE | R2 | RMSE | R2 | RMSE |
|---|---|---|---|---|---|---|
| RF | XGBoost | RR | ||||
| Cu | 0.583 | 25.817 | 0.429 | 24.263 | 0.359 | 27.455 |
| Sn | 0.525 | 5.950 | 0.249 | 6.760 | 0.173 | 6.480 |
| Cr | 0.482 | 26.390 | 0.353 | 27.203 | 0.297 | 27.343 |
| Se | 0.064 | 1.219 | 0.436 | 1.215 | 0.236 | 1.212 |
| Pb | 0.109 | 37.362 | 0.237 | 32.666 | 0.415 | 34.387 |
| As | 0.389 | 4.465 | 0.053 | 4.573 | 0.132 | 4.337 |
| Be | 0.271 | 1.328 | 0.377 | 1.491 | 0.111 | 1.441 |
| Sb | 0.361 | 1.251 | 0.069 | 1.034 | 0.060 | 1.048 |
| Zn | 0.065 | 69.360 | 0.358 | 55.567 | 0.130 | 62.070 |
| Cd | 0.186 | 0.163 | 0.133 | 0.157 | 0.350 | 0.154 |
| Tl | 0.348 | 0.373 | 0.092 | 0.387 | 0.183 | 0.386 |
| V | 0.314 | 20.849 | 0.277 | 20.622 | 0.216 | 21.964 |
| Co | 0.296 | 21.387 | 0.200 | 55.567 | 0.085 | 18.917 |
| Ni | 0.059 | 22.697 | 0.236 | 21.149 | 0.265 | 21.924 |
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. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Binetti, M.S.; Massarelli, C.; Barca, E. A Multilevel Machine Learning Framework for Mapping and Predicting Diffuse and Point-Source Heavy Metal Contamination in Surface Soils. Earth 2026, 7, 4. https://doi.org/10.3390/earth7010004
Binetti MS, Massarelli C, Barca E. A Multilevel Machine Learning Framework for Mapping and Predicting Diffuse and Point-Source Heavy Metal Contamination in Surface Soils. Earth. 2026; 7(1):4. https://doi.org/10.3390/earth7010004
Chicago/Turabian StyleBinetti, Maria Silvia, Carmine Massarelli, and Emanuele Barca. 2026. "A Multilevel Machine Learning Framework for Mapping and Predicting Diffuse and Point-Source Heavy Metal Contamination in Surface Soils" Earth 7, no. 1: 4. https://doi.org/10.3390/earth7010004
APA StyleBinetti, M. S., Massarelli, C., & Barca, E. (2026). A Multilevel Machine Learning Framework for Mapping and Predicting Diffuse and Point-Source Heavy Metal Contamination in Surface Soils. Earth, 7(1), 4. https://doi.org/10.3390/earth7010004
