Spatio-Temporal Graph Neural Network for Urban Spaces: Interpolating Citywide Traffic Volume
Silke K. Kaiser, Filipe Rodrigues, Carlos Lima Azevedo, Lynn H. Kaack
TL;DR
GNNUI introduces a spatio-temporal graph neural network tailored for urban traffic interpolation under sparse sensor coverage, using a masking-based training regime, node features, and a zero-inflated negative binomial loss to model zero-heavy urban distributions. It systematically compares fixed adjacency matrices and demonstrates that a binary adjacency structure yields the strongest performance across two large urban benchmarks (Berlin Strava and NYC taxi), while maintaining robustness as sensor coverage drops from 90% to 1%. The work shows that incorporating rich urban features and careful loss design improves interpolation quality (low KL divergence; accurate zero handling) and remains competitive with substantially less training data than baselines like IGNNK and XGBoost. These findings support practical deployment in real-world cities and highlight strategic sensor placement and urban feature integration as key design choices for scalable, citywide traffic estimation.
Abstract
Graph Neural Networks have shown strong performance in traffic volume forecasting, particularly on highways and major arterial networks. Applying them to urban settings, however, presents unique challenges: urban networks exhibit greater structural diversity, traffic volumes are highly overdispersed with many zeros, the best way to account for spatial dependencies remains unclear, and sensor coverage is often very sparse. We introduce the Graph Neural Network for Urban Interpolation (GNNUI), a novel urban traffic volume estimation approach. GNNUI employs a masking algorithm to learn interpolation, integrates node features to capture functional roles, and uses a loss function tailored to zero-inflated traffic distributions. In addition to the model, we introduce two new open, large-scale urban traffic volume benchmarks, covering different transportation modes: Strava cycling data from Berlin and New York City taxi data. GNNUI outperforms recent, some graph-based, interpolation methods across metrics (MAE, RMSE, true-zero rate, Kullback-Leibler divergence) and remains robust from 90% to 1% sensor coverage. For example, on the Strava dataset, the MAE increases only from 7.1 to 10.5, and on the Taxi dataset, from 23.0 to 40.4. These results demonstrate that GNNUI maintains strong performance despite extreme data scarcity, a common condition in real-world urban settings. We also examine how graph connectivity choices influence model accuracy.
