Efficient precision livestock farming relies on having timely access to data and informa- tion that accurately describes both the animals and their surrounding environment. This paper advances classification of goat vocalizations leveraging a publicly available dataset recorded at diverse farms breeding different species. We developed a Convolutional Neural Network (CNN) architecture tailored for classifying goat vocalizations, yielding an average classification rate of 95.8% in discriminating various goat emotional states. To this end, we suitably augmented the existing dataset using pitch shifting and time stretch- ing techniques boosting the robustness of the trained model. After thoroughly demon- strating the superiority of the designed architecture over the contrasting approaches, we provide insights into the underlying mechanisms governing the proposed CNN by car- rying out an extensive interpretation study. More specifically, we conducted an explain- ability analysis to identify the time-frequency content within goat vocalisations that sig- nificantly impacts the classification process. Such an XAI-driven validation not only pro- vides transparency in the decision-making process of the CNN model but also sheds light on the acoustic features crucial for distinguishing the considered classes. Last but not least, the proposed solution encompasses an interactive scheme able to provide valuable information to animal scientists regarding the analysis performed by the model highlight- ing the distinctive components of the considered goat vocalizations. Our findings under- line the effectiveness of data augmentation techniques in bolstering classification accu- racy and highlight the significance of leveraging XAI methodologies for validating and interpreting complex machine learning models applied to animal vocalizations.

Explainable classification of goat vocalizations using convolutional neural networks / S. Ntalampiras, G. Pesando Gamacchio. - In: PLOS ONE. - ISSN 1932-6203. - 20:4(2025), pp. 1-18. [10.1371/journal.pone.0318543]

Explainable classification of goat vocalizations using convolutional neural networks

S. Ntalampiras
Primo
;
2025

Abstract

Efficient precision livestock farming relies on having timely access to data and informa- tion that accurately describes both the animals and their surrounding environment. This paper advances classification of goat vocalizations leveraging a publicly available dataset recorded at diverse farms breeding different species. We developed a Convolutional Neural Network (CNN) architecture tailored for classifying goat vocalizations, yielding an average classification rate of 95.8% in discriminating various goat emotional states. To this end, we suitably augmented the existing dataset using pitch shifting and time stretch- ing techniques boosting the robustness of the trained model. After thoroughly demon- strating the superiority of the designed architecture over the contrasting approaches, we provide insights into the underlying mechanisms governing the proposed CNN by car- rying out an extensive interpretation study. More specifically, we conducted an explain- ability analysis to identify the time-frequency content within goat vocalisations that sig- nificantly impacts the classification process. Such an XAI-driven validation not only pro- vides transparency in the decision-making process of the CNN model but also sheds light on the acoustic features crucial for distinguishing the considered classes. Last but not least, the proposed solution encompasses an interactive scheme able to provide valuable information to animal scientists regarding the analysis performed by the model highlight- ing the distinctive components of the considered goat vocalizations. Our findings under- line the effectiveness of data augmentation techniques in bolstering classification accu- racy and highlight the significance of leveraging XAI methodologies for validating and interpreting complex machine learning models applied to animal vocalizations.
Settore INFO-01/A - Informatica
2025
Article (author)
File in questo prodotto:
File Dimensione Formato  
journal.pone.0318543.pdf

accesso aperto

Tipologia: Publisher's version/PDF
Licenza: Creative commons
Dimensione 9.66 MB
Formato Adobe PDF
9.66 MB Adobe PDF Visualizza/Apri
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2434/1157358
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 1
  • ???jsp.display-item.citation.isi??? 1
  • OpenAlex 1
social impact