Sheep pulmonary image recognition (SPIRO): An explainable deep learning framework for macroscopic assessment of ovine pulmonary lesions

Accurate detection and classification of pulmonary diseases in sheep are critical for ensuring animal welfare, food safety, and effective disease surveillance in abattoir settings. In this study, we propose a two-stage, explainable, histopathology-informed deep learning framework for the automated classification of ovine lung lesions. The dataset comprises 1,052 sheep lung images, annotated through a dual-level diagnostic process involving macroscopic inspection and histopathological confirmation, and classified as healthy, inflammatory, or neoplastic. Four convolutional neural network architectures-VGG16, VGG19, ResNet50, and EfficientNetB0-were benchmarked under identical conditions. EfficientNetB0 achieved the highest observed standalone performance and was integrated into a two-stage pipeline, in which YOLOv11 first localized lung regions and EfficientNetB0 subsequently classified the cropped images. Model interpretability was evaluated using Gradient-weighted Class Activation Mapping (Grad-CAM). The YOLOv11-EfficientNetB0 pipeline achieved an overall test accuracy of 90% and a weighted F1-score of 0.88. Neoplastic lesions were classified with the highest performance, reaching precision, recall, and F1-score values of 0.98, 0.99, and 0.99, respectively, while healthy and inflammatory lungs achieved F1-scores of 0.83 and 0.82, respectively. Grad-CAM visualizations indicated that predictions were mainly driven by diagnostically relevant pulmonary regions. These findings demonstrate the feasibility of explainable artificial intelligence for objective, scalable, and biologically grounded post-mortem assessment of sheep lungs, with potential applications in abattoir surveillance, veterinary pathology, and flock health monitoring.

Authors

Institutions

Publication Details

Journal
The Veterinary Journal
Published
2026-10-14
DOI
https://doi.org/10.1016/j.tvjl.2026.106936
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Sheep pulmonary image recognition (SPIRO): An explainable deep learning framework for macroscopic assessment of ovine pulmonary lesions

Elisabetta Antuofermo, Davide Adami, Maria Luisa Pinna Parpaglia, Giovanni Pietro Burrai et al.
The Veterinary Journal
Smart Agriculture and AI
article

Sheep pulmonary image recognition (SPIRO): An explainable deep learning framework for macroscopic assessment of ovine pulmonary lesions

Elisabetta Antuofermo, Davide Adami, Maria Luisa Pinna Parpaglia, Giovanni Pietro Burrai, Marina Antonella Sanna, Ciriaco Ligios, Antonio Varcasia, Marta Polinas, Maria Giovanna Cancedda, Giovanni Lai, Muhammad Furqan Arshad, Setayesh Ghadir, Delaram Ghadir, Tesfalem Mehari Berhe, Md Sabbir Ahmed, Stefano Giordano, Ludovica Mura
article en

Abstract

Accurate detection and classification of pulmonary diseases in sheep are critical for ensuring animal welfare, food safety, and effective disease surveillance in abattoir settings. In this study, we propose a two-stage, explainable, histopathology-informed deep learning framework for the automated classification of ovine lung lesions. The dataset comprises 1,052 sheep lung images, annotated through a dual-level diagnostic process involving macroscopic inspection and histopathological confirmation, and classified as healthy, inflammatory, or neoplastic. Four convolutional neural network architectures-VGG16, VGG19, ResNet50, and EfficientNetB0-were benchmarked under identical conditions. EfficientNetB0 achieved the highest observed standalone performance and was integrated into a two-stage pipeline, in which YOLOv11 first localized lung regions and EfficientNetB0 subsequently classified the cropped images. Model interpretability was evaluated using Gradient-weighted Class Activation Mapping (Grad-CAM). The YOLOv11-EfficientNetB0 pipeline achieved an overall test accuracy of 90% and a weighted F1-score of 0.88. Neoplastic lesions were classified with the highest performance, reaching precision, recall, and F1-score values of 0.98, 0.99, and 0.99, respectively, while healthy and inflammatory lungs achieved F1-scores of 0.83 and 0.82, respectively. Grad-CAM visualizations indicated that predictions were mainly driven by diagnostically relevant pulmonary regions. These findings demonstrate the feasibility of explainable artificial intelligence for objective, scalable, and biologically grounded post-mortem assessment of sheep lungs, with potential applications in abattoir surveillance, veterinary pathology, and flock health monitoring.

The Veterinary JournalVol. 320
University of Sassari (IT), Consorzio Nazionale Interuniversitario per le Telecomunicazioni (IT), Istituto Zooprofilattico Sperimentale della Sardegna (IT)
Openalex Percentile: Top 15%
Smart Agriculture and AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.