About Code release for "TimesNet: Temporal 2D-Variation Modeling for General Time Series Analysis" (ICLR 2023), https://openreview.net/pdf?id=ju_Uqw384Oq
1,119
11 commits
updated Apr 2, 2024
TimesNet: Temporal 2D-Variation Modeling for General Time Series Analysis [ICLR 2023]
In this paper, we present TimesNet as a powerful foundation model for general time series analysis, which can
Temporal variation modeling is the common key problem of extensive analysis tasks. Previous methods attempt to accomplish this directly from the 1D time series, which is extremely challenging due to the intricate temporal patterns. Based on the observation of multi-periodicity in time series, we present the TimesNet to transform the origianl 1D-timeseries into 2D Space, which can unfiy the intraperiod- and interperiod-variations.
To demonstrate the model capacity in representation learning, we calculate the CKA similarity between representations from the bottom and top layer of each model. A smaller CKA similarity means that the representations of bottom and top layer are more distinct, indicating the hierarchical representations. From this representation analysis, We find that:
Benefiting from 2D kernel design, TimesNet (marked by red stars) can learn appropriate representations for different tasks, demonstrating its task generality as a foundation model.
In this paper, we also provide a comprehensive benchmark to evaluate different backbones. More than 15 advanced baselines are compared. Till February 2023, the top three models for five different tasks are:
| Model Ranking | Long-term Forecasting | Short-term Forecasting | Imputation | Classification | Anomaly Detection |
|---|---|---|---|---|---|
| 🥇 1st | TimesNet | TimesNet | TimesNet | TimesNet | TimesNet |
| 🥈 2nd | DLinear | Non-stationary Transformer | Non-stationary Transformer | Non-stationary Transformer | FEDformer |
| 🥉 3rd | Non-stationary Transformer | FEDformer | Autoformer | Informer | Autoformer |
See our paper for the comprehensive benchmark.
If you find this repo useful, please cite our paper.
@inproceedings{wu2023timesnet,
title={TimesNet: Temporal 2D-Variation Modeling for General Time Series Analysis},
author={Haixu Wu and Tengge Hu and Yong Liu and Hang Zhou and Jianmin Wang and Mingsheng Long},
booktitle={International Conference on Learning Representations},
year={2023},
}
If you have any questions, please contact wuhx23@mails.tsinghua.edu.cn.
We appreciate the following github repos for their valuable codebase:
Forecasting: https://github.com/thuml/Autoformer
Anomaly Detection: https://github.com/thuml/Anomaly-Transformer
Classification: https://github.com/thuml/Flowformer
86 followers · starred Sep 2023
About Code release for "TimesNet: Temporal 2D-Variation Modeling for General Time Series Analysis" (ICLR 2023), https://openreview.net/pdf?id=ju_Uqw384Oq
1,119
11 commits
updated Apr 2, 2024
TimesNet: Temporal 2D-Variation Modeling for General Time Series Analysis [ICLR 2023]
In this paper, we present TimesNet as a powerful foundation model for general time series analysis, which can
Temporal variation modeling is the common key problem of extensive analysis tasks. Previous methods attempt to accomplish this directly from the 1D time series, which is extremely challenging due to the intricate temporal patterns. Based on the observation of multi-periodicity in time series, we present the TimesNet to transform the origianl 1D-timeseries into 2D Space, which can unfiy the intraperiod- and interperiod-variations.
To demonstrate the model capacity in representation learning, we calculate the CKA similarity between representations from the bottom and top layer of each model. A smaller CKA similarity means that the representations of bottom and top layer are more distinct, indicating the hierarchical representations. From this representation analysis, We find that:
Benefiting from 2D kernel design, TimesNet (marked by red stars) can learn appropriate representations for different tasks, demonstrating its task generality as a foundation model.
In this paper, we also provide a comprehensive benchmark to evaluate different backbones. More than 15 advanced baselines are compared. Till February 2023, the top three models for five different tasks are:
| Model Ranking | Long-term Forecasting | Short-term Forecasting | Imputation | Classification | Anomaly Detection |
|---|---|---|---|---|---|
| 🥇 1st | TimesNet | TimesNet | TimesNet | TimesNet | TimesNet |
| 🥈 2nd | DLinear | Non-stationary Transformer | Non-stationary Transformer | Non-stationary Transformer | FEDformer |
| 🥉 3rd | Non-stationary Transformer | FEDformer | Autoformer | Informer | Autoformer |
See our paper for the comprehensive benchmark.
If you find this repo useful, please cite our paper.
@inproceedings{wu2023timesnet,
title={TimesNet: Temporal 2D-Variation Modeling for General Time Series Analysis},
author={Haixu Wu and Tengge Hu and Yong Liu and Hang Zhou and Jianmin Wang and Mingsheng Long},
booktitle={International Conference on Learning Representations},
year={2023},
}
If you have any questions, please contact wuhx23@mails.tsinghua.edu.cn.
We appreciate the following github repos for their valuable codebase:
Forecasting: https://github.com/thuml/Autoformer
Anomaly Detection: https://github.com/thuml/Anomaly-Transformer
Classification: https://github.com/thuml/Flowformer
86 followers · starred Sep 2023