This article has been reviewed according to Science X's editorial process and policies. Editors have highlighted the following attributes while ensuring the content's credibility:


peer-reviewed publication

trusted source


Artificial intelligence recognizes and learns to predict patterns in behavior from video

Artificial intelligence recognizes patterns in behaviour
Artificial intelligence recognizes patterns in behavior: The open-source platform A-SOiD developed by Researchers from Carnegie Mellon University, the University Hospital Bonn and the University of Bonn can learn and predict behaviors, just from video. Credit: Matthew Salyers, Carnegie Mellon University

Researchers from Carnegie Mellon University, the University Hospital Bonn and the University of Bonn have created an open-source platform known as A-SOiD that can learn and predict user-defined behaviors, just from video. The results of the study have now been published in the journal Nature Methods.

"This technique works great at learning classifications for a variety of animal and ," said Eric Yttri, Eberly Family Associate Professor of Biological Sciences at Carnegie Mellon. "This would not only work on behavior but also the behavior of anything if there are identifiable patterns: stock markets, earthquakes, proteomics. It's a powerful pattern recognition machine."

Unlike many (AI) programs, A-SOiD is not a black box. Instead, the researchers allowed the program to re-learn what it did wrong. They first trained the program with a fraction of the dataset, with a focus on the program's weaker beliefs. If the program was not certain, the algorithm would reinforce the belief of that training data.

Because A-SOiD was taught to focus on the algorithm's uncertainty rather than treating all data the same, Alex Hsu, a recent Ph.D. alumnus from Carnegie Mellon, said that it avoids common biases found in other AI models.

AI tool does justice to every class in a data set

"It's a different way of feeding data in," Hsu said. "Usually, people go in with the entire data set of whatever behaviors they're looking for. They rarely understand that the data can be imbalanced, meaning there could be a well-represented behavior in their set and a poorly represented behavior in their set. This bias could then propagate from the prediction process to the experimental findings. Our algorithm takes care of data balancing by only learning from weaker. Our method is better at fairly representing every class in a data set."

Because A-SOiD is trained in a supervised fashion, it can be very precise. If given a dataset, it can determine the difference between a person's normal shiver and the tremors of a patient with Parkinson's disease. It also serves as a complementary method to their unsupervised behavior segmentation platform, B-SOiD, released two years ago.

Besides being an effective program, A-SOiD is highly accessible, capable of running on a normal computer and is available as on GitHub.

Video examples of two subclasses segmented from investigation that reflect anogenital investigation. On the left, one mouse directly approaches the anogenital area of another mouse, irrespective of the incoming angle (anogenital approach). On the right, one mouse investigates the anogenital area of another mouse while already being in close proximity to begin with (anogenital investigation). Credit: Nature Methods (2024). DOI: 10.1038/s41592-024-02200-1

A-SOiD is accessible for everyone in science

Jens Tillmann, a postdoctoral researcher from the University of Bonn at the University Hospital Bonn, said that the idea of having this program open to all researchers was part of its impact.

"This project wouldn't have been possible without the open science mindset that both of our labs, but also the entire community of neuroethology have shown in recent years," Tillmann said. "I am excited to be part of this community and look forward to future collaborative projects with other experts in the field."

Yttri and Martin K. Schwarz, principal investigator at the University Hospital Bonn and member of the Transdisciplinary Research Areas (TRA) "Life & Health" at the University of Bonn, plan on using A-SOiD in their own labs to further investigate the relationship between the brain and behavior. Yttri plans to use A-SOiD in conjunction with other tools to investigate the neural mechanisms underlying spontaneous behaviors. Schwartz will use A-SOiD in conjunction with other behavioral modalities for a fine-grained analysis of known behaviors in social interactions.

Both Yttri and Schwarz said they hope that A-SOiD will be used by other researchers across disciplines and countries.

"A-SOiD is an important development allowing an AI-based entry into behavioral classification and thus an excellent unique opportunity to better understand the between and behavior," Schwarz said. "We also hope that the development of A-SOiD will serve as an efficient trigger for forthcoming collaborative research projects focusing on behavioral research in Europe but also across the Atlantic."

More information: Jens F. Tillmann et al, A-SOiD, an active-learning platform for expert-guided, data-efficient discovery of behavior, Nature Methods (2024). DOI: 10.1038/s41592-024-02200-1

Journal information: Nature Methods
Citation: Artificial intelligence recognizes and learns to predict patterns in behavior from video (2024, February 21) retrieved 15 April 2024 from
This document is subject to copyright. Apart from any fair dealing for the purpose of private study or research, no part may be reproduced without the written permission. The content is provided for information purposes only.

Explore further

Machine learning algorithm revolutionizes how scientists study behavior


Feedback to editors