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 条
[31]   A New Handheld Device for the Detection of Falsified Medicines: Demonstration on Falsified Artemisinin-Based Therapies from the Field [J].
Wilson, Benjamin K. ;
Kaur, Harparkash ;
Allan, Elizabeth Louise ;
Lozama, Anthony ;
Bell, David .
AMERICAN JOURNAL OF TROPICAL MEDICINE AND HYGIENE, 2017, 96 (05) :1117-1123
[32]  
Xu K, 2015, PR MACH LEARN RES, V37, P2048
[33]   TeaNet: Deep learning on Near-Infrared Spectroscopy (NIR) data for the assurance of tea quality [J].
Yang, Jingru ;
Wang, Jin ;
Lu, Guodong ;
Fei, Shaomei ;
Yan, Ting ;
Zhang, Cheng ;
Lu, Xiaohui ;
Yu, Zhiyong ;
Li, Wencui ;
Tang, Xiaolin .
COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2021, 190
[34]   Food and agro-product quality evaluation based on spectroscopy and deep learning: A review [J].
Zhang, Xiaolei ;
Yang, Jie ;
Lin, Tao ;
Ying, Yibin .
TRENDS IN FOOD SCIENCE & TECHNOLOGY, 2021, 112 :431-441
[35]   DeepSpectra: An end-to-end deep learning approach for quantitative spectral analysis [J].
Zhang, Xiaolei ;
Lin, Tao ;
Xu, Jinfan ;
Luo, Xuan ;
Ying, Yibin .
ANALYTICA CHIMICA ACTA, 2019, 1058 :48-57