Mixing Up Contrastive Learning: Self-Supervised Representation Learning for Time Series

Kristoffer Wickstrøm, Michael Kampffmeyer, Karl Øyvind Mikalsen, Robert Jenssen
3/17/2022
stat.MLcs.AIcs.LG
contrastive-ssl

Official code: Wickstrom/MixupContrastiveLearning (22 stars, Python, MIT, last commit 2026-10-10).

Abstract

The lack of labeled data is a key challenge for learning useful representation from time series data. However, an unsupervised representation framework that is capable of producing high quality representations could be of great value.

Show full abstract

It is key to enabling transfer learning, which is especially beneficial for medical applications, where there is an abundance of data but labeling is costly and time consuming. We propose an unsupervised contrastive learning framework that is motivated from the perspective of label smoothing. The proposed approach uses a novel contrastive loss that naturally exploits a data augmentation scheme in which new samples are generated by mixing two data samples with a mixing component. The task in the proposed framework is to predict the mixing component, which is utilized as soft targets in the loss function. Experiments demonstrate the framework's superior performance compared to other representation learning approaches on both univariate and multivariate time series and illustrate its benefits for transfer learning for clinical time series.

View on arXivView PDF

Code Implementations(1)

MIT

Code for mixup contrastive learning

227PythonMar 2, 20211 months agoMIT

Similar Papers

Cite this paper

@article{wickstrm2022mixing,
  title  = {Mixing Up Contrastive Learning: Self-Supervised Representation Learning for Time Series},
  author = {Kristoffer Wickstrøm and Michael Kampffmeyer and Karl Øyvind Mikalsen and Robert Jenssen},
  year   = {2022},
  eprint = {2203.09270},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.09270}
}

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

Discussion