Efficient, automatic, and optimized portable Raman-spectrum-based pesticide detection system

Spectrochim Acta A Mol Biomol Spectrosc. 2024 Mar 5:308:123787. doi: 10.1016/j.saa.2023.123787. Epub 2023 Dec 16.

Abstract

Raman spectroscopy can be used for accurately detecting pesticides and determining the chemical composition of a pesticide. To facilitate field detection, the present study used a portable Raman spectrometer for analysis. However, this spectrometer was found to be susceptible to noise interference and signal offsets, which increased the difficulty of pesticide identification. The most commonly used algorithm for Raman spectrum identification is principal component analysis (PCA). However, accurate classification often cannot be achieved with PCA because of the offset and noise in the Raman spectrum data. Therefore, in this study, after the collected Raman spectrum data were processed using the small-step, center-weighted moving-average method, these data were employed to train a convolutional neural network (CNN) model for prediction. To optimize the CNN model, the hyperparameters of the CNN were adjusted using various optimization algorithms, and the optimal solution was obtained after multiple iterations. Data preprocessing and architecture training models were then constructed in a self-optimized manner to improve the ability of the algorithm model to handle diverse types of data. Finally, a CNN model optimized using the cat swarm optimization algorithm was developed. This model was trained on 3000 samples containing three pesticides, and its accuracy for pesticide composition identification was discovered to be 89.33%.

Keywords: Cat swarm optimization; Neural network; Raman spectrum.