Advancing hyperspectral milk quality assessment: Deep learning-based spatial–spectral fusion for nutrient estimation
5 affiliations
- 1State Key Laboratory of AI Safety, Institute of Computing Technology, Chinese Academy of Sciences, Beijing 100190, China
- 2University of Chinese Academy of Sciences, Beijing 100049, China
- 3College of Computing and Information Engineering, Inner Mongolia Agricultural University, Hohhot 010018, China
- 4Key Laboratory of Big Data Research and Application for Agriculture and Animal Husbandry of Inner Mongolia Autonomous Region, Hohhot 010018, China
- 5Lenovo Group, China
Abstract
Different types of milk have distinct flavors and nutritional profiles, catering to the diverse dietary needs of different populations. As the variety of milk products increases, milk fraud has become more frequent, making accurate quantification of nutritional components in milk particularly important. However, traditional laboratory methods are time-consuming and destructive. Hyperspectral imaging (HSI), as a non-destructive detection technology, can overcome these limitations. Due to the high cost of HSI and the diversity of milk types, current hyperspectral datasets for milk cover only a relatively narrow range of varieties and nutritional indicators. This study established the HSI-MILK83 dataset, comprising 83 varieties of milk products, as a benchmark dataset for milk quality assessment. Based on this dataset, we proposed two deep learning models to predict the contents of fat, protein, carbohydrates, and solids-not-fat (SNF) in milk. The first model was based on a two-stream network architecture that independently extracts spatial and spectral features and subsequently fuses them to enhance spatial–spectral feature representation. The second model incorporated the depthwise separable convolution with attention (DeSCA) module, which combines depthwise separable convolution with multi-head self-attention to capture interrelationships among milk image features across different wavelengths. Extensive experimental evaluations on the HSI-MILK83 dataset demonstrated the effectiveness of the two proposed methods. Both the dataset and source code will be made publicly available.
Related
- Deep spectral–spatial learning for robust bruise detection and internal damage estimation in apples using visible/near-infrared hyperspectral imaging
- Rapid and non-destructive estimation of chemical properties of date syrup using visible-near infrared hyperspectral imaging combined with machine learning predictive models
- Hyperspectral Soil Metal Estimation Using Fractional-Order Derivatives and LSTM–KAN Modeling
- Reading the whole corpus: a reproducible cross-sample Raman workflow for materials characterisation, with a spectral 3D Gaussian splatting representation for hyperspectral maps
- A three-dimensional convolutional neural network with joint spectral-spatial attention for celery adulteration detection using hyperspectral imaging.
BibTeX
@article{hong2026advancing,
title = {{Advancing hyperspectral milk quality assessment: Deep learning-based spatial–spectral fusion for nutrient estimation}},
author = {Xingjian Hong and Ziyang Xu and Xinhua Jiang and Yunli Bai and Weiqing Min and Shuqiang Jiang and Yong Rui},
journal = {Current Research in Food Science},
year = {2026},
month = oct,
doi = {10.1016/j.crfs.2026.101610},
url = {https://doi.org/10.1016/j.crfs.2026.101610},
note = {CC BY-NC-ND 4.0},
}
RIS
TY - JOUR
TI - Advancing hyperspectral milk quality assessment: Deep learning-based spatial–spectral fusion for nutrient estimation
AU - Xingjian Hong
AU - Ziyang Xu
AU - Xinhua Jiang
AU - Yunli Bai
AU - Weiqing Min
AU - Shuqiang Jiang
AU - Yong Rui
PY - 2026
DA - 2026/10/30
JO - Current Research in Food Science
DO - 10.1016/j.crfs.2026.101610
UR - https://doi.org/10.1016/j.crfs.2026.101610
AB - Different types of milk have distinct flavors and nutritional profiles, catering to the diverse dietary needs of different populations. As the variety of milk products increases, milk fraud has become more frequent, making accurate quantification of nutritional components in milk particularly important. However, traditional laboratory methods are time-consuming and destructive. Hyperspectral imaging (HSI), as a non-destructive detection technology, can overcome these limitations. Due to the high cost of HSI and the diversity of milk types, current hyperspectral datasets for milk cover only a relatively narrow range of varieties and nutritional indicators. This study established the HSI-MILK83 dataset, comprising 83 varieties of milk products, as a benchmark dataset for milk quality assessment. Based on this dataset, we proposed two deep learning models to predict the contents of fat, protein, carbohydrates, and solids-not-fat (SNF) in milk. The first model was based on a two-stream network architecture that independently extracts spatial and spectral features and subsequently fuses them to enhance spatial–spectral feature representation. The second model incorporated the depthwise separable convolution with attention (DeSCA) module, which combines depthwise separable convolution with multi-head self-attention to capture interrelationships among milk image features across different wavelengths. Extensive experimental evaluations on the HSI-MILK83 dataset demonstrated the effectiveness of the two proposed methods. Both the dataset and source code will be made publicly available.
SN - 2665-9271
ER -