Non-Destructive Assessment of Beef Freshness Using Visible and Near-Infrared Spectroscopy with Interpretable Machine Learning
Ruoxin Chen, Wei Ning, Xufen Xie, Jingran Bi, Gongliang Zhang, Hongman Hou
Dalian Polytechnic University
Key points
From the paper's conclusion- The results demonstrated the effectiveness of PSOGA and SHAP, providing a promising analytical method for monitoring beef freshness.
Abstract
Beef freshness is a critical indicator of meat quality and safety, and its rapid, non-destructive detection is of significant importance for ensuring consumer health and enhancing quality control throughout the meat industry chain. This study developed a novel methodology for non-destructive beef freshness assessment using visible and near-infrared (Vis-NIR) spectroscopy combined with machine learning, explainable artificial intelligence (xAI) techniques, and the SHapley Additive exPlanations (SHAP) framework. An improved hybrid heuristic method, particle swarm optimization–genetic algorithm (PSOGA), was used for feature selection, optimizing the wavelength subset for predicting beef quality indicators, including total volatile basic nitrogen (TVB-N) and color parameters (L*, a*, and b*). The eXtreme Gradient Boosting (XGBoost) was employed for regression modeling, and the results showed that PSOGA significantly outperforms traditional methods, with the PSOGA-XGBoost model achieving a satisfactory prediction accuracy (R2p values of 0.9504 for TVB-N, 0.9540 for L*, 0.8939 for a*, and 0.9416 for b*). The SHAP framework identified the key wavelengths as 1236 nm and 1316 nm for TVB-N, 728 nm for L*, 576 nm for a*, and 604 nm for b*, providing valuable insights into the determination of key wavelengths and enhancing the interpretability of the model. The results demonstrated the effectiveness of PSOGA and SHAP, providing a promising analytical method for monitoring beef freshness.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Non-destructive discrimination of fresh, aged, and frozen-thawed beef using portable near-infrared spectroscopy combined with explainable artificial intelligenceLWT · 2025
- Research on rapid and non-destructive detection model for pork freshness based on dual-branch hyperspectral feature extraction network combined with machine learningJournal of Food Composition and Analysis · 2025
- The use of molecular spectroscopic techniques combined with chemometric machine learning for the analysis of meat freshness: a narrative review.Animal bioscience · 2026
- Application of NIR spectroscopy with machine learning in the food industry: A comprehensive reviewFood Physics · 2026
- Rapid discrimination of beef, pork and rabbit meat using HS-SPME coupled with GC-MS and chemometric analysisApplied Food Research · 2026
- Non-Destructive Freshness Assessment of Atlantic Salmon (Salmo salar) via Hyperspectral Imaging and an SPA-Enhanced Transformer FrameworkFoods · 2026