Saved in:
Bibliographic Details
Main Authors: Binh, Quach Thi Thai, Phuoc, Thuan, Hai, Xuan, Phan, Thang Bach, Thu, Vu Thi Hanh, Hung, Nguyen Tuan
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2511.12167
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914159884500992
author Binh, Quach Thi Thai
Phuoc, Thuan
Hai, Xuan
Phan, Thang Bach
Thu, Vu Thi Hanh
Hung, Nguyen Tuan
author_facet Binh, Quach Thi Thai
Phuoc, Thuan
Hai, Xuan
Phan, Thang Bach
Thu, Vu Thi Hanh
Hung, Nguyen Tuan
contents The extensive use of pesticides and synthetic dyes poses critical threats to food safety, human health, and environmental sustainability, necessitating rapid and reliable detection methods. Raman spectroscopy offers molecularly specific fingerprints but suffers from spectral noise, fluorescence background, and band overlap, limiting its real-world applicability. Here, we propose a deep learning framework based on ResNet-18 feature extraction, combined with advanced classifiers, including XGBoost, SVM, and their hybrid integration, to detect pesticides and dyes from Raman spectroscopy, called MLRaman. The MLRaman with the CNN-XGBoost model achieved a predictive accuracy of 97.4% and a perfect AUC of 1.0, while it with the CNN-SVM model provided competitive results with robust class-wise discrimination. Dimensionality reduction analyses (PCA, t-SNE, UMAP) confirmed the separability of Raman embeddings across 10 analytes, including 7 pesticides and 3 dyes. Finally, we developed a user-friendly Streamlit application for real-time prediction, which successfully identified unseen Raman spectra from our independent experiments and also literature sources, underscoring strong generalization capacity. This study establishes a scalable, practical MLRaman model for multi-residue contaminant monitoring, with significant potential for deployment in food safety and environmental surveillance.
format Preprint
id arxiv_https___arxiv_org_abs_2511_12167
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Rapid Machine Learning-Driven Detection of Pesticides and Dyes Using Raman Spectroscopy
Binh, Quach Thi Thai
Phuoc, Thuan
Hai, Xuan
Phan, Thang Bach
Thu, Vu Thi Hanh
Hung, Nguyen Tuan
Materials Science
Machine Learning
The extensive use of pesticides and synthetic dyes poses critical threats to food safety, human health, and environmental sustainability, necessitating rapid and reliable detection methods. Raman spectroscopy offers molecularly specific fingerprints but suffers from spectral noise, fluorescence background, and band overlap, limiting its real-world applicability. Here, we propose a deep learning framework based on ResNet-18 feature extraction, combined with advanced classifiers, including XGBoost, SVM, and their hybrid integration, to detect pesticides and dyes from Raman spectroscopy, called MLRaman. The MLRaman with the CNN-XGBoost model achieved a predictive accuracy of 97.4% and a perfect AUC of 1.0, while it with the CNN-SVM model provided competitive results with robust class-wise discrimination. Dimensionality reduction analyses (PCA, t-SNE, UMAP) confirmed the separability of Raman embeddings across 10 analytes, including 7 pesticides and 3 dyes. Finally, we developed a user-friendly Streamlit application for real-time prediction, which successfully identified unseen Raman spectra from our independent experiments and also literature sources, underscoring strong generalization capacity. This study establishes a scalable, practical MLRaman model for multi-residue contaminant monitoring, with significant potential for deployment in food safety and environmental surveillance.
title Rapid Machine Learning-Driven Detection of Pesticides and Dyes Using Raman Spectroscopy
topic Materials Science
Machine Learning
url https://arxiv.org/abs/2511.12167