Skip to content
Open access

NeuralRNN: a unified framework for recurrent neural network methods in cognitive neuroscience

Sep 2026 · bioRxiv · 0 citations · 52 references
Biology

TL;DR

This work introduces NeuralRNN, an open-source Python framework that unifies these paradigms and model variants in a general-purpose pipeline, and provides an integrated and extensible model library spanning generic, structure-constrained, gain-modulated, and gated RNNs.

Abstract

Recurrent neural networks (RNNs) provide a central tool in neuroscience to optimize cognitive tasks and reconstruct dynamical systems. Around these two paradigms, many RNN model variants have been tailored to capture specific computations of the brain. In practice, however, this methodological diversity remains difficult to exploit, because different paradigms and model variants are mostly implemented in idiosyncratic, study-specific code. Here we introduce NeuralRNN, an open-source Python framework that unifies these paradigms and model variants in a general-purpose pipeline. NeuralRNN brings task optimization, dynamical system reconstruction, and biological constraints into a single objective interface. It also provides an integrated and extensible model library spanning generic, structure-constrained, gain-modulated, and gated RNNs. Furthermore, data, models, and training are constructed through a shared automated pipeline and are equipped with a suite of tools for dynamical systems analysis. Together, NeuralRNN lowers the barrier to implementing, comparing, and extending RNN methods in neuroscience.

Read PDF

Similar papers

Open access Oct 2026

A dual-time-scale cooperative memory mechanism for spiking neural networks.

Spiking neural networks (SNNs), as core models of brain-inspired computing, simulate the computational mechanisms of biological neural systems. However, existing models lack the division of labor and collaboration mechanisms found in biological fast and slow neural populations, making it difficult for single-timescale...

Jun-Xiu Liu, Zhao-Xin Zhang, Qiang Fu et al. · 0 citations
Open access Sep 2026

A common structure in recurrent networks supports neural sequence generation locally and in downstream neurons

Neural sequences, characterized by neurons or groups of neurons that fire one after the other, have been observed in multiple brain regions, across species, and are known to underlie a diversity of brain functions. To flexibly support behaviour and cognition, neural sequences exhibit much variability in properties like...

Lea Marie Braun, Mathias Karsrud Nordal, Silje-Neneva Hanssen Rambø et al. · 0 citations
Open access Sep 2026

Shallow recurrent decoders for neural and behavioural dynamics

A SHallow REcurrent Decoder (SHRED) architecture for mapping the dynamics of population codes to individual neurons and other proxy measures of neural activity and behaviour and empirically demonstrate the capabilities of the method on a number of model organisms including Caenorhabditis elegans, mouse, zebrafish and h...

A. Rude, J. Kutz · 0 citations
Sep 2026

NDIB-Sim: A Multimodal Bidirectional PINN Model for Simulating Brain Dynamics.

Constructing dynamic virtual brain models is essential for understanding brain functions and pathological mechanisms, crucial in computational neuroscience. Current modeling methods can be grouped into two paradigms: deep learning models for accurate simulation, and neural dynamics models emphasizing physiological inte...

Lan Yang, Xiao-Yu Cui, Ting Li et al. · 0 citations
Open access Aug 2026

Weight initialization shapes task organization in recurrent neural networks

It is found that networks with low initial weight variance converge to solutions in which different subtasks rely on largely overlapping weight subspaces, whereas high-variance networks implement subtasks in higher-dimensional, more segregated weight subspaces.

R. Krause, V. Mante · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.