Unassigned · 2026-11-30

Explaining Deep EEG Emotion Classifiers with Central Counterfactuals

Vitor Inserra, Amit Chalmeti, Pranav Mucharla, Yashasree Gadipalli, Neha Panda, Sai Nagamalla, Gabriel Matos, Rosie Dutt, Raghavendra Pradyumna Pothukuchi, Richard L. Marks

arXiv:2611.35421PDF

AI-assisted summary based on the paper. Consult the linked source for methods and limitations. Benchmark numbers appear after editor verification.

Abstract (from arXiv)

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.

Related papers

Publication record

Bibliographic evidence describes where and when a record appeared. It does not validate scientific claims.

First announced by arXiv: 2026-11-30 · Indexed by Pub-AI: 2026-11-30 UTC

preprint

Explaining Deep EEG Emotion Classifiers with Central Counterfactuals

Vitor Inserra, Amit Chalmeti, Pranav Mucharla, Yashasree Gadipalli, Neha Panda, Sai Nagamalla, Gabriel Matos, Rosie Dutt, Raghavendra Pradyumna Pothukuchi, Richard L. Marks

First announced by arXiv: 2026-11-30 · Original record ↗

arxiv
2611.35421
Explicit source versions (1)
  • v1 · Date not supplied
  1. Preprint available

    Source date: 2026-11-30 · First detected: 2026-11-30 UTC · Historical baseline

    Source evidence (1)
    • Official evidence ↗ · RSS guid=oai:arXiv.org:2611.35421v1; arxiv:announce_type=new; item pubDate (official metadata)
Abstract · arxiv

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.