Real-time behavioral analysis using artificial intelligence

Real-time behavioral analysis using artificial intelligence
The posture of the mouse is detected by the system and run in an experimental protocol. Credit: J. F. Schweihoff et al. / Communications Biology

Every behavior of an animal is based on the interaction of many nerve cells in the brain, which form a close-meshed web called a neuronal network. However, what happens in the neuronal networks during particular behaviors is not easy for researchers to study—they have to describe the sequences of recurring postures and link them directly to the neuronal processes. Researchers at the University of Bonn have now presented a new method that is expected to improve this. DeepLabStream is the name of the system that uses artificial intelligence to estimate the posture and behavioral expressions of mice in real time and can respond to them immediately. Light beams are used to label and even influence specific neuronal populations in the brain in order to determine the causality between the neuronal networks and the observed behavior. The study has been published in the journal Communications Biology.

Until now, researchers only had limited and costly methods available for to detect and control behavior. "With the help of AI-assisted animal body posture recognition developed in previous years, it has recently become possible to determine the temporal and spatial sequence of movements more precisely," explains study leader Dr. Martin Schwarz of the Institute of Experimental Epileptology and Cognition Research (EECR) at University Hospital Bonn. He is a member of the Transdisciplinary Research Area (TRA) "Life and Health" at the University of Bonn, which is one of six inter-faculty alliances in which researchers from different disciplines come together to work on future-relevant research topics at the University of Excellence. One of the TRA's main topics is to support research at the nexus point of biomedicine and artificial intelligence.

Observing moving mice

To test the method known as DeepLabStream (DLStream), the researchers observed freely moving mice in a box. The mice were conditioned using DLStream to move to a corner of the box within a set period of time when viewing a specific image to collect a reward. Cameras captured the animals' movements, and the system automatically created logs of the movements.

In another experiment, the scientists demonstrated a special feature of the new system: Depending on the head tilt, the researchers were able to label the corresponding neuronal networks. To do this, they used certain proteins that were only activated in the brain at specific head inclinations when exposed to light and color-coded the underlying neuronal networks. The protein system is called Cal-Light. If the corresponding head-tilt-dependent neuronal networks were not activated, a corresponding marker failed to appear, which clarified the causal relationship. "We were able to show that, for the first time, active neuronal circuits can be permanently labeled and subsequently manipulated during selected behavioral episodes using this method," says Jens Schweihoff, who conducted the study as part of his doctoral thesis at University Hospital Bonn.

Real-time behavioral analysis using artificial intelligence
Visual representation of workflow in DLStream. Initially, an experimental protocol is designed using a sequence of modules (puzzle pieces) and a trained DLC network is integrated into DLStream. Afterward, DLStream provides three different outputs for every experiment. 1. Experiments can be monitored on a live stream. 2. The experimental protocol is run based on posture detection 3. Recorded video and experimental data are exported after the experiment is done. Credit: J. F. Schweihoff et al. / Communications Biology

Real-time behavior detection

Until now, a limiting factor in the applicability of Cal-Light was that complex behavioral episodes could not be accurately detected in real time. The new method DLStream now has a temporal resolution in the millisecond range. "Since DLStream enables real-time behavior detection, the available range of applications for the Cal-Light method is significantly expanded, which makes it possible to conduct automated, behavior-dependent manipulation during ongoing experiments," says Jens Schweihoff. "We believe that using this combination of methods, researchers can now better study the causal relationships between and the underlying neuronal networks."

The method has so far been tested in behavioral experiments on mice, but the researchers expect that it can be applied to other animals in the future without restrictions.

The researchers believe that the new method can significantly increase the reproducibility and effectiveness of experiments, since the important behavioral parameters, for example the position, speed and posture of the experimental animal, can be calculated with high temporal resolution and accuracy. This significantly reduces the variability, i.e., the difference in measured parameters, between individual experiments.

The software is now accessible to researchers worldwide via an open-source platform, which should enable them to conduct and automate a wide range of behavioral experiments with AI support.


Explore further

Researchers find a way to increase spatial resolution in brain activity visualization

More information: Jens F. Schweihoff et al. DeepLabStream enables closed-loop behavioral experiments using deep learning-based markerless, real-time posture detection, Communications Biology (2021). DOI: 10.1038/s42003-021-01654-9
Journal information: Communications Biology

Provided by University of Bonn
Citation: Real-time behavioral analysis using artificial intelligence (2021, February 18) retrieved 14 April 2021 from https://phys.org/news/2021-02-real-time-behavioral-analysis-artificial-intelligence.html
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.
13 shares

Feedback to editors

User comments