11.1 C
Ottawa
Friday, April 25, 2025

Why This AI Gazes into Goat Faces

Date:

February 7, 2025

Thank you for reading this post, don't forget to subscribe!

2 min read

AI-based systems can help identify livestock’s early signs of distress

By Lucy Tu edited by Sarah Lewin Frasier

Goat staring

Nitin Prabhudesai/Getty Images

The patient grumbled and grimaced, but he refused to speak to his doctor.

The patient was a goat.

Recognizing animal pain is notoriously difficult. To do so, humans must rely on subtle body language or behavioral changes. But a new artificial-intelligence model automates this process by identifying pain in goats—using only their facial expressions. The model, described in Scientific Reports, achieved 80 percent accuracy and offers a promising avenue for automatically monitoring livestock health.


On supporting science journalism

If you’re enjoying this article, consider supporting our award-winning journalism by subscribing. By purchasing a subscription you are helping to ensure the future of impactful stories about the discoveries and ideas shaping our world today.


Traditionally, detecting animal pain involves analyzing photos or videos by hand for specific cues—a raised lip, a flared nostril—and creating pain scales tailored to individual species. But as humans, we both detect and interpret animals’ pain through a biased lens, says University of Florida veterinary anesthesiologist Ludovica Chiavaccini, the new study’s lead author. When detection is automated, “the computer just picks up the patterns.”

Chiavaccini and her team videotaped 40 goats of various breeds and ages with different medical conditions at a veterinary hospital, generating more than 5,000 fixed frames. Using a behavioral pain scale, clinical history and physical exams, they classified each goat as in pain or not. The team tried three approaches, training an algorithm on different groupings of images while reserving others to test that training. The most balanced model, similarly adept at detecting pained and not-pained goats, was trained on four fifths of the frames, fine-tuned using the remaining fifth and tested on videos of two additional goats. Repeating this process five times with varying groupings yielded an average accuracy of 80 percent. Such training “essentially builds 30 years of clinical experience in 30 minutes,” Chiavaccini says.

Similar AI tools exist for cats, which have better-established expression-based pain scales, but the only such pain scale for goats had been validated solely in young, healthy males undergoing castration. Chiavaccini was inspired by the lack of goat pain scales, in addition to a graduate student’s enthusiasm for the animals after presenting them at an agricultural show.

AI-powered tools built with similar methods could someday help veterinarians make quicker and more accurate diagnoses or alert farmers to early stages of livestock distress. “This study shows the potential for broader adoption of AI in animal care and highlights the need for further exploration across diverse species,” says University of Glasgow computer scientist Marwa Mahmoud, who specializes in human and animal behavioral AI.

Expression-based pain-assessment tools already exist for nonverbal human patients, but these systems’ effectiveness can be limited by poor image quality or suboptimal camera angles. “Many of the engineering problems we solved, like adapting to messy, real-world conditions, could be helpful to human medicine,” Chiavaccini says. “Doctors worry about perfect lighting or head alignment. Meanwhile I’m out here racing after a goat with my camera.”

know more

Popular

More like this
Related

Amorim vows more of ‘the same’ at Man Utd after awful Everton display

Ruben Amorim has picked out the “worst part” of their draw with Everton while claiming Manchester United “didn’t exist” before a late comeback at Goodison Park. Some deplorable United defending saw Everton dominate the first half and storm into a two-goal lead thanks to Beto’s opener after some pinball in the box following a corner

In his closing pitch, Poilievre paints a dark picture of Canada if Liberals are re-elected

PoliticsConservative Leader Pierre Poilievre painted a gloomy picture of...

Jury deliberations begin in trial of pair accused of killing Ontario Const. Greg Pierzchala

HamiltonA jury in Cayuga, Ont., has found Randall McKenzie...

Quebec passes law requiring doctors to work in the public system for 5 years after med school

MontrealQuebec has officially passed a law requiring doctors to...