EmotionCLIP: Bridging the Gap Between Brain Waves and Language for Robust Emotion Recognition

Cross-Domain EEG-Based Emotion Recognition with Contrastive Learning

2026-01-01
Rui Yan, Yibo Li, Han Ding, Fei Wang
Summary
Problem
Method
Results
Takeaways
Abstract

This paper introduces EmotionCLIP, a novel multimodal framework that reformulates EEG-based emotion recognition as an EEG-text matching task using a contrastive learning paradigm. By integrating a specialized SST-LegoViT backbone with a pre-trained CLIP text encoder, the model achieves state-of-the-art cross-subject accuracies of 88.69% (SEED) and 73.50% (SEED-IV).

TL;DR

EmotionCLIP is a breakthrough framework that treats EEG emotion recognition as a vision-language matching problem rather than simple classification. By mapping complex, 4D EEG signals into a shared semantic space with textual emotion descriptions, it achieves a new SOTA in cross-subject and cross-time generalization, hitting 88.69% accuracy on the SEED benchmark.

Problem & Motivation: The "Individual" Barrier

The "holy grail" of affective computing is a system that understands emotions across different people. However, EEG signals are notoriously "messy"—they change based on a person’s scalp thickness, electrode placement, and even their mood on a different day (non-stationarity).

Previous approaches tried Domain Adaptation (aligning person A's data to person B's), but this is like trying to align two constantly shifting clouds. The authors' insight is brilliant: Why not align brain waves to a stable anchor? Textual labels like "Happy" or "Sad" carry universal semantic meaning. By using a pre-trained CLIP text encoder as a compass, the model can project noisy EEG data onto a stable linguistic map.

Methodology: The SST-LegoViT Architecture

To make this mapping work, the EEG signals need to be processed with extreme precision. The authors propose the SST-LegoViT (Spatial-Spectral-Temporal Lego Vision Transformer).

1. 4D EEG Representation

Instead of treating EEG as a 1D wave, they transform it into a 4D tensor: Time × Frequency × Height × Width. This captures the "where" (spatial), "what speed" (spectral), and "when" (temporal) of brain activity.

2. Multi-Scale & Feature Fusion

  • Spatial Multi-scale Encoder: Replaces the standard FFN in Transformer blocks with parallel 1x1, 3x3, and 5x5 convolution kernels to capture brain activity at different resolutions.
  • Legoformer: A specialized module that fuses Differential Entropy (DE) and Power Spectral Density (PSD). It uses cross-attention where DE acts as the primary "context" to guide the inclusion of auxiliary PSD info.

Overall Architecture Fig 1. The EmotionCLIP Framework: Matching EEG embeddings with frozen CLIP text embeddings.

LegoFormer Detail Fig 2. LegoFormer: Fusing spectral features via cross-attention.

Experiments & Results: Setting a New SOTA

The model was tested against rigorous Leave-One-Subject-Out (LOSO) protocols, which is the most challenging "real-world" test for EEG.

  • Cross-Subject (SEED): EmotionCLIP achieved 88.69%, beating the previous best (MSFR-GCN) by nearly 2%.
  • Cross-Time Stability: Even when trained on session 1 and tested on session 3 (days apart), the model maintained high performance (~88%), proving it doesn't just memorize specific session noise.

The Power of Few-Shot

Interestingly, while the model has zero-shot capabilities, its accuracy jumps significantly with just 32 samples (32-shot). This suggests that while the linguistic space provides a great starting point, a small amount of "brain-tuning" is essential to bridge the gap between abstract language and biological signals.

Experimental Results Table 1. EmotionCLIP-32 outperforms SOTA baselines across multiple datasets.

Critical Analysis & Conclusion

Takeaway

EmotionCLIP proves that Contrastive Multimodal Learning is not just for images and text. By using the rich semantic priors of LLM-based text encoders, we can regularize biological signals that are otherwise too variable to model effectively.

Limitations & Future Work

  • Backbone Size: While called "lightweight," the 4D convolution and Transformer stack still require significant compute compared to simple RNNs.
  • Text Prompting: The performance is sensitive to the 16 templates used. Future work could explore Learnable Prompts (Prompt Tuning) specifically for neural signals.
  • Label Granularity: Current datasets focus on discrete emotions (Happy, Sad). The next step is applying this to the Valence-Arousal continuous space.

EmotionCLIP marks a significant step toward "universal" brain-computer interfaces that don't need hours of calibration for every new user.

Find Similar Papers

Try Our Examples

  • Search for recent papers that utilize CLIP-based multimodal alignment for physiological signals beyond EEG, such as ECG or EMG.
  • What are the current state-of-the-art methods for zero-shot EEG decoding, and how do they handle the domain shift between linguistic concepts and neural activity?
  • Find studies investigating the use of "Legoformer" or similar modular transformer architectures for multi-feature fusion in time-series data.
Contents
EmotionCLIP: Bridging the Gap Between Brain Waves and Language for Robust Emotion Recognition
1. TL;DR
2. Problem & Motivation: The "Individual" Barrier
3. Methodology: The SST-LegoViT Architecture
3.1. 1. 4D EEG Representation
3.2. 2. Multi-Scale & Feature Fusion
4. Experiments & Results: Setting a New SOTA
4.1. The Power of Few-Shot
5. Critical Analysis & Conclusion
5.1. Takeaway
5.2. Limitations & Future Work