Multistage Fourier Volumetric Attention Transformer for Hyperspectral Reconstruction and Physicochemical Quality Prediction of Brewing Sorghum
摘要
Protein and moisture contents in brewing sorghum are critical indicators affecting Baijiu fermentation efficiency and base liquor quality consistency. However, conventional physicochemical assays are time-consuming and unsuitable for real-time on-site monitoring. This study proposes a hyperspectral reconstruction approach based on a multistage Fourier volumetric attention transformer (MFVAT), combined with machine learning models for low-cost, rapid, and accurate determination of sorghum physicochemical constituents. MFVAT incorporates a Fourier–volumetric attention block (FVAB), where volumetric self-attention (VolSA) models long-range dependencies across spectral bands, while Fourier modulation attention (FMA) recovers edge sharpness and fine textures in the frequency domain, achieving high-fidelity hyperspectral reconstruction from RGB images. Experimental results demonstrate that MFVAT outperforms the compared baseline networks (MST + + and HRNet) under the present experimental settings (PSNR = 41.7390 dB, MRAE = 0.0175). The protein prediction model (SNV + XGBoost, Rp2 = 0.9174, RMSEP = 0.1368 g/100 g) and moisture prediction model (MSC + RF, Rp2 = 0.9700, RMSEP = 0.1274 g/100 g) achieve prediction accuracy comparable to that of models developed using original full-wavelength spectra (protein: Rp2 = 0.9229; moisture: Rp2 = 0.9797). These findings suggest that visible-range hyperspectral reconstruction from RGB images can provide a practical and cost-efficient supplementary solution for nondestructive quality evaluation of liquor-making raw materials.