Pesticide Residue Detection Using Grating Spectroscope and GWO–CNN–BiLSTM Method

Pesticide residues represent a globally significant issue due to their high toxicity and broad dissemination. Thiamethoxam (TMX), commonly applied during the cultivation of vegetables like spinach, has its principal metabolite, clothianidin, which can accumulate in crops, posing significant long-term dietary risks. To accurately detect TMX residues in spinach, this study developed a portable detection device integrating a grating spectrometer (GS) with a smartphone and introduced image processing techniques alongside deep learning detection methods. This method employs a ResNet50 model enhanced by Squeeze-and-Excitation Networks (SE) attention mechanism to extract key features, which are subsequently input into a hybrid model combining a convolutional neural network (CNN) and a bidirectional long short-term memory (BiLSTM) network, optimized using the gray wolf optimization (GWO) algorithm. The results demonstrate that the method achieves a root mean square error (RMSE) of approximately 0.220, a mean absolute error (MAE) of about 0.060, a mean bias error (MBE) of about 0.002, and a coefficient of determination (R<sup>2</sup>) of approximately 0.960. The R<sup>2</sup> increased by 0.049 compared to pre-optimization values and by 0.060 relative to the top traditional machine learning models, thereby enhancing the precision of detection. This technology promises to be a vital tool in the field of pesticide residue detection, offering robust support for ensuring food safety and public health.

Authors

Institutions

Publication Details

Journal
Journal of Food Science
Published
2025-05-01
DOI
https://doi.org/10.1111/1750-3841.70282
Citations
2
Primary Topic
Spectroscopy and Chemometric Analyses
Type
article
Field-Weighted Citation Impact
1.50

Funders

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

Pesticide Residue Detection Using Grating Spectroscope and GWO–CNN–BiLSTM Method

Hongfei Zhu, Yifan Zhao, Runzhe Zhang, Cong Wang et al.
2 citations
Journal of Food Science
Spectroscopy and Chemometric Analyses
1.50
article

Pesticide Residue Detection Using Grating Spectroscope and GWO–CNN–BiLSTM Method

Hongfei Zhu, Yifan Zhao, Runzhe Zhang, Cong Wang, Hongcai Zhou, Zhongzhi Han, Yanshen Zhao, Huayu Fu
article en
2 citations

Abstract

Pesticide residues represent a globally significant issue due to their high toxicity and broad dissemination. Thiamethoxam (TMX), commonly applied during the cultivation of vegetables like spinach, has its principal metabolite, clothianidin, which can accumulate in crops, posing significant long-term dietary risks. To accurately detect TMX residues in spinach, this study developed a portable detection device integrating a grating spectrometer (GS) with a smartphone and introduced image processing techniques alongside deep learning detection methods. This method employs a ResNet50 model enhanced by Squeeze-and-Excitation Networks (SE) attention mechanism to extract key features, which are subsequently input into a hybrid model combining a convolutional neural network (CNN) and a bidirectional long short-term memory (BiLSTM) network, optimized using the gray wolf optimization (GWO) algorithm. The results demonstrate that the method achieves a root mean square error (RMSE) of approximately 0.220, a mean absolute error (MAE) of about 0.060, a mean bias error (MBE) of about 0.002, and a coefficient of determination (R<sup>2</sup>) of approximately 0.960. The R<sup>2</sup> increased by 0.049 compared to pre-optimization values and by 0.060 relative to the top traditional machine learning models, thereby enhancing the precision of detection. This technology promises to be a vital tool in the field of pesticide residue detection, offering robust support for ensuring food safety and public health.

Journal of Food ScienceVol. 90(5)
Qingdao Agricultural University (CN), Hainan University (CN)
National Natural Science Foundation of China, National Key Research and Development Program of China
Zero hunger
Openalex Percentile: Top 19%
Spectroscopy and Chemometric Analyses
1.50
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.