Decision Tree and K-Means Analysis of Raman Spectra for Edible Oils: A Physics-Informed AI Approach

arXiv cs.LG Papers

Summary

The study establishes a physics-informed AI framework using Raman spectroscopy and machine learning to authenticate edible oils, achieving high classification accuracy with compact spectral representations.

arXiv:2608.20440v1 Announce Type: new Abstract: Authentication of edible oils in processed foods is important for food quality, fraud prevention, and regulatory compliance. This study establishes an integrated Raman spectroscopy and machine-learning framework that links intrinsic spectral organization, interpretable classification, and Physics-Informed Artificial Intelligence (PI-AI). Five edible oils were investigated in pure form and within a fried-potato-chip matrix using t-SNE, K-means clustering, Decision Trees, and Non-Negative Least Squares (NNLS)-based spectral decomposition. Unsupervised analyses revealed substantially stronger class organization and separability in pure oils, whereas food-matrix effects introduced pronounced spectral overlap. Decision Trees achieved 100% classification accuracy for pure oils using only four Raman variables from the original 1866-feature spectral space. These four variables, consistently identified by both pre-pruned and post-pruned models, represented only approximately 0.21% of the available spectral information while retaining perfect test-set performance. For matrix-containing samples, NNLS-based PI-AI spectral decomposition substantially improved classification by separating oil-related signatures from paper and potato contributions. Optimized post-pruned models achieved accuracies of 86.4% and 85.4% for paper-subtracted and paper-plus-potato-subtracted datasets, respectively, while reducing the number of important Raman variables to only five and four. The compact four-feature representation further reduced the data footprint by 99.44% without loss of classification accuracy. Collectively, these findings demonstrate that accurate Raman-based oil identification can be achieved through physically meaningful, highly compact, and interpretable spectral representations, providing a promising foundation for Frugal AI, Edge AI, portable sensing, and embedded food-quality monitoring.
Original Article
View Cached Full Text

Cached at: 08/24/26, 04:29 AM

# Decision Tree and K-Means Analysis of Raman Spectra for Edible Oils: A Physics-Informed AI Approach
Source: [https://arxiv.org/abs/2608.20440](https://arxiv.org/abs/2608.20440)
[View PDF](https://arxiv.org/pdf/2608.20440)

> Abstract:Authentication of edible oils in processed foods is important for food quality, fraud prevention, and regulatory compliance\. This study establishes an integrated Raman spectroscopy and machine\-learning framework that links intrinsic spectral organization, interpretable classification, and Physics\-Informed Artificial Intelligence \(PI\-AI\)\. Five edible oils were investigated in pure form and within a fried\-potato\-chip matrix using t\-SNE, K\-means clustering, Decision Trees, and Non\-Negative Least Squares \(NNLS\)\-based spectral decomposition\. Unsupervised analyses revealed substantially stronger class organization and separability in pure oils, whereas food\-matrix effects introduced pronounced spectral overlap\. Decision Trees achieved 100% classification accuracy for pure oils using only four Raman variables from the original 1866\-feature spectral space\. These four variables, consistently identified by both pre\-pruned and post\-pruned models, represented only approximately 0\.21% of the available spectral information while retaining perfect test\-set performance\. For matrix\-containing samples, NNLS\-based PI\-AI spectral decomposition substantially improved classification by separating oil\-related signatures from paper and potato contributions\. Optimized post\-pruned models achieved accuracies of 86\.4% and 85\.4% for paper\-subtracted and paper\-plus\-potato\-subtracted datasets, respectively, while reducing the number of important Raman variables to only five and four\. The compact four\-feature representation further reduced the data footprint by 99\.44% without loss of classification accuracy\. Collectively, these findings demonstrate that accurate Raman\-based oil identification can be achieved through physically meaningful, highly compact, and interpretable spectral representations, providing a promising foundation for Frugal AI, Edge AI, portable sensing, and embedded food\-quality monitoring\.

## Submission history

From: Deepak Kallepalli Dr\. \[[view email](https://arxiv.org/show-email/91cf581c/2608.20440)\] **\[v1\]**Thu, 20 Aug 2026 14:07:32 UTC \(1,814 KB\)

Similar Articles