Beatriz Granetti Peres , Marcela Carneiro de Oliveira , Giovana Mancilla Pivato , Gustavo Venâncio da Silva , Ana Lucélia de Araújo , Fábio Augusto Da Silva Esposto , Monique Danielle Pairis-Garcia , Stelio Pacca Loureiro Luna , Pedro Henrique Esteves Trindade
{"title":"Novel application of machine learning to enhance untrained and inexperienced evaluators’ diagnosis of acute pain in pigs","authors":"Beatriz Granetti Peres , Marcela Carneiro de Oliveira , Giovana Mancilla Pivato , Gustavo Venâncio da Silva , Ana Lucélia de Araújo , Fábio Augusto Da Silva Esposto , Monique Danielle Pairis-Garcia , Stelio Pacca Loureiro Luna , Pedro Henrique Esteves Trindade","doi":"10.1016/j.applanim.2025.106764","DOIUrl":null,"url":null,"abstract":"<div><div>Accurately identifying pain is a critical first step required to adequately mitigate pain and improve pig health, welfare and quality of life. The objective of this study was to verify whether random forest and support vector machine algorithms trained utilizing experienced evaluators could improve the accuracy of pain diagnosis in untrained and inexperienced evaluators using the Unesp-Botucatu Pig Composite Acute Pain Scale (UPAPS). Four-minute, pre-recorded video clips of 45 male pigs in pain-free (pre-surgical castration) and painful conditions (post-surgical castration) were used. Previously generated scores from three experienced evaluators using UPAPS on a video database were used to train and test random forest and support vector machine models. Following this, ten inexperienced evaluators were recruited to assess the same video clips using the UPAPS. Scores from inexperienced evaluators were then inputted for machine learning algorithms and pain diagnosis was adjusted accordingly. Both machine learning models performed well based on area under the curve, sensitivity > 90 %, and specificity > 95 %. Area under the curve, specificity, and sensitivity of untrained inexperience evaluators were statistically (p < 0.05) equivalent between the original UPAPS, and UPAPS adjusted by random forest and support vector machine. In conclusion, the random forest and support vector machine algorithms trained using experienced evaluators did not modify the discriminatory diagnostic ability of untrained inexperienced evaluators scoring UPAPS. In future studies, additional machine learning techniques could be implemented to investigate whether they improve the accuracy of pain diagnostic. In addition, further studies are needed to develop a concise and standard training program for inexperienced evaluators and investigate its effects on the accuracy of pain diagnosis.</div></div>","PeriodicalId":8222,"journal":{"name":"Applied Animal Behaviour Science","volume":"292 ","pages":"Article 106764"},"PeriodicalIF":2.0000,"publicationDate":"2025-07-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Applied Animal Behaviour Science","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S016815912500262X","RegionNum":2,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, DAIRY & ANIMAL SCIENCE","Score":null,"Total":0}
引用次数: 0
Abstract
Accurately identifying pain is a critical first step required to adequately mitigate pain and improve pig health, welfare and quality of life. The objective of this study was to verify whether random forest and support vector machine algorithms trained utilizing experienced evaluators could improve the accuracy of pain diagnosis in untrained and inexperienced evaluators using the Unesp-Botucatu Pig Composite Acute Pain Scale (UPAPS). Four-minute, pre-recorded video clips of 45 male pigs in pain-free (pre-surgical castration) and painful conditions (post-surgical castration) were used. Previously generated scores from three experienced evaluators using UPAPS on a video database were used to train and test random forest and support vector machine models. Following this, ten inexperienced evaluators were recruited to assess the same video clips using the UPAPS. Scores from inexperienced evaluators were then inputted for machine learning algorithms and pain diagnosis was adjusted accordingly. Both machine learning models performed well based on area under the curve, sensitivity > 90 %, and specificity > 95 %. Area under the curve, specificity, and sensitivity of untrained inexperience evaluators were statistically (p < 0.05) equivalent between the original UPAPS, and UPAPS adjusted by random forest and support vector machine. In conclusion, the random forest and support vector machine algorithms trained using experienced evaluators did not modify the discriminatory diagnostic ability of untrained inexperienced evaluators scoring UPAPS. In future studies, additional machine learning techniques could be implemented to investigate whether they improve the accuracy of pain diagnostic. In addition, further studies are needed to develop a concise and standard training program for inexperienced evaluators and investigate its effects on the accuracy of pain diagnosis.
期刊介绍:
This journal publishes relevant information on the behaviour of domesticated and utilized animals.
Topics covered include:
-Behaviour of farm, zoo and laboratory animals in relation to animal management and welfare
-Behaviour of companion animals in relation to behavioural problems, for example, in relation to the training of dogs for different purposes, in relation to behavioural problems
-Studies of the behaviour of wild animals when these studies are relevant from an applied perspective, for example in relation to wildlife management, pest management or nature conservation
-Methodological studies within relevant fields
The principal subjects are farm, companion and laboratory animals, including, of course, poultry. The journal also deals with the following animal subjects:
-Those involved in any farming system, e.g. deer, rabbits and fur-bearing animals
-Those in ANY form of confinement, e.g. zoos, safari parks and other forms of display
-Feral animals, and any animal species which impinge on farming operations, e.g. as causes of loss or damage
-Species used for hunting, recreation etc. may also be considered as acceptable subjects in some instances
-Laboratory animals, if the material relates to their behavioural requirements