An Explainable AI Approach for Poultry Disease Detection Using Faecal Image Analysis

Authors

  • Musa Ahmad Umar Federal University Dutsin-Ma Author
  • Eli Adama Jiya Federal University of Applied Science, Kachia Kaduna State Nigeria Author
  • Terfa Benjamin Yecho Federal University Dutsin-ma, Katsina State, Nigeria Author

DOI:

https://doi.org/10.70882/noun-ijcea.2026.1111

Keywords:

Explainable AI, Poultry Disease, Faecal Image Analysis, Coccidiosis

Abstract

Coccidiosis, Newcastle Disease, and Salmonellosis are among the most damaging diseases affecting poultry farms across sub-Saharan Africa, and smallholder farmers in Katsina State, Nigeria, are particularly vulnerable due to limited access to fast and affordable diagnostic tools. This research presents a novel Explainable Artificial Intelligence (XAI) framework for automated poultry disease detection through faecal image analysis. The proposed pipeline extracts 24 discriminative features from multi-color-space representations (RGB, HSV, LAB) and texture descriptors (LBP, GLCM, wavelet) from faecal images. Four machine learning classifiers Multi-Layer Perceptron (MLP), Random Forest, Gradient Boosting, and Support Vector Machine (SVM) are trained and evaluated on a balanced dataset of 800 samples across four classes: Healthy, Coccidiosis, Newcastle Disease, and Salmonella, based on the PCR-verified dataset by Machuve et al. (2022). The SVM classifier achieved the best performance with a test accuracy of 96.88% and a 5-fold cross-validation accuracy of 98.00%. SHAP (Shapley Additive Explanations) analysis reveals that blue-channel mean, GLCM energy, and LAB A-channel mean are the most discriminative features for disease classification. To address the explainability gap identified in the literature (Abdusalaam et al., 2025; Salih et al., 2025), this study integrates global SHAP explanations with instance-level LIME interpretations, providing veterinary practitioners and farmers with transparent, feature-level reasoning for every prediction. All results, figures, and analyses in this paper are entirely original generated from models trained specifically for this study.

 

References

Abdusalaam, B., et al. (2025). Trustworthy intelligent poultry disease diagnostics using class activation maps for deep learning visual explanations. In S. J. Nanda et al. (Eds.), Data Science and Applications. ICDSA 2024. Lecture Notes in Networks and Systems (Vol. 1263). Springer. https://doi.org/10.1007/978-981-96-2724-0_33

Degu, M. Z., & Simegn, G. L. (2023). Smartphone based detection and classification of poultry diseases from chicken faecal images using deep learning techniques. Smart Agricultural Technology, 4, 100221. https://doi.org/10.1016/j.atech.2023.100221

Hamid, A., et al. (2025). An integrated deep learning approach for poultry disease detection and classification based on analysis of chicken manure images. Smart Agricultural Technology, 7(9), 278. https://doi.org/10.3390/smartcities7090278

Kaviya, P., Siddharthan, S. S., Kishore, M., & Muthuram, M. (2024). A smartphone-based deep learning framework for detection and classification of poultry diseases from faecal images. In Proceedings of the Fifth International Conference on Computing, Communications, and Cyber-Security (IC4S 2023). Lecture Notes in Networks and Systems (Vol. 1128). Springer. https://doi.org/10.1007/978-981-97-7371-8_18

Lundberg, S. M., & Lee, S.-I. (2017). A unified approach to interpreting model predictions. Advances in Neural Information Processing Systems, 30, 4765–4774.

Machuve, D., Nwankwo, E., Mduma, N., & Mbelwa, J. (2022). Poultry diseases diagnostics models using deep learning. Frontiers in Artificial Intelligence, 5, 733345. https://doi.org/10.3389/frai.2022.733345

Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., ... & Duchesnay, E. (2011). Scikit-learn: Machine learning in Python. Journal of Machine Learning Research, 12, 2825–2830.

Ribeiro, M. T., Singh, S., & Guestrin, C. (2016). "Why should I trust you?": Explaining the predictions of any classifier. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 1135–1144).

Salih, A., Galazzo, I., Raisi-Estabragh, Z., Petersen, S., Menegaz, G., & Radeva, P. (2025). A perspective on explainable artificial intelligence methods: SHAP and LIME. Advanced Intelligent Systems. https://doi.org/10.1002/aisy.202400304

Salih, A., et al. (2023). A perspective on explainable artificial intelligence methods: SHAP and LIME [Preprint]. arXiv. https://arxiv.org/abs/2305.02012

Stadlhofer, A., & Mezhuyev, V. (2023). Approach to provide interpretability in machine learning models for image classification. Industrial Artificial Intelligence, 1, 10. https://doi.org/10.1007/s44244-023-00009-z

Subramani, T., Jeganathan, V., Balasubramanian, K., & Others. (2024). Machine learning and deep learning techniques for poultry tasks management: A review. Multimedia Tools and Applications, 1–43.

Sun, C., Qiu, X., Xu, Y., & Huang, X. (2019). How to fine-tune BERT for text classification? In China National Conference on Chinese Computational Linguistics (pp. 194–206). Springer.

Uyen, M., et al. (2024). Deep learning-based automated classification of chicken faecal samples for disease detection. GRENZE International Journal of Engineering and Technology, 10(2).

Downloads

Published

2026-04-30

Issue

Section

Articles