Research Article

Bias Mitigation in Ensemble-Based Meat Freshness Classification Using Grad-CAM

Volume: 14 March 28, 2026
EN TR

Bias Mitigation in Ensemble-Based Meat Freshness Classification Using Grad-CAM

Abstract

Visual biases in deep learning models, such as focusing on packaging trays instead of meat texture, reduce the reliability of computer vision systems in food safety applications. This study proposes a Grad-CAM-guided bias mitigation framework for multiclass meat freshness classification that combines explainable AI with a lightweight hybrid ensemble design. A MiniCAM attention module is integrated into MobileNetV2 to redirect model focus toward meat-specific visual cues, and its features are fused with complementary embeddings extracted from Xception. The final decision is obtained by combining the predictions of MobileNetV2 with classical classifiers (SVM and XGBoost) using test-time augmentation and grid-optimized weighted ensembling. The proposed framework achieves 99.78% accuracy on the held-out test set and 99.66% ± 0.23 average accuracy under 5-fold cross-validation, while maintaining real-time efficiency (4.3M parameters, 16.5 MB model size, and 825.1 FPS on a single GPU), and effectively suppresses non-informative background elements (e.g., packaging trays) as confirmed by Grad-CAM visualizations. These results demonstrate that integrating explainable bias mitigation with lightweight ensemble learning enables reliable and deployable meat freshness assessment for real-world food safety inspection.

Keywords

Supporting Institution

The authors declares that no funding was used in the study.

Ethical Statement

The authors declare that they comply with all ethical standards.

Thanks

The authors declares that no funding was used in the study.

References

  1. [1] Karanth, S., Feng, S., Patra, D., & Pradhan, A. K. (2023). Linking microbial contamination to food spoilage and food waste: The role of smart packaging, spoilage risk assessments, and date labeling. Frontiers in Microbiology, 14, 1198124. https://doi.org/10.3389/fmicb.2023.1198124
  2. [2] Shi, Y., Wang, X., Borhan, M. S., Young, J., Newman, D., Berg, E., & Sun, X. (2021). A review on meat quality evaluation methods based on non-destructive computer vision and artificial intelligence technologies. Food Science of Animal Resources, 41(4), 563. https://doi.org/10.5851/kosfa.2021.e25
  3. [3] Shanawad, V. (2025, November 3). Meat freshness image dataset. Kaggle. https://www.kaggle.com/datasets/vinayakshanawad/meat-freshness-image-dataset
  4. [4] Büyükarıkan, B. (2024). ConvColor DL: Concatenated convolutional and handcrafted color features fusion for beef quality identification. Food Chemistry, 460, 140795. https://doi.org/10.1016/j.foodchem.2024.140795
  5. [5] Abd Elfattah, M., Ewees, A. A., Darwish, A., & Hassanien, A. E. (2025). Detection and classification of meat freshness using an optimized deep learning method. Food Chemistry, 489, 144783. https://doi.org/10.1016/j.foodchem.2025.144783
  6. [6] Hidalgo, M. M., Lima, R. C., De Nadai Fernandes, E. A., Bacchi, M. A., & Sarriés, G. A. (2025). Leveraging pre-trained computer vision models for accurate classification of meat freshness. Food Chemistry, 495, 146430. https://doi.org/10.1016/j.foodchem.2025.146430
  7. [7] Elangovan, P., Dhurairajan, V., Nath, M. K., Yogarajah, P., & Condell, J. (2024). A novel approach for meat quality assessment using an ensemble of compact convolutional neural networks. Applied Sciences, 14(14), 5979. https://doi.org/10.3390/app14145979
  8. [8] Zhou, C., Pi, J., Chen, X., Wang, D., & Liu, J. (2025). Identification and analysis of pork freshness quality based on improved MobileNetV3. Applied Engineering in Agriculture, 41(1), 57–66. https://doi.org/10.13031/aea.16131

Details

Primary Language

English

Subjects

Computer Software

Journal Section

Research Article

Publication Date

March 28, 2026

Submission Date

November 5, 2025

Acceptance Date

March 10, 2026

Published in Issue

Year 2026 Volume: 14

APA
Külcü, S., & Balpetek Külcü, D. (2026). Bias Mitigation in Ensemble-Based Meat Freshness Classification Using Grad-CAM. Balkan Journal of Electrical and Computer Engineering, 14, 74-82. https://doi.org/10.17694/bajece.1817907
AMA
1.Külcü S, Balpetek Külcü D. Bias Mitigation in Ensemble-Based Meat Freshness Classification Using Grad-CAM. Balkan Journal of Electrical and Computer Engineering. 2026;14:74-82. doi:10.17694/bajece.1817907
Chicago
Külcü, Sercan, and Duygu Balpetek Külcü. 2026. “Bias Mitigation in Ensemble-Based Meat Freshness Classification Using Grad-CAM”. Balkan Journal of Electrical and Computer Engineering 14 (March): 74-82. https://doi.org/10.17694/bajece.1817907.
EndNote
Külcü S, Balpetek Külcü D (March 1, 2026) Bias Mitigation in Ensemble-Based Meat Freshness Classification Using Grad-CAM. Balkan Journal of Electrical and Computer Engineering 14 74–82.
IEEE
[1]S. Külcü and D. Balpetek Külcü, “Bias Mitigation in Ensemble-Based Meat Freshness Classification Using Grad-CAM”, Balkan Journal of Electrical and Computer Engineering, vol. 14, pp. 74–82, Mar. 2026, doi: 10.17694/bajece.1817907.
ISNAD
Külcü, Sercan - Balpetek Külcü, Duygu. “Bias Mitigation in Ensemble-Based Meat Freshness Classification Using Grad-CAM”. Balkan Journal of Electrical and Computer Engineering 14 (March 1, 2026): 74-82. https://doi.org/10.17694/bajece.1817907.
JAMA
1.Külcü S, Balpetek Külcü D. Bias Mitigation in Ensemble-Based Meat Freshness Classification Using Grad-CAM. Balkan Journal of Electrical and Computer Engineering. 2026;14:74–82.
MLA
Külcü, Sercan, and Duygu Balpetek Külcü. “Bias Mitigation in Ensemble-Based Meat Freshness Classification Using Grad-CAM”. Balkan Journal of Electrical and Computer Engineering, vol. 14, Mar. 2026, pp. 74-82, doi:10.17694/bajece.1817907.
Vancouver
1.Sercan Külcü, Duygu Balpetek Külcü. Bias Mitigation in Ensemble-Based Meat Freshness Classification Using Grad-CAM. Balkan Journal of Electrical and Computer Engineering. 2026 Mar. 1;14:74-82. doi:10.17694/bajece.1817907

All articles published by BAJECE are licensed under the Creative Commons Attribution 4.0 International License. This permits anyone to copy, redistribute, remix, transmit and adapt the work provided the original work and source is appropriately cited.Creative Commons Lisansı