Self-Supervised Learning for Time Series: Contrastive or Generative?

Ziyu Liu, Azadeh Alavi, Minyi Li, Xiang Zhang
3/14/2024
cs.LGcs.AIcs.ET

Official code: DL4mHealth/SSL_Comparison (42 stars, MIT, last commit 2023-09-19).

Abstract

Self-supervised learning (SSL) has recently emerged as a powerful approach to learning representations from large-scale unlabeled data, showing promising results in time series analysis. The self-supervised representation learning can be categorized into two mainstream: contrastive and generative. In this paper, we will present a comprehensive comparative study between contrastive and generative methods in time series. We first introduce the basic frameworks for contrastive and generative SSL, respectively, and discuss how to obtain the supervision signal that guides the model optimization. We then implement classical algorithms (SimCLR vs. MAE) for each type and conduct a comparative analysis in fair settings. Our results provide insights into the strengths and weaknesses of each approach and offer practical recommendations for choosing suitable SSL methods. We also discuss the implications of our findings for the broader field of representation learning and propose future research directions. All the code and data are released at \url{https://github.com/DL4mHealth/SSL_Comparison}.

View on arXivView PDF

Code Implementations(1)

MIT

A comparative study on Self-Supervised Learning for Time Series: Contrastive or Generative?

4210PythonMay 20, 20233 years agoMIT

Similar Papers

Cite this paper

@article{liu2024selfsupervised,
  title  = {Self-Supervised Learning for Time Series: Contrastive or Generative?},
  author = {Ziyu Liu and Azadeh Alavi and Minyi Li and Xiang Zhang},
  year   = {2024},
  eprint = {2403.09809},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.09809v1}
}

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

Discussion