Skip to content

Collection for traffic prediction with external factors, e.g. weather, events and holidays, including papers, datasets, and tools.

License

Notifications You must be signed in to change notification settings

yxnchen/Traffic-Prediction-with-External-Factors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

23 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Traffic Prediction with External Factors

A Collection of resources for traffic prediction with external factors apart from normal spatial (Network structure, connectivity) and temporal (Time-of-day, Day-in-week) features.

πŸ“– Contents

Papers

  • Types of External Factor:

🌧️ - Meteorology, including weather conditions, temperature, wind speed etc

πŸ“… - Holidays or other temporal features

🚧 - Events, including traffic accidents, traffic conditions (congestion), social events and public activities

πŸͺ - POIs or Land features

πŸ›£οΈ - Road or highway characteristics, e.g. link width, link length/distance, link type, number of lane, having bus stops, etc

  • Methods of Integrating External Factors

βž• - Concatenation

πŸ“ˆ - LSTM, GRU

πŸ”₯ - Fusion

🟒 - Knowledge representation learning

Before 2020

Journal/
Conference
Title Model Factors Code Data
SIGSPATIAL '15 Traffic prediction in a bike-sharing system Paper Page based on GBRT 🌧️ Code NYC, D.C. Bike
IEEE TVT Improving traffic flow prediction with weather information in connected cars: A deep learning approach Paper based on DBNs, MTL 🌧️ PeMS
MesoWest
IEEE TKDE Citywide Traffic Volume Estimation Using Trajectory Data Paper 🌧️πŸͺ Beijing
AAAI '17 Deep Spatio-Temporal Residual Networks for Citywide Crowd Flows Prediction Paper Page ST-ResNet πŸŒ§οΈπŸ“… ST-ResNet-Pytorch
STResNet-PyTorch
ST-ResNet
STResNet
Beijing
NYC
SIGSPATIAL '18 Bike Flow Prediction with Multi-Graph Convolutional Networks Paper Multi-Graph Convolutional Neural Network 🌧️ GraphCNN-Bike NYC bike
CHI Bike
NOAA NCEI
KDD '18 Deep sequence learning with auxiliary information for traffic prediction Paper based on Seq2Seq+ 🚧 BaiduTraffic Q-Traffic
IJCAI-18 GeoMAN: Multi-level Attention Networks for Geo-sensory Time Series Prediction Paper GeoMAN 🌧️πŸͺ GeoMAN(Tensorflow)
GeoMAN(Pytorch)
Water quality
Air quality
AAAI '18 Deep multi-view spatial-temporal network for taxi demand prediction Paper DMVST-Net πŸŒ§οΈπŸ“… DMVST-Net DiDi(Guangzhou)
IET ITS Combining weather condition data to predict traffic flow: A GRU‐based deep learning approach Paper DGRNN 🌧️ PeMS
NOAA
IEEE MDM '19 Temporal Graph Convolutional Networks for Traffic Speed Prediction Considering External Factors Paper GTCN πŸŒ§οΈπŸ“…πŸͺ PEMSD7,PEMSD4
AAAI '19 Spatiotemporal Multi-Graph Convolution Network for Ride-Hailing Demand Forecasting Paper ST-MGCN πŸͺ ST-MGCN Beijing
Shanghai
AAAI '19 DeepSTN+: Context-Aware Spatial-Temporal Neural Network for Crowd Flow Prediction in Metropolis Paper DeepSTN+ πŸͺ DeepSTN MobileBJ
BikeNYC
AAAI '19 Revisiting Spatial-Temporal Similarity: A Deep Learning Framework for Traffic Prediction Paper STDN 🌧️🚧(But not use in experiment) STDN NYC-Taxi
NYC-Bike
KDD '19 UrbanFM: Inferring Fine-Grained Urban Flows Paper UrbanFM πŸŒ§οΈπŸ“…πŸš§ UrbanFM TaxiBJ
HappyValley
KDD '19 Urban traffic prediction from spatio-temporal data using deep meta learning Paper ST-MetaNet πŸͺπŸ›£οΈ ST-MetaNet TDrive(flow)
METR-LA(speed)

2020

Journal/
Conference
Title Model Factors Code Data
AAAI '20 Multi-Range Attentive Bicomponent Graph Convolutional Network for Traffic Forecasting Paper MRA-BGCN πŸ›£οΈ MAR-BGCN_GPU_pytorch METR-LA
PEMS-BAY
IET ITS Multi‐step traffic speed prediction model with auxiliary features on urban road networks and its understanding Paper EGC-LSTM πŸŒ§οΈπŸ“…πŸ›£οΈ Guiyang
NOAA
TR_C Evaluation and prediction of transportation resilience under extreme weather events: A diffusion graph convolutional approach Paper based on DCRNN and dynamic-capturing algorithm 🌧️ resilience_shenzhen DiDi
NCAR
IEEE TKDE Flow prediction in spatio-temporal networks based on multitask deep learning Paper MDL πŸŒ§οΈπŸ“… MDL(uno) NYC Taxi
IEEE TITS DeepSTD: Mining Spatio-Temporal Disturbances of Multiple Context Factors for Citywide Traffic Flow Prediction Paper DeepSTD πŸŒ§οΈπŸ“…πŸͺ DeepSTD Xiamen
DiDi(Chengdu)
CIKM '20 Deep Graph Convolutional Networks for Incident-Driven Traffic Speed Prediction Paper DIGC-Net 🌧️🚧 SFO
NYC
Yahoo Weather API

2021

Journal/
Conference
Title Model Factors Code Data
IEEE TITS STNN: A Spatio-Temporal Neural Network for Traffic Predictions Paper STNN πŸͺπŸ›£οΈ HK-KL, ST, TM
Applied Intelligence A multi-mode traffic flow prediction method with clustering based attention convolution LSTM Paper CACLSTM πŸŒ§οΈπŸ“… TaxiBJ
Wiley JAT The Prediction of Multistep Traffic Flow Based on AST-GCN-LSTM Paper AST-GCN-LSTM 🌧️πŸͺ Luohu(Shenzhen)
WWW '21 Fine-Grained Urban Flow Prediction Paper STRN πŸŒ§οΈπŸ“…πŸš§πŸͺ TaxiBJ
HappyValley
IEEE TITS Dynamic Spatial-Temporal Representation Learning for Traffic Flow Prediction Paper ATFM πŸŒ§οΈπŸ“… ATFM TaxiBJ
BikeNYC
TaxiNYC
Elsevier EAAI A flexible deep learning-aware framework for travel time prediction considering traffic event Paper MC-Net 🚧 Beijing (from Amap)
IEEE Access Hybrid Deep Spatio-Temporal Models for Traffic Flow Prediction on Holidays and Under Adverse Weather Paper CL-CN-G
CL-CNG
G-CN-CL
πŸŒ§οΈπŸ“… PeMS
MesoWest
IEEE Access AST-GCN: Attribute-augmented spatiotemporal graph convolutional network for traffic forecasting Paper AST-GCN 🌧️πŸͺ AST-GCN SZ_taxi

2022

Journal/
Conference
Title Model Factors Code Data
Elsevier NN Exploiting dynamic spatio-temporal graph convolutional neural networks for citywide traffic flows prediction Paper GCN-DHSTNet πŸŒ§οΈπŸ“…πŸš§ TaxiBJ
BikeNYC
Information Sciences Spatial–temporal short-term traffic flow prediction model based on dynamical-learning graph convolution mechanism Paper Loc-GCLSTM 🌧️ OpenITS
METR-LA
Transportmetrica B DLW-Net model for traffic flow prediction under adverse weather Paper DLW-Net 🌧️ Hefei(OpenITS)
Sacramento(PeMS)
MesoWest
IEEE TKDE Predicting Citywide Crowd Flows in Irregular Regions Using Multi-View Graph Convolutional Networks Paper MVGCN πŸͺπŸ›£οΈ TaxiNYC
TaxiBJ
BikeDC
BikeNYC
KeAi DCAN Attention-based spatio-temporal graph convolutional network considering external factors for multi-step traffic flow prediction Paper ABSTGCN-EF πŸ“…πŸš§ PeMS-LA
PeMS-Bay
WSDM '22 ST-GSP: Spatial-temporal global semantic representation learning for urban flow prediction Paper ST-GSP πŸŒ§οΈπŸ“… STGSP TaxiBJ
BikeNYC
IEEE TITS KST-GCN: A Knowledge-Driven Spatial-Temporal Graph Convolutional Network for Traffic Forecasting Paper KST-GCN 🌧️πŸͺ KST-GCN Luohu(Shenzhen)
Wiley JAT Metro Traffic Flow Prediction via Knowledge Graph and Spatiotemporal Graph Neural Network Paper KGR-STGNN 🌧️🚧 BJMF15(Beijing)

2023

Journal/
Conference
Title Model Factors Code Data
IEEE ICCCNT '23 Traffic Prediction Using Auxiliary Information Based on Mlbsae-A Hybrid Deep Learning Framework Paper MLBSAE πŸŒ§οΈπŸ“…πŸš§ PeMS
IEEE ISPDS '23 An urban traffic flow prediction approach integrating external factors based on deep learning and knowledge graph Paper KR-EAR 🌧️πŸͺ Luohu(Shenzhen)
AAAI '23 Spatio-Temporal Meta-Graph Learning for Traffic Forecasting Paper MegaCRN 🚧(Used for robustness analysis) MegaCRN METR-LA
PEMS-BAY
EXPY-TKY
Elsevier ESWA Spatio-temporal graph mixformer for traffic forecasting Paper STGM 🌧️(But not use in experiment) stgm PeMS-Bay
PeMSD7M
METR-LA
IEEE TKDE Forecasting Fine-Grained Urban Flows Via Spatio-Temporal Contrastive Self-Supervision Paper UrbanSTC πŸŒ§οΈπŸ“… UrbanSTC TaxiBJ
BikeNYC
ECAI 2023 WeaGAN: Weather-aware graph attention network for traffic prediction Paper WeaGAN 🌧️ WeaGAN PeMS
OpenWeather
Physica A Traffic flow prediction under multiple adverse weather based on self-attention mechanism and deep learning models Paper DHA 🌧️ PeMS
MesoWest
Elsevier KBS Spatio-temporal fusion and contrastive learning for urban flow prediction Paper ST-FCL πŸŒ§οΈπŸ“… TaxiBJ
BikeNYC
Spatio-temporal graph convolution network based on multimodal feature fusion (εŸΊδΊŽε€šζ¨‘ζ€η‰ΉεΎθžεˆηš„ζ—Άη©Ίε›Ύε·η§―η½‘η»œ) Paper AFFGCN 🌧️ AFFGCN PEMSD4
PEMSD8
Iowa Atmospheric Observatory
CIKM '23 Mask- and Contrast-Enhanced Spatio-Temporal Learning for Urban Flow Prediction Paper MC-STL πŸŒ§οΈπŸ“… MCSTL TaxiBJ
BikeNYC
Nature CIS Integrating knowledge representation into traffic prediction: a spatial–temporal graph neural network with adaptive fusion features Paper KR-STGNN 🌧️πŸͺ SZ-taxi
SZ_POI
SZ_Weather
MDPI Electronics HIT-GCN: Spatial-Temporal Graph Convolutional Network Embedded with Heterogeneous Information of Road Network for Traffic Forecasting Paper HIT-GCN 🌧️πŸͺ SZ-taxi
SZ_POI
SZ_Weather
IEEE TITS A Deep Learning Approach for Long-Term Traffic Flow Prediction With Multifactor Fusion Using Spatiotemporal Graph Convolutional Network Paper 🌧️ Minnesota
NOAA
IEEE TVT Unified Spatial-Temporal Neighbor Attention Network for Dynamic Traffic Prediction Paper USTAN 🌧️πŸͺ PriTra
TaxiBJ
METR-LA
PEMS-BAY
POI
Waether
Event

2024

Journal/
Conference
Title Model Factors Code Data
IET ITS Combining weather factors to predict traffic flow: A spatial‐temporal fusion graph convolutional network‐based deep learning approach Paper STFGCN 🌧️ PEMSD4
MesoWest
Information Sciences A multi-channel spatial-temporal transformer model for traffic flow forecasting Paper MC-STTM 🌧️🚧(But not use due to limited information) PEMS03
PEMS04
PEMS07
PEMS08
METR-LA
PEMS-BAY
Scientific Reports A multi‐feature spatial–temporal fusion network for traffic flow prediction Paper ATFEM πŸŒ§οΈπŸ“… Guizhou
Elsevier EAAI A traffic-weather generative adversarial network for traffic flow prediction for road networks under bad weather Paper TWeather-GAN 🌧️ PeMS
MesoWest
T&F SSCE Short-term traffic flow prediction at isolated intersections based on parallel multi-task learning Paper MTL-fusion πŸ“… Nanhu(Jiaxing)
ACM CIKM '24 Empowering traffic speed prediction with auxiliary feature-aided dependency learning Paper ARIAN πŸŒ§οΈπŸ“… PeMS-D4
PeMS-D8
Cityway
ACM CIKM '24 Seeing the Forest for the Trees: Road-Level Insights Assisted Lane-Level Traffic Prediction Paper McgVAE πŸ›£οΈ McgVAE PeMS(_F)
HuaNan(Guangzhou)
Elsevier AI Dual-track spatio-temporal learning for urban flow prediction with adaptive normalization Paper DualST πŸŒ§οΈπŸ“… TaxiBJ
BikeNYC
ACM TKDE DeepMeshCity: A Deep Learning Model for Urban Grid Prediction Paper DeepMeshCity πŸŒ§οΈπŸ“… DeepMeshCity TaxiBJ
BousaiTYO
BousaiOSA

2025

Journal/
Conference
Title Model Factors Code Data
Scientific Reports Traffic flow prediction based on spatial-temporal multi factor fusion graph convolutional networks Paper STFGCN 🌧️ PEMS03
PEMS04
PEMS07
PEMS08
Scientific Reports An urban road traffic flow prediction method based on multi-information fusion Paper MIFPN πŸŒ§οΈπŸ“…πŸͺ SZ-taxi
SZ_POI
SZ_Weather
Scientific Reports Linear attention based spatiotemporal multi graph GCN for traffic flow prediction Paper LASTGCN πŸŒ§οΈπŸ“… PEMSD4,PEMSD8
NOAA
Nature NCAA ASTGCN for traffic flow prediction based on weather influence Paper WI-ASTGCN 🌧️ PEMSD4,PEMSD8
MesoWest
Applied Soft Computing MGC-DMF: A traffic flow forecasting method based on multi-graph spatio-temporal convolution and dynamic metric fusion with multi-source basic information Paper MGC-DMF 🌧️(Used for predictive performance stability analysis) MGC-DMF PEMSD4
PEMSD8
SZ-taxi
T&F TPT Short-term traffic flow prediction based on adaptive graph convolutional recurrent network under multi-factor fusion Paper EAG-LSTMA πŸŒ§οΈπŸ“…πŸš§ Longgang(SZ)
IEEE TVT Condition-Guided Urban Traffic Co-Prediction With Multiple Sparse Surveillance Data Paper CSTN πŸͺπŸ›£οΈ NYC taxi
NYC Bike
NYC Accident
External factors
KDD '25 CausalMob: Causal Human Mobility Prediction with LLMs-derived Human Intentions toward Public Events Paper CausalMob 🚧 CausalMob Japan
Elsevier NN Enhancing urban flow prediction via mutual reinforcement with multi-scale regional information Paper MR-UFP πŸŒ§οΈπŸ“…πŸͺ Data-of-MR-UPF TaxiBJ
BikeNYC
Region category

DiDi: Open datasets from Didi Chuxing GAIA Initiative, tracing the records of taxi drivers and passengers in cities, China. It seems it is not applicable now.

Datasets

Commonly used public datasets summary

Name Mode Type 🌧️ πŸ“… 🚧 πŸͺ πŸ›£οΈ Links
Bike NYC Bike Flow βœ” βœ” https://www.citibikenyc.com/system-data
https://opendata.cityofnewyork.us/
http://urban-computing.com/data/Data.zip
https://github.com/topazape/ST-ResNet/tree/main/datasets/BikeNYC
https://github.com/tangxianfeng/STDN
https://github.com/liulingbo918/ATFM/tree/master/data/BikeNYC
https://github.com/CodeZx6/MCSTL/tree/main/data/BikeNYC
Bike D.C. Bike Flow βœ” βœ” http://urban-computing.com/data/Data.zip
Bike CHI Bike Flow βœ” https://www.divvybikes.com/system-data
Weather:https://www.ncdc.noaa.gov/data-access
TaxiBJ Taxi Flow βœ” βœ” https://github.com/topazape/ST-ResNet/tree/main/datasets/TaxiBJ
https://github.com/yoshall/UrbanFM/tree/master/data
https://github.com/liulingbo918/ATFM/tree/master/data/TaxiBJ
https://github.com/HaoQu59/UrbanSTC/tree/main/data/P1
https://github.com/CodeZx6/MCSTL/tree/main/data/TaxiBJ_P1
https://github.com/ILoveStudying/DeepMeshCity
Chengdu Taxi Flow βœ” βœ” βœ” https://github.com/zhengchuanpan/DeepSTD/tree/main/data
Shenzhen Taxi Speed βœ” https://github.com/lehaifeng/T-GCN/tree/master/data
NYC Taxi Flow βœ” βœ” βœ” https://www1.nyc.gov/site/tlc/about/tlc-trip-record-data.page
https://opendata.cityofnewyork.us/
https://github.com/tangxianfeng/STDN
https://github.com/liulingbo918/ATFM/tree/master/data/TaxiNYC
Accident:https://opendata.cityofnewyork.us/
NYC Taxi OD Flow βœ” βœ” https://github.com/liulingbo918/CSTN
T-Drive Taxi Flow βœ” http://urban-computing.com/index-58.htm
Longgang(SZ) Car Flow βœ” βœ” βœ” https://github.com/WisleyWang/2020HUAWEI-big-data-challenge
HappyValley Crowd Flow βœ” βœ” βœ” https://heat.qq.com
Guiyang Car Time βœ” βœ” βœ” https://tianchi.aliyun.com/competition/entrance/231598/introduction
Weather:https://www.noaa.gov/
BousaiTYO Crowd Flow
Density
βœ” https://github.com/deepkashiwa20/DeepCrowd
BousaiOSA Crowd Density βœ” https://github.com/deepkashiwa20/DeepCrowd
METR-LA Highway Flow
Speed
Occupancy
βœ” https://data.mendeley.com/datasets/s42kkc5hsw/1
https://github.com/liyaguang/DCRNN
https://zenodo.org/records/5724362
PeMS-BAY Highway Flow
Speed
Occupancy
βœ” https://github.com/liyaguang/DCRNN
https://zenodo.org/records/5724362
PeMS03
PeMS04
PeMS07
PeMS08

PeMS-D4
PeMS-D7
PeMS-D8
Highway Flow
Speed
Occupancy
βœ” https://zenodo.org/records/7816008
https://github.com/guoshnBJTU/ASTGNN/tree/main/data
https://github.com/VeritasYin/STGCN_IJCAI-18/tree/master/dataset
VeritasYin/STGCN_IJCAI-18#6
https://github.com/jswang/stgat_traffic_prediction/tree/main/dataset
https://data.mendeley.com/datasets/s42kkc5hsw/1
https://github.com/liangzhehan/DMSTGCN

Sometimes split to PeMS-D7(M) and PeMS-D7(L)
EXPY-TKY Highway βœ” https://github.com/deepkashiwa20/MegaCRN/tree/main/EXPYTKY
Meteorology Weather
Wind
Temperature
...
βœ” Meteorological data:
MOAA:https://www.ncdc.noaa.gov/data-access
MesoWest:https://mesowest.utah.edu/
OpenWeather:https://openweathermap.org/
Iowa Atmospheric Observatory:http://mesonet.agron.iastate.edu/request/download.phtml
Open-Meteo:https://github.com/open-meteo/open-meteo
Beijing Metro Inflow
Outflow
βœ” βœ” https://github.com/JinleiZhangBJTU/ResNet-LSTM-GCN/tree/master/data
Shanghai
Hangzhou
Metro Inflow
Outflow
βœ” https://github.com/ivechan/PVCGN/tree/master/data
https://doi.org/10.57760/sciencedb.09286
Raw HZ data:https://tianchi.aliyun.com/competition/entrance/231708/introductionorhttps://cstr.cn/16666.11.nbsdc.pbNr124O
SHMOD
HZMOD
Metro OD flow βœ” https://github.com/HCPLab-SYSU/HIAM
Raw HZ data:https://tianchi.aliyun.com/competition/entrance/231708/introductionorhttps://cstr.cn/16666.11.nbsdc.pbNr124O
Shenzhen Metro IC Card βœ” Raw data:https://cstr.cn/16666.11.nbsdc.l9I55m7P

Tools

About

Collection for traffic prediction with external factors, e.g. weather, events and holidays, including papers, datasets, and tools.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published