Self-supervised ECG Representation Learning for Emotion Recognition

Pritam Sarkar, Ali Etemad
2/4/2020
eess.SPcs.LGstat.ML

Official code: pritamqu/SSL-ECG (49 stars, last commit 2025-05-24).

Abstract

We exploit a self-supervised deep multi-task learning framework for electrocardiogram (ECG) -based emotion recognition. The proposed solution consists of two stages of learning a) learning ECG representations and b) learning to classify emotions. ECG representations are learned by a signal transformation recognition network. The network learns high-level abstract representations from unlabeled ECG data. Six different signal transformations are applied to the ECG signals, and transformation recognition is performed as pretext tasks. Training the model on pretext tasks helps the network learn spatiotemporal representations that generalize well across different datasets and different emotion categories. We transfer the weights of the self-supervised network to an emotion recognition network, where the convolutional layers are kept frozen and the dense layers are trained with labelled ECG data. We show that the proposed solution considerably improves the performance compared to a network trained using fully-supervised learning. New state-of-the-art results are set in classification of arousal, valence, affective states, and stress for the four utilized datasets. Extensive experiments are performed, providing interesting insights into the impact of using a multi-task self-supervised structure instead of a single-task model, as well as the optimum level of difficulty required for the pretext self-supervised tasks.

View on arXivView PDF

Code Implementations(1)

pritamqu/SSL-ECGOfficial100%

Self-supervised ECG Representation Learning - ICASSP 2020 and IEEE T-AFFC

4912PythonJun 25, 20211 years agoNOASSERTION
affective-computingecgemotionself-supervised-learning

Cite this paper

@article{sarkar2020selfsupervised,
  title  = {Self-supervised ECG Representation Learning for Emotion Recognition},
  author = {Pritam Sarkar and Ali Etemad},
  year   = {2020},
  eprint = {2002.03898},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2002.03898}
}

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

Discussion