A Pretrained Probabilistic Transformer for City-Scale Traffic Volume Prediction

Shiyu Shen, Bin Pan, Guirong Xue
6/3/2025
cs.LGcs.AI
transformer-attention

No confident code implementation found for this paper.

Abstract

City-scale traffic volume prediction plays a pivotal role in intelligent transportation systems, yet remains a challenge due to the inherent incompleteness and bias in observational data. Although deep learning-based methods have shown considerable promise, most existing approaches produce deterministic point estimates, thereby neglecting the uncertainty arising from unobserved traffic flows.

Show full abstract

Furthermore, current models are typically trained in a city-specific manner, which hinders their generalizability and limits scalability across diverse urban contexts. To overcome these limitations, we introduce TrafficPPT, a Pretrained Probabilistic Transformer designed to model traffic volume as a distributional aggregation of trajectories. Our framework fuses heterogeneous data sources-including real-time observations, historical trajectory data, and road network topology-enabling robust and uncertainty-aware traffic inference. TrafficPPT is initially pretrained on large-scale simulated data spanning multiple urban scenarios, and later fine-tuned on target cities to ensure effective domain adaptation. Experiments on real-world datasets show that TrafficPPT consistently surpasses state-of-the-art baselines, particularly under conditions of extreme data sparsity. Code will be open.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shen2025pretrained,
  title  = {A Pretrained Probabilistic Transformer for City-Scale Traffic Volume Prediction},
  author = {Shiyu Shen and Bin Pan and Guirong Xue},
  year   = {2025},
  eprint = {2506.02654},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.02654v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.02654.svg)](https://codeofpaper.com/paper/2506.02654)

Discussion