bioRxiv · 10.64898/2026.07.13.738298
Closed-loop control of in vitro neuronal activity using reinforcement learning after in silico pre-training
Abstract
Controlling specific neuronal dynamics with electrical stimulation is critical for therapeutic neuromodulation, yet deriving optimal control policies remains challenging due to the complex and non-stationary nature of biological neuronal networks. While reinforcement learning (RL) offers a powerful closed-loop control framework, its reliance on prolonged stimulus-driven exploration is difficult to reconcile with the physiological limits of living tissue. Here, we demonstrate an in silico-to-in vitro transfer strategy that achieves efficient state-dependent control of network bursting in cultured neurons. The transferred policy outperforms heuristic controls, while maintaining constrained stimulation usage. Concurrent calcium imaging reveals the mechanistic basis of the learned policy: the agent optimizes stimulation spatially and temporally, exploiting local network topology and intrinsic physiological temporal dynamics. These results establish in vitro brain-on-chip cultures as a tractable stepping stone for RL-based neuromodulation and demonstrate that effective control policies can be derived in biophysically calibrated digital twins and transferred directly to living networks.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Carvalho, E., Mateus, J. C., Pinto, R., Aroso, M., Aguiar, P.. 2026-07-20. Closed-loop control of in vitro neuronal activity using reinforcement learning after in silico pre-training. https://doi.org/10.64898/2026.07.13.738298
Cite the original work for its findings. Save a collection to share your selection of sources.