Integration of Spectroscopy and Machine Learning for Food Contamination Detection: A Review

Authors

  • Muhammad Adil Aquila’s Global Tech Haripur, Pakistan
  • Matti Ur Rehman National University of Computer & Emerging Sciences - FAST Pakistan
  • Ehtesham Ali Faculty of Electrical and Electronics Engineering Technology, University Malaysia Pahang, Al-Sultan Abdullah, Pekan, Malaysia
  • Hassan Ibrahim Faculty of Computing Universiti Malaysia Pahang Al-Sultan Abdullah 26600 Pekan, Pahang
  • Maria Rukan Department of Microbiology, The University of Haripur, Haripur 22620, Pakistan
  • Muhammad Qasim Ali Faculty of Chemical and Process Engineering Technology, Universiti Malaysia Pahang, 26300 Gambang, Kuantan, Pahang,

Keywords:

Nir spectroscopy, food safety, machine learning

Abstract

Ensuring food safety remains a pressing global challenge due to the growing threat of contamination from microbial pathogens, chemical adulterants, and physical impurities. Traditional detection methods, while accurate, are often labor ntensive, costly, and time-consuming limiting their applicability for real-time monitoring. This review aims to explore the integration of spectroscopy and machine learning (ML) as a powerful, non-destructive approach for the rapid detection and quantification of food contaminants. The paper critically examines recent advancements in spectroscopic techniques including Near-Infrared (NIR), Hyperspectral Imaging (HSI), Fourier-Transform Infrared (FTIR), Raman, and Ultraviolet-Visible (UV-Vis) spectroscopy when combined with both conventional machine learning algorithms and modern deep learning models. A comparative analysis of their performance across various food matrices is presented, highlighting their sensitivity, specificity, and operational feasibility. The review also identifies key limitations in current systems, such as data standardization, model interpretability, and hardware portability. Future research directions are discussed with an emphasis on explainable AI, the development of portable sensing platforms, and the establishment of open-access spectral databases to support widespread adoption in food quality monitoring.

Author Biographies

Muhammad Adil, Aquila’s Global Tech Haripur, Pakistan

adil7090@gmail.com

Matti Ur Rehman , National University of Computer & Emerging Sciences - FAST Pakistan

matti.mansha@gmail.com

Ehtesham Ali, Faculty of Electrical and Electronics Engineering Technology, University Malaysia Pahang, Al-Sultan Abdullah, Pekan, Malaysia

ehteshamali23@gmail.com

Hassan Ibrahim, Faculty of Computing Universiti Malaysia Pahang Al-Sultan Abdullah 26600 Pekan, Pahang

hassanibrahim274@gmail.com

Maria Rukan, Department of Microbiology, The University of Haripur, Haripur 22620, Pakistan

mariarukkan@gmail.com

Muhammad Qasim Ali, Faculty of Chemical and Process Engineering Technology, Universiti Malaysia Pahang, 26300 Gambang, Kuantan, Pahang,

qasimft9@gmail.com

Downloads

Published

2025-09-30

Issue

Section

Articles

Similar Articles

1 2 > >> 

You may also start an advanced similarity search for this article.