mlsanityData to 7 Oct 2026

Guidelines for Augmentation Selection in Contrastive Learning for Time Series Classification

arXiv 2407.09336 ↗First posted 12 Jul 2024cs.LG cs.AIcited by 5

Not on the map. Why?

Abstract (arXiv)

Self-supervised contrastive learning has become a key technique in deep learning, particularly in time series analysis, due to its ability to learn meaningful representations without explicit supervision. Augmentation is a critical component in contrastive learning, where different augmentations can dramatically impact performance, sometimes influencing accuracy by over 30%. However, the selection of augmentations is predominantly empirical which can be suboptimal, or grid searching that is time-consuming. In this paper, we establish a principled framework for selecting augmentations based on dataset characteristics such as trend and seasonality. Specifically, we construct 12 synthetic datasets incorporating trend, seasonality, and integration weights. We then evaluate the effectiveness of 8 different augmentations across these synthetic datasets, thereby inducing generalizable associations between time series characteristics and augmentation efficiency. Additionally, we evaluated the induced associations across 6 real-world datasets encompassing domains such as activity recognition, disease diagnosis, traffic monitoring, electricity usage, mechanical fault prognosis, and finance. These real-world datasets are diverse, covering a range from 1 to 12 channels, 2 to 10 classes, sequence lengths of 14 to 1280, and data frequencies from 250 Hz to daily intervals. The experimental results show that our proposed trend-seasonality-based augmentation recommendation algorithm can accurately identify the effective augmentations for a given time series dataset, achieving an average Recall@3 of 0.667, outperforming baselines. Our work provides guidance for studies employing contrastive learning in time series analysis, with wide-ranging applications. All the code, datasets, and analysis results will be released at https://github.com/DL4mHealth/TS-Contrastive-Augmentation-Recommendation.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 21 of its 35 references that are in the map. First posted on arXiv 12 Jul 2024.

Builds on

21 of 35 references.

References · 21

  1. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  2. 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,375
  3. 2021Time-Series Representation Learning via Temporal and Contextual Contrastingcited by 342
  4. 2020Keystroke Dynamics as Part of Lifeloggingcited by 334
  5. 2022Self-Supervised Contrastive Pre-Training For Time Series via Time-Frequency Consistencycited by 246
  6. 2021Unsupervised Representation Learning for Time Series with Temporal Neighborhood Codingcited by 223
  7. 2021Self-supervised representation learning from 12-lead ECG datacited by 80
  8. 2020Towards Domain-Agnostic Contrastive Learningcited by 75
  9. 2020Exploring Contrastive Learning in Human Activity Recognition for Healthcarecited by 73
  10. 2023Contrast Everything: A Hierarchical Contrastive Framework for Medical Time-Seriescited by 59
  11. 2022Mixing Up Contrastive Learning: Self-Supervised Representation Learning for Time Seriescited by 54
  12. 2023Time Series Contrastive Learning with Information-Aware Augmentationscited by 52
9 more
  1. 2023A Survey on Time-Series Pre-Trained Modelscited by 52
  2. 2022Rethinking the Augmentation Module in Contrastive Learning: Learning Hierarchical Augmentation Invariance with Expanded Viewscited by 37
  3. 2021Self-supervised Contrastive Learning for EEG-based Sleep Stagingcited by 27
  4. 2023Finding Order in Chaos: A Novel Data Augmentation Method for Time Series in Contrastive Learningcited by 18
  5. 2020Detection of Maternal and Fetal Stress from the Electrocardiogram with Self-Supervised Representation Learningcited by 8
  6. 2021Multi-Sample based Contrastive Loss for Top-k Recommendationcited by 7
  7. 2022The NT-Xent loss upper boundcited by 4
  8. 2022Rethinking Rotation in Self-Supervised Contrastive Learning: Adaptive Positive or Negative Data Augmentationcited by 3
  9. 2024Human Activity Recognition using Smartphonescited by 1

Built on by

Cited by year

Citing papers per year: 2025: 5.

5 papers.