MCPcopy Index your code
hub / github.com/DAMO-DI-ML/NeurIPS2023-One-Fits-All

github.com/DAMO-DI-ML/NeurIPS2023-One-Fits-All @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
1,328 symbols 2,870 edges 111 files 239 documented · 18%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

One Fits All: Power General Time Series Analysis by Pretrained LM (NeurIPS 2023 Spotlight)

Tian Zhou, Peisong Niu, Xue Wang, Liang Sun, Rong Jin, "One Fits All: Power General Time Series Analysis by Pretrained LM,", NeurIPS, 2023. [paper]

The main challenge that blocks the development of pre-trained model for time series analysis is the lack of a large amount of data for training. In this work, we address this challenge by leveraging language or CV models, pre-trained from billions of tokens, for time series analysis. Specifically, we refrain from altering the self-attention and feedforward layers of the residual blocks in the pre-trained language or image model.

General Time Series Tasks

The proposed method outperforms other models on most tasks, including long-term forecasting, short-term forecasting, classification, anomaly detection, imputation, and few-shot leanring, zero-short learning.

Get Start

  • Install Python>=3.8, PyTorch 1.8.1.
  • Follow the instructions provided in the respective task folder.

Citation

If you find this repo useful, please cite our paper.

@inproceedings{zhou2023onefitsall,
  title={{One Fits All}: Power General Time Series Analysis by Pretrained LM},
  author={Tian Zhou, Peisong Niu, Xue Wang, Liang Sun, Rong Jin},
  booktitle={NeurIPS},
  year={2023}
}

Further Reading

Survey on Transformers in Time Series:

Qingsong Wen, Tian Zhou, Chaoli Zhang, Weiqi Chen, Ziqing Ma, Junchi Yan, and Liang Sun. "Transformers in time series: A survey.", IJCAI, 2023. [paper]

Contact

If you have any question or want to use the code, please contact tian.zt@alibaba-inc.com or niupeisong.nps@alibaba-inc.com .

Acknowledgement

We appreciate the following github repos a lot for their valuable code base or datasets:

https://github.com/DAMO-DI-ML/ICML2022-FEDformer

https://github.com/thuml/Time-Series-Library

https://github.com/gzerveas/mvts_transformer

Core symbols most depended-on inside this repo

transform
called by 25
Imputation/utils/tools.py
load
called by 21
Imputation/data_provider/m4.py
transform
called by 18
Short-term_Forecasting/utils/tools.py
transform
called by 18
Anomaly_Detection/utils/tools.py
load
called by 15
Short-term_Forecasting/data_provider/m4.py
load
called by 15
Anomaly_Detection/data_provider/m4.py
train
called by 15
Imputation/exp/exp_basic.py
step
called by 11
Classification/src/optimizers.py

Shape

Method 800
Class 319
Function 209

Languages

Python100%

Modules by API surface

Short-term_Forecasting/data_provider/data_loader.py52 symbols
Imputation/data_provider/data_loader.py52 symbols
Anomaly_Detection/data_provider/data_loader.py52 symbols
Zero-shot_Learning/layers/ETSformer_EncDec.py44 symbols
Zero-shot_Learning/data_provider/data_loader.py30 symbols
Long-term_Forecasting/data_provider/data_loader.py30 symbols
Few-shot_Learning/data_provider/data_loader.py30 symbols
Zero-shot_Learning/layers/MultiWaveletCorrelation.py27 symbols
Short-term_Forecasting/layers/Embed.py27 symbols
Imputation/layers/Embed.py27 symbols
Classification/src/models/embed.py27 symbols
Anomaly_Detection/layers/Embed.py27 symbols

For agents

$ claude mcp add NeurIPS2023-One-Fits-All \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page