Contrastive Domain Adaptation for Time-Series via Temporal Mixup

Emadeldeen Eldele, Mohamed Ragab, Zhenghua Chen, Min Wu, Chee-Keong Kwoh +1 more
12/3/2022
cs.LG
contrastive-ssl

Official code: emadeldeen24/CoTMix (34 stars, Python, last commit 2024-04-17).

Abstract

Unsupervised Domain Adaptation (UDA) has emerged as a powerful solution for the domain shift problem via transferring the knowledge from a labeled source domain to a shifted unlabeled target domain. Despite the prevalence of UDA for visual applications, it remains relatively less explored for time-series applications.

Show full abstract

In this work, we propose a novel lightweight contrastive domain adaptation framework called CoTMix for time-series data. Unlike existing approaches that either use statistical distances or adversarial techniques, we leverage contrastive learning solely to mitigate the distribution shift across the different domains. Specifically, we propose a novel temporal mixup strategy to generate two intermediate augmented views for the source and target domains. Subsequently, we leverage contrastive learning to maximize the similarity between each domain and its corresponding augmented view. The generated views consider the temporal dynamics of time-series data during the adaptation process while inheriting the semantics among the two domains. Hence, we gradually push both domains towards a common intermediate space, mitigating the distribution shift across them. Extensive experiments conducted on five real-world time-series datasets show that our approach can significantly outperform all state-of-the-art UDA methods. The implementation code of CoTMix is available at \href{https://github.com/emadeldeen24/CoTMix}{github.com/emadeldeen24/CoTMix}.

View on arXivView PDF

Code Implementations(1)

[TAI 2023] Contrastive Domain Adaptation for Time-Series via Temporal Mixup

345PythonDec 5, 20222 years ago
contrastive-learningdomain-adaptationentropymixupself-supervised-learning+2 more

Similar Papers

Cite this paper

@article{eldele2022contrastive,
  title  = {Contrastive Domain Adaptation for Time-Series via Temporal Mixup},
  author = {Emadeldeen Eldele and Mohamed Ragab and Zhenghua Chen and Min Wu and Chee-Keong Kwoh and Xiaoli Li},
  year   = {2022},
  eprint = {2212.01555},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.01555}
}

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

Discussion