Search bioRxiv⌕ Search

Biology subjects

Johnsen, K. A.

Publications and source records attributed to Johnsen, K. A..

2 recordsLinked to original sources

Feasible closed-loop stimulation for neural latent dynamics control

Modern neuroscience benefits from powerful computational and experimental methods for studying neural populations, including latent dynamics models that predict behavior with few dimensions. But despite their explanatory utility, latent factors are seldom targeted explicitly with experimental perturbations, leaving causal relationships to behavior and inferred dynamical landscapes untested. A promising solution is closed-loop, multi-channel optogenetic control, which, when paired with model predictions, could steer neural trajectories in real time--a feat impossible for traditional, hand-designed stimulation. However, because closed-loop latent control has not been demonstrated in vivo, the hardware and software requirements remain unclear--particularly the necessary stimulation dimensionality and how limited resources such as implant volume and bandwidth should be allocated between stimulation and recording capabilities. Preliminary experiments would thus help guide ongoing technological development. As large-scale exploration of these design spaces in vivo is prohibitively expensive, we conducted a high-throughput simulation survey using biophysically grounded spiking neural networks. We found that low-dimensional actuation is sufficient: in the reference configuration, ~20% of the stimulation channels achieved ~85% of peak control performance, far fewer than the number of neurons. Furthermore, allocating channels roughly equally between stimulation and recording optimized behavioral control, whereas pairing many electrodes with a single light source--the prevailing practice in experimental labs--performed poorly. Even without heavily optimizing modeling or control, we obtained >60% tracking error reduction and >90% evoked behavior accuracy on average for optimal channel counts. These results held across extensive parameter variations, suggesting that closed-loop latent control is feasible with accessible channel counts and establishing design principles for future tool development and in vivo experiments.

neuroscience↗

Cleo: a testbed for bridging model and experiment by simulating closed-loop stimulation, electrode recording, and optogenetics

Systems neuroscience has experienced an explosion of new tools for reading and writing neural activity, enabling exciting new experiments (e.g., all-optical interrogation, closed-loop control) for interrogating neural circuits. Unfortunately, these advances have drastically increased the complexity of designing experiments, with ad hoc decisions often resulting in suboptimal or even failed experiments. Bridging model and experiment via simulation can help solve this problem, leveraging advances in computational models to provide a low-cost testbed for experiment design, model validation, and methods engineering. Specifically, we require an integrated approach that incorporates simulation of the experimental interface into computational models, but no existing tool integrates optogenetics, two-photon calcium imaging, electrode recording, and flexible closed-loop processing with neural population simulations. To address this need, we have developed Cleo: the Closed-Loop, Electrophysiology, and Optophysiology experiment simulation testbed. Cleo is a Python package enabling injection of virtual recording and stimulation devices as well as closed-loop control with realistic latency into a Brian spiking neural network model. Notably, it is the only publicly available tool to date simulating two-photon and multi-opsin/wavelength optogenetics. To facilitate adoption and extension by the community, Cleo is open-source, modular, tested, and documented, and can export results to various data formats. Here we describe the design and features of Cleo, evaluate output of individual components and integrated experiments, and demonstrate its utility for advancing optogenetic techniques in prospective experiments using previously published systems neuroscience models.

neuroscience↗