Calibrated City-Scale Traffic Demand via Constrained, Context-Aware Language Generation
Authors:
- Zihao WangZWZihao Wang
- Xiangchen SongXSXiangchen Song
- Haoyu HanHHHaoyu Han
- Xingmin WangXWXingmin Wang
- Zachary JeromeZJZachary Jerome
- Henry X. LiuHLHenry X. Liu
Preprint
- 15 August 2026
- preprint
- Published by Elsevier in SSRN Electronic Journal
Abstract
City-scale traffic simulation relies on realistic demand models, which traditionally depend on costly household surveys and struggle with complex calibration processes. To overcome these limitations, this paper introduces a framework that generates calibrated, city-scale traffic demand exclusively from passively collected heterogeneous data, specifically biased probe-vehicle trajectories and sparse ground-truth volume counts. The approach formulates trip generation as an autoregressive next-token prediction task over a "language of traffic," utilizing a conditional language model constrained by network topology and time-varying context. The generated trip pool supplies a data-driven demand prior and empirical route-choice probabilities, which are then calibrated against sparse roadside camera counts through a convex origin-destination matrix estimation (ODME) step. Finally, a network-feasible trip set is resampled to match the calibrated demand scale. The proposed method is evaluated on public benchmarks (Porto and Beijing) and a city-scale case study in Ann Arbor. At the microscopic level, generated trips match real trip distributions more closely than seven baselines. At the macroscopic level, generated trips reproduce probe distributions of departure time, link frequency, and route length while most distinct routes are novel. On locations withheld from calibration, the full pipeline is best on every accuracy metric: hourly volumes are reproduced with an R^2 of 0.716, and the percent root-mean-square error of 34.1% is inside the band that travel-model validation standards deem preferable. The method demonstrates high efficiency by generating on the order of 10^5 trips per hour on a single GPU.Keywords
This publication has 12 references indexed in Scilit:
- MobilityGPT: Enhanced Human Mobility Modeling With a GPT ModelIEEE Transactions on Intelligent Transportation Systems, 2025
- Continuous Trajectory Generation Based on Two-Stage GANProceedings of the AAAI Conference on Artificial Intelligence, 2023
- Various methods for queue length and traffic volume estimation using probe vehicle trajectoriesTransportation Research Part C: Emerging Technologies, 2019
- On the estimation of connected vehicle penetration rate based on single-source connected vehicle dataTransportation Research Part B: Methodological, 2019
- POLARIS: Agent-based modeling framework development and implementation for integrated travel demand and network and operations simulationsTransportation Research Part C: Emerging Technologies, 2016
- Activity-based models of travel demand: promises, progress and prospectsInternational Journal of Urban Sciences, 2013
- The Four-Step Model2007
- The estimation of origin-destination matrices by constrained generalised least squaresTransportation Research Part B: Methodological, 1991
- Estimation of trip matrices from traffic counts and survey data: A generalized least squares estimatorTransportation Research Part B: Methodological, 1984
- The most likely trip matrix estimated from traffic countsTransportation Research Part B: Methodological, 1980