arXiv · 2611.35421
Explaining Deep EEG Emotion Classifiers with Central Counterfactuals
Abstract
Counterfactual explanations of electroencephalography (EEG) deep learning models may provide actionable insights for downstream applications. However, they can be incompatible with target-class distributions and may produce unrealistic EEG patterns. We propose a framework for generating counterfactual explanations under distributional and physiological constraints. A joint variational classifier-decoder combines affect prediction and EEG reconstruction with adversarial regularization to reduce subject-specific information. The counterfactual objective combines target-class prediction loss, class-conditional density regularization, proximity penalties in latent and reconstructed feature spaces, and physiological constraints on decoded EEG. Typicality optimization aims to generate counterfactual explanations central to the learned target-class distribution in latent space and express the corresponding changes in interpretable EEG frequency-band features. On DREAMER, we averaged ten window probabilities per trial. In leave-one-subject-out evaluation, EEG reconstruction achieved $R^2\simeq0.47$ and trial-level recognition of self-reported emotion was above chance. For eligible, correctly classified trials, we decoded counterfactuals and re-encoded the resulting EEG windows. Full counterfactual optimization (CFO) combined typicality regularization with additional refinement and achieved decoded target-class validity of 67.3% for arousal and 88.8% for valence, versus 24.4% and 48.6% for base CFO. At the 10th-percentile Gaussian discrepancy cutoff for source target-class recordings, full CFO achieved acceptance rates of 40.1% for arousal and 58.4% for valence. Our counterfactual explanations revealed that both models were sensitive to EEG window edges. Edits confined to the first and last 250 ms of each six-second window preserved all 202 tested prediction flips across valence and arousal.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Vitor Inserra, Amit Chalmeti, Pranav Mucharla, Yashasree Gadipalli, Neha Panda, Sai Nagamalla, Gabriel Matos, Rosie Dutt, Raghavendra Pradyumna Pothukuchi, Richard L. Marks. 2026-11-26. Explaining Deep EEG Emotion Classifiers with Central Counterfactuals. https://arxiv.science/abs/2611.35421
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.