bioRxivNeurosciencePreprint
A framework for closed-loop neurofeedback for real-time EEG decoding
Greta TuckuteiD, Sofie Therese HanseniD, Troels W. KjæriD, Lars Kai HanseniD
Abstract
Neurofeedback based on real-time brain imaging allows for targeted training of brain activity with demonstrated clinical applications. A rapid technical development of electroen-cephalography (EEG)-based systems and an increasing interest in cognitive training has lead to a call for accessible and adaptable software frameworks. Here, we present and outline the core components of a novel open-source neurofeedback framework based on scalp EEG signals for real-time neuroimaging, state classification and closed-loop feedback.\n\nThe software framework includes real-time signal preprocessing, adaptive artifact rejection, and cognitive state classification from scalp EEG. The framework is implemented using exclusively Python source code to allow for diverse functionality, high modularity, and easy extendibility of software development depending on the experimenters needs.\n\nAs a proof of concept, we demonstrate the functionality of our new software framework by implementing an attention training paradigm using a consumer-grade, dry-electrode EEG system. Twenty-two participants were trained on a single neurofeedback session with behavioral pre- and post-training sessions within three consecutive days. We demonstrate a mean decoding error rate of 34.3% (chance=50%) of subjective attentional states. Hence, cognitive states were decoded in real-time by continuously updating classification models on recently recorded EEG data without the need for any EEG recordings prior to the neurofeedback session.\n\nThe proposed software framework allows a wide range of users to actively engage in the development of novel neurofeedback tools to accelerate improvements in neurofeedback as a translational and therapeutic tool.
- Citations
- 1
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
- Decoded EEG Neurofeedback-Guided Cognitive Reappraisal Training for Emotion Regulation
Linling Li, Xueying Gui, … Zhiguo Zhang·Cognitive NeurodynamicsPeer-reviewed·May 3, 2024
- Real-Time EEG Neurofeedback as a Tool to Improve Neural Entrainment to Speech
F. J. Carrera Arias, N. Molinaro, M. Lizarazu·bioRxiv·Apr 19, 2021
- Simple Neurofeedback via Machine Learning: Challenges in real time multivariate assessment of meditation state
Sruthi Susan Kuriakose, Aishwarya Swamy, … Arun Sasidharan·bioRxiv·Sep 27, 2022
- NeuroSimo: an open-source software for closed-loop EEG- or EMG-guided TMS
Olli‐Pekka Kahilakoski, Kyösti Alkio, … Timo Roine·bioRxiv·Apr 5, 2025
- RealtimeDecoder: A fast software module for online clusterless decoding
Joshua P. Chu, Michael E. Coulter, … Loren M. Frank·eNeuroPeer-reviewed·Nov 20, 2025
- Decoding EEG for optimizing naturalistic memory
Joseph H. Rudoler, James P Bruska, … Michael J. Kahana·Journal of Neuroscience MethodsPeer-reviewed·Oct 1, 2024