Back to Search Start Over

Enhanced detection of Aspergillus flavus in peanut kernels using a multi-scale attention transformer (MSAT): Advancements in food safety and contamination analysis.

Authors :
Guo, Zhen
Zhang, Jing
Wang, Haifang
Dong, Haowei
Li, Shiling
Shao, Xijun
Huang, Jingcheng
Yin, Xiang
Zhang, Qi
Guo, Yemin
Sun, Xia
Darwish, Ibrahim
Source :
International Journal of Food Microbiology. Oct2024, Vol. 423, pN.PAG-N.PAG. 1p.
Publication Year :
2024

Abstract

In this study, a multi-scale attention transformer (MSAT) was coupled with hyperspectral imaging for classifying peanut kernels contaminated with diverse Aspergillus flavus fungi. The results underscored that the MSAT significantly outperformed classic deep learning models, due to its sophisticated multi-scale attention mechanism which enhanced its classification capabilities. The multi-scale attention mechanism was utilized by employing several multi-head attention layers to focus on both fine-scale and broad-scale features. It also integrated a series of scale processing layers to capture features at different resolutions and incorporated a self-attention mechanism to integrate information across different levels. The MSAT model achieved outstanding performance in different classification tasks, particularly in distinguishing healthy peanut kernels from those contaminated with aflatoxigenic fungi, with test accuracy achieving 98.42±0.22%. However, it faced challenges in differentiating peanut kernels contaminated with aflatoxigenic fungi from those with non-aflatoxigenic contamination. Visualization of attention weights explicitly revealed that the MSAT model's multi-scale attention mechanism progressively refined its focus from broad spatial-spectral features to more specialized signatures. Overall, the MSAT model's advanced processing capabilities marked a notable advancement in the field of food quality safety, offering a robust and reliable tool for the rapid and accurate detection of Aspergillus flavus contaminations in food. • Propose a multi-scale attention transformer (MSAT) to classify fungi contamination • Design a multi-scale attention mechanism integrating a series of multi-scale layers • Find the optimal hyperparameter and evaluate the performance of the MSAT • Utilize attention weights visualization to reveal the model focused on [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
01681605
Volume :
423
Database :
Academic Search Index
Journal :
International Journal of Food Microbiology
Publication Type :
Academic Journal
Accession number :
179029343
Full Text :
https://doi.org/10.1016/j.ijfoodmicro.2024.110831