Hybrid Explainable Artificial Intelligence Framework for Sensor-Based Detection of Metritis-Causing Bacteria Using Volatile Organic Compounds Sensor Signals.
Tarik Safak, Selman Uzun, Güngör Yildirim, Ali Risvanli, Burak Tanyeri, Hakan Kalender, Burak Yuksel, Burcu Karagulle,
Faculty of Veterinary Medicine, Department of Obstetrics and Gynecology, University of Kastamonu, Kastamonu, Türkiye. · Faculty of Engineer, Department of Computer Engineer, Firat University, Elazig, Türkiye.
Key points
From the paper's conclusion- The proposed approach combines predictive discrimination with transparent, interpretable explanations and provides a proof-of-concept framework for sensor-based bacterial classification that warrants further clinical and field validation.
Abstract
OBJECTIVE: Sensor-based bacterial detection may offer future practical value for the management of metritis. The aim of this study is to classify seven bacterial targets frequently detected in the uterus: Fusobacterium necrophorum (F. necrophorum), Trueperella pyogenes (T. pyogenes), Escherichia coli (E. coli), Staphylococcus aureus (S. aureus), Coagulase-Negative Staphylococci (CNS), Bacillus spp. and Clostridium spp. METHODS: This study's original contribution is its development of a hybrid explainable artificial intelligence (XAI) framework for sensor-based classification of seven bacterial targets using bacterium-specific binary models under the present study conditions, combined with post hoc XAI and rule-based explanation methods. Methodologically, we systematically addressed class imbalance and multicollinearity and conducted comprehensive comparisons among tree-based methods. Global insights obtained from Shapley Additive exPlanations (SHAP), partial dependence plot (PDP) and accumulated local effects (ALE) were converted into rules applicable to experts. The reliability of the underlying XAI explanations was quantitatively assessed using fidelity and faithfulness metrics before the selected contribution profiles were summarized in user-readable attribution-based statements. RESULTS: Accordingly, the XAI analyses identified O2, humidity, MQ135 (air quality) and NO2 as high-contribution features for the prediction of E. coli. For T. pyogenes, O2, CO2, temperature and MQ135 were identified as high-contribution features, whereas mixed gases (T2602) and wide-spectrum volatile organic compounds (VOCs) (T2620) were identified as low-contribution features. For F. necrophorum, CO2, NO2, O2 and temperature were identified as high-contribution features. These expressions refer to the relative contributions of the features to the model predictions and not to high or low physiological gas concentrations. Performance was evaluated using standard metrics, such as repeated validation and ROC-AUC, while maintaining training-test consistency. CONCLUSION: The proposed approach combines predictive discrimination with transparent, interpretable explanations and provides a proof-of-concept framework for sensor-based bacterial classification that warrants further clinical and field validation.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Assessment of reproductive performance in dairy cows using explainable machine learning.Archives animal breeding · 2026
- Machine learning and Voronoi-based decision boundaries for Bacterial vaginosis to determine population- specific microbial interactionsPLoS Computational Biology · 2026
- Differentiation of Bacterial Isolates Using Mass Spectrometry and Machine Learning Analysis of Volatile Organic Compounds.Journal of the American Society for Mass Spectrometry · 2026
- MaxViT-Backbone Mask R-CNN for Bacterial Cell Detection and Instance Segmentation: Toward Antimicrobial Resistance AnalysisElectronics · 2026
- SC-MAPS: Image-based deep learning for bacterial identification and antibiotic-susceptibility testingmedRxiv · 2026
- Machine Learning-Driven Phenotype Predictions based on Genome AnnotationsbioRxiv · 2026