dl-traff-eval
DL-Traff: Survey and Benchmark of Deep Learning Models for Urban Traffic Prediction — Jiang et al. (2021) (arXiv:2108.09091, 2021)
What this evaluates
Evaluates the predictive accuracy and computational efficiency of deep learning models for urban traffic forecasting. It benchmarks grid-based, graph-based, and multivariate time-series architectures on standard traffic datasets to compare their ability to capture spatiotemporal dependencies.
Datasets
- BikeNYC-I — total ?; splits: train (-1), val (-1), test (-1)
- TaxiNYC — total ?; splits: train (-1), val (-1), test (-1)
- TaxiBJ — total ?; splits: train (-1), val (-1), test (-1)
- METR-LA — total ?; splits: train (-1), val (-1), test (-1)
- PeMS-BAY — total ?; splits: train (-1), val (-1), test (-1)
- PEMSD7M — total ?; splits: train (-1), val (-1), test (-1)
Metrics
MAE (primary) — range: other
- Mean Absolute Error: the average of the absolute differences between predicted and actual values. Used as the default loss function during training.
RMSE — range: other
- Root Mean Square Error: the square root of the average of squared differences between predicted and actual values.
MAPE — range: percent
- Mean Absolute Percentage Error: the average of absolute percentage differences between predicted and actual values, expressed as a percentage.
Input / output format
Input: Historical traffic measurements (volume or speed) over a fixed observation window, structured as grid cells or graph nodes with temporal dimensions.
Output: Predicted traffic measurements for a specified prediction horizon (1 step for grid models; 1, 2, or 3 steps for graph models).
Scoring recipe
def compute_metrics(y_true, y_pred):
mask = y_true != 0
y_t, y_p = y_true[mask], y_pred[mask]
mae = np.mean(np.abs(y_t - y_p))
rmse = np.sqrt(np.mean((y_t - y_p) ** 2))
mape = np.mean(np.abs((y_t - y_p) / y_t)) * 100
return {'MAE': mae, 'RMSE': rmse, 'MAPE': mape}
Common pitfalls
- Zero values in the ground truth are explicitly ignored when computing MAE, RMSE, and MAPE.
- Grid-based and graph-based models use different fixed observation/prediction step settings (6 vs 12), so direct comparison requires matching these horizons.
- Training uses early stopping if validation error converges within 10 epochs, otherwise runs for a maximum of 200 epochs; the best validation model is saved.
Evidence (verbatim from paper)
Root Mean Square Error (RMSE), Mean Absolute Error (MAE), and Mean Absolute Percentage Error (MAPE) are used as metrics, where zero values will be ignored.
Citation
@misc{jiang2021dltraff,
title={DL-Traff: Survey and Benchmark of Deep Learning Models for Urban Traffic Prediction},
author={Jiang et al. (2021)},
year={2021},
note={arXiv:2108.09091}
}
1---2name: dl-traff-eval3description: Evaluates the predictive accuracy and computational efficiency of deep learning models for urban traffic forecasting. It benchmarks grid-based, graph-based, and multivariate time-series architectures on standard traffic datasets to compare their ability to capture spatiotemporal dependencies. Use when the user wants to benchmark on BikeNYC-I, TaxiNYC, TaxiBJ, METR-LA, PeMS-BAY, PEMSD7M, or asks about evaluating this task. Reports MAE.4metadata:5 source: https://skillmd.com/skills/qhjqhj00/dl-traff-eval6 skill_kind: dataset_eval7 source_arxiv: 2108.090918 bibtex_key: jiang2021dltraff9 confidence: high10---1112# dl-traff-eval1314> DL-Traff: Survey and Benchmark of Deep Learning Models for Urban Traffic Prediction — Jiang et al. (2021) (arXiv:2108.09091, 2021)1516## What this evaluates1718Evaluates the predictive accuracy and computational efficiency of deep learning models for urban traffic forecasting. It benchmarks grid-based, graph-based, and multivariate time-series architectures on standard traffic datasets to compare their ability to capture spatiotemporal dependencies.1920## Datasets2122- **BikeNYC-I** — total ?; splits: train (-1), val (-1), test (-1)23- **TaxiNYC** — total ?; splits: train (-1), val (-1), test (-1)24- **TaxiBJ** — total ?; splits: train (-1), val (-1), test (-1)25- **METR-LA** — total ?; splits: train (-1), val (-1), test (-1)26- **PeMS-BAY** — total ?; splits: train (-1), val (-1), test (-1)27- **PEMSD7M** — total ?; splits: train (-1), val (-1), test (-1)2829## Metrics3031- `MAE` **(primary)** — range: other32 - Mean Absolute Error: the average of the absolute differences between predicted and actual values. Used as the default loss function during training.33- `RMSE` — range: other34 - Root Mean Square Error: the square root of the average of squared differences between predicted and actual values.35- `MAPE` — range: percent36 - Mean Absolute Percentage Error: the average of absolute percentage differences between predicted and actual values, expressed as a percentage.3738## Input / output format3940**Input**: Historical traffic measurements (volume or speed) over a fixed observation window, structured as grid cells or graph nodes with temporal dimensions.4142**Output**: Predicted traffic measurements for a specified prediction horizon (1 step for grid models; 1, 2, or 3 steps for graph models).4344## Scoring recipe4546```python47def compute_metrics(y_true, y_pred):48 mask = y_true != 049 y_t, y_p = y_true[mask], y_pred[mask]50 mae = np.mean(np.abs(y_t - y_p))51 rmse = np.sqrt(np.mean((y_t - y_p) ** 2))52 mape = np.mean(np.abs((y_t - y_p) / y_t)) * 10053 return {'MAE': mae, 'RMSE': rmse, 'MAPE': mape}54```5556## Common pitfalls5758- Zero values in the ground truth are explicitly ignored when computing MAE, RMSE, and MAPE.59- Grid-based and graph-based models use different fixed observation/prediction step settings (6 vs 12), so direct comparison requires matching these horizons.60- Training uses early stopping if validation error converges within 10 epochs, otherwise runs for a maximum of 200 epochs; the best validation model is saved.6162## Evidence (verbatim from paper)6364> Root Mean Square Error (RMSE), Mean Absolute Error (MAE), and Mean Absolute Percentage Error (MAPE) are used as metrics, where zero values will be ignored.6566## Citation6768```bibtex69@misc{jiang2021dltraff,70 title={DL-Traff: Survey and Benchmark of Deep Learning Models for Urban Traffic Prediction},71 author={Jiang et al. (2021)},72 year={2021},73 note={arXiv:2108.09091}74}75```7677- arXiv: 2108.09091