English

Automated Contrastive Learning Strategy Search for Time Series

Machine Learning 2024-10-24 v3

Abstract

In recent years, Contrastive Learning (CL) has become a predominant representation learning paradigm for time series. Most existing methods manually build specific CL Strategies (CLS) by human heuristics for certain datasets and tasks. However, manually developing CLS usually requires excessive prior knowledge about the data, and massive experiments to determine the detailed CL configurations. In this paper, we present an Automated Machine Learning (AutoML) practice at Microsoft, which automatically learns CLS for time series datasets and tasks, namely Automated Contrastive Learning (AutoCL). We first construct a principled search space of size over 3×10123\times10^{12}, covering data augmentation, embedding transformation, contrastive pair construction, and contrastive losses. Further, we introduce an efficient reinforcement learning algorithm, which optimizes CLS from the performance on the validation tasks, to obtain effective CLS within the space. Experimental results on various real-world datasets demonstrate that AutoCL could automatically find the suitable CLS for the given dataset and task. From the candidate CLS found by AutoCL on several public datasets/tasks, we compose a transferable Generally Good Strategy (GGS), which has a strong performance for other datasets. We also provide empirical analysis as a guide for the future design of CLS.

Keywords

Cite

@article{arxiv.2403.12641,
  title  = {Automated Contrastive Learning Strategy Search for Time Series},
  author = {Baoyu Jing and Yansen Wang and Guoxin Sui and Jing Hong and Jingrui He and Yuqing Yang and Dongsheng Li and Kan Ren},
  journal= {arXiv preprint arXiv:2403.12641},
  year   = {2024}
}

Comments

Accepted by CIKM'2024. Fixed typos

R2 v1 2026-06-28T15:25:36.073Z