Related Experiment Video
Updated: Jun 8, 2025

Integration of Animal Behavioral Assessment and Convolutional Neural Network to Study Wasabi-Alcohol Taste-Smell Interaction
Published on: August 16, 2024
Automated acute pain prediction in domestic goats using deep learning-based models on video-recordings
Ludovica Chiavaccini1, Anjali Gupta2, Nicole Anclade2
1Department of Comparative, Diagnostic and Population Medicine, College of Veterinary Medicine, University of Florida, 2015 SW 16th Avenue, PO BOX 100123, Gainesville, FL, 32610-0123, USA. lchiavaccini@ufl.edu.
Abstract:
Facial expressions are essential in animal communication, and facial expression-based pain scales have been developed for different species. Automated pain recognition offers a valid alternative to manual annotation with growing evidence across species. This study applied machine learning (ML) methods, using a pre-trained VGG-16 base and a Support Vector Machine classifier to automate pain recognition in caprine patients in hospital settings, evaluating different frame extraction rates and validation techniques. The study included goats of different breed, age, sex, and varying medical conditions presented to the University of Florida's Large Animal Hospital. Painful status was determined using the UNESP-Botucatu Goat Acute Pain Scale. The final dataset comprised images from 40 goats (20 painful, 20 non-painful), with 2,253 'non-painful' and 3,154 'painful' images at 1 frame per second (FPS) extraction rate and 7,630 'non-painful' and 9,071 'painful' images at 3 FPS. Images were used to train deep learning-based models with different approaches. The model input was raw images, and pain presence was the target attribute (model output). For the single train-test split and 5-fold cross-validation, the models achieved approximately 80% accuracy, while the subject-wise 10-fold cross-validation showed mean accuracies above 60%. These findings suggest ML's potential in goat pain assessment.

