T-Rep: Representation Learning for Time Series using Time-Embeddings
About
Multivariate time series present challenges to standard machine learning techniques, as they are often unlabeled, high dimensional, noisy, and contain missing data. To address this, we propose T-Rep, a self-supervised method to learn time series representations at a timestep granularity. T-Rep learns vector embeddings of time alongside its feature extractor, to extract temporal features such as trend, periodicity, or distribution shifts from the signal. These time-embeddings are leveraged in pretext tasks, to incorporate smooth and fine-grained temporal dependencies in the representations, as well as reinforce robustness to missing data. We evaluate T-Rep on downstream classification, forecasting, and anomaly detection tasks. It is compared to existing self-supervised algorithms for time series, which it outperforms in all three tasks. We test T-Rep in missing data regimes, where it proves more resilient than its counterparts. Finally, we provide latent space visualisation experiments, highlighting the interpretability of the learned representations.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Multivariate Forecasting | ETTh1 | MSE0.78 | 909 | |
| Multivariate Time-series Forecasting | ETTm1 | MSE0.57 | 742 | |
| Multivariate Time-series Forecasting | ETTm2 | MSE0.75 | 593 | |
| Multivariate Time-series Forecasting | Weather | MSE0.28 | 466 | |
| Multivariate Time-series Forecasting | ETTh2 | MSE1.89 | 219 | |
| Multivariate Time Series Classification | UEA multivariate TS classification archive Statistics without N/A 26 datasets (test) | Mean Rank5.192 | 34 | |
| Multivariate Time Series Classification | UEA Multivariate Time Series Classification Archive | AWR Accuracy96.8 | 26 | |
| Anomaly Detection | KPI delay tolerance 7 | F1 Score62.7 | 20 | |
| Anomaly Detection | Yahoo Webscope S5 delay tolerance 3 | F1 Score21.1 | 20 | |
| Multivariate Time Series Classification | UEA | Average Accuracy78.5 | 18 |