Lightweight residual deep learning framework for urea and formalin adulteration detection in milk using hyperspectral imaging.
Padmasri P, Sathya Bama B
Department of ECE, Thiagarajar College of Engineering, Madurai, Tamil Nadu, India.
Key points
From the paper's conclusion- This study proposes a lightweight Squeeze-and-Excitation Residual 1D Network (SE-ResNet1D) combined with Hyperspectral Imaging (HSI) to detect the presence of urea and formalin in milk at a finer level.
Abstract
Milk adulteration is a major concern for dairy quality and food safety, especially when harmful adulterants such as urea and formalin are present at closely related concentration levels that are difficult to distinguish. This study proposes a lightweight Squeeze-and-Excitation Residual 1D Network (SE-ResNet1D) combined with Hyperspectral Imaging (HSI) to detect the presence of urea and formalin in milk at a finer level. A custom hyperspectral milk dataset was developed using a Resonon Pika L system from the 400 nm to 1000 nm wavelength range over 300 bands, including pure milk and closely spaced adulteration levels of urea (0.02-0.125 g/50 mL) and formalin (0.1-0.6 mL/50 mL). The raw spectral data was pre-processed by multiplicative scattering correction and Savitzky-Golay smoothing, followed by Principal Component Analysis (PCA) with PCA-30 as the optimum input data representation. The model achieved accuracies of 98.8% for urea and 98.1% for formalin, outperforming compared models while maintaining computational efficiency with only 17,419 trainable parameters. The framework was evaluated against machine learning and deep learning baseline models, with ablation analysis to assess architectural contributions. The results obtained show that the proposed model could be used as a fast, non-destructive, and feasible solution for intelligent dairy quality monitoring.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Recent advances in near infrared spectroscopy and chemometric modeling for milk quality assessment: A comprehensive reviewJournal of Near Infrared Spectroscopy · 2026
- Advancing hyperspectral milk quality assessment: Deep learning-based spatial-spectral fusion for nutrient estimation.Current research in food science · 2026
- Near-Infrared Hyperspectral Imaging for Non-Destructive Detection of Old Rice in Freshly Milled Rice.Foods (Basel, Switzerland) · 2026
- Squeeze-Excitation Attention-Guided 3D Inception ResNet for Aflatoxin B1 Classification in Almonds Using Hyperspectral ImagingToxins · 2026
- Deep learning method of visible and near-infrared spectroscopy considering small sample learning and prediction uncertainty assessment to detect soluble solids content of mandarinLWT · 2026
- Simultaneous species origin authentication and adulterant quantification in specialty milk powders using near-infrared spectroscopy and multi-task deep learning.Spectrochimica acta. Part A, Molecular and biomolecular spectroscopy · 2026