# Deep neural networks and stochastic methods for cognitive modeling of rat behavioral dynamics in 𝕋-mazes

**Authors:** Ali Turab, Josué-Antonio Nescolarde-Selva, Farhan Ullah, Andrés Montoyo, Cicik Alfiniyah, Wutiphol Sintunavarat, Doaa Rizk, Shujaat Ali Zaidi

PMC · DOI: 10.1007/s11571-025-10247-9 · 2025-04-25

## TL;DR

This paper combines deep learning and stochastic models to study how rats make decisions in T-mazes, improving prediction accuracy and understanding of their behavior.

## Contribution

A novel hybrid CNN-LSTM model integrating stochastic methods for cognitive modeling of rat behavior in T-mazes, achieving higher accuracy than traditional models.

## Key findings

- The hybrid CNN-LSTM model achieved 82.24% classification accuracy in predicting rat behavior.
- Stochastic methods combined with deep learning provide better behavioral sequence modeling from partial observations.
- Monte Carlo simulations validated the model's predictive output against expected trajectories.

## Abstract

Modeling animal decision-making requires mathematical rigor and computational analysis to capture underlying cognitive mechanisms. This study presents a cognitive model for rat decision-making behavior in \documentclass[12pt]{minimal}
				\usepackage{amsmath}
				\usepackage{wasysym} 
				\usepackage{amsfonts} 
				\usepackage{amssymb} 
				\usepackage{amsbsy}
				\usepackage{mathrsfs}
				\usepackage{upgreek}
				\setlength{\oddsidemargin}{-69pt}
				\begin{document}$$\mathbb {T}$$\end{document}T-mazes by combining stochastic methods with deep neural architectures. The model adapts Wyckoff’s stochastic framework, originally grounded in Bush’s discrimination learning theory, to describe probabilistic transitions between directional choices under reinforcement contingencies. The existence and uniqueness of solutions are demonstrated via fixed-point theorems, ensuring the formulation is well-posed. The asymptotic properties of the system are examined under boundary conditions to understand the convergence behavior of decision probabilities across trials. Empirical validation is performed using Monte Carlo simulations to compare expected trajectories with the model’s predictive output. The dataset comprises spatial trajectory recordings of rats navigating toward food rewards under controlled experimental protocols. Trajectories are preprocessed through statistical filtering, augmented to address data imbalance, and embedded using t-SNE to visualize separability across behavioral states. A hybrid convolutional-recurrent neural network (CNN-LSTM) is trained on these representations and achieves a classification accuracy of 82.24%, outperforming conventional machine learning models, including support vector machines and random forests. In addition to discrete choice prediction, the network reconstructs continuous paths, enabling full behavioral sequence modeling from partial observations. The integration of stochastic dynamics and deep learning develops a computational basis for analyzing spatial decision-making in animal behavior. The proposed approach contributes to computational models of cognition by linking observable behavior to internal processes in navigational tasks.

## Linked entities

- **Species:** Rattus norvegicus (taxon 10116)

## Full-text entities

- **Species:** Rattus norvegicus (brown rat, species) [taxon 10116]

## Figures

17 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12031716/full.md

---
Source: https://tomesphere.com/paper/PMC12031716