English

Subject-Aware Contrastive Learning for Biosignals

Machine Learning 2020-07-10 v1 Signal Processing Machine Learning

Abstract

Datasets for biosignals, such as electroencephalogram (EEG) and electrocardiogram (ECG), often have noisy labels and have limited number of subjects (<100). To handle these challenges, we propose a self-supervised approach based on contrastive learning to model biosignals with a reduced reliance on labeled data and with fewer subjects. In this regime of limited labels and subjects, intersubject variability negatively impacts model performance. Thus, we introduce subject-aware learning through (1) a subject-specific contrastive loss, and (2) an adversarial training to promote subject-invariance during the self-supervised learning. We also develop a number of time-series data augmentation techniques to be used with the contrastive loss for biosignals. Our method is evaluated on publicly available datasets of two different biosignals with different tasks: EEG decoding and ECG anomaly detection. The embeddings learned using self-supervision yield competitive classification results compared to entirely supervised methods. We show that subject-invariance improves representation quality for these tasks, and observe that subject-specific loss increases performance when fine-tuning with supervised labels.

Keywords

Cite

@article{arxiv.2007.04871,
  title  = {Subject-Aware Contrastive Learning for Biosignals},
  author = {Joseph Y. Cheng and Hanlin Goh and Kaan Dogrusoz and Oncel Tuzel and Erdrin Azemi},
  journal= {arXiv preprint arXiv:2007.04871},
  year   = {2020}
}
R2 v1 2026-06-23T16:59:18.693Z