Abstract: This paper introduces a self-supervised learning (SSL) framework for electrocardiogram (ECG)-based emotion recognition to address the challenge of limited labeled data. By pre-training a multi-task convolutional neural network (CNN) to recognize signal transformations on unlabeled data, the model learns robust feature representations. These features are then transferred to emotion recognition tasks, achieving state-of-the-art results on the SWELL and AMIGOS datasets and demonstrating significant performance gains even with minimal labeled data.
Introduction
Electrocardiogram (ECG) signals provide critical insights into human emotional states, such as arousal, valence, and stress. However, training deep learning models for these tasks is often hindered by "label scarcity," as high-quality, human-annotated emotion data is expensive and time-consuming to collect. To overcome this, the authors propose a Self-Supervised Learning (SSL) approach that leverages large amounts of unlabeled data to learn the underlying structure of ECG signals before fine-tuning on specific emotion recognition tasks.
Proposed Framework
The researchers developed a two-stage approach designed to maximize the utility of unlabeled physiological data:
- The Pretext Task (Self-Supervised): A multi-task Convolutional Neural Network (CNN) is trained on unlabeled ECG signals to identify six distinct artificial transformations: noise addition, scaling, negation, horizontal flipping, permutation, and time-warping. This process forces the network to learn the fundamental temporal characteristics and "shape" of a normal ECG signal.
- The Downstream Task (Emotion Recognition): The weights from the convolutional layers of the pretext model are "frozen" and transferred to a new network. Simple fully-connected layers are added on top and trained to classify affective states using labeled human data.
Experimental Setup
The method was evaluated on two public datasets:
- SWELL: Data from 25 participants in an office environment, focusing on mental stress.
- AMIGOS: Data from 40 participants watching emotional video clips to elicit affective reactions.
Signals were downsampled to 256 Hz and filtered to remove baseline wander noise caused by movement or respiration.
Results and Discussion
The SSL approach acted as a significant performance multiplier, particularly when labeled data was limited. Key findings include:
- State-of-the-Art Performance: The model outperformed previous benchmarks, including SVMs and standard CNNs. On the SWELL dataset, it achieved approximately 96% accuracy for arousal and 95.6% for valence. On AMIGOS, it reached 85.8% for arousal and 84% for valence.
- Data Efficiency: In a "1% test," where only 1% of the labeled data was used for the downstream task, the self-supervised model significantly outperformed standard supervised models, proving that the pretext task successfully "pre-loaded" the model with generalized feature representations.
- Robustness: The learned features demonstrated higher invariance to both inter-person and intra-person variations compared to models trained from scratch.
Conclusion
By teaching a model to recognize artificial distortions in ECG data, the authors demonstrated that deep learning can be effectively applied to physiological signals even when labeled datasets are small. This self-supervised framework provides a robust path forward for developing more accurate and data-efficient affective computing systems.
Summary updated