bioRxiv Science⌕ Search

Biology subjects

Passecker, J.

Publications and source records attributed to Passecker, J..

2 recordsLinked to original sources

Neurokraken: A fully flexible, open-source, python-based neuroscience behavior platform

A major challenge in behavioral neuroscience is the lack of a unified software framework capable of implementing diverse paradigms across species and experimental setups. Researchers currently face a trade-off: they must either spend significant time developing custom, siloed solutions that hinder reproducibility, or incur substantial costs purchasing inflexible, closed systems. Here, we present Neurokraken, an open-source, Python-native platform designed to overcome these limitations. Neurokraken allows writing experiment progression entirely in standard python, while its core architecture automatically sets up a microcontroller for the connected hardware components and enables python side access with millisecond-precision timing and automatic logging. The system prioritizes ease of use and flexibility, enabling advanced series of events and conditions, the usage of python ecosystem code and packages within experiments, and the addition of any arduino-compatible electronic devices for custom experiments. As a result, users can easily create interactive virtual and real environments to engage, monitor, and record subjects. We present Neurokrakens versatility across a wide range of paradigms, for human and non-human primate psychophysics, and complex rodent behavior in both head-fixed and freely moving paradigms. Its modular design allows for rapid hardware reconfiguration, while a fully customizable user interface enables real-time monitoring and interactive experimental control without compromising timing precision. By uniting laboratory-grade precision with an accessible and flexible open-source philosophy, Neurokraken provides a single, powerful solution to design and execute next-generation behavioral experiments. We hope Neurokraken helps accelerate research, improve reproducibility throughout the neuroscience community, and make advanced behavioral experimentation more accessible through its substantial cost-efficiency.

animal behavior and cognition↗

Computational mechanisms of curiosity and goal-directed exploration

Successful behaviour depends on the right balance between maximising reward and soliciting information about the world. Here, we show how different types of information-gain emerge when casting behaviour as surprise minimisation. We present two distinct mechanisms for goal-directed exploration that express separable profiles of active sampling to reduce uncertainty. Hidden state exploration motivates agents to sample unambiguous observations to accurately infer the (hidden) state of the world. Conversely, model parameter exploration, compels agents to sample outcomes associated with high uncertainty, if they are informative for their representation of the task structure. We illustrate the emergence of these types of information-gain, termed active inference and active learning, and show how these forms of exploration induce distinct patterns of Bayes-optimal behaviour. Our findings provide a computational framework to understand how distinct levels of uncertainty induce different modes of information-gain in decision-making.

neuroscience↗