TimeCLR: A self-supervised contrastive learning framework for univariate time series representation

被引:41
作者
Yang, Xinyu [1 ]
Zhang, Zhenguo [1 ]
Cui, Rongyi [1 ]
机构
[1] Yanbian Univ, Dept Comp Sci & Technol, 977 Gongyuan Rd, Yanji 133002, Peoples R China
关键词
Univariate Time series; Representation learning; Self-supervised learning; Contrastive learning; Data augmentation; CLASSIFICATION;
D O I
10.1016/j.knosys.2022.108606
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Time series are usually rarely or sparsely labeled, which limits the performance of deep learning models. Self-supervised representation learning can reduce the reliance of deep learning models on labeled data by extracting structure and feature information from unlabeled data and improve model performance when labeled data is insufficient. Although SimCLR has achieved impressive success in the computer vision field, direct applying SimCLR to time series field usually performs poorly due to the part of data augmentation and the part of feature extractor not being adapted to the temporal dependencies within the time series data. In order to obtain high-quality time series representations, we propose TimeCLR, a framework which is suitable for univariate time series representation, by combining the advantages of DTW and InceptionTime. Inspired by the DTW-based k-nearest neighbor classifier, we first propose the DTW data augmentation that can generate DTW-targeted phase shift and amplitude change phenomena and retain time series structure and feature information. Inspired by the current state-of-the-art deep learning-based time series classification method, InceptionTime, which has good feature extraction capabilities, we designed a feature extractor capable of generating representations in an end-to-end manner. Finally, combining the advantages of DTW data augmentation and InceptionTime, our proposed TimeCLR method successfully extends SimCLR and applies it to the time series field. We designed a variety of experiments and performed careful ablation studies. Experimental results show that our proposed TimeCLR method can not only achieve comparable performance to supervised InceptionTime on multiple tasks, but also produce better performance than supervised learning models in the case of insufficient labeled data, and can be flexibly applied to univariate time series data from different domains. (c) 2022 Elsevier B.V. All rights reserved.
引用
收藏
页数:15
相关论文
共 47 条
[1]  
Abid A, 2018, ADV NEUR IN, V31
[2]  
Anand Gaurangi, 2020, Neural Information Processing: 27th International Conference, ICONIP 2020. Communications in Computer and Information Science (1333), P832, DOI 10.1007/978-3-030-63823-8_94
[3]   The great time series classification bake off: a review and experimental evaluation of recent algorithmic advances [J].
Bagnall, Anthony ;
Lines, Jason ;
Bostrom, Aaron ;
Large, James ;
Keogh, Eamonn .
DATA MINING AND KNOWLEDGE DISCOVERY, 2017, 31 (03) :606-660
[4]  
Berndt DJ, 1994, P 3 INT C KNOWL DISC, P359
[5]  
Cai XY, 2019, ADV NEUR IN, V32
[6]   Digital hand atlas and web-based bone age assessment: system design and implementation [J].
Cao, F ;
Huang, HK ;
Pietka, E ;
Gilsanz, V .
COMPUTERIZED MEDICAL IMAGING AND GRAPHICS, 2000, 24 (05) :297-307
[7]   A novel data augmentation method to enhance deep neural networks for detection of atrial fibrillation [J].
Cao, Ping ;
Li, Xinyi ;
Mao, Kedong ;
Lu, Fei ;
Ning, Gangmin ;
Fang, Luping ;
Pan, Qing .
BIOMEDICAL SIGNAL PROCESSING AND CONTROL, 2020, 56
[8]  
Chen T., 2020, Advances in neural information processing systems, P22243
[9]  
Chen T, 2020, PR MACH LEARN RES, V119
[10]   Opportunities and obstacles for deep learning in biology and medicine [J].
Ching, Travers ;
Himmelstein, Daniel S. ;
Beaulieu-Jones, Brett K. ;
Kalinin, Alexandr A. ;
Do, Brian T. ;
Way, Gregory P. ;
Ferrero, Enrico ;
Agapow, Paul-Michael ;
Zietz, Michael ;
Hoffman, Michael M. ;
Xie, Wei ;
Rosen, Gail L. ;
Lengerich, Benjamin J. ;
Israeli, Johnny ;
Lanchantin, Jack ;
Woloszynek, Stephen ;
Carpenter, Anne E. ;
Shrikumar, Avanti ;
Xu, Jinbo ;
Cofer, Evan M. ;
Lavender, Christopher A. ;
Turaga, Srinivas C. ;
Alexandari, Amr M. ;
Lu, Zhiyong ;
Harris, David J. ;
DeCaprio, Dave ;
Qi, Yanjun ;
Kundaje, Anshul ;
Peng, Yifan ;
Wiley, Laura K. ;
Segler, Marwin H. S. ;
Boca, Simina M. ;
Swamidass, S. Joshua ;
Huang, Austin ;
Gitter, Anthony ;
Greene, Casey S. .
JOURNAL OF THE ROYAL SOCIETY INTERFACE, 2018, 15 (141)