# STAEformer
**Repository Path**: qinzichen2023/STAEformer
## Basic Information
- **Project Name**: STAEformer
- **Description**: No description available
- **Primary Language**: Python
- **License**: Not specified
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2024-02-07
- **Last Updated**: 2024-02-07
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
## STAEformer: Spatio-Temporal Adaptive Embedding Transformer
#### H. Liu*, Z. Dong*, R. Jiang#, J. Deng, J. Deng, Q. Chen, X. Song#, "Spatio-Temporal Adaptive Embedding Makes Vanilla Transformer SOTA for Traffic Forecasting", Proc. of 32nd ACM International Conference on Information and Knowledge Management (CIKM), 2023. (*Equal Contribution, #Corresponding Author)

#### Citation
```
@inproceedings{liu2023spatio,
title={Spatio-temporal adaptive embedding makes vanilla transformer sota for traffic forecasting},
author={Liu, Hangchen and Dong, Zheng and Jiang, Renhe and Deng, Jiewen and Deng, Jinliang and Chen, Quanjun and Song, Xuan},
booktitle={Proceedings of the 32nd ACM International Conference on Information and Knowledge Management},
pages={4125--4129},
year={2023}
}
```
#### CIKM23 Proceedings (including METRLA, PEMSBAY, PEMS04, PEMS07, PEMS08 results)
[https://dl.acm.org/doi/abs/10.1145/3583780.3615160](https://dl.acm.org/doi/10.1145/3583780.3615160)
#### Preprints (including METRLA, PEMSBAY, PEMS03, PEMS04, PEMS07, PEMS08 results)
[](https://arxiv.org/abs/2308.10425)
#### Performance on Traffic Forecasting Benchmarks
[](https://paperswithcode.com/sota/traffic-prediction-on-pems04?p=spatio-temporal-adaptive-embedding-makes)
[](https://paperswithcode.com/sota/traffic-prediction-on-pems07?p=spatio-temporal-adaptive-embedding-makes)
[](https://paperswithcode.com/sota/traffic-prediction-on-pems08?p=spatio-temporal-adaptive-embedding-makes)
[](https://paperswithcode.com/sota/traffic-prediction-on-metr-la?p=spatio-temporal-adaptive-embedding-makes)
[](https://paperswithcode.com/sota/traffic-prediction-on-pems-bay?p=spatio-temporal-adaptive-embedding-makes)

#### Required Packages
```
pytorch>=1.11
numpy
pandas
matplotlib
pyyaml
pickle
torchinfo
```
#### Training Commands
```bash
cd model/
python train.py -d -g
```
``:
- METRLA
- PEMSBAY
- PEMS03
- PEMS04
- PEMS07
- PEMS08