Non-Halal Gelatin Prediction: A Comparative Machine Learning Analysis between OPLS–DA and ANN Models

Gelatin is derived from animal collagen, sourced primarily from bovine or porcine, and finds widespread application within the food industry. These issues raise concern over its halal status, particularly among Muslims and Jews, as they adhere to dietary laws prohibiting the consumption of pork and its derivatives. Conventional methods like quantitative Polymerase Chain Reaction (qPCR) and liquid chromatography–mass spectrometry (LC–MS) have limitations due to the deoxyribonucleic acid (DNA)’s reliability and the gelatin's complex composition, respectively. Therefore, this study aimed to explore the application of artificial intelligence (AI)–based machine learning, focusing on amino acid composition for non-halal gelatin prediction. A set of 3,780 data points enabled the analysis of the chromatographic peak areas of 18 amino acids in 210 gelatin samples. Orthogonal partial least squares discriminant analysis (OPLS–DA) and artificial neural network (ANN) compared their performance in machine learning models. The ANN employed resilient backpropagation algorithms that demonstrated high accuracy (98.5%) and regression (R2) of 0.913, with a slightly higher Root Mean Square Error (RMSE) of 0.244. However, OPLSDA demonstrated the best accuracy (100%), R2 of 0.997, and lower RMSE (0.130) compared to the ANN model. The ANN's robustness against outliers and direct output results provided practical advantages, while OPLS–DA offered comprehensive insights and robust discrimination. This study demonstrates the potential of AI-based machine learning in non-halal gelatin prediction, with both models showing the same capability. These findings can be integrated with existing analytical methods to complement the halal analysis, thus ensuring product integrity and upholding halal sanctity.

Authors

Publication Details

Journal
Sains Malaysiana
Published
2025-08-31
DOI
https://doi.org/10.17576/jsm-2025-5408-04
Primary Topic
Halal products and consumer behavior
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Non-Halal Gelatin Prediction: A Comparative Machine Learning Analysis between OPLS–DA and ANN Models

Kok‐Song Lai, Muhamad Shirwan Abdullah Sani, Sikiru Oluwarotimi Ismail, Mohd Hafis Yuswan et al.
Sains Malaysiana
Halal products and consumer behavior
article

Non-Halal Gelatin Prediction: A Comparative Machine Learning Analysis between OPLS–DA and ANN Models

Kok‐Song Lai, Muhamad Shirwan Abdullah Sani, Sikiru Oluwarotimi Ismail, Mohd Hafis Yuswan, Norazlina Ali, Mohamad Habeeb Helmy Idris, Basyirah Muda, Mazidah Md Nor, Nur Suhadah Nawi
article en

Abstract

Gelatin is derived from animal collagen, sourced primarily from bovine or porcine, and finds widespread application within the food industry. These issues raise concern over its halal status, particularly among Muslims and Jews, as they adhere to dietary laws prohibiting the consumption of pork and its derivatives. Conventional methods like quantitative Polymerase Chain Reaction (qPCR) and liquid chromatography–mass spectrometry (LC–MS) have limitations due to the deoxyribonucleic acid (DNA)’s reliability and the gelatin's complex composition, respectively. Therefore, this study aimed to explore the application of artificial intelligence (AI)–based machine learning, focusing on amino acid composition for non-halal gelatin prediction. A set of 3,780 data points enabled the analysis of the chromatographic peak areas of 18 amino acids in 210 gelatin samples. Orthogonal partial least squares discriminant analysis (OPLS–DA) and artificial neural network (ANN) compared their performance in machine learning models. The ANN employed resilient backpropagation algorithms that demonstrated high accuracy (98.5%) and regression (R2) of 0.913, with a slightly higher Root Mean Square Error (RMSE) of 0.244. However, OPLSDA demonstrated the best accuracy (100%), R2 of 0.997, and lower RMSE (0.130) compared to the ANN model. The ANN's robustness against outliers and direct output results provided practical advantages, while OPLS–DA offered comprehensive insights and robust discrimination. This study demonstrates the potential of AI-based machine learning in non-halal gelatin prediction, with both models showing the same capability. These findings can be integrated with existing analytical methods to complement the halal analysis, thus ensuring product integrity and upholding halal sanctity.

Sains MalaysianaVol. 54(8)
Openalex Percentile: Top 68%
Halal products and consumer behavior
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.