The continuous evolution of deep learning has garnered significant attention in spectroscopy. This study focuses on identifying wheat flour, presenting a more efficient and accurate method by combining two-dimensional correlation spectroscopy (2D-COS) and deep learning techniques. A data set of 316 near-infrared (NIR) spectral samples of four types of wheat flour was collected. By applying three disparate 2D-COS techniques, i.e., synchronous, asynchronous, and integrated, we crafted 948 2D-COS images. These images, obtained by transforming the original one-dimensional spectra into 2D representations, offer richer information for deep learning analysis. The study introduced an 18-layer residual network incorporating a convolutional attention mechanism, specifically tailored for the 2D-COS analysis of wheat flour, aimed at enhancing the model's discriminative capabilities by refining the residual neural network's structure. Achieving an unprecedented recognition accuracy of 100% through methodical optimization and rigorous training on the synchronous 2D-COS data set of wheat flour, the proposed model is a testament to the efficacy of deep learning in spectroscopic analysis. To further exhibit the confluence of 2D-COS with deep learning, t-distributed stochastic neighbor embedding was employed to visualize the distinctive 2D-COS features within the deep learning architecture. Additionally, the model's performance was juxtaposed with prevailing NIR spectral recognition methods, including random forest, gradient boosting decision tree, and artificial neural network. This comparison cemented the proposed approach's superiority in wheat flour categorization. The findings of this study not only introduce a novel and efficient solution for wheat flour quality analysis but also underscore the significant potential of deep learning techniques in spectroscopy applications.
Read full abstract