Cross-domain EEG-based Emotion Recognition with Contrastive Learning

Rui Yan, Yibo Li, Han Ding, Fei Wang
11/7/2025
cs.CV

Official code: Departure2021/EmotionCLIP (12 stars, last commit 2025-12-22). 1 more implementation below.

Abstract

Electroencephalogram (EEG)-based emotion recognition is vital for affective computing but faces challenges in feature utilization and cross-domain generalization. This work introduces EmotionCLIP, which reformulates recognition as an EEG-text matching task within the CLIP framework. A tailored backbone, SST-LegoViT, captures spatial, spectral, and temporal features using multi-scale convolution and Transformer modules. Experiments on SEED and SEED-IV datasets show superior cross-subject accuracies of 88.69\% and 73.50\%, and cross-time accuracies of 88.46\% and 77.54\%, outperforming existing models. Results demonstrate the effectiveness of multimodal contrastive learning for robust EEG emotion recognition. The code is available at https://github.com/Departure2021/EmotionCLIP.

View on arXivView PDF

Code Implementations(2)

122PythonNov 26, 202510 months ago
MIT

A clean PyTorch implementation of EmotionCLIP (arXiv:2511.05293). Features a modular architecture with a custom Trainer class for reproducibility and extendability.

00PythonNov 29, 202510 months agoMIT

Similar Papers

Cite this paper

@article{yan2025crossdomain,
  title  = {Cross-domain EEG-based Emotion Recognition with Contrastive Learning},
  author = {Rui Yan and Yibo Li and Han Ding and Fei Wang},
  year   = {2025},
  eprint = {2511.05293},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.05293v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.05293.svg)](https://codeofpaper.com/paper/2511.05293)

Discussion