Spectraformer: deep learning model for grain spectral qualitative analysis based on transformer structure

被引:9
作者
Chen, Zhuo [1 ,2 ]
Zhou, Rigui [1 ,2 ]
Ren, Pengju [1 ,2 ]
机构
[1] Shanghai Maritime Univ, Sch Informat Engn, Shanghai 201306, Peoples R China
[2] Res Ctr Intelligent Informat Proc & Quantum Intell, Shanghai 201306, Peoples R China
关键词
CONVOLUTIONAL NEURAL-NETWORKS; INFRARED NIR SPECTROSCOPY; FOOD; SVM;
D O I
10.1039/d3ra07708j
中图分类号
O6 [化学];
学科分类号
0703 ;
摘要
This study delves into the use of compact near-infrared spectroscopy instruments for distinguishing between different varieties of barley, chickpeas, and sorghum, addressing a vital need in agriculture for precise crop variety identification. This identification is crucial for optimizing crop performance in diverse environmental conditions and enhancing food security and agricultural productivity. We also explore the potential application of transformer models in near-infrared spectroscopy and conduct an in-depth evaluation of the impact of data preprocessing and machine learning algorithms on variety classification. In our proposed spectraformer multi-classification model, we successfully differentiated 24 barley varieties, 19 chickpea varieties, and ten sorghum varieties, with the highest accuracy rates reaching 85%, 95%, and 86%, respectively. These results demonstrate that small near-infrared spectroscopy instruments are cost-effective and efficient tools with the potential to advance research in various identification methods, but also underscore the value of transformer models in near-infrared spectroscopy classification. Furthermore, we delve into the discussion of the influence of data preprocessing on the performance of deep learning models compared to traditional machine learning models, providing valuable insights for future research in this field. This study used portable near-infrared spectroscopy and various preprocessing techniques to explore universal methods. The spectraformer model showed superior performance among the compared machine learning models.
引用
收藏
页码:8053 / 8066
页数:14
相关论文
共 35 条
[1]   Convolutional neural networks for vibrational spectroscopic data analysis [J].
Acquarelli, Jacopo ;
van Laarhoven, Twan ;
Gerretzen, Jan ;
Tran, Thanh N. ;
Buydens, Lutgarde M. C. ;
Marchiori, Elena .
ANALYTICA CHIMICA ACTA, 2017, 954 :22-31
[2]  
Ahmed K, 2017, Arxiv, DOI arXiv:1711.02132
[3]  
Bahdanau D, 2016, Arxiv, DOI [arXiv:1409.0473, 10.48550/arXiv.1409.0473, DOI 10.48550/ARXIV.1409.0473]
[4]   NIR spectroscopy: a rapid-response analytical tool [J].
Blanco, M ;
Villarroya, I .
TRAC-TRENDS IN ANALYTICAL CHEMISTRY, 2002, 21 (04) :240-250
[5]   Random forests [J].
Breiman, L .
MACHINE LEARNING, 2001, 45 (01) :5-32
[6]   Non-invasive identification of commercial green tea blends using NIR spectroscopy and support vector machine [J].
Cardoso, Victor Gustavo Kelis ;
Poppi, Ronei Jesus .
MICROCHEMICAL JOURNAL, 2021, 164
[7]  
CORTES C, 1995, MACH LEARN, V20, P273, DOI 10.1023/A:1022627411411
[8]   Modern practical convolutional neural networks for multivariate regression: Applications to NIR calibration [J].
Cui, Chenhao ;
Fearn, Tom .
CHEMOMETRICS AND INTELLIGENT LABORATORY SYSTEMS, 2018, 182 :9-20
[9]   ConViT: improving vision transformers with soft convolutional inductive biases [J].
d'Ascoli, Stephane ;
Touvron, Hugo ;
Leavitt, Matthew L. ;
Morcos, Ari S. ;
Biroli, Giulio ;
Sagun, Levent .
JOURNAL OF STATISTICAL MECHANICS-THEORY AND EXPERIMENT, 2022, 2022 (11)
[10]  
Dai Z, 2021, ADV NEUR IN, V34