Machine learning for quantitative LIBS analysis of aluminum alloys: a comparison of random forest, gradient boosting, and extremely randomized trees

Laser-induced breakdown spectroscopy (LIBS) is a versatile technique for characterizing materials and analyzing elements, but it is limited in its quantitative accuracy due to nonlinear effects. This study uses machine learning (ML) regression algorithms to improve the quantification of commercially pure aluminum and its alloys with multiple alloying elements. A dataset of LIBS spectra from standard samples was used to train three tree-based ML models: Random Forest (RF), Gradient Boosting (GB), and Extremely Randomized Trees (ET). These models were evaluated using standard regression metrics. Prediction errors were consistently low for both in-sample (non-independent) validation and independent validation samples (MAE < 0.25 wt%), confirming strong generalization. The ET model produced the lowest errors, particularly for binary and ternary alloys. The GB model generated the most statistically indistinguishable results compared to the reference values, primarily due to higher prediction variance. The RF model showed intermediate performance. Reliable predictions required at least three representative samples per alloy family, which emphasizes the importance of dataset diversity in LIBS-based machine learning workflows. Therefore, integrating LIBS with ML is an effective strategy for predicting elemental compositions in metallic alloys. Future work will extend this approach to other aluminum alloys and support the development of scalable frameworks for quantitative analysis.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-05-12
DOI
https://doi.org/10.1038/s41598-026-46449-2
Primary Topic
Laser-induced spectroscopy and plasma
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Machine learning for quantitative LIBS analysis of aluminum alloys: a comparison of random forest, gradient boosting, and extremely randomized trees

M.A. Arenas, Aline Gonçalves Capella, Juan José de Damborenea González, Ignacio Garcia Diego et al.
Scientific Reports
Laser-induced spectroscopy and plasma
article

Machine learning for quantitative LIBS analysis of aluminum alloys: a comparison of random forest, gradient boosting, and extremely randomized trees

M.A. Arenas, Aline Gonçalves Capella, Juan José de Damborenea González, Ignacio Garcia Diego, Marta Martín López
article en

Abstract

Laser-induced breakdown spectroscopy (LIBS) is a versatile technique for characterizing materials and analyzing elements, but it is limited in its quantitative accuracy due to nonlinear effects. This study uses machine learning (ML) regression algorithms to improve the quantification of commercially pure aluminum and its alloys with multiple alloying elements. A dataset of LIBS spectra from standard samples was used to train three tree-based ML models: Random Forest (RF), Gradient Boosting (GB), and Extremely Randomized Trees (ET). These models were evaluated using standard regression metrics. Prediction errors were consistently low for both in-sample (non-independent) validation and independent validation samples (MAE < 0.25 wt%), confirming strong generalization. The ET model produced the lowest errors, particularly for binary and ternary alloys. The GB model generated the most statistically indistinguishable results compared to the reference values, primarily due to higher prediction variance. The RF model showed intermediate performance. Reliable predictions required at least three representative samples per alloy family, which emphasizes the importance of dataset diversity in LIBS-based machine learning workflows. Therefore, integrating LIBS with ML is an effective strategy for predicting elemental compositions in metallic alloys. Future work will extend this approach to other aluminum alloys and support the development of scalable frameworks for quantitative analysis.

Scientific ReportsVol. 16(1)
Fundação de Apoio à Universidade Federal de São Paulo (BR), Centro de Estudios Monetarios y Financieros (ES), Cenim - Centro Nacional de Investigaciones Metalurgicas (ES), Universidade Federal de São Paulo (BR)
Consejo Superior de Investigaciones Científicas
Life in Land
Openalex Percentile: Top 8%
Laser-induced spectroscopy and plasma
AI Navigator

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

Summarize Papers & Methodologies

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

Benchmark Rankings & Visual Analytics

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

Connect Distant Disciplines

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