bioRxivNeurosciencePreprint
AutoNeuro: An Open-Source fMRI Toolbox for Real-Time Neuroadaptive Task Design
Oliver Sherwood, David HaydockiD, Raha RaziniD, Frederic DickiD, Robert LeechiD
Abstract
Real-time functional magnetic resonance imaging (fMRI) offers a powerful means of studying brain function adaptively, enabling experimental parameters to be updated dynamically in response to ongoing neural activity. However, current approaches remain limited by complex infrastructure requirements, bespoke implementations, and a lack of flexible frameworks for closed-loop neuroimaging, with many primarily focusing on neurofeedback experimental designs. Here we present AutoNeuro, an open-source framework for real-time fMRI acquisition, preprocessing, feature extraction, and adaptive experimental control. AutoNeuro connects directly to the MRI scanner, receiving reconstructed slices as soon as they become available, and streams them into a modular analysis pipeline designed for low-latency processing. Neural features are estimated at the temporal resolution of acquisition and are passed to a Bayesian optimisation agent that selects task conditions to maximise a user-defined objective function. Experimental conditions are represented within a bounded "experiment space", allowing heterogeneous conditions to be explored within a common coordinate system. We demonstrate AutoNeuro in a real-time fMRI experiment in which the system adaptively sampled task conditions to obtain a continuous map of brain response to the range of conditions contained within the experimental space. The system operated within the temporal constraints of real-time preprocessing and analysis, maintaining stable model estimates across iterations, converging on experimental conditions most relevant to the measured brain metric. These results establish AutoNeuro as a flexible platform for closed-loop neuroimaging, supporting hypothesis-driven optimisation as well as exploratory mapping of brain metrics across large experimental spaces.
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Reinforcement Learning via Brain Feedback for real-time fMRI-based adaptive stimulus generation
Giuseppe Gallitto, Robert Englert, … Tamás Spisák·bioRxiv·Aug 17, 2026
- PyDecNef: An open-source framework for fMRI-based decoded neurofeedback
Pedro Margolles, Najemeddine Abdennour, … David Soto·bioRxiv·Oct 2, 2023
- A framework for offline evaluation and optimization of real-time algorithms for use in neurofeedback, demonstrated on an instantaneous proxy for correlations
Michal Ramot, Javier González-Castillo·NeuroImagePeer-reviewed·Dec 13, 2018
- Motion and physiological noise effects on amygdala real-time fMRI neurofeedback learning
Lydia Hellrung, Viola Borchardt, … Johan N. van der Meer·bioRxiv·Jul 13, 2018
- improv: A software platform for real-time and adaptive neuroscience experiments
Anne Draelos, Matthew D. Loring, … Eva A. Naumann·bioRxiv·Feb 22, 2021
- Determinants of Real-Time fMRI Neurofeedback Performance and Improvement: a Machine Learning Mega-Analysis
Amelie Haugg, Fabian M. Renz, … David Steyrl·bioRxiv·Oct 21, 2020