Time-Series Representation Learning via Temporal and Contextual Contrasting

Emadeldeen Eldele, Mohamed Ragab, Zhenghua Chen, Min Wu, Chee Keong Kwoh +2 more
6/26/2021
961 citations
cs.LGcs.AI

Official code: emadeldeen24/TS-TCC (499 stars, Python, MIT, last commit 2024-03-31).

Abstract

Learning decent representations from unlabeled time-series data with temporal dynamics is a very challenging task. In this paper, we propose an unsupervised Time-Series representation learning framework via Temporal and Contextual Contrasting (TS-TCC), to learn time-series representation from unlabeled data.

Show full abstract

First, the raw time-series data are transformed into two different yet correlated views by using weak and strong augmentations. Second, we propose a novel temporal contrasting module to learn robust temporal representations by designing a tough cross-view prediction task. Last, to further learn discriminative representations, we propose a contextual contrasting module built upon the contexts from the temporal contrasting module. It attempts to maximize the similarity among different contexts of the same sample while minimizing similarity among contexts of different samples. Experiments have been carried out on three real-world time-series datasets. The results manifest that training a linear classifier on top of the features learned by our proposed TS-TCC performs comparably with the supervised training. Additionally, our proposed TS-TCC shows high efficiency in few-labeled data and transfer learning scenarios. The code is publicly available at https://github.com/emadeldeen24/TS-TCC.

View on arXivView PDF

Code Implementations(1)

MIT

[IJCAI-21] "Time-Series Representation Learning via Temporal and Contextual Contrasting"

499125Python, Jupyter NotebookMay 18, 20212 years agoMIT
contextualcontrastive-learningdeep-learningeegepilepsy+10 more

Similar Papers

Cite this paper

@article{eldele2021timeseries,
  title  = {Time-Series Representation Learning via Temporal and Contextual Contrasting},
  author = {Emadeldeen Eldele and Mohamed Ragab and Zhenghua Chen and Min Wu and Chee Keong Kwoh and Xiaoli Li and Cuntai Guan},
  year   = {2021},
  eprint = {2106.14112},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.14112}
}

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

Discussion