Raman spectra comparison: cautions and pitfalls of similarity metrics

Raman spectroscopy detects indirectly vibrations of molecular compounds that can be used as fingerprints of molecules and chemical/biological compounds. This endorses Raman spectroscopy as a powerful tool for molecular identification and characterization, which can be straightforwardly achieved via database indexing, i.e., to compare a measured spectrum with databases to determine the probable compounds contained in the sample under measurement. Therein the comparison between two spectra plays an essential role, for which various similarity metrics are being commonly used, including Pearson's correlation coefficients, Euclidean distances, cosine distances, etc. However, spectral comparison is not as straightforward as it sounds, as real-world spectral measurement is often accompanied by artefacts and/or variability arising from instruments, samples, and experimental conditions that can distort spectral features and hence compromise the reliability of similarity assessments. It is important to understand the robustness and reliability of different similarity metrics encountering spectral artefacts and variations. In this study, we investigate different spectral similarity metrics to characterize their behavior against different types and strengths of artefacts. We generated a synthetic Raman spectral dataset to simulate real-world variability. Specifically, we added commonly observed spectral artefacts into the synthetic data, including Gaussian noise, baseline profiles, and wavenumber shifts. The results indicate that the root mean square error (RMSE), angle value, and Euclidean distance are more robust to Gaussian noise. The impact of baseline profiles, however, is dependent on the normalization method. More complicated behaviors were observed encountering wavenumber shifts, which depends on both the amount of wavenumber shifts and the band patterns of the spectra under comparison. These results highlight the importance of careful preprocessing before calculating the spectral similarity.

Authors

Institutions

Publication Details

Journal
Spectrochimica Acta Part A Molecular and Biomolecular Spectroscopy
Published
2025-07-16
DOI
https://doi.org/10.1016/j.saa.2025.126702
Citations
3
Primary Topic
Spectroscopy Techniques in Biomedical and Chemical Research
Type
article
Field-Weighted Citation Impact
4.90

Funders

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

Raman spectra comparison: cautions and pitfalls of similarity metrics

Jürgen Popp, Shuxia Guo, Sara Mostafapour, Thomas Wilhelm Bocklitz et al.
3 citations
Spectrochimica Acta Part A Molecular and Biomolecular Spectroscopy
Spectroscopy Techniques in Biomedical and Chemical Research
4.90
article

Raman spectra comparison: cautions and pitfalls of similarity metrics

Jürgen Popp, Shuxia Guo, Sara Mostafapour, Thomas Wilhelm Bocklitz, Azadeh Mokari
article en
3 citations

Abstract

Raman spectroscopy detects indirectly vibrations of molecular compounds that can be used as fingerprints of molecules and chemical/biological compounds. This endorses Raman spectroscopy as a powerful tool for molecular identification and characterization, which can be straightforwardly achieved via database indexing, i.e., to compare a measured spectrum with databases to determine the probable compounds contained in the sample under measurement. Therein the comparison between two spectra plays an essential role, for which various similarity metrics are being commonly used, including Pearson's correlation coefficients, Euclidean distances, cosine distances, etc. However, spectral comparison is not as straightforward as it sounds, as real-world spectral measurement is often accompanied by artefacts and/or variability arising from instruments, samples, and experimental conditions that can distort spectral features and hence compromise the reliability of similarity assessments. It is important to understand the robustness and reliability of different similarity metrics encountering spectral artefacts and variations. In this study, we investigate different spectral similarity metrics to characterize their behavior against different types and strengths of artefacts. We generated a synthetic Raman spectral dataset to simulate real-world variability. Specifically, we added commonly observed spectral artefacts into the synthetic data, including Gaussian noise, baseline profiles, and wavenumber shifts. The results indicate that the root mean square error (RMSE), angle value, and Euclidean distance are more robust to Gaussian noise. The impact of baseline profiles, however, is dependent on the normalization method. More complicated behaviors were observed encountering wavenumber shifts, which depends on both the amount of wavenumber shifts and the band patterns of the spectra under comparison. These results highlight the importance of careful preprocessing before calculating the spectral similarity.

Spectrochimica Acta Part A Molecular and Biomolecular SpectroscopyVol. 344(Pt 1)
Leibniz Institute of Photonic Technology (DE)
Deutsche Forschungsgemeinschaft, HORIZON EUROPE Framework Programme
Openalex Percentile: Top 5%
Spectroscopy Techniques in Biomedical and Chemical Research
4.90
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.