Multi-dataset Joint Pre-training of Emotional EEG Enables Generalizable Affective Computing

Qingzhu Zhang, Jiani Zhong, Zongsheng Li, Xinke Shen, Quanying Liu
10/25/2025
cs.LGcs.AIq-bio.NC

Official code: ncclab-sustech/mdJPT_nips2025 (24 stars, last commit 2026-04-01). 1 more implementation below.

Abstract

Task-specific pre-training is essential when task representations diverge from generic pre-training features. Existing task-general pre-training EEG models struggle with complex tasks like emotion recognition due to mismatches between task-specific features and broad pre-training approaches. This work aims to develop a task-specific multi-dataset joint pre-training framework for cross-dataset emotion recognition, tackling problems of large inter-dataset distribution shifts, inconsistent emotion category definitions, and substantial inter-subject variability. We introduce a cross-dataset covariance alignment loss to align second-order statistical properties across datasets, enabling robust generalization without the need for extensive labels or per-subject calibration. To capture the long-term dependency and complex dynamics of EEG, we propose a hybrid encoder combining a Mamba-like linear attention channel encoder and a spatiotemporal dynamics model. Our method outperforms state-of-the-art large-scale EEG models by an average of 4.57% in AUROC for few-shot emotion recognition and 11.92% in accuracy for zero-shot generalization to a new dataset. Performance scales with the increase of datasets used in pre-training. Multi-dataset joint pre-training achieves a performance gain of 8.55% over single-dataset training. This work provides a scalable framework for task-specific pre-training and highlights its benefit in generalizable affective computing. Our code is available at https://github.com/ncclab-sustech/mdJPT_nips2025.

View on arXivView PDF

Code Implementations(2)

repo for NIPS 2025 paper: Multi-dataset Joint Pre-training of Emotional EEG Enables Generalizable Affective Computing

245Shell, MATLABOct 23, 20256 months ago

repo for NIPS 2025 paper: Multi-dataset Joint Pre-training of Emotional EEG Enables Generalizable Affective Computing

00Shell, PythonSep 29, 20251 years ago

Cite this paper

@article{zhang2025multidataset,
  title  = {Multi-dataset Joint Pre-training of Emotional EEG Enables Generalizable Affective Computing},
  author = {Qingzhu Zhang and Jiani Zhong and Zongsheng Li and Xinke Shen and Quanying Liu},
  year   = {2025},
  eprint = {2510.22197},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.22197v1},
  journal = {NEURIPS 2025 2025}
}

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/2510.22197.svg)](https://codeofpaper.com/paper/2510.22197)

Discussion