{"id":"2011.13548","title":"Self-Supervised Time Series Representation Learning by Inter-Intra Relational Reasoning","authors":["Haoyi Fan","Fengbin Zhang","Yue Gao"],"categories":["cs.LG"],"primary_category":"cs.LG","first_posted":"2020-11-27","updated":"2020-11-27","url":"https://arxiv.vip/abs/2011.13548","arxiv_url":"https://arxiv.org/abs/2011.13548","pdf_url":"https://arxiv.org/pdf/2011.13548","comment_count":0,"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/.","arxiv_comments":"19 pages, 10 figures, under review at ICLR2021. The source code and dataset are available at https://haoyfan.github.io/","journal_ref":null,"doi":null,"license":"http://creativecommons.org/licenses/by/4.0/","versions":1,"discussion_url":"https://arxiv.vip/abs/2011.13548#discussion"}