Multi-Scale Feature Attention Network for Rapid and Non-Destructive Quantification of Aflatoxin B1 in Maize Using Hyperspectral Imaging
Maize, a globally important crop, is highly susceptible to aflatoxin contamination, posing a serious threat. Therefore, accurate detection of aflatoxin levels in maize is of critical importance. In this study, the Multi-Scale Feature Network with Efficient Channel Attention (MSFNet-ECA) model, based on near-infrared hyperspectral imaging combined with deep learning techniques was developed to analyze the content of aflatoxin B<sub>1</sub> (AFB<sub>1</sub>) in maize. Three data augmentation methods-multiplicative random scaling, bootstrap resampling, and Wasserstein generative adversarial networks (WGAN)-were compared with various preprocessing strategies to assess their impact on model performance. Multiplicative random scaling combined with second derivative (D2) preprocessing yielded the best predictive performance for the MSFNet-ECA model. Using this augmentation, the MSFNet-ECA model outperformed four conventional models (partial least squares regression (PLSR), support vector regression (SVR), extreme learning machine (ELM), and one-dimensional convolutional neural network (1D-CNN)), achieving a root mean square error of prediction (RMSEP) of 2.3 μg·kg<sup>-1</sup>, coefficient of determination for prediction (Rp2) of 0.99, and the residual predictive deviation (RPD) of 9, with accuracy improvements of 86.4%, 79.1%, 71.3%, and 42.5%, respectively. This finding demonstrates that applying data augmentation methods substantially improves the predictive performance of hyperspectral chemometric models driven by deep learning. Moreover, when combined with data augmentation techniques, the proposed MSFNet-ECA model can accurately predict AFB<sub>1</sub> content in maize, offering an efficient and reliable tool for hyperspectral applications in food quality and safety monitoring.
Authors
- Kewei Huan
- Yichi Zhang (ORCID: https://orcid.org/0009-0009-3001-7384)
- Xiaoxi Liu (ORCID: https://orcid.org/0000-0003-0657-8922)
- Xianwen Cao
- Yuqing Fan (ORCID: https://orcid.org/0009-0004-2957-6836)
- Xueyan Han
Institutions
- Changchun University of Science and Technology (CN)
- Institute of Scientific and Technical Information (CN)
Publication Details
- Journal
- Foods
- Published
- 2025-11-03
- DOI
- https://doi.org/10.3390/foods14213769
- Citations
- 1
- Primary Topic
- Spectroscopy and Chemometric Analyses
- Type
- article
- Field-Weighted Citation Impact
- 0.75
Funders
- National Natural Science Foundation of China
- People's Government of Jilin Province