Abstract: Facial expressions are essential for communication and emotional expression across species. Despite the improvements brought by tools like the Horse Grimace Scale (HGS) in pain recognition in horses, their reliance on human identification of characteristic traits presents drawbacks such as subjectivity, training requirements, costs, and potential bias. Despite these challenges, the development of facial expression pain scales for animals has been making strides. To address these limitations, Automated Pain Recognition (APR) powered by Artificial Intelligence (AI) offers a promising advancement. Notably, computer vision and machine learning have revolutionized our approach to identifying and addressing pain in non-verbal patients, including animals, with profound implications for both veterinary medicine and animal welfare. By leveraging the capabilities of AI algorithms, we can construct sophisticated models capable of analyzing diverse data inputs, encompassing not only facial expressions but also body language, vocalizations, and physiological signals, to provide precise and objective evaluations of an animal's pain levels. While the advancement of APR holds great promise for improving animal welfare by enabling better pain management, it also brings forth the need to overcome data limitations, ensure ethical practices, and develop robust ground truth measures. This narrative review aimed to provide a comprehensive overview, tracing the journey from the initial application of facial expression recognition for the development of pain scales in animals to the recent application, evolution, and limitations of APR, thereby contributing to understanding this rapidly evolving field.
The Equine Research Bank provides access to a large database of publicly available scientific literature. Inclusion in the Research Bank does not imply endorsement of study methods or findings by Mad Barn.
This research summary has been generated with artificial intelligence and may contain errors and omissions. Refer to the original study to confirm details provided. Submit correction.
Overview
This review article explores the evolution of technologies used to recognize pain in animals, highlighting the transition from traditional facial expression-based scales to advanced automated pain recognition systems powered by artificial intelligence (AI).
It discusses both the benefits and challenges of these emerging AI-driven approaches and underscores their significance for improving animal welfare and veterinary care.
Background on Facial Expression Pain Recognition
Facial expressions are a fundamental means of communication and emotional expression not only in humans but across many animal species.
Researchers have developed tools like the Horse Grimace Scale (HGS), which rely on humans identifying specific facial features associated with pain in horses.
These methods have advanced the ability to detect pain but have inherent limitations including:
Subjectivity due to human interpretation, which can vary between observers.
Significant training needs for assessors to reliably use these scales.
Costs related to time and expertise.
Potential biases that may affect accuracy and consistency.
Despite these drawbacks, facial expression-based pain scales have been continually refined for different animal species.
Introduction and Potential of Automated Pain Recognition (APR)
To overcome the limitations of manual pain recognition, researchers are turning to Automated Pain Recognition (APR) systems powered by Artificial Intelligence (AI).
APR employs technologies like computer vision and machine learning to detect and analyze complex pain signals.
Advantages include:
Objectivity: Algorithms provide consistent and impartial assessments, reducing human bias.
Multimodal data integration: APR can analyze not just facial expressions but also body language, vocalizations, and physiological data (e.g., heart rate), giving a more comprehensive pain assessment.
Scalability and efficiency: Automated systems can process large volumes of data quickly without fatigue.
Application of AI in this context has transformative implications for:
Veterinary medicine—enhancing diagnostics and treatment decisions.
Animal welfare—improving the recognition and management of pain in diverse animal populations.
Challenges and Limitations of APR
While promising, APR faces several key challenges:
Data limitations:
Requirement for large, high-quality annotated datasets that represent diverse species and pain conditions.
Difficulty in obtaining ground truth labels since animal pain cannot be communicated verbally.
Ethical considerations:
Ensuring that data collection and monitoring respect animal welfare and privacy.
Balancing technological intervention without causing additional stress or harm.
Technical robustness and generalizability:
Models must be validated across various environments, species, and individual differences to be broadly applicable.
Potential risk of algorithmic errors or biases if training data is not comprehensive.
Conclusion and Outlook
This narrative review traces the journey from the inception of facial expression recognition in animal pain scales to the cutting-edge use of AI in automated pain detection.
The integration of AI offers a powerful opportunity to improve the accuracy, speed, and comprehensiveness of pain assessments in animals.
Future efforts should focus on addressing data and ethical challenges, developing standardized protocols and ground truth criteria, and fostering interdisciplinary collaboration between veterinarians, computer scientists, and animal welfare experts.
Continued progress in this field has the potential to significantly enhance welfare outcomes by ensuring better pain recognition and management in animals who cannot verbally communicate their discomfort.
Cite This Article
APA
Chiavaccini L, Gupta A, Chiavaccini G.
(2024).
From facial expressions to algorithms: a narrative review of animal pain recognition technologies.
Front Vet Sci, 11, 1436795.
https://doi.org/10.3389/fvets.2024.1436795
Department of Comparative, Diagnostic, and Population Medicine, College of Veterinary Medicine, University of Florida, Gainesville, FL, United States.
Gupta, Anjali
Department of Comparative, Diagnostic, and Population Medicine, College of Veterinary Medicine, University of Florida, Gainesville, FL, United States.
Chiavaccini, Guido
Independent Researcher, Livorno, Italy.
Conflict of Interest Statement
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
References
This article includes 117 references
Ferretti V, Papaleo F. Understanding others: emotion recognition in humans and other animals.. Genes Brain Behav (2019) 18:e12544.
Langford DJ, Bailey AL, Chanda ML, Clarke SE, Drummond TE, Echols S. Coding of facial expressions of pain in the laboratory mouse.. Nat Methods (2010) 7:447–9.
Sotocinal SG, Sorge RE, Zaloum A, Tuttle AH, Martin LJ, Wieskopf JS. The rat grimace scale: a partially automated method for quantifying pain in the laboratory rat via facial expressions.. Mol Pain (2011) 7:55.
Walter S, Gruss S, Frisch S, Liter J, Jerg-Bretzke L, Zujalovic B. “what about automated pain recognition for routine clinical use?” a survey of physicians and nursing staff on expectations, requirements, and acceptance.. Front Med (2020) 7:566278.
Olugbade TA, Bianchi-Berthouze N, Marquardt N, Williams AC. Pain level recognition using kinematics and muscle activity for physical rehabilitation in chronic pain.. In: 2015 International Conference on Affective Computing and Intelligent Interaction (ACII). Xi'an: IEEE; (2015).
Thiam P, Kessler V, Amirian M, Bellmann P, Layher G, Zhang Y. Multi-modal pain intensity recognition based on the senseemotion database.. IEEE Transact Affect Comp (2019) 12:743–60.
Mogil JS, Pang DSJ, Silva Dutra GG, Chambers CT. The development and use of facial grimace scales for pain measurement in animals.. Neurosci Biobehav Rev (2020) 116:480–93.
Oliver V, De Rantere D, Ritchie R, Chisholm J, Hecker KG, Pang DS. Psychometric assessment of the rat grimace scale and development of an analgesic intervention score.. PLoS ONE (2014) 9:e97882.
Matsumiya LC, Sorge RE, Sotocinal SG, Tabaka JM, Wieskopf JS, Zaloum A. Using the Mouse Grimace Scale to reevaluate the efficacy of postoperative analgesics in laboratory mice. J Am Assoc Lab Anim Sci (2012) 51:42–9.
Leach MC, Klaus K, Miller AL, Scotto di Perrotolo M, Sotocinal SG, Flecknell PA. the assessment of post-vasectomy pain in mice using behaviour and the Mouse Grimace Scale. PLoS ONE (2012) 7:e35656.
Faller KM, McAndrew DJ, Schneider JE, Lygate CA. Refinement of analgesia following thoracotomy and experimental myocardial infarction using the Mouse Grimace Scale. Exp Physiol (2015) 100:164–72.
Keating SC, Thomas AA, Flecknell PA, Leach MC. Evaluation of emla cream for preventing pain during tattooing of rabbits: changes in physiological, behavioural and facial expression responses. PLoS ONE (2012) 7:e44437.
Evangelista MC, Watanabe R, Leung VSY, Monteiro BP, O'Toole E, Pang DSJ. Facial expressions of pain in cats: the development and validation of a Feline Grimace Scale. Sci Rep (2019) 9:19128.
Yamada PH, Codognoto VM, de Ruediger FR, Trindade PHE, da Silva KM, Rizzoto G. Pain assessment based on facial expression of bulls during castration. Appl Anim Behav Sci (2021) 236:105258.
Di Giminiani P, Brierley VL, Scollo A, Gottardo F, Malcolm EM, Edwards SA. The assessment of facial expressions in piglets undergoing tail docking and castration: toward the development of the Piglet Grimace Scale. Front Vet Sci (2016) 3:100.
Viscardi AV, Hunniford M, Lawlis P, Leach M, Turner PV. Development of a Piglet Grimace Scale to evaluate piglet pain using facial expressions following castration and tail docking: a pilot study. Front Vet Sci (2017) 4:51.
Häger C, Biernot S, Buettner M, Glage S, Keubler LM, Held N. The Sheep Grimace Scale as an indicator of post-operative distress and pain in laboratory sheep. PLoS ONE (2017) 12:e0175839.
Guesgen MJ, Beausoleil NJ, Leach M, Minot EO, Stewart M, Stafford KJ. Coding and quantification of a facial expression for pain in lambs. Behav Processes (2016) 132:49–56.
Reijgwart ML, Schoemaker NJ, Pascuzzo R, Leach MC, Stodel M, de Nies L. The composition and initial evaluation of a Grimace Scale in ferrets after surgical implantation of a telemetry probe. PLoS ONE (2017) 12:e0187986.
MacRae AM, Makowska IJ, Fraser D. Initial evaluation of facial expressions and behaviours of harbour seal pups (Phoca Vitulina) in response to tagging and microchipping. Appl Anim Behav Sci (2018) 205:167–74.
Orth EK, Navas Gonzalez FJ, Iglesias Pastrana C, Berger JM, Jeune SSL, Davis EW. Development of a Donkey Grimace Scale to recognize pain in donkeys (Equus Asinus) post castration. Animals (2020) 10:1411.
Dalla Costa E, Dai F, Lecchi C, Ambrogi F, Lebelt D, Stucke D. Towards an improved pain assessment in castrated horses using facial expressions (Hgs) and circulating mirnas. Vet Rec (2021) 188:e82.
Dalla Costa E, Bracci D, Dai F, Lebelt D, Minero M. Do different emotional states affect the horse Grimace Scale Score? A pilot study. J Eq Vet Sci (2017) 54:114–7.
McLennan KM, Rebelo CJB, Corke MJ, Holmes MA, Leach MC, Constantino-Casas F. Development of a facial expression scale using footrot and mastitis as models of pain in sheep. Appl Anim Behav Sci (2016) 176:19–26.
de Oliveira FA, Luna SP, do Amaral JB, Rodrigues KA, Sant'Anna AC, Daolio M. Validation of the UNESP-Botucatu Unidimensional Composite Pain Scale for assessing postoperative pain in cattle. BMC Vet Res (2014) 10:200.
Miller A, Leach M. Using the Mouse Grimace Scale to assess pain associated with routine ear notching and the effect of analgesia in laboratory mice. Lab Anim (2015) 49:117–20.
McLennan KM, Miller AL, Dalla Costa E, Stucke D, Corke MJ, Broom DM. Conceptual and methodological issues relating to pain assessment in mammals: the development and utilisation of Pain Facial Expression Scales. Appl Anim Behav Sci (2019) 217:1–15.
Miller A, Kitson G, Skalkoyannis B, Leach M. The effect of isoflurane anaesthesia and buprenorphine on the Mouse Grimace Scale and Behaviour in Cba and Dba/2 Mice. Appl Anim Behav Sci (2015) 172:58–62.
Gkikas S, Tsiknakis M. Automatic assessment of pain based on deep learning methods: a systematic review. Comput Methods Progr Biomed (2023) 231:107365.
Waller BM, Bard KA, Vick S-J, Smith Pasqualini MC. Perceived differences between chimpanzee (Pan Troglodytes) and human (Homo Sapiens) facial expressions are related to emotional interpretation. J Comp Psychol (2007) 121:398.
Lou ME, Porter ST, Massey JS, Ventura B, Deen J, Li Y. The application of 3d landmark-based geometric morphometrics towards refinement of the Piglet Grimace Scale. Animals (2022) 12:1944.
Ekman P, Friesen WV. Manual for the Facial Action Code. Palo Alto, CA: Consulting Psychologists Press; (1978).
Caeiro CC, Waller BM, Zimmermann E, Burrows AM, Davila-Ross M. Orangfacs: a muscle-based facial movement coding system for orangutans ( spp). Int J Primatol (2013) 34:115–29.
Correia-Caeiro C, Holmes K, Miyabe-Nishiwaki T. Extending the maqfacs to measure facial movement in Japanese Macaques (Macaca Fuscata) reveals a wide repertoire potential. PLoS ONE (2021) 16:e0245117.
Clark PR, Waller BM, Burrows AM, Julle-Danière E, Agil M, Engelhardt A. Morphological variants of silent bared-teeth displays have different social interaction outcomes in crested macaques (Macaca nigra). Am J Phys Anthropol (2020) 173:411–22.
Waller BM, Lembeck M, Kuchenbuch P, Burrows AM, Liebal K. Gibbonfacs: a muscle-based facial movement coding system for hylobatids. Int J Primatol (2012) 33:809–21.
Correia-Caeiro C, Burrows A, Wilson DA, Abdelrahman A, Miyabe-Nishiwaki T. Callifacs: The common marmoset facial action coding system. PLoS ONE (2022) 17:e0266442.
Caeiro CC, Burrows AM, Waller BM. Development and application of catfacs: are human cat adopters influenced by cat facial expressions?. Appl Anim Behav Sci (2017) 189:66–78.
Mota-Rojas D, Marcet-Rius M, Ogi A, Hernández-Ávalos I, Mariti C, Martínez-Burnes J. Current advances in assessment of dog's emotions, facial expressions, and their use for clinical recognition of pain.. Animals (2021) 11:3334.
Finka LR, Luna SP, Brondani JT, Tzimiropoulos Y, McDonagh J, Farnworth MJ. Geometric morphometrics for the study of facial expressions in non-human animals, using the domestic cat as an exemplar.. Sci Rep (2019) 9:9883.
Mullard J, Berger JM, Ellis AD, Dyson S. Development of an ethogram to describe facial expressions in ridden horses (Fereq).. J Vet Behav (2017) 18:7–12.
Dyson S, Berger JM, Ellis AD, Mullard J. Can the presence of musculoskeletal pain be determined from the facial expressions of ridden horses (Fereq)?. J Vet Behav (2017) 19:78–89.
Dyson S, Berger J, Ellis AD, Mullard J. Development of an ethogram for a pain scoring system in ridden horses and its application to determine the presence of musculoskeletal pain.. J Vet Behav (2018) 23:47–57.
Zhang EQ, Leung VS, Pang DS. Influence of rater training on inter-and intrarater reliability when using the Rat Grimace Scale.. J Am Assoc Lab Anim Sci (2019) 58:178–83.
Podturkin AA, Krebs BL, Watters JV, A. Quantitative approach for using anticipatory behavior as a graded welfare assessment.. J Appl Anim Welf Sci (2023) 26:463–77.
Clegg IL, Rödel HG, Delfour F. Bottlenose dolphins engaging in more social affiliative behaviour judge ambiguous cues more optimistically.. Behav Brain Res (2017) 322(Pt A):115–22.
Foris B, Thompson AJ, von Keyserlingk MAG, Melzer N, Weary DM. Automatic detection of feeding- and drinking-related agonistic behavior and dominance in dairy cows.. J Dairy Sci (2019) 102:9176–86.
Broomé S, Feighelstein M, Zamansky A, Carreira Lencioni G, Haubro Andersen P, Pessanha F. Going deeper than tracking: a survey of computer-vision based recognition of animal pain and emotions.. Int J Comput Vis (2023) 131:572–90.
Quinn PC, Palmer V, Slater AM. Identification of gender in domestic-cat faces with and without training: perceptual learning of a natural categorization task.. Perception (1999) 28:749–63.
Southerden P, Haydock RM, Barnes DM. Three dimensional osteometric analysis of mandibular symmetry and morphological consistency in cats.. Front Vet Sci (2018) 5:157.
Andresen N, Wöllhaf M, Hohlbaum K, Lewejohann L, Hellwich O, Thöne-Reineke C. Towards a fully automated surveillance of well-being status in laboratory mice using deep learning: starting with facial expression analysis.. PLoS ONE (2020) 15:e0228059.
Noor A, Zhao Y, Koubaa A, Wu L, Khan R, Abdalla FYO. Automated sheep facial expression classification using deep transfer learning.. Comp Electron Agric (2020) 175:105528.
Broomé S, Gleerup KB, Andersen PH, Kjellstrom H. Dynamics are important for the recognition of equine pain in video.. IEEE/CVF Conference on Computer Vision and Pattern Recognition (2019).
Hummel H, Pessanha F, Salah AA, van Loon JP, Veltkamp R. Automatic pain detection on horse and donkey faces.. 15th IEEE International Conference on Automatic Face and Gesture Recognition. Buenos Aires (2020).
Feighelstein M, Shimshoni I, Finka LR, Luna SPL, Mills DS, Zamansky A. Automated recognition of pain in cats.. Sci Rep (2022) 12:9575.
Martvel G, Lazebnik T, Feighelstein M, Henze L, Meller S, Shimshoni I. Automated pain recognition in cats using facial landmarks: dynamics matter.. Sci Rep (2023).
Feighelstein M, Ehrlich Y, Naftaly L, Alpin M, Nadir S, Shimshoni I. Deep learning for video-based automated pain recognition in rabbits.. Sci Rep (2023) 13:14679.
Lu Y, Mahmoud M, Robinson P. Estimating sheep pain level using facial action unit detection.. 2017 . Washington, DC: IEEE (2017).
Mahmoud M, Lu Y, Hou X, McLennan K, Robinson P. Estimation of pain in sheep using computer vision.. In:Moore RJ, editor. Handbook of Pain and Palliative Care: Biopsychosocial and Environmental Approaches for the Life Course. Cham: Springer International Publishing; (2018). p. 145–57.
Pessanha F, McLennan K, Mahmoud MM. Towards automatic monitoring of disease progression in sheep: a hierarchical model for sheep facial expressions analysis from video.. 2020 15th IEEE International Conference on Automatic Face and Gesture Recognition (FG 2020). Buenos Aires (2002). p. 387–93.
Steagall PV, Monteiro BP, Marangoni S, Moussa M, Sautié M. Fully automated deep learning models with smartphone applicability for prediction of pain using the Feline Grimace Scale.. Sci Rep (2023) 13:21584.
Rashid M, Broomé S, Ask K, Hernlund E, Andersen PH, Kjellström H. Equine pain behavior classification via self-supervised disentangled pose representation.. (2021).
Reulke R, Rueß D, Deckers N, Barnewitz D, Wieckert A, Kienapfel K. Analysis of motion patterns for pain estimation of horses.. 15th IEEE International Conference on Advanced Video and Signal Based Surveillance (AVSS). Auckland: (2018).
Zhu H, Salgirli Y, Can P, Atilgan D, Salah AA. Video-based estimation of pain indicators in dogs.. 2023 11th International Conference on Affective Computing and Intelligent Interaction (ACII). IEEE: (2023).
Mischkowski D, Palacios-Barrios EE, Banker L, Dildine TC, Atlas LY. Pain or nociception? Subjective experience mediates the effects of acute noxious heat on autonomic responses.. Pain (2018) 159:699–711.
Rashid M, Gu X, Lee YJ. Interspecies knowledge transfer for facial keypoint detection.. IEEE Conference on Computer Vision and Pattern Recognition (CVPR). Honolulu, HI (2017).
Blumrosen G, Hawellek D, Pesaran B. Towards automated recognition of facial expressions in animal models.. IEEE International Conference on Computer Vision Workshops. Washington, DC (2017).
Martvel G, Shimshoni I, Zamansky A. Automated detection of cat facial landmarks.. Int J Comput Vis (2024).
Hassan T, Seus D, Wollenberg J, Weitz K, Kunz M, Lautenbacher S. Automatic detection of pain from facial expressions: a survey.. IEEE Trans Pattern Anal Mach Intell (2021) 43:1815–31.
McLennan S, Fiske A, Tigard D, Müller R, Haddadin S, Buyx A. Embedded ethics: a proposal for integrating ethics into the development of medical AI. BMC Med Ethics (2022) 23:6.
Norori N, Hu Q, Aellen FM, Faraci FD, Tzovara A. Addressing bias in big data and AI for health care: a call for open science. Patterns (2021) 2:100347.
Martvel G, Zamansky A, Pedretti G, Canori C, Shimshoni I, Bremhorst A. Dog facial landmarks detection and its applications for facial analysis. Sci Rep 2025 Jul 1;15(1):21886.
Wang H, Shi Z, Hu R, Wang X, Chen J, Che H. Real-time fear emotion recognition in mice based on multimodal data fusion. Sci Rep 2025 Apr 6;15(1):11797.
Chiavaccini L, Gupta A, Anclade N, Chiavaccini G, De Gennaro C, Johnson AN, Portela DA, Romano M, Vettorato E, Luethy D. Automated acute pain prediction in domestic goats using deep learning-based models on video-recordings. Sci Rep 2024 Nov 7;14(1):27104.