Simultaneous Determination of Protein, Fat and Amylopectin in Rice Used for Baijiu Brewing Using Spectral Reconstruction
DOI:
https://doi.org/10.54097/0wg67172Keywords:
Brewing rice; spectral reconstruction; MST++; customized gate control; multitask learning; nondestructive analysis.Abstract
Rapid measurement of protein, fat and amylopectin is needed for quality control of rice used in Baijiu brewing. Hyperspectral imaging provides information for this task, but its equipment cost and scanning time constrain deployment. We combined RGB-based spectral reconstruction with multitask regression to determine the three components simultaneously. A multistage spectral-wise transformer (MST++) reconstructed 31 bands from 400 to 700 nm at 10 nm intervals. A Kolmogorov–Arnold network with customized gate control (KAN-CGC) then combined shared and task-specific experts, KAN prediction towers and uncertainty-weighted losses. Reconstruction models were developed using 400 samples; component models used 80 separate physical samples from eight rice varieties, with 12 region-of-interest spectra averaged per sample. MST++ achieved a test mean relative absolute error of 0.0240 and a peak signal-to-noise ratio of 39.2855 dB. After multiplicative scatter correction, KAN-CGC gave prediction coefficients of determination of 0.9824, 0.9612 and 0.9803 for protein, fat and amylopectin, respectively, with ratios of performance to deviation of 7.78, 5.24 and 7.36. The corresponding coefficients for directly acquired full spectra were 0.9887, 0.9701 and 0.9869. The processing workflow required 0.909 s per sample, compared with 18.728 s for hyperspectral acquisition and preprocessing, a 95.15% reduction. These results support RGB imaging and spectral reconstruction as a rapid approach to simultaneous component determination under the tested laboratory conditions.
Downloads
References
[1] Liu, M.-K., Liu, C.-Y., Tang, Y.-M., Liu, Y., Su, Y., Tian, X.-H., Feng, J., & Ni, X.-L. (2026). Innovative use of unhulled rice in Baijiu brewing: Impact on flavor and microbial composition. Food Chemistry: X, 34, 103569. https://doi.org/10.1016/j.fochx.2026.103569 DOI: https://doi.org/10.1016/j.fochx.2026.103569
[2] Yin, X., Yoshizaki, Y., Ikenaga, M., Han, X.-L., Okutsu, K., Futagami, T., Tamaki, H., & Takamine, K. (2020). Manufactural impact of the solid-state saccharification process in rice-flavor baijiu production. Journal of Bioscience and Bioengineering, 129(3), 315–321. https://doi.org/10.1016/j.jbiosc.2019.09.017 DOI: https://doi.org/10.1016/j.jbiosc.2019.09.017
[3] Tse, T. J., Wiens, D. J., & Reaney, M. J. T. (2021). Production of bioethanol—A review of factors affecting ethanol yield. Fermentation, 7(4), 268. https://doi.org/10.3390/fermentation7040268 DOI: https://doi.org/10.3390/fermentation7040268
[4] El Hosry, L., Elias, V., Chamoun, V., Halawi, M., Cayot, P., Nehme, A., & Bou-Maroun, E. (2025). Maillard reaction: Mechanism, influencing parameters, advantages, disadvantages, and food industrial applications: A review. Foods, 14(11), 1881. https://doi.org/10.3390/foods14111881 DOI: https://doi.org/10.3390/foods14111881
[5] Galanakis, C. M. (Ed.). (2021). Innovative food analysis. Academic Press. https://doi.org/10.1016/C2019-0-00106-9 DOI: https://doi.org/10.1016/C2019-0-00106-9
[6] Xia, Y., Tian, J., Zhou, Y., Huang, D., Xie, L., Hu, X., Yang, H., & Shang, J. (2026). Rapid multi-task detection of rice components using convolutional bidirectional long short-term fusion network combined with hyperspectral imaging. Food Control, 181, 111701. https://doi.org/10.1016/j.foodcont.2025.111701 DOI: https://doi.org/10.1016/j.foodcont.2025.111701
[7] Fei, X., Jiang, X., Lei, Y., Tian, J., Hu, X., Bu, Y., Huang, D., & Luo, H. (2023). The rapid non-destructive detection of the protein and fat contents of sorghum based on hyperspectral imaging. Food Analytical Methods, 16(11–12), 1690–1701. https://doi.org/10.1007/s12161-023-02529-x DOI: https://doi.org/10.1007/s12161-023-02529-x
[8] Huang, H., Hu, X., Tian, J., Jiang, X., Sun, T., Luo, H., & Huang, D. (2021). Rapid and nondestructive prediction of amylose and amylopectin contents in sorghum based on hyperspectral imaging. Food Chemistry, 359, 129954. https://doi.org/10.1016/j.foodchem.2021.129954 DOI: https://doi.org/10.1016/j.foodchem.2021.129954
[9] Xie, L., Zhang, H., Tian, J., Yu, S., Zhang, X., Yang, H., Hu, X., Chen, M., Wang, R., Cai, A., Yang, J., & Liu, S. (2025). Study on the real-time online determination of the moisture content of Baijiu Daqu during fermentation: New application of spectral reconstruction technology. Journal of Food Composition and Analysis, 146, 107904. https://doi.org/10.1016/j.jfca.2025.107904 DOI: https://doi.org/10.1016/j.jfca.2025.107904
[10] Zhang, J., Su, R., Fu, Q., Ren, W., Heide, F., & Nie, Y. (2022). A survey on computational spectral reconstruction methods from RGB to hyperspectral imaging. Scientific Reports, 12(1), 11905. https://doi.org/10.1038/s41598-022-16223-1 DOI: https://doi.org/10.1038/s41598-022-16223-1
[11] Zhao, J., Kechasov, D., Rewald, B., Bodner, G., Verheul, M., Clarke, N., & Clarke, J. L. (2020). Deep learning in hyperspectral image reconstruction from single RGB images—A case study on tomato quality parameters. Remote Sensing, 12(19), 3258. https://doi.org/10.3390/rs12193258 DOI: https://doi.org/10.3390/rs12193258
[12] Ahmed, M. T., Monjur, O., & Kamruzzaman, M. (2024). Deep learning-based hyperspectral image reconstruction for quality assessment of agro-product. Journal of Food Engineering, 382, 112223. https://doi.org/10.1016/j.jfoodeng.2024.112223 DOI: https://doi.org/10.1016/j.jfoodeng.2024.112223
[13] Lee, H. B., Yang, E., & Hwang, S. J. (2018). Deep asymmetric multi-task feature learning. In Proceedings of the 35th International Conference on Machine Learning (Vol. 80, pp. 2956–2964). https://proceedings.mlr.press/v80/lee18d.html
[14] Cai, Y., Lin, J., Lin, Z., Wang, H., Zhang, Y., Pfister, H., Timofte, R., & Van Gool, L. (2022). MST++: Multi-stage spectral-wise transformer for efficient spectral reconstruction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (pp. 744–754). https://doi.org/10.1109/CVPRW56347.2022.00090 DOI: https://doi.org/10.1109/CVPRW56347.2022.00090
[15] Maleki, M. R., Mouazen, A. M., Ramon, H., & De Baerdemaeker, J. (2007). Multiplicative scatter correction during on-line measurement with near infrared spectroscopy. Biosystems Engineering, 96(3), 427–433. https://doi.org/10.1016/j.biosystemseng.2006.11.014 DOI: https://doi.org/10.1016/j.biosystemseng.2006.11.014
[16] Barnes, R. J., Dhanoa, M. S., & Lister, S. J. (1993). Correction to the description of standard normal variate (SNV) and de-trend (DT) transformations. Journal of Near Infrared Spectroscopy, 1(3), 185–186. https://doi.org/10.1255/jnirs.21 DOI: https://doi.org/10.1255/jnirs.21
[17] Zimmermann, B., & Kohler, A. (2013). Optimizing Savitzky–Golay parameters for improving spectral resolution and quantification in infrared spectroscopy. Applied Spectroscopy, 67(8), 892–902. https://doi.org/10.1366/12-06723 DOI: https://doi.org/10.1366/12-06723
[18] Shi, Z., Chen, C., Xiong, Z., Liu, D., & Wu, F. (2018). HSCNN+: Advanced CNN-based hyperspectral recovery from RGB images. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (pp. 939–947). https://doi.org/10.1109/CVPRW.2018.00139 DOI: https://doi.org/10.1109/CVPRW.2018.00139
[19] Yu, C., Xiao, B., Gao, C., Yuan, L., Zhang, L., Sang, N., & Wang, J. (2021). Lite-HRNet: A lightweight high-resolution network. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (pp. 10440–10450). https://doi.org/10.1109/CVPR46437.2021.01030 DOI: https://doi.org/10.1109/CVPR46437.2021.01030
[20] Tang, H., Liu, J., Zhao, M., & Gong, X. (2020). Progressive layered extraction (PLE): A novel multi-task learning (MTL) model for personalized recommendations. In Proceedings of the 14th ACM Conference on Recommender Systems (pp. 269–278). https://doi.org/10.1145/3383313.3412236 DOI: https://doi.org/10.1145/3383313.3412236
[21] Liu, Z., Wang, Y., Vaidya, S., Ruehle, F., Halverson, J., Soljačić, M., Hou, T. Y., & Tegmark, M. (2024). KAN: Kolmogorov-Arnold networks. arXiv preprint. https://doi.org/10.48550/arXiv.2404.19756
[22] Kendall, A., Gal, Y., & Cipolla, R. (2018). Multi-task learning using uncertainty to weigh losses for scene geometry and semantics. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (pp. 7482–7491). https://doi.org/10.1109/CVPR.2018.00781 DOI: https://doi.org/10.1109/CVPR.2018.00781
[23] Carrascal, L. M., Galván, I., & Gordo, O. (2009). Partial least squares regression as an alternative to current regression methods used in ecology. Oikos, 118(5), 681–690. https://doi.org/10.1111/j.1600-0706.2008.16881.x DOI: https://doi.org/10.1111/j.1600-0706.2008.16881.x
[24] Qiu, J., Sheffler, W., Baker, D., & Noble, W. S. (2008). Ranking predicted protein structures with support vector regression. Proteins, 71(3), 1175–1182. https://doi.org/10.1002/prot.21809 DOI: https://doi.org/10.1002/prot.21809
[25] Misra, I., Shrivastava, A., Gupta, A., & Hebert, M. (2016). Cross-stitch networks for multi-task learning. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (pp. 3994–4003). https://doi.org/10.1109/CVPR.2016.433 DOI: https://doi.org/10.1109/CVPR.2016.433
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Academic Journal of Science and Technology

This work is licensed under a Creative Commons Attribution 4.0 International License.








