An Interpretable Kolmogorov–Arnold Network for FTIR Detection and Quantification of Adulteration Across Diverse Food Matrices
Abstract
1. Introduction
2. Materials and Methods
2.1. Samples and FTIR Spectral Acquisition
2.2. Datasets and Group Structure
2.3. Spectral Preprocessing
2.4. Calibration Models

2.5. Leakage-Free Validation

2.6. Performance Metrics and Statistical Analysis
2.7. Interpretability Analysis
2.8. Software
3. Results and Discussion
3.1. Spectral Characteristics and Chemistry
3.2. Quantification Benchmark
3.3. Adulteration Detection and Limit of Detection
3.4. Robustness
3.5. Generalisation to Unseen Brands
3.6. Ablations and a Parameter-Matched Baseline
3.7. Stability of the Equation and of the Explanation
3.8. Interpretability: Equations, Chemistry and Agreement with SHAP
3.9. Where the Interpretable Model Earns Its Place
3.10. Comparison with Previous Studies and Limitations
4. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- León, L.; Kelly, J.D.; Downey, G. Detection of apple juice adulteration using near-infrared transflectance spectroscopy. Appl. Spectrosc. 2005, 59, 593–599. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Guillén, M.D.; Cabo, N. Infrared spectroscopy in the study of edible oils and fats. J. Sci. Food Agric. 1997, 75, 1–11. [Google Scholar] [CrossRef] [Scilit]
- Nunes, C.A. Vibrational spectroscopy and chemometrics to assess authenticity, adulteration and intrinsic quality parameters of edible oils and fats. Food Res. Int. 2014, 60, 255–261. [Google Scholar] [CrossRef] [Scilit]
- Wold, S.; Sjöström, M.; Eriksson, L. PLS-regression: A basic tool of chemometrics. Chemom. Intell. Lab. Syst. 2001, 58, 109–130. [Google Scholar] [CrossRef] [Scilit]
- Barnes, R.J.; Dhanoa, M.S.; Lister, S.J. Standard normal variate transformation and de-trending of near-infrared diffuse reflectance spectra. Appl. Spectrosc. 1989, 43, 772–777. [Google Scholar] [CrossRef] [Scilit]
- Savitzky, A.; Golay, M.J.E. Smoothing and differentiation of data by simplified least squares procedures. Anal. Chem. 1964, 36, 1627–1639. [Google Scholar] [CrossRef] [Scilit]
- Cortes, C.; Vapnik, V. Support-vector networks. Mach. Learn. 1995, 20, 273–297. [Google Scholar] [CrossRef] [Scilit]
- Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef] [Scilit]
- Cui, C.; Fearn, T. Modern practical convolutional neural networks for multivariate regression: Applications to NIR calibration. Chemom. Intell. Lab. Syst. 2018, 182, 9–20. [Google Scholar] [CrossRef] [Scilit]
- Lundberg, S.M.; Lee, S.-I. A unified approach to interpreting model predictions. arXiv 2017, arXiv:1705.07874. [Google Scholar] [CrossRef] [Scilit]
- Liu, Z.; Wang, Y.; Vaidya, S.; Ruehle, F.; Halverson, J.; Soljačić, M.; Hou, T.Y.; Tegmark, M. KAN: Kolmogorov–Arnold networks. arXiv 2024, arXiv:2404.19756. [Google Scholar] [CrossRef] [Scilit]
- Liu, Z.; Tegmark, M.; Ma, P.; Matusik, W.; Wang, Y. Kolmogorov–Arnold networks meet science. Phys. Rev. X 2025, 15, 041051. [Google Scholar] [CrossRef] [Scilit]
- Zhang, J.; Dou, Y.; Zhang, P.; Shu, X.; Lei, M. Radial basis function Kolmogorov–Arnold network for coal calorific value prediction using portable near-infrared spectroscopy. Processes 2025, 13, 3623. [Google Scholar] [CrossRef] [Scilit]
- Li, Z.; Wu, Y.; Lin, D.; Wang, T.; Yan, X.; Feng, S. Application of the frequency-domain Kolmogorov–Arnold networks model in cancer screening and classification using serum surface-enhanced Raman scattering. Anal. Lett. 2025, 59, 1476–1495. [Google Scholar] [CrossRef] [Scilit]
- Chang, C.; Wei, Z.; Chen, C.; Liu, S.; Gu, J.; Chen, C. A multi-scale residual network based on Kolmogorov–Arnold networks combined with Raman spectroscopy for rapid diagnosis of membranous glomerulonephritis. J. Raman Spectrosc. 2026, 57, 601–613. [Google Scholar] [CrossRef] [Scilit]
- Sun, Y.; Peng, X.; Du, F.; He, L.; Lu, Y.; Yuan, Y.; Qu, J. Boosting living Bacillus spore identification: Kolmogorov–Arnold network-guided convolutional neural network combined with laser tweezers Raman spectroscopy. Analyst 2026, 151, 187–197. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Dasenaki, M.E.; Thomaidis, N.S. Quality and authenticity control of fruit juices—A review. Molecules 2019, 24, 1014. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Toci, A.T.; Farah, A.; Pezza, H.R.; Pezza, L. Coffee adulteration: More than two decades of research. Crit. Rev. Anal. Chem. 2016, 46, 83–92. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Ordoudi, S.A.; Strani, L.; Cocchi, M. Toward the non-targeted detection of adulterated virgin olive oil with edible oils via FTIR spectroscopy & chemometrics: Research methodology trends, gaps and future perspectives. Molecules 2023, 28, 337. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Rohman, A.; Che Man, Y.B. Fourier transform infrared (FTIR) spectroscopy for analysis of extra virgin olive oil adulterated with palm oil. Food Res. Int. 2010, 43, 886–892. [Google Scholar] [CrossRef] [Scilit]
- Pedregosa, F.; Varoquaux, G.; Gramfort, A.; Michel, V.; Thirion, B.; Grisel, O.; Blondel, M.; Prettenhofer, P.; Weiss, R.; Dubourg, V.; et al. Scikit-learn: Machine learning in Python. J. Mach. Learn. Res. 2011, 12, 2825–2830. [Google Scholar]
- Paszke, A.; Gross, S.; Massa, F.; Lerer, A.; Bradbury, J.; Chanan, G.; Killeen, T.; Lin, Z.; Gimelshein, N.; Antiga, L.; et al. PyTorch: An imperative style, high-performance deep learning library. arXiv 2019, arXiv:1912.01703. [Google Scholar] [CrossRef] [Scilit]
- Reis, N.; Franca, A.S.; Oliveira, L.S. Concomitant use of Fourier transform infrared attenuated total reflectance spectroscopy and chemometrics for quantification of multiple adulterants in roasted and ground coffee. J. Spectrosc. 2016, 2016, 4974173. [Google Scholar] [CrossRef] [Scilit]
- Vigneau, E.; Thomas, F. Model calibration and feature selection for orange juice authentication by 1H NMR spectroscopy. Chemom. Intell. Lab. Syst. 2012, 117, 22–30. [Google Scholar] [CrossRef] [Scilit]
- Ehsani, S.; Yazdanpanah, H.; Parastar, H. An innovative screening approach for orange juice authentication using dual portable/handheld NIR spectrometers and chemometrics. Microchem. J. 2023, 194, 109304. [Google Scholar] [CrossRef] [Scilit]
- Amirvaresi, A.; Nikounezhad, N.; Amirahmadi, M.; Daraei, B.; Parastar, H. Comparison of near-infrared (NIR) and mid-infrared (MIR) spectroscopy based on chemometrics for saffron authentication and adulteration detection. Food Chem. 2021, 344, 128647. [Google Scholar] [CrossRef] [Scilit] [PubMed]









| Food | Adulterant | Range (Step) | Spectra | Samples | Preprocessing |
|---|---|---|---|---|---|
| Olive oil | Sunflower oil | 0–30% (3%) | ≈350 | 55 | SNV |
| Coffee | Malt flour | 0–50% (5%) | ≈400 | 55 | SNV |
| Fruit juice (orange) | Apple juice | 0–50% (5%) | ≈400 | 55 | SG1 |
| Food | Model | CV R2 (Mean ± SD) | RPD | RMSEP% | F1 | Params |
|---|---|---|---|---|---|---|
| Olive oil | PLS | 0.855 ± 0.059 | 2.75 | 3.89 | 0.931 | 14,104 |
| Olive oil | SVM | 0.823 ± 0.061 | 2.49 | 4.17 | 0.901 | |
| Olive oil | RF | 0.833 ± 0.100 | 2.67 | 3.93 | 0.891 | |
| Olive oil | MLP | 0.864 ± 0.048 | 2.81 | 3.86 | 0.928 | 2881 |
| Olive oil | CNN | 0.846 ± 0.072 | 2.73 | 3.92 | 0.916 | 43,457 |
| Olive oil | KAN | 0.855 ± 0.061 | 2.77 | 3.81 | 0.927 | 580 |
| Coffee | PLS | 0.968 ± 0.021 | 6.11 | 2.61 | 0.988 | 14,104 |
| Coffee | SVM | 0.845 ± 0.105 | 2.78 | 4.51 | 0.803 | |
| Coffee | RF | 0.933 ± 0.046 | 4.25 | 3.36 | 0.945 | |
| Coffee | MLP | 0.928 ± 0.036 | 4.02 | 3.54 | 0.912 | 10,369 |
| Coffee | CNN | 0.954 ± 0.040 | 5.43 | 2.47 | 0.989 | 43,457 |
| Coffee | KAN | 0.927 ± 0.047 | 4.19 | 3.08 | 0.936 | 1060 |
| Fruit juice | PLS | 0.738 ± 0.189 | 2.15 | 10.00 | 0.913 | 14,104 |
| Fruit juice | SVM | 0.708 ± 0.240 | 2.05 | 10.00 | 0.895 | |
| Fruit juice | RF | 0.396 ± 0.980 | 1.75 | 9.03 | 0.882 | |
| Fruit juice | MLP | 0.774 ± 0.188 | 2.44 | 8.44 | 0.922 | 2881 |
| Fruit juice | CNN | 0.372 ± 0.533 | 1.48 | 9.18 | 0.903 | 43,457 |
| Fruit juice | KAN | 0.686 ± 0.373 | 2.14 | 12.48 | 0.891 | 820 |
| Food | Model | LOD (% Adulterant) | 95% CI | LOQ (% Adulterant) | 95% CI |
|---|---|---|---|---|---|
| Olive oil | PLS | 13.8 | 10.3–18.3 | 41.7 | 31.3–55.6 |
| Olive oil | SVR | 14.9 | 11.9–18.7 | 45.1 | 35.9–56.6 |
| Olive oil | RF | 14.3 | 10.4–20.0 | 43.2 | 31.4–60.6 |
| Olive oil | MLP | 13.8 | 10.2–18.2 | 41.8 | 30.9–55.1 |
| Olive oil | CNN | 14.2 | 11.3–18.8 | 43.0 | 34.2–57.1 |
| Olive oil | KAN | 13.7 | 9.8–19.0 | 41.5 | 29.8–57.6 |
| Coffee | PLS | 8.7 | 6.5–11.3 | 26.5 | 19.8–34.2 |
| Coffee | SVR | 14.9 | 12.3–16.5 | 45.2 | 37.2–50.1 |
| Coffee | RF | 11.4 | 8.1–14.6 | 34.4 | 24.4–44.1 |
| Coffee | MLP | 11.8 | 8.8–14.2 | 35.7 | 26.6–43.1 |
| Coffee | CNN | 8.2 | 5.9–10.5 | 24.9 | 17.9–31.8 |
| Coffee | KAN | 10.3 | 7.4–12.6 | 31.1 | 22.4–38.3 |
| Fruit juice | PLS | 38.3 | 24.4–44.7 | 115.9 | 74.0–135.4 |
| Fruit juice | SVR | 37.1 | 25.4–41.9 | 112.4 | 77.1–127.1 |
| Fruit juice | RF | 34.2 | 25.9–44.5 | 103.6 | 78.4–134.7 |
| Fruit juice | MLP | 30.7 | 23.0–35.1 | 93.1 | 69.8–106.4 |
| Fruit juice | CNN | 34.5 | 26.0–53.2 | 104.6 | 78.8–161.2 |
| Fruit juice | KAN | 55.5 | 22.7–79.7 | 168.3 | 68.9–241.6 |
| Food | Model | LOBO R2 (Mean ± SD) | Median | Worst Brand |
|---|---|---|---|---|
| Olive oil | PLS | 0.857 ± 0.031 | 0.849 | 0.827 |
| Olive oil | MLP | 0.850 ± 0.048 | 0.845 | 0.783 |
| Olive oil | KAN | 0.457 ± 0.912 | 0.846 | −1.174 |
| Coffee | PLS | 0.976 ± 0.006 | 0.975 | 0.970 |
| Coffee | MLP | 0.945 ± 0.024 | 0.954 | 0.902 |
| Coffee | KAN | 0.896 ± 0.145 | 0.957 | 0.636 |
| Fruit juice | PLS | 0.233 ± 0.843 | 0.548 | −1.259 |
| Fruit juice | MLP | 0.532 ± 0.463 | 0.697 | −0.289 |
| Fruit juice | KAN | 0.327 ± 0.616 | 0.514 | −0.719 |
| Food | Ablation | CV R2 (Mean ± SD) | Δ vs. Baseline |
|---|---|---|---|
| Olive oil | Baseline (G = 5, k = 3, w = 3, λ = 1 × 10−3) | 0.863 ± 0.036 | — |
| Olive oil | Grid G = 3 | 0.882 ± 0.019 | +0.019 |
| Olive oil | Grid G = 10 | 0.764 ± 0.049 | −0.099 |
| Olive oil | Grid G = 20 | 0.637 ± 0.117 | −0.226 |
| Olive oil | Spline order k = 2 | 0.884 ± 0.021 | +0.021 |
| Olive oil | Spline order k = 4 | 0.892 ± 0.014 | +0.029 |
| Olive oil | Hidden width w = 2 | 0.873 ± 0.023 | +0.010 |
| Olive oil | Hidden width w = 4 | 0.887 ± 0.010 | +0.024 |
| Olive oil | Hidden width w = 5 | 0.889 ± 0.017 | +0.026 |
| Olive oil | Sparsification λ = 0 | 0.850 ± 0.036 | −0.013 |
| Olive oil | Sparsification λ = 1 × 10−2 | 0.885 ± 0.022 | +0.022 |
| Olive oil | Sparsification λ = 1 × 10−1 | −0.045 ± 0.030 | −0.908 |
| Olive oil | Preprocessing snv (selected) | 0.863 ± 0.036 | −0.000 |
| Olive oil | Preprocessing sg1 | 0.803 ± 0.028 | −0.060 |
| Olive oil | Preprocessing snv+sg1 | 0.822 ± 0.042 | −0.041 |
| Olive oil | Preprocessing msc | 0.864 ± 0.037 | +0.001 |
| Coffee | Baseline (G = 5, k = 3, w = 3, λ = 1 × 10−3) | 0.925 ± 0.072 | — |
| Coffee | Grid G = 3 | 0.913 ± 0.082 | −0.012 |
| Coffee | Grid G = 10 | 0.720 ± 0.154 | −0.205 |
| Coffee | Grid G = 20 | −0.103 ± 0.657 | −1.028 |
| Coffee | Spline order k = 2 | 0.875 ± 0.089 | −0.050 |
| Coffee | Spline order k = 4 | 0.803 ± 0.167 | −0.122 |
| Coffee | Hidden width w = 2 | 0.915 ± 0.089 | −0.010 |
| Coffee | Hidden width w = 4 | 0.900 ± 0.078 | −0.025 |
| Coffee | Hidden width w = 5 | 0.900 ± 0.080 | −0.025 |
| Coffee | Sparsification λ = 0 | 0.878 ± 0.120 | −0.047 |
| Coffee | Sparsification λ = 1 × 10−2 | 0.934 ± 0.064 | +0.009 |
| Coffee | Sparsification λ = 1 × 10−1 | −1.729 ± 3.169 | −2.654 |
| Coffee | Preprocessing snv (selected) | 0.925 ± 0.072 | −0.000 |
| Coffee | Preprocessing sg1 | 0.881 ± 0.091 | −0.044 |
| Coffee | Preprocessing snv+sg1 | 0.862 ± 0.181 | −0.064 |
| Coffee | Preprocessing msc | 0.929 ± 0.065 | +0.004 |
| Fruit juice | Baseline (G = 5, k = 3, w = 3, λ = 1 × 10−3) | 0.762 ± 0.070 | — |
| Fruit juice | Grid G = 3 | 0.789 ± 0.086 | +0.027 |
| Fruit juice | Grid G = 10 | 0.620 ± 0.238 | −0.142 |
| Fruit juice | Grid G = 20 | 0.376 ± 0.315 | −0.386 |
| Fruit juice | Spline order k = 2 | 0.779 ± 0.116 | +0.017 |
| Fruit juice | Spline order k = 4 | 0.785 ± 0.099 | +0.023 |
| Fruit juice | Hidden width w = 2 | 0.735 ± 0.078 | −0.027 |
| Fruit juice | Hidden width w = 4 | 0.755 ± 0.101 | −0.006 |
| Fruit juice | Hidden width w = 5 | 0.660 ± 0.206 | −0.102 |
| Fruit juice | Sparsification λ = 0 | 0.742 ± 0.079 | −0.020 |
| Fruit juice | Sparsification λ = 1 × 10−2 | 0.798 ± 0.129 | +0.036 |
| Fruit juice | Sparsification λ = 1 × 10−1 | −0.196 ± 0.309 | −0.958 |
| Fruit juice | Preprocessing snv | 0.581 ± 0.216 | −0.181 |
| Fruit juice | Preprocessing sg1 (selected) | 0.762 ± 0.070 | +0.000 |
| Fruit juice | Preprocessing snv+sg1 | 0.767 ± 0.107 | +0.006 |
| Fruit juice | Preprocessing msc | 0.510 ± 0.278 | −0.252 |
| Food | Top-3 Overlap (Seeds/Folds/Preproc.) | Spearman ρ (Seeds/Folds/Preproc.) | Symbolic Hold-Out R2 (Mean ± SD) | Range Over Seeds |
|---|---|---|---|---|
| Olive oil | 0.77/0.67/0.61 | 0.89/0.68/0.57 | 0.846 ± 0.010 | 0.834–0.864 |
| Coffee | 0.71/0.50/0.56 | 0.69/0.28/0.44 | 0.972 ± 0.004 | 0.961–0.977 |
| Fruit juice | 1.00/0.63/1.00 | 0.94/0.74/0.89 | 0.666 ± 0.086 | 0.468–0.747 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Batayhi, A.; Özgölet, M.; Sagdic, O. An Interpretable Kolmogorov–Arnold Network for FTIR Detection and Quantification of Adulteration Across Diverse Food Matrices. Foods 2026, 15, 2949. https://doi.org/10.3390/foods15172949
Batayhi A, Özgölet M, Sagdic O. An Interpretable Kolmogorov–Arnold Network for FTIR Detection and Quantification of Adulteration Across Diverse Food Matrices. Foods. 2026; 15(17):2949. https://doi.org/10.3390/foods15172949
Chicago/Turabian StyleBatayhi, Abdulhamid, Muhammed Özgölet, and Osman Sagdic. 2026. "An Interpretable Kolmogorov–Arnold Network for FTIR Detection and Quantification of Adulteration Across Diverse Food Matrices" Foods 15, no. 17: 2949. https://doi.org/10.3390/foods15172949
APA StyleBatayhi, A., Özgölet, M., & Sagdic, O. (2026). An Interpretable Kolmogorov–Arnold Network for FTIR Detection and Quantification of Adulteration Across Diverse Food Matrices. Foods, 15(17), 2949. https://doi.org/10.3390/foods15172949

