TL;DR
Electroencephalography-based Emotion Recognition (EEG-ER) is held back by a reproducibility crisis caused by fragmented and inconsistent evaluation protocols. This paper reviews 216 studies to expose these systemic flaws and introduces EEGAIN, an open-source framework designed to standardize data pre-processing, splitting, and evaluation across six major datasets.
What Problem Does This Paper Address?
While reading the mind to decode emotions sounds like science fiction, EEG-ER has become a highly active research field. However, the field faces a major roadblock: it is currently impossible to fairly compare different machine learning models or track true state-of-the-art (SOTA) progress.
Because there is no unified evaluation protocol, researchers independently make critical pipeline decisions that fundamentally alter their results. These include applying different filtering and downsampling rates, using varied train-test splitting strategies (e.g., mixing data from the same subject vs. strict cross-subject testing), choosing inconsistent thresholds to convert continuous emotional ratings into binary labels, and relying heavily on accuracy metrics even when datasets are highly imbalanced. This paper aims to diagnose these inconsistencies and provide a standardized software solution to unify the community.
Methods
The authors tackle this problem with a two-pronged approach:
- A Systematic Literature Review: They analyzed 216 papers published between 2018 and 2023, mapping out exactly where evaluation pipelines diverge.
- The EEGAIN Framework: To fix the fragmentation, they developed an open-source Python framework (Evaluation in EEG Groundwork and Analysis Integrated Network).
EEGAIN standardizes the entire machine learning pipeline. It provides single-line data loading, uniform pre-processing (notch/band-pass filtering, windowing), standardized data splitting (Leave-One-Subject-Out [LOSO] and Leave-One-Trial-Out [LOTO]), out-of-the-box implementations of popular EEG architectures (EEGNet, DeepConvNet, ShallowConvNet, and TSception), and a robust logging block tied to TensorBoard that tracks metrics like F1-score, Cohen’s Kappa, and Matthews Correlation Coefficient (MCC).
Datasets
The paper integrates and benchmarks six of the most prominent publicly available EEG-ER datasets:
- DEAP (32 subjects, dimensional labels)
- SEED (15 subjects, categorical labels)
- DREAMER (23 subjects, dimensional labels)
- SEED-IV (15 subjects, categorical labels)
- MAHNOB-HCI (27 subjects, both label types)
- AMIGOS (40 subjects, dimensional labels)
The literature review revealed a heavy dataset monoculture, with DEAP and SEED dominating the research landscape.
Key Insights and Ideas
- The Threshold Trap: For datasets with continuous emotional ratings (like valence and arousal from 1 to 9), researchers choose arbitrary thresholds to binarize the data into "high" vs "low" classes. The authors show that changing a threshold from $\le 5$ to $\le 4$ on the DEAP dataset shifts the class distribution drastically. A naive, majority-class classifier would achieve 56.5% accuracy in the first case but jumps to 72.2% in the second—proving that comparing raw accuracies across papers with different thresholds is entirely meaningless.
- The Cross-Subject Wall: Generalizing emotion recognition models across different human brains (subject-independent classification) remains incredibly difficult. When evaluated under a unified, rigorous protocol, many complex deep learning models fail to outperform trivial baseline models on dimensional datasets.
- Categorical vs. Dimensional Success: Deep learning models show genuine predictive power on datasets using discrete categorical labels (e.g., happy, sad, neutral in SEED), but struggle significantly on continuous dimensional scales (valence/arousal).
Key Results
The authors established a rigorous, unified benchmark using Leave-One-Subject-Out (LOSO) cross-validation across all six datasets:
- Validation: They successfully validated EEGAIN by replicating the TSception architecture on the DEAP dataset, matching the original authors' results within a minor, acceptable replication variance (~2%).
- Dimensional Performance: On MAHNOB, DEAP, AMIGOS, and DREAMER, popular models like EEGNet and TSception frequently performed on par with or worse than a trivial baseline (which simply predicts the majority class or samples from the class distribution). For instance, on DEAP Arousal, the trivial baseline achieved an accuracy of 0.59, while the best deep learning model (DeepConvNet) only hit 0.57.
- Categorical Performance: On the SEED dataset, deep learning models showed substantial improvements over baselines. DeepConvNet achieved a macro-averaged weighted F1-score of 0.52, vastly outperforming the trivial baseline of 0.34.
Limitations and Future Work
The primary limitation remains the intrinsic nature of EEG data: small sample sizes (typically fewer than 100 participants) and massive inter-subject variability caused by physiological differences and day-to-day variations.
The authors suggest that future work must move away from relying solely on accuracy and embrace multi-dataset benchmarking. They advocate for the widespread adoption of domain adaptation techniques to overcome the cross-subject generalization barrier and urge the community to use EEGAIN's default binarization thresholds to ensure future comparisons are scientifically sound.
Summary updated