Self-Supervised Time Series Representation Learning by Inter-Intra Relational Reasoning
arXiv:2011.13548
Abstract
Self-supervised learning achieves superior performance in many domains by extracting useful representations from the unlabeled data. However, most of traditional self-supervised methods mainly focus on exploring the inter-sample structure while less efforts have been concentrated on the underlying intra-temporal structure, which is important for time series data. In this paper, we present SelfTime: a general self-supervised time series representation learning framework, by exploring the inter-sample relation and intra-temporal relation of time series to learn the underlying structure feature on the unlabeled time series. Specifically, we first generate the inter-sample relation by sampling positive and negative samples of a given anchor sample, and intra-temporal relation by sampling time pieces from this anchor. Then, based on the sampled relation, a shared feature extraction backbone combined with two separate relation reasoning heads are employed to quantify the relationships of the sample pairs for inter-sample relation reasoning, and the relationships of the time piece pairs for intra-temporal relation reasoning, respectively. Finally, the useful representations of time series are extracted from the backbone under the supervision of relation reasoning heads. Experimental results on multiple real-world time series datasets for time series classification task demonstrate the effectiveness of the proposed method. Code and data are publicly available at https://haoyfan.github.io/.
19 pages, 10 figures, under review at ICLR2021. The source code and dataset are available at https://haoyfan.github.io/
References in corpus (10)
- PyTorch: An Imperative Style, High-Performance Deep Learning Library
- Improved Regularization of Convolutional Neural Networks with Cutout
- Learning deep representations by mutual information estimation and maximization
- LSTM Fully Convolutional Networks for Time Series Classification
- Deep Learning Algorithms for Rotating Machinery Intelligent Diagnosis: An Open Source Benchmark Study
- Multi-task Self-Supervised Learning for Human Activity Detection
- Self-supervised Learning for ECG-based Emotion Recognition
- Time2Graph: Revisiting Time Series Modeling with Dynamic Shapelets
- Interpolation-Prediction Networks for Irregularly Sampled Time Series
- Self-Supervised Relational Reasoning for Representation Learning