{"title":"Pesticide Residue Detection Using Grating Spectroscope and GWO–CNN–BiLSTM Method","authors":"Yanshen Zhao, Huayu Fu, Hongcai Zhou, Hongfei Zhu, Yifan Zhao, Cong Wang, Runzhe Zhang, Zhongzhi Han","doi":"10.1111/1750-3841.70282","DOIUrl":null,"url":null,"abstract":"<div>\n \n <p>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 (<i>R</i><sup>2</sup>) of approximately 0.960. The <i>R</i><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.</p>\n </div>","PeriodicalId":193,"journal":{"name":"Journal of Food Science","volume":"90 5","pages":""},"PeriodicalIF":3.2000,"publicationDate":"2025-05-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Food Science","FirstCategoryId":"97","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1111/1750-3841.70282","RegionNum":2,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"FOOD SCIENCE & TECHNOLOGY","Score":null,"Total":0}
引用次数: 0
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 (R2) of approximately 0.960. The R2 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.
期刊介绍:
The goal of the Journal of Food Science is to offer scientists, researchers, and other food professionals the opportunity to share knowledge of scientific advancements in the myriad disciplines affecting their work, through a respected peer-reviewed publication. The Journal of Food Science serves as an international forum for vital research and developments in food science.
The range of topics covered in the journal include:
-Concise Reviews and Hypotheses in Food Science
-New Horizons in Food Research
-Integrated Food Science
-Food Chemistry
-Food Engineering, Materials Science, and Nanotechnology
-Food Microbiology and Safety
-Sensory and Consumer Sciences
-Health, Nutrition, and Food
-Toxicology and Chemical Food Safety
The Journal of Food Science publishes peer-reviewed articles that cover all aspects of food science, including safety and nutrition. Reviews should be 15 to 50 typewritten pages (including tables, figures, and references), should provide in-depth coverage of a narrowly defined topic, and should embody careful evaluation (weaknesses, strengths, explanation of discrepancies in results among similar studies) of all pertinent studies, so that insightful interpretations and conclusions can be presented. Hypothesis papers are especially appropriate in pioneering areas of research or important areas that are afflicted by scientific controversy.