Predicting spoilage intensity level in sausage products using explainable machine learning and GAN-based data augmentation

Volkan Ince, Mohamed Bader-El-Den, Ramazan Esmeli, Lalit Maurya, Omer Faruk Sari

Research output: Contribution to journalArticlepeer-review

9 Downloads (Pure)

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 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.
Original languageEnglish
Number of pages28
JournalFood and Bioprocess Technology
Early online date13 Aug 2025
DOIs
Publication statusEarly online - 13 Aug 2025

Keywords

  • Explainable AI
  • Generative AI
  • Machine learning
  • Sausages spoilage

Fingerprint

Dive into the research topics of 'Predicting spoilage intensity level in sausage products using explainable machine learning and GAN-based data augmentation'. Together they form a unique fingerprint.

Cite this