Rapid Machine Learning-Driven Detection of Pesticides and Dyes Using Raman Spectroscopy

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 analyzes (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 multiresidue contaminant monitoring, with significant potential for deployment in food safety and environmental surveillance.

Authors

Institutions

Publication Details

Journal
Journal of Chemical Information and Modeling
Published
2026-03-17
DOI
https://doi.org/10.1021/acs.jcim.6c00396
Primary Topic
Spectroscopy Techniques in Biomedical and Chemical Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Rapid Machine Learning-Driven Detection of Pesticides and Dyes Using Raman Spectroscopy

Vũ Thị Hạnh Thu, TT Phan, Quach Thi Thai Binh, Nguyen Tuan Hung et al.
Journal of Chemical Information and Modeling
Spectroscopy Techniques in Biomedical and Chemical Research
article

Rapid Machine Learning-Driven Detection of Pesticides and Dyes Using Raman Spectroscopy

Vũ Thị Hạnh Thu, TT Phan, Quach Thi Thai Binh, Nguyen Tuan Hung, La Thuan Phuoc, Pham Xuan Hai
article en

Abstract

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 analyzes (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 multiresidue contaminant monitoring, with significant potential for deployment in food safety and environmental surveillance.

Journal of Chemical Information and Modeling
Vietnam National University Ho Chi Minh City (VN), National Taiwan University (TW), Ho Chi Minh City University of Architecture (VN), University of Health Sciences Antigua (AG)
Zero hunger, Clean water and sanitation
Openalex Percentile: Top 16%
Spectroscopy Techniques in Biomedical and Chemical Research
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.