News Release

Algorithms relate neural connections in mice with joint movements

A thesis developed algorithms for automating large volumes of data in neuroscience

Book Announcement

Universitat Oberta de Catalunya (UOC)

In order to find a causal relationship between neural activity and physical activities, neuroscientists usually record animals' behaviour and their brain activity in a controlled environment. Then they manually annotate the behavioural/physical activity and neural activity data. It is an inefficient, time-consuming process that is subjective and conducive to human error, as it depends on who is recording the observations and therefore is not reproducible.

In recent years, there has been a growing trend toward automated processing of this data to improve efficiency and reproducibility. This is precisely the approach that the researcher Waseem Abbas has proposed in his thesis as part of the UOC's doctoral programme in Network and Information Technologies. Part of the research has already been published in three scientific journals: Journal of Neuroscience Methods, Sensors and IEEE Access.

The thesis proposes solutions based on deep learning for processing the neural activity data and behavioural data observed in head-fixed mice. The goal is to enable neuroscientists to annotate the behavioural data and extract neural patterns in an automated manner and establish a causal link between the two. "We have proposed a deep learning-based path for gesture tracking that explicitly codes the temporal information that appears in the videos," Abbas explained.

The researcher also analysed the rodents' neural images using genetically encoded fluorescent calcium indicators (GECI). "When a neuron is active, the GECI concentration changes inside the cell and this change can be seen under a fluorescent microscope," he continued.

The scientist trained deep learning algorithms that he had developed to record automatically the mice's limb movements appearing in the videos and also to detect all the active neurons in the neural activity images. Specifically, he designed them to take the space-time context into account at all times.

Interdisciplinary research

The thesis is an example of interdisciplinary collaboration, said David Masip, the thesis' supervisor. "We collaborate with researchers in the field of neuroscience to help relate the neural connections, which are visible in vivo using calcium-based imaging, with joint movements," explained Masip, director of the UOC Doctoral School, professor at the Faculty of Computer Science, Multimedia and Telecommunications and the Scene understanding and artificial intelligence lab (SUNAI) group's principal investigator.

According to the scientist, the methodology that has been developed enables large volumes of data to be recorded. Videos of moving mice, on one hand, and brain data cubes, on the other hand, entailing a major automation exercise that has been successfully undertaken with the new algorithms.

The next step is to train both groups simultaneously. "If there is a synchronous dataset available, for example, if we have seen the locomotion images and calcium data recorded simultaneously for the same animal, we can then train these two approaches together to see whether there is any causal relationship," Abbas said.

From a small town in Pakistan to Barcelona

Abbas has been interested in science and technology since he was very young. Born in the small town of Sepoy, Orakzai district, Khyber Pakhtunkhwa province in Pakistan, close to the frontier with Afghanistan, his favourite pastime was to build paper airplanes and mechanical toys with clay or any other material that he could find.

After winning a grant to study in South Korea, Abbas received another grant to study at the UOC Doctoral School, an experience that he defines as "transformative".

"Barcelona's culture and atmosphere had an enormous impact on me. Not only have I progressed in my professional skills but I have also formed lasting ties with some incredible people," he said.


This research supports Sustainable Development Goals (SDG) 3, on good health and well-being, and 9, on industry, innovation and infrastructure.


The UOC's research and innovation (R&I) are helping 21st-century global societies to overcome pressing challenges by studying the interactions between technology and humanities and social sciences, with a specific focus on the network society, e-learning and e-health. Over 500 researchers and 51 research groups work among the University's seven faculties and two research centres: the Internet Interdisciplinary Institute (IN3) and the eHealth Center (eHC).

The United Nations' 2030 Agenda for Sustainable Development and open knowledge serve as strategic pillars for the UOC's teaching, research and innovation. More #UOC25years

Disclaimer: AAAS and EurekAlert! are not responsible for the accuracy of news releases posted to EurekAlert! by contributing institutions or for the use of any information through the EurekAlert system.