Spectral–spatial fusion attention transformer for brewing wheat variety identification and food-processing raw-material quality evaluation

IF 5.8 2区 农林科学 Q1 ENGINEERING, CHEMICAL
Journal of Food Engineering Pub Date : 2026-06-01 Epub Date: 2026-01-20 DOI:10.1016/j.jfoodeng.2026.112993
Liangliang Xie , Hao Zhang , Juan Wang , Yuansong Peng , Xiang Wan , Haili Yang , Xinjun Hu , Manjiao Chen , Jianping Tian , Dan Huang , Anying Cai , Rongzhi Wang , Jianping Yang , Kaiyang Yuan , Haonan Yi , Shunbo Zhang
{"title":"Spectral–spatial fusion attention transformer for brewing wheat variety identification and food-processing raw-material quality evaluation","authors":"Liangliang Xie ,&nbsp;Hao Zhang ,&nbsp;Juan Wang ,&nbsp;Yuansong Peng ,&nbsp;Xiang Wan ,&nbsp;Haili Yang ,&nbsp;Xinjun Hu ,&nbsp;Manjiao Chen ,&nbsp;Jianping Tian ,&nbsp;Dan Huang ,&nbsp;Anying Cai ,&nbsp;Rongzhi Wang ,&nbsp;Jianping Yang ,&nbsp;Kaiyang Yuan ,&nbsp;Haonan Yi ,&nbsp;Shunbo Zhang","doi":"10.1016/j.jfoodeng.2026.112993","DOIUrl":null,"url":null,"abstract":"<div><div>Current spectral reconstruction methods exhibit limitations in jointly modeling spatial and spectral features, making it difficult to fully capture complex spectral information and thereby constraining reconstruction fidelity. To address this challenge, this paper proposes a novel Multi-stage Spectral–Spatial Fusion Attention Transformer (MSFAT), designed to enable efficient fusion and collaborative modeling of spatial-spectral data, ultimately improving the accuracy of spectral reconstruction. The core innovation lies in the development of the Spectral–Spatial Fusion Attention Module (SFAM), which integrates a dual frequency-spatial attention mechanism. By combining fast-Fourier transform with channel attention, SFAM effectively extracts global spectral dependencies and local spatial features synergistically. This mechanism allows SFAM to capture long-range spectral correlations in the frequency domain while emphasizing critical spatial details, significantly boosting the model's capacity to handle complex hyperspectral data. Experimental results validate the efficacy of MSFAT, showing a 0.37 dB improvement in PSNR over MST++ for hyperspectral image reconstruction, along with a 5.6 % reduction in MRAE and a 4.8 % decrease in RMSE. Furthermore, a one-dimensional (1D)-CNN-based brewing wheat variety classification model was developed using the reconstructed hyperspectral imaging data from MSFAT. This model achieved a test accuracy, recall, and F1 score of 96.66 %, 96.66 %, and 96.63 %, respectively—representing a 2.08 % accuracy improvement over MST++ and closely approximating the performance obtained using original spectral data (97.08 %). These findings demonstrate that integrating MSFAT with 1D-CNN offers a high-precision and cost-effective solution for the identification of brewing wheat raw materials, underscoring its broad potential for applications in smart agriculture and food composition analysis.In addition, the spectral data reconstructed by the proposed model can be further applied to analyze physicochemical characteristics relevant to food processing, such as starch, protein, and moisture content. This RGB-based spectral reconstruction approach provides a new avenue for raw-material sorting, quality assessment, and process monitoring in brewing and other food-processing operations.</div></div>","PeriodicalId":359,"journal":{"name":"Journal of Food Engineering","volume":"413 ","pages":"Article 112993"},"PeriodicalIF":5.8000,"publicationDate":"2026-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Food Engineering","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0260877426000312","RegionNum":2,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/1/20 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"ENGINEERING, CHEMICAL","Score":null,"Total":0}
引用次数: 0

Abstract

Current spectral reconstruction methods exhibit limitations in jointly modeling spatial and spectral features, making it difficult to fully capture complex spectral information and thereby constraining reconstruction fidelity. To address this challenge, this paper proposes a novel Multi-stage Spectral–Spatial Fusion Attention Transformer (MSFAT), designed to enable efficient fusion and collaborative modeling of spatial-spectral data, ultimately improving the accuracy of spectral reconstruction. The core innovation lies in the development of the Spectral–Spatial Fusion Attention Module (SFAM), which integrates a dual frequency-spatial attention mechanism. By combining fast-Fourier transform with channel attention, SFAM effectively extracts global spectral dependencies and local spatial features synergistically. This mechanism allows SFAM to capture long-range spectral correlations in the frequency domain while emphasizing critical spatial details, significantly boosting the model's capacity to handle complex hyperspectral data. Experimental results validate the efficacy of MSFAT, showing a 0.37 dB improvement in PSNR over MST++ for hyperspectral image reconstruction, along with a 5.6 % reduction in MRAE and a 4.8 % decrease in RMSE. Furthermore, a one-dimensional (1D)-CNN-based brewing wheat variety classification model was developed using the reconstructed hyperspectral imaging data from MSFAT. This model achieved a test accuracy, recall, and F1 score of 96.66 %, 96.66 %, and 96.63 %, respectively—representing a 2.08 % accuracy improvement over MST++ and closely approximating the performance obtained using original spectral data (97.08 %). These findings demonstrate that integrating MSFAT with 1D-CNN offers a high-precision and cost-effective solution for the identification of brewing wheat raw materials, underscoring its broad potential for applications in smart agriculture and food composition analysis.In addition, the spectral data reconstructed by the proposed model can be further applied to analyze physicochemical characteristics relevant to food processing, such as starch, protein, and moisture content. This RGB-based spectral reconstruction approach provides a new avenue for raw-material sorting, quality assessment, and process monitoring in brewing and other food-processing operations.
酿酒小麦品种鉴定和食品加工原料质量评价的光谱-空间融合注意力转换器
目前的光谱重建方法在空间和光谱特征联合建模方面存在局限性,难以完全捕获复杂的光谱信息,从而限制了重建的保真度。为了解决这一挑战,本文提出了一种新型的多级光谱-空间融合注意力转换器(MSFAT),旨在实现空间-光谱数据的高效融合和协同建模,最终提高光谱重建的精度。其核心创新在于开发了频谱-空间融合注意模块(sfm),该模块集成了双频-空间注意机制。该方法将快速傅里叶变换与信道注意相结合,有效地协同提取全局频谱依赖关系和局部空间特征。该机制允许sfm在强调关键空间细节的同时捕获频域的远程光谱相关性,从而显著提高模型处理复杂高光谱数据的能力。实验结果验证了MSFAT的有效性,显示高光谱图像重建的PSNR比MST++提高了0.37 dB, MRAE降低了5.6%,RMSE降低了4.8%。此外,利用MSFAT重建的高光谱成像数据,建立了一维(1D)- cnn的酿造小麦品种分类模型。该模型的测试准确率、召回率和F1分数分别为96.66%、96.66%和96.63%,比MST++提高了2.08%,与使用原始光谱数据获得的性能(97.08%)非常接近。这些研究结果表明,将MSFAT与1D-CNN相结合,为酿造小麦原料的鉴定提供了高精度和经济高效的解决方案,强调了其在智能农业和食品成分分析方面的广泛应用潜力。此外,该模型重建的光谱数据可以进一步用于分析与食品加工相关的理化特征,如淀粉、蛋白质和水分含量。这种基于rgb的光谱重建方法为酿造和其他食品加工操作中的原料分类、质量评估和过程监控提供了新的途径。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Journal of Food Engineering
Journal of Food Engineering 工程技术-工程:化工
CiteScore
11.80
自引率
5.50%
发文量
275
审稿时长
24 days
期刊介绍: The journal publishes original research and review papers on any subject at the interface between food and engineering, particularly those of relevance to industry, including: Engineering properties of foods, food physics and physical chemistry; processing, measurement, control, packaging, storage and distribution; engineering aspects of the design and production of novel foods and of food service and catering; design and operation of food processes, plant and equipment; economics of food engineering, including the economics of alternative processes. Accounts of food engineering achievements are of particular value.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书