Algorithm could save hours of analyzing animal behavior

"Interest has been particularly high among primate researchers, and our technology is already being used by a group that is researching wild chimpanzees in Uganda," Markus Marks says. (Credit: satya deep/Unsplash)

A new method uses artificial intelligence to analyze animal behavior, which could lead to longer-term in-depth studies in the field of behavioral science.

In addition, the advance helps to improve animal welfare. The method is already in testing at the Zurich Zoo.

Researchers engaged in animal behavior studies often rely on hours upon hours of video footage that they manually analyze. Usually, this requires researchers to work their way through recordings spanning several weeks or months, laboriously noting down observations on the animals’ behavior.

Now researchers at ETH Zurich and University of Zurich have come up with an automated way to analyze these kinds of recordings. The image-analysis algorithm they have developed makes use of computer vision and machine learning. It can distinguish individual animals and identify specific behaviors, such as those that signal curiosity, fear, or harmonious social interactions with other members of their species.

The technology essentially offers scientists a one-click solution for automatically analyzing video footage, however lengthy or detailed the recordings are. Another advantage of the new method is its reproducibility: if different groups of researchers use the same algorithm to analyze their video data, comparing results is easier because everything is based on the same standards.

The new algorithm is also so sensitive that it can even identify subtle behavioral changes that develop very gradually over long periods of time. “Those are the kinds of changes that are often tricky to spot with the human eye,” says Markus Marks, lead author of the research study in Nature Machine Intelligence and a postdoctoral researcher in the group of professor of neurotechnology Mehmet Fatih Yanik.

The researchers trained the machine-learning algorithm with video footage of mice and macaques in captivity. However, they stress that the method can be applied to all animal species. News of their new method has already spread through the scientific community. The researchers have made the algorithm available to other researchers on a public platform, and many of their colleagues around the world are already using it.

“Interest has been particularly high among primate researchers, and our technology is already being used by a group that is researching wild chimpanzees in Uganda,” Marks says.

This is probably because the method can also be used to analyze complex social interactions in animal communities, such as identifying which animals groom other members of their group and how often this occurs. “Our method offers some major advantages over previous machine-learning-based behavioral analysis algorithms, especially when it comes to analyzing social behavior in complex settings,” Marks says.

The new method can also be used to improve animal husbandry, enabling round-the-clock monitoring to automatically single out abnormal behaviors. By detecting adverse social interactions or the onset of disease early on, keepers can swiftly respond to improve conditions for the animals in their care.

The researchers are also currently collaborating with Zurich Zoo, which wants to further improve its animal husbandry and conduct automated behavioral research. For example, in a recently published study examining patterns of elephant sleep behavior, zoo researchers had to manually annotate nocturnal video recordings. Their hope is that the new method would let them automate and scale up such findings in the future.

Finally, the method is used in fundamental research in the fields of biology, neurobiology, and medicine. “Our method can recognize even subtle or rare behavioral changes in research animals, such as signs of stress, anxiety, or discomfort,” says Yanik. “Therefore, it can not only help to improve the quality of animal studies but also helps to reduce the number of animals and the strain on them.” Yanik is planning to use the method himself as part of his neurobiological research in the field of imitation learning.

Source: ETH Zurich