- KimiFormer is an end to end hybrid attention Conformer that tokenises raw multichannel EEG with a hierarchical spatio‑temporal Stemming module.
- Achieved 95.5% accuracy under record‑wise leave‑one‑record‑out cross‑validation, 97.0% under 10‑fold cross‑validation on the 14‑channel Violence dataset.
- Lightweight and low‑latency, 3.2M parameters, 1.51 GFLOPs, 15.64 ms per sample, yet subject‑independent performance on DREAMER remained near chance.
Sensors (Basel). 2026 Nov 3;26(21):6943. doi: 10.3390/s26216943.
ABSTRACT
Recognizing affective states from electroencephalography (EEG) is a core task in affective computing, with applications in mental health monitoring and public safety. Most existing approaches rely on handcrafted features or image-based transformations of EEG, while transformer models capture global context at high computational cost. This study proposes KimiFormer, an end-to-end hybrid-attention Conformer that classifies raw EEG directly. A hierarchical Spatio-Temporal Stemming (STS) module tokenizes the multichannel signal and learns inter-electrode relationships. Stacked Conformer blocks combine linear and full attention in a 3:1 ratio, reducing computational cost while preserving long-range modeling. The model was evaluated on the public EEG Violence Dataset, recorded with a 14-channel wearable headset from 14 participants viewing violent and neutral videos. Under record-wise leave-one-record-out cross-validation with nested selection of the training hyperparameters, KimiFormer achieved 95.5% accuracy (97.0% under 10-fold cross-validation). On the external DREAMER dataset, its subject-independent performance remained close to chance (balanced accuracy 52.7% for valence and 50.2% for arousal), as did that of two established raw-EEG models. Ablation showed the STS module to be essential (65% accuracy without it). With 3.2 M parameters, 1.51 GFLOPs and an inference latency of 15.64 ms per sample, KimiFormer is suited to real-time, on-device processing of low-channel wearable EEG.
PMID:43029741 | DOI:10.3390/s26216943
Share Evidence Blueprint
Save to Google Notes

Search Google Scholar
⭐ My Revision List

