Towards Enhancing Time Series Contrastive Learning: A Dynamic Bad Pair Mining Approach
Xiang Lan, Hanshu Yan, Shenda Hong, Mengling Feng
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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext d1a4e3cf-1cd3-4f4a-805a-1cf44ac282bfCited by top-tier papers5
- Zero-Shot ECG Classification with Multimodal Learning and Test-time Clinical Knowledge EnhancementChe Liu, Zhongwei Wan, Cheng Ouyang, Anand Shah et al.ICML 2024 · 83 citations
- GEM: Empowering MLLM for Grounded ECG Understanding with Time Series and ImagesXiang Lan, Feng Wu, Kai He, Qinghao Zhao et al.NeurIPS 2025 · 50 citations
- Frequency-Masked Embedding Inference: A Non-Contrastive Approach for Time Series Representation LearningEn Fu, Yanyan HuAAAI 2025 · 8 citations
- CrossLinear: Plug-and-Play Cross-Correlation Embedding for Time Series Forecasting with Exogenous VariablesPengfei Zhou, Yunlong Liu, Junli Liang, Qi Song et al.KDD 2025 · 5 citations
- Hi-Patch: Hierarchical Patch GNN for Irregular Multivariate Time SeriesYicheng Luo, Bowen Zhang, Zhen Liu, Qianli MaICML 2025
Builds on20
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
- Barlow Twins: Self-Supervised Learning via Redundancy ReductionJure Zbontar, Li Jing, Ishan Misra, Yann LeCun et al.ICML 2021 · 2,942 citations
- What Makes for Good Views for Contrastive Learning?Yonglong Tian, Chen Sun, Ben Poole, Dilip Krishnan et al.NeurIPS 2020 · 1,631 citations
- TS2Vec: Towards Universal Representation of Time SeriesZhihan Yue, Yujing Wang, Juanyong Duan, Tianmeng Yang et al.AAAI 2022 · 938 citations
Related papers
- Soft Contrastive Learning for Time SeriesSeunghan Lee, Taeyoung Park, Kibok LeeICLR 2024 · 63 citations
- Language Pre-training Guided Masking Representation Learning for Time Series ClassificationLiaoyuan Tang, Zheng Wang, Jie Wang, Guanxiong He et al.AAAI 2025 · 1 citation
- REBAR: Retrieval-Based Reconstruction for Time-series Contrastive LearningMaxwell A. Xu, Alexander Moreno, Hui Wei, Benjamin M. Marlin et al.ICLR 2024 · 23 citations
- Generating Contrastive Narratives Using the Brownian Bridge Process for Narrative Coherence LearningFeiteng Mu, Wenjie LiACL 2024
- Adaptive Contrastive Learning for Learning Robust Representations under Label NoiseZihao Wang, Weichen Zhang, Weihong Bao, Fei Long et al.ACM MM 2023 · 5 citations
