Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

NuTime: Numerically Multi-Scaled Embedding for Large-Scale Time-Series Pretraining

About

Recent research on time-series self-supervised models shows great promise in learning semantic representations. However, it has been limited to small-scale datasets, e.g., thousands of temporal sequences. In this work, we make key technical contributions that are tailored to the numerical properties of time-series data and allow the model to scale to large datasets, e.g., millions of temporal sequences. We adopt the Transformer architecture by first partitioning the input into non-overlapping windows. Each window is then characterized by its normalized shape and two scalar values denoting the mean and standard deviation within each window. To embed scalar values that may possess arbitrary numerical amplitudes in a high-dimensional space, we propose a numerically multi-scaled embedding module enumerating all possible numerical scales for the scalars. The model undergoes pretraining with a simple contrastive objective on a large-scale dataset over a million sequences collected by merging existing public data. We study its transfer performance on a number of univariate and multivariate classification tasks, few shot learning, unsupervised clustering and anomaly detection benchmarks. Our method exhibits remarkable improvement against previous pretraining approaches and establishes the new state of the art, even compared with domain-specific non-learning-based methods. Code is available at: \url{https://github.com/chenguolin/NuTime}.

Chenguo Lin, Xumeng Wen, Wei Cao, Congrui Huang, Jiang Bian, Stephen Lin, Zhirong Wu• 2023

Related benchmarks

TaskDatasetResultRank
Time-series classificationUCI-HAR
Accuracy88.42
88
Time-series classificationUEA-27 (test)
EigenWorms Accuracy73.54
39
Time-series classificationUCR First Part (test)
ACSF1 Accuracy75
32
Time-series classificationPCL OOD
Accuracy54.15
26
Time-series classificationHHAR OOD
Accuracy56
21
Time-series classificationMP8
Accuracy65.04
21
Time-series classificationEpilepsy-EEG
Accuracy92.34
21
Time-series classificationCAP OOD
Accuracy76.7
17
Time-series classificationEMOPain HAR
Accuracy89.01
10
Time-series classificationHHAR-ID
Accuracy98.08
10
Showing 10 of 23 rows

Other info

Follow for update