Towards Enhancing Time Series Contrastive Learning: A Dynamic Bad Pair Mining Approach

Xiang Lan, Hanshu Yan, Shenda Hong, Mengling Feng
2/7/2023
cs.LG

No official code found. Best implementation: lanxiang1017/DynamicBadPairMining_ICLR24 (15 stars, last commit 2024-03-08).

Abstract

Not all positive pairs are beneficial to time series contrastive learning. In this paper, we study two types of bad positive pairs that can impair the quality of time series representation learned through contrastive learning: the noisy positive pair and the faulty positive pair. We observe that, with the presence of noisy positive pairs, the model tends to simply learn the pattern of noise (Noisy Alignment). Meanwhile, when faulty positive pairs arise, the model wastes considerable amount of effort aligning non-representative patterns (Faulty Alignment). To address this problem, we propose a Dynamic Bad Pair Mining (DBPM) algorithm, which reliably identifies and suppresses bad positive pairs in time series contrastive learning. Specifically, DBPM utilizes a memory module to dynamically track the training behavior of each positive pair along training process. This allows us to identify potential bad positive pairs at each epoch based on their historical training behaviors. The identified bad pairs are subsequently down-weighted through a transformation module, thereby mitigating their negative impact on the representation learning process. DBPM is a simple algorithm designed as a lightweight plug-in without learnable parameters to enhance the performance of existing state-of-the-art methods. Through extensive experiments conducted on four large-scale, real-world time series datasets, we demonstrate DBPM's efficacy in mitigating the adverse effects of bad positive pairs.

View on arXivView PDF

Code Implementations(1)

DBPM is a simple algorithm designed as a lightweight plug-in without learnable parameters to enhance the performance of time series contrastive learning.

153Shell, PythonSep 20, 20232 years ago

Similar Papers

Cite this paper

@article{lan2023towards,
  title  = {Towards Enhancing Time Series Contrastive Learning: A Dynamic Bad Pair Mining Approach},
  author = {Xiang Lan and Hanshu Yan and Shenda Hong and Mengling Feng},
  year   = {2023},
  eprint = {2302.03357},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.03357v3},
  journal = {ICLR 2023 2023}
}

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

Discussion