On the non-universality of distance metrics in laser-induced breakdown spectroscopy

Abstract

The ability to measure similarity between high-dimensional spectra is crucial for numerous data processing tasks in spectroscopy. Many popular machine learning algorithms depend on, or directly implement, a form of similarity or distance metric. Despite its profound influence on algorithm performance and sensitivity to signal fluctuations, the selection of an appropriate metric remains often neglected within the spectroscopic community. This work aims to shed light on the metric selection process in Laser-Induced Breakdown Spectroscopy (LIBS) and study consequences for data analysis and analytical performance in selected applications. We studied six relevant distance metrics: Euclidean, Manhattan, cosine, Siamese, fractional, and mutual information. We assessed their response to changes in sample composition, additive noise, and signal intensity. Our results show specific vulnerabilities of commonly used metrics, such as the Euclidean metric's high sensitivity to additive noise and the cosine metric's sensitivity to spectral shifts. The Siamese metric stood out in the majority of studied cases and outperformed others in a direct comparison within the spectra classification task. This work provides basic guidelines for selecting metrics in various contexts. The methodology is general and can be directly extended to other spectroscopic techniques that possess comparable data properties.

Graphical abstract: On the non-universality of distance metrics in laser-induced breakdown spectroscopy

Supplementary files

Article information

Article type
Paper
Submitted
20 Oct 2024
Accepted
28 Apr 2025
First published
22 May 2025
This article is Open Access
Creative Commons BY license

J. Anal. At. Spectrom., 2025, Advance Article

On the non-universality of distance metrics in laser-induced breakdown spectroscopy

J. Vrábel, E. Képeš, P. Nedělník, A. Záděra, P. Pořízka and J. Kaiser, J. Anal. At. Spectrom., 2025, Advance Article , DOI: 10.1039/D4JA00377B

This article is licensed under a Creative Commons Attribution 3.0 Unported Licence. You can use material from this article in other publications without requesting further permissions from the RSC, provided that the correct acknowledgement is given.

Read more about how to correctly acknowledge RSC content.

Social activity

Spotlight

Advertisements