FOCUS: A Lightweight Mamba-2 Model for EEG-Based Cognitive Workload Classification
Authors: Ioannis Kyprakis, Stefanos Gkikas, Chariklia Chatzaki, Zongyi Jiang, Randy Gomez, Raul Fernandez Rojas
Organizations: Hellenic Mediterranean University, Heraklion, Greece · Honda Research Institute Japan, Wako City, Japan · University of Canberra, Canberra, Australia · BioSIS (Biosensing & Intelligent Systems) Lab, Centre for Intelligent Computing and Systems, University of Canberra, Canberra, Australia
Cognitive workload estimation from physiological signals is increasingly relevant in high-risk environments, where continuous and unobtrusive monitoring can inform adaptive systems and safety interventions. This paper presents FOCUS (Frequency-band Optimized Cognitive-load Ultralight SSM), a compact Mamba-2-based model for EEG-based binary workload classification under constrained data conditions. Rather than learning frequency sensitivity from data, FOCUS encodes preprocessed multi-channel EEG using a fixed FFT decomposition that covers the five canonical EEG bands. The proposed model combines depthwise-separable convolution and a weight-shared encoder-bottleneck Mamba-2 pair, with 0.04 million parameters and 0.11 GFLOPs. Evaluated in a pilot study with 11 participants under leave-one-subject-out cross-validation across three cognitively distinct tasks, FOCUS achieves 74.75% accuracy on the full dataset at 0.08 ms GPU model-forward latency. In the weight-sharing ablation, the shared configuration achieves 4.55 percentage points higher accuracy on the full dataset than the non-shared variant while reducing the SSM parameter budget; however, this difference does not reach statistical significance under a two-sided Wilcoxon signed-rank test (p=0.083). Overall, the selected FOCUS configuration provides a favorable trade-off between classification performance and computational cost within this controlled pilot setting.
Figures & tables
Fig. 1 : Overview of the proposed pipeline.
Configuration
Cost
Performance (%)
Config
Task
d
dstate
DWSep
Shared
Params (M)
GFLOPs
Accuracy
Precision
F1
A1 (selected)
IQ
64
16
✓
✓
0.04
0.11
67.42±6.84
69.33±7.97
66.77±7.00
MATH
64
16
✓
✓
75.76±7.91
77.00±7.89
75.43±8.06
GAME
64
16
✓
✓
76.14±7.96
78.83±7.66
75.43±8.39
ALL
64
16
✓
✓
74.75±10.54
76.29±10.00
74.13±11.11
A2 (no sharing)
IQ
64
16
✓
×
0.07
0.11
71.97±6.90
73.63±6.85
71.40±7.16
TABLE I : Ablation study over architectural configurations. A1 is selected based on the overall performance–cost trade-off.
Model
Task
Params (M)
GFLOPs
Acc (%)
Prec (%)
F1 (%)
EEGNet [ 30 ]
IQ
0.01
0.02
65.15±±6.5
65.90±±6.6
64.75±±6.7
MATH
63.64±±13.7
63.95±±13.9
63.32±±13.8
GAME
64.39±±9.5
64.93±±9.9
64.19±±9.4
mean ∗
64.47
1BT [ 21 ]
IQ
0.45
0.02
69.32±±7.8
71.22±±8.6
68.55±±8.2
MATH
67.05±±7.6
72.73±±7.3
64.43±±10.2
TABLE II : Comparison of FOCUS with published baselines and a plain Mamba-2 baseline evaluated in the present study, using the same dataset and subject-independent LOSO protocol.
Accurate and continuous estimation of cognitive workload is fundamental to creating adaptive human-machine systems. However, designing architectures that balance representational capacity with computational efficiency has been challenging for practical deployment. This paper introduces 1BT, a One-Block Transformer for compact and efficient EEG-based cognitive workload assessment. The model aggregates multi-channel temporal sequences via a minimal latent bottleneck, using a single cross-attention module followed by lightweight self-attention. A controlled study involving 11 participants performing three cognitively diverse tasks (abstract reasoning, numerical problem-solving, and an interactive video game) was conducted with continuous EEG recordings across two workload levels. Systematic architectural analysis identifies the most compact configuration that preserves high performance, while substantially lowering computational cost. The final model achieves high workload classification performance with under 0.5 million parameters and 0.02 GFLOPs, paving the way for a design direction for real-time cognitive workload monitoring in resource-constrained settings.
Stefanos Gkikas, Christian Arzate Cruz, Thomas Kassiotis +3
Honda Research Institute Japan · Wako City, Japan · Department of Electronic Engineering +6
Accurate and generalizable estimation of cognitive workload from electroencephalography (EEG) is critical for human-centered and safety-critical systems. Although EEG is widely used for workload assessment, the consistency of region-level EEG contributions across tasks, datasets, and subjects remains unclear. This paper presents a region-level evaluation framework for EEG-based workload prediction in which models are trained and evaluated using features extracted exclusively from electrodes belonging to anatomically defined scalp regions. We perform a large-scale analysis across four publicly available EEG workload datasets spanning diverse task demands, recording hardware, and electrode montages. Region importance is quantified using a model-agnostic, performance-based approach under both mixed-subject and subject-independent evaluation protocols, with results aggregated using a rank-based strategy to ensure robustness across experimental configurations. Across all datasets and subject-independent evaluations, frontal electrode groups outperform the full-scalp baseline by approximately 15-20% in relative rank position while using substantially fewer electrodes. Fronto-central regions exhibit the most stable predictive utility, whereas posterior and occipital regions contribute less consistently across experimental conditions. These findings indicate that workload-relevant EEG information is most consistently retained within frontal and fronto-central electrode groups, supporting the design of efficient and generalizable EEG-based workload monitoring systems.
Jacob Wong, Sohan Singh, Prannaya Gupta +3
School of InfoComm Technology, Ngee Ann Polytechnic · Engineering Product Development Pillar, Singapore University of Technology and Design · NUS High School of Math and Science
Objective: To enable continuous, long-term neuro-monitoring on wearable devices by overcoming the computational bottlenecks of Transformer-based Electroencephalography (EEG) foundation models and the quantization challenges inherent to State-Space Models (SSMs). Methods: We present FEMBA, a bidirectional Mamba architecture pre-trained on over 21,000 hours of EEG. We introduce a novel Physiologically-Aware pre-training objective, consisting of a reconstruction with low-pass filtering, to prioritize neural oscillations over high-frequency artifacts. To address the activation outliers common in SSMs, we employ Quantization-Aware Training (QAT) to compress the model to 2-bit weights. The framework is deployed on a parallel ultra-low-power RISC-V microcontroller (GAP9) using a custom double-buffered memory streaming scheme. Results: The proposed low-pass pre-training improves downstream AUROC on TUAB from 0.863 to 0.893 and AUPR from 0.862 to 0.898 compared to the best contrastive baseline. QAT successfully compresses weights with negligible performance loss, whereas standard post-training quantization degrades accuracy by approximately 30%. The embedded implementation achieves deterministic real-time inference (1.70~s per 5s window) and reduces the memory footprint by 74% (to ≈2MB), achieving competitive accuracy with up to \textbf{27×} fewer FLOPs than Transformer benchmarks. Conclusion: FEMBA demonstrates that Mamba-based foundation models can be effectively quantized and deployed on extreme-edge hardware without sacrificing the representation quality required for robust clinical analysis. Significance: This work establishes the first full-stack framework for deploying large-scale EEG foundation models on ultra-low-power wearables, facilitating continuous, SSM based monitoring for epilepsy and sleep disorders.
Anna Tegon, Nicholas Lehmann, Yawei Li +3
Integrated Systems Laboratory, ETH Zürich, Zürich, Switzerland · DEI, University of Bologna, Bologna, Italy