{"title":"Negative samples filter of contrastive learning for time series classification","authors":"Yinlong Li, Licheng Pan, Hu Xu, Xinggao Liu","doi":"10.1016/j.eswa.2025.130052","DOIUrl":null,"url":null,"abstract":"<div><div>As an unsupervised learning method, contrastive learning has achieved remarkable success in the field of computer vision. However, issues such as false negative samples and hard negative samples can significantly impair its effectiveness. Addressing these issues is therefore crucial for improving contrastive learning. While current research on handling these challenges mainly focuses on image data, there is limited exploration of contrastive learning for time series data. In this paper, we propose a negative samples filter in the embedding space to investigate the impact of hard negative samples on time series contrastive learning. We conducted extensive experiments on six different time series datasets to examine the effect of the negative samples filter on classification performance, both in unsupervised and supervised settings. The results demonstrate that in the unsupervised case, some of the most difficult samples can degrade classification performance, while in the supervised case, more difficult samples are beneficial for classification. Furthermore, we applied our filter function to other contrastive learning baselines for time series, achieving superior results compared to previous baselines, and outperforming other baselines that address false negative and hard negative samples.</div></div>","PeriodicalId":50461,"journal":{"name":"Expert Systems with Applications","volume":"299 ","pages":"Article 130052"},"PeriodicalIF":7.5000,"publicationDate":"2025-10-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Expert Systems with Applications","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0957417425036681","RegionNum":1,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
As an unsupervised learning method, contrastive learning has achieved remarkable success in the field of computer vision. However, issues such as false negative samples and hard negative samples can significantly impair its effectiveness. Addressing these issues is therefore crucial for improving contrastive learning. While current research on handling these challenges mainly focuses on image data, there is limited exploration of contrastive learning for time series data. In this paper, we propose a negative samples filter in the embedding space to investigate the impact of hard negative samples on time series contrastive learning. We conducted extensive experiments on six different time series datasets to examine the effect of the negative samples filter on classification performance, both in unsupervised and supervised settings. The results demonstrate that in the unsupervised case, some of the most difficult samples can degrade classification performance, while in the supervised case, more difficult samples are beneficial for classification. Furthermore, we applied our filter function to other contrastive learning baselines for time series, achieving superior results compared to previous baselines, and outperforming other baselines that address false negative and hard negative samples.
期刊介绍:
Expert Systems With Applications is an international journal dedicated to the exchange of information on expert and intelligent systems used globally in industry, government, and universities. The journal emphasizes original papers covering the design, development, testing, implementation, and management of these systems, offering practical guidelines. It spans various sectors such as finance, engineering, marketing, law, project management, information management, medicine, and more. The journal also welcomes papers on multi-agent systems, knowledge management, neural networks, knowledge discovery, data mining, and other related areas, excluding applications to military/defense systems.