Predicting Spoilage Intensity Level in Sausage Products Using Explainable Machine Learning and GAN-Based Data Augmentation

No Thumbnail Available

Date

2025

Journal Title

Journal ISSN

Volume Title

Publisher

Springer

Abstract

Spoilage in processed meat products, such as poultry and pork sausages, presents significant challenges for food safety, quality control, and waste reduction. This study presents a machine learning-based framework to classify spoilage intensity levels using sensory, physicochemical, and microbiological features. To overcome limitations caused by small datasets, we applied synthetic data augmentation using a tabular variational autoencoder (TVAE) to generate high-fidelity samples that enhance model generalization. Additionally, traditional oversampling techniques such as SMOTE and ADASYN were employed for comparative purposes and to further address class imbalance issues. Seven machine learning classifiers were evaluated logistic regression, support vector machine, K-nearest neighbors, random forest, gradient boosting, voting classifier, and multilayer perceptron. The best classification performance was achieved when models were trained on GAN-based synthetic data and tested on real samples. For poultry sausage spoilage prediction, the gradient boosting classifier reached the highest accuracy of 97%. For pork sausages, random forest achieved the highest accuracy of 95%. These results confirm the effectiveness of data augmentation in improving predictive robustness. To ensure model transparency, we integrated explainable AI techniques SHAP and LIME into the pipeline. These analyses revealed that sampling time, CO2\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$_2$$\end{document} concentration, pH, and microbial species such as Lactobacillus curvatus and Leuconostoc carnosum were among the most influential features in spoilage prediction. The combination of synthetic data generation and interpretable machine learning enables a reliable, scalable, and explainable approach to spoilage classification. This methodology has strong potential for enhancing quality control systems in the meat industry while reducing waste and improving safety along the food supply chain.

Description

Keywords

Machine Learning, Generative AI, Explainable AI, Sausages Spoilage

Turkish CoHE Thesis Center URL

WoS Q

Q1

Scopus Q

Q1

Source

Food and Bioprocess Technology

Volume

Issue

Start Page

End Page