Towards Machine Recognition of Facial Expressions of Pain in Horses

Automated recognition of human facial expressions of pain and emotions is to a certain degree a solved problem, using approaches based on computer vision and machine learning. However, the application of such methods to horses has proven difficult. Major barriers are the lack of sufficiently large,...

Full description

Bibliographic Details
Main Authors: Pia Haubro Andersen, Sofia Broomé, Maheen Rashid, Johan Lundblad, Katrina Ask, Zhenghong Li, Elin Hernlund, Marie Rhodin, Hedvig Kjellström
Format: Article
Language:English
Published: MDPI AG 2021-06-01
Series:Animals
Subjects:
Online Access:https://www.mdpi.com/2076-2615/11/6/1643
id doaj-3d661063200d4d2283c186fab3b06cb9
record_format Article
spelling doaj-3d661063200d4d2283c186fab3b06cb92021-06-30T23:03:48ZengMDPI AGAnimals2076-26152021-06-01111643164310.3390/ani11061643Towards Machine Recognition of Facial Expressions of Pain in HorsesPia Haubro Andersen0Sofia Broomé1Maheen Rashid2Johan Lundblad3Katrina Ask4Zhenghong Li5Elin Hernlund6Marie Rhodin7Hedvig Kjellström8Department of Anatomy, Physiology and Biochemistry, Swedish University of Agricultural Sciences, SE 75007 Uppsala, SwedenDivision of Robotics, Perception and Learning, KTH Royal Institute of Technology, SE 100044 Stockholm, SwedenDepartment of Computer Science, University of California at Davis, California, CA 95616, USADepartment of Anatomy, Physiology and Biochemistry, Swedish University of Agricultural Sciences, SE 75007 Uppsala, SwedenDepartment of Anatomy, Physiology and Biochemistry, Swedish University of Agricultural Sciences, SE 75007 Uppsala, SwedenDivision of Robotics, Perception and Learning, KTH Royal Institute of Technology, SE 100044 Stockholm, SwedenDepartment of Anatomy, Physiology and Biochemistry, Swedish University of Agricultural Sciences, SE 75007 Uppsala, SwedenDepartment of Anatomy, Physiology and Biochemistry, Swedish University of Agricultural Sciences, SE 75007 Uppsala, SwedenDivision of Robotics, Perception and Learning, KTH Royal Institute of Technology, SE 100044 Stockholm, SwedenAutomated recognition of human facial expressions of pain and emotions is to a certain degree a solved problem, using approaches based on computer vision and machine learning. However, the application of such methods to horses has proven difficult. Major barriers are the lack of sufficiently large, annotated databases for horses and difficulties in obtaining correct classifications of pain because horses are non-verbal. This review describes our work to overcome these barriers, using two different approaches. One involves the use of a manual, but relatively objective, classification system for facial activity (Facial Action Coding System), where data are analyzed for pain expressions after coding using machine learning principles. We have devised tools that can aid manual labeling by identifying the faces and facial keypoints of horses. This approach provides promising results in the automated recognition of facial action units from images. The second approach, recurrent neural network end-to-end learning, requires less extraction of features and representations from the video but instead depends on large volumes of video data with ground truth. Our preliminary results suggest clearly that dynamics are important for pain recognition and show that combinations of recurrent neural networks can classify experimental pain in a small number of horses better than human raters.https://www.mdpi.com/2076-2615/11/6/1643painfacial expressionsobjective methodshorsecomputer visionmachine learning
collection DOAJ
language English
format Article
sources DOAJ
author Pia Haubro Andersen
Sofia Broomé
Maheen Rashid
Johan Lundblad
Katrina Ask
Zhenghong Li
Elin Hernlund
Marie Rhodin
Hedvig Kjellström
spellingShingle Pia Haubro Andersen
Sofia Broomé
Maheen Rashid
Johan Lundblad
Katrina Ask
Zhenghong Li
Elin Hernlund
Marie Rhodin
Hedvig Kjellström
Towards Machine Recognition of Facial Expressions of Pain in Horses
Animals
pain
facial expressions
objective methods
horse
computer vision
machine learning
author_facet Pia Haubro Andersen
Sofia Broomé
Maheen Rashid
Johan Lundblad
Katrina Ask
Zhenghong Li
Elin Hernlund
Marie Rhodin
Hedvig Kjellström
author_sort Pia Haubro Andersen
title Towards Machine Recognition of Facial Expressions of Pain in Horses
title_short Towards Machine Recognition of Facial Expressions of Pain in Horses
title_full Towards Machine Recognition of Facial Expressions of Pain in Horses
title_fullStr Towards Machine Recognition of Facial Expressions of Pain in Horses
title_full_unstemmed Towards Machine Recognition of Facial Expressions of Pain in Horses
title_sort towards machine recognition of facial expressions of pain in horses
publisher MDPI AG
series Animals
issn 2076-2615
publishDate 2021-06-01
description Automated recognition of human facial expressions of pain and emotions is to a certain degree a solved problem, using approaches based on computer vision and machine learning. However, the application of such methods to horses has proven difficult. Major barriers are the lack of sufficiently large, annotated databases for horses and difficulties in obtaining correct classifications of pain because horses are non-verbal. This review describes our work to overcome these barriers, using two different approaches. One involves the use of a manual, but relatively objective, classification system for facial activity (Facial Action Coding System), where data are analyzed for pain expressions after coding using machine learning principles. We have devised tools that can aid manual labeling by identifying the faces and facial keypoints of horses. This approach provides promising results in the automated recognition of facial action units from images. The second approach, recurrent neural network end-to-end learning, requires less extraction of features and representations from the video but instead depends on large volumes of video data with ground truth. Our preliminary results suggest clearly that dynamics are important for pain recognition and show that combinations of recurrent neural networks can classify experimental pain in a small number of horses better than human raters.
topic pain
facial expressions
objective methods
horse
computer vision
machine learning
url https://www.mdpi.com/2076-2615/11/6/1643
work_keys_str_mv AT piahaubroandersen towardsmachinerecognitionoffacialexpressionsofpaininhorses
AT sofiabroome towardsmachinerecognitionoffacialexpressionsofpaininhorses
AT maheenrashid towardsmachinerecognitionoffacialexpressionsofpaininhorses
AT johanlundblad towardsmachinerecognitionoffacialexpressionsofpaininhorses
AT katrinaask towardsmachinerecognitionoffacialexpressionsofpaininhorses
AT zhenghongli towardsmachinerecognitionoffacialexpressionsofpaininhorses
AT elinhernlund towardsmachinerecognitionoffacialexpressionsofpaininhorses
AT marierhodin towardsmachinerecognitionoffacialexpressionsofpaininhorses
AT hedvigkjellstrom towardsmachinerecognitionoffacialexpressionsofpaininhorses
_version_ 1721352213855469568