HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Time-Series Representation Learning via Temporal and Contextual Contrasting

Emadeldeen Eldele; Mohamed Ragab; Zhenghua Chen; Min Wu; Chee Keong Kwoh; Xiaoli Li; Cuntai Guan

Time-Series Representation Learning via Temporal and Contextual Contrasting

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. 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.

Code Repositories

emadeldeen24/TS-TCC
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
automatic-sleep-stage-classification-on-sleep-1TS-TCC
Accuracy: 83.0
epilepsy-prediction-on-epilepsy-seizureTS-TCC
1:1 Accuracy: 97.23
recognizing-and-localizing-human-actions-onTS-TCC
1:1 Accuracy: 90.37

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Time-Series Representation Learning via Temporal and Contextual Contrasting | Papers | HyperAI