Practical Flow State Detection: Entropy-Based EEG Classification from Portable EEG Headbands
Authors:
- Matin BeiramvandMBMatin Beiramvand
- Reijo KoivulaRKReijo Koivula
- Tarmo LippingTLTarmo Lipping
Preprint
- 6 February 2026
- preprint
- Published by Elsevier in SSRN Electronic Journal
Abstract
Flow state, characterized by deep engagement and immersion during challenging activities, represents a valuable mental state with significant implications for learning, performance, and rehabilitation outcomes. While flow has been extensively studied behaviorally, objective neurophysiological detection methods suitable for real-world deployment remain limited. Electroencephalography (EEG) offers a promising avenue for flow detection due to its accessibility, portability, and superior temporal resolution; however, the utility of consumer-grade EEG devices for robust, and subject-independent flow classification has been insufficiently explored. This study validates entropy-based biomarkers for flow state detection using two wearable EEG headsets, Muse-S and Emotiv Insight, across 45 participants performing adaptive Tetris gameplay. After denoising, we applied the Discrete Wavelet Transform (DWT) to decompose the signals into multiple frequency sub-bands. From each subband, entropy-based features, combining channel-wise measures (Slope Entropy, Distribution Entropy, Spectral Entropy) with cross-channel descriptors (Cross Distribution Entropy, Cross Spectral Entropy)were extracted. These features were then used as input to a Random Forest classifier (RF), evaluated with two validation schemes: Random Sampling(RS) and Leave-One-Subject-Out (LOSO). Under random sampling cross-validation, Random Forest classifiers achieved 97% mean accuracy; under the more rigorous leave-one-subject-out (LOSO) scheme, average accuracy reached 75%, demonstrating genuine cross-subject generalizability. Comprehensive multi-classifier validation (SVM-RBF, GentleBoost, k-NN, FittedDiscriminant, Naive Bayes) confirmed that entropy biomarkers are robust across diverse modeling frameworks. These findings establish features as reliable, device-independent neural signatures of flow and demonstrate the feasibility of consumer EEG for practical flow detection in real-world scenarios, a critical advancement toward deployable neuroergonomic assessment, adaptive training systems, and personalized rehabilitation interventions.Keywords
This publication has 25 references indexed in Scilit:
- Can flow proneness be protective against mental and cardiovascular health problems? A genetically informed prospective cohort studyTranslational Psychiatry, 2024
- Wearable-based human flow experience recognition enhanced by transfer learning methods using emotion dataComputers in Biology and Medicine, 2023
- The brain in flow: A systematic review on the neural basis of the flow stateCortex, 2022
- Physiological correlates of the flow experience during computer game playingInternational Journal of Psychophysiology, 2015
- Neural correlates of experimentally induced flow experiencesNeuroImage, 2014
- Physiological aspects of flow experiences: Skills-demand-compatibility effects on heart rate variability and salivary cortisolJournal of Experimental Social Psychology, 2011
- The psychophysiology of flow during piano playing.Emotion, 2010
- Neurocognitive mechanisms underlying the experience of flowConsciousness and Cognition, 2004
- Ocean cruising1988
- Women, work, and flow1988