Papers
Topics
Authors
Recent
Assistant
AI Research Assistant
Well-researched responses based on relevant abstracts and paper content.
Custom Instructions Pro
Preferences or requirements that you'd like Emergent Mind to consider when generating responses.
Gemini 2.5 Flash
Gemini 2.5 Flash 162 tok/s
Gemini 2.5 Pro 49 tok/s Pro
GPT-5 Medium 30 tok/s Pro
GPT-5 High 31 tok/s Pro
GPT-4o 73 tok/s Pro
Kimi K2 203 tok/s Pro
GPT OSS 120B 430 tok/s Pro
Claude Sonnet 4.5 38 tok/s Pro
2000 character limit reached

Fine-Grained Urban Traffic Forecasting on Metropolis-Scale Road Networks (2510.02278v1)

Published 2 Oct 2025 in cs.LG

Abstract: Traffic forecasting on road networks is a complex task of significant practical importance that has recently attracted considerable attention from the machine learning community, with spatiotemporal graph neural networks (GNNs) becoming the most popular approach. The proper evaluation of traffic forecasting methods requires realistic datasets, but current publicly available benchmarks have significant drawbacks, including the absence of information about road connectivity for road graph construction, limited information about road properties, and a relatively small number of road segments that falls short of real-world applications. Further, current datasets mostly contain information about intercity highways with sparsely located sensors, while city road networks arguably present a more challenging forecasting task due to much denser roads and more complex urban traffic patterns. In this work, we provide a more complete, realistic, and challenging benchmark for traffic forecasting by releasing datasets representing the road networks of two major cities, with the largest containing almost 100,000 road segments (more than a 10-fold increase relative to existing datasets). Our datasets contain rich road features and provide fine-grained data about both traffic volume and traffic speed, allowing for building more holistic traffic forecasting systems. We show that most current implementations of neural spatiotemporal models for traffic forecasting have problems scaling to datasets of our size. To overcome this issue, we propose an alternative approach to neural traffic forecasting that uses a GNN without a dedicated module for temporal sequence processing, thus achieving much better scalability, while also demonstrating stronger forecasting performance. We hope our datasets and modeling insights will serve as a valuable resource for research in traffic forecasting.

Summary

  • The paper introduces two fine-grained urban traffic datasets (city-traffic-M and city-traffic-L) featuring detailed road attributes and high-resolution temporal data.
  • The paper proposes a scalable time-then-graph GNN approach that significantly reduces memory complexity while efficiently handling long historical lookback windows.
  • The paper demonstrates that the GNN-TrfAttn model outperforms baselines with lower mean absolute error, ensuring fast training and practical use in dense urban settings.

Fine-Grained Urban Traffic Forecasting on Metropolis-Scale Road Networks

Introduction and Motivation

This paper addresses the limitations of existing traffic forecasting benchmarks and methods by introducing two large-scale, fine-grained urban traffic datasets and proposing a scalable graph neural network (GNN) approach for traffic prediction. The motivation stems from the inadequacy of current datasets, which are small, lack real road connectivity, and focus on sparsely instrumented intercity highways rather than dense urban networks. The new datasets, city-traffic-M and city-traffic-L, provide comprehensive coverage of urban road segments, rich static attributes, and high-resolution temporal data for both traffic speed and volume.

Dataset Construction and Properties

The city-traffic-M and city-traffic-L datasets are constructed from GPS traces collected by a major navigation service, covering all road segments within a 15 km radius of two large cities. Nodes represent individual road segments, and edges encode actual traffic-permitted connectivity, not heuristic proximity. Each node is annotated with 26 static attributes, including speed limits, road surface quality, and accessibility masks. Temporal data is provided at 5-minute intervals, spanning four months, with both traffic speed and volume as targets. Figure 1

Figure 1

Figure 1: Visualization of the city-traffic-M road network, showing dense urban connectivity and complex topology.

Figure 2

Figure 2: The distribution of key spatial features (e.g., pavement, crosswalks, truck restrictions) in the proposed datasets.

The datasets are orders of magnitude larger than previous benchmarks (up to 100,000 nodes), and their topological and attribute diversity enables the paper of complex urban traffic phenomena. The weekly dynamics of traffic variables reveal pronounced rush-hour patterns and significant heterogeneity across road types and locations. Figure 3

Figure 3: Weekly dynamics of traffic speed and volume averaged across all road segments, illustrating daily and holiday patterns.

Figure 4

Figure 4: Histograms of traffic volume and speed, highlighting inter-city differences and multimodal distributions.

Limitations of Existing Benchmarks

Prior datasets such as METR-LA and PEMS-BAY are limited to a few hundred nodes, lack real connectivity, and focus on highways with sparse sensor coverage. Edges are constructed heuristically, and static road features are largely absent. These constraints have led to the development of resource-intensive models that do not scale to realistic urban settings and cannot exploit rich spatial or attribute information.

Model Architectures and Scalability Analysis

The paper benchmarks several established spatiotemporal GNN models: DCRNN, GRUGCN, STGCN, and GWN. These models process temporal data via recurrence or convolution, maintaining a separate representation for each node and timestamp. This results in memory and computational complexity of O(ntd)\mathcal{O}(n t d) per layer, which is prohibitive for large nn and tt.

To address scalability, the authors propose a time-then-graph approach: each node's historical time series is encoded into a single vector via a linear layer, followed by multilayer GNN aggregation. This reduces per-layer memory to O(nd)\mathcal{O}(n d) and enables efficient training and inference on large graphs and long lookback windows.

The GNN component is instantiated with either mean aggregation or local multihead attention (GNN-Mean, GNN-TrfAttn), augmented with skip connections, layer normalization, and MLP blocks.

Experimental Results

Performance Comparison

On both city-traffic-M and city-traffic-L, the proposed GNN-TrfAttn model achieves the lowest mean absolute error (MAE) for both traffic volume and speed, outperforming all baselines and prior spatiotemporal models. Notably, STGCN fails to train on the largest dataset due to out-of-memory errors, and other models exhibit significant slowdowns as the lookback window increases.

Lookback Window Analysis

Longer lookback windows consistently improve forecasting accuracy for the proposed model, with negligible impact on training time. This demonstrates the efficiency of the time-then-graph paradigm and its suitability for real-world deployment where long historical context is beneficial.

Scalability

Training time for GNN-Mean and GNN-TrfAttn remains low and nearly constant as the lookback window increases, while sequential models (DCRNN, GWN, STGCN) scale poorly. For example, STGCN fails to complete training within 250 hours on city-traffic-L with a lookback of 48, whereas GNN-TrfAttn completes in under 2 hours.

Implications and Future Directions

The introduction of city-traffic-M and city-traffic-L sets a new standard for urban traffic forecasting benchmarks, enabling rigorous evaluation of models in realistic, large-scale settings. The demonstrated scalability and accuracy of the time-then-graph GNN approach suggest that future research should prioritize efficient temporal encoding and flexible spatial aggregation mechanisms.

The datasets' rich attribute space opens opportunities for multitask learning, attribute-aware modeling, and integration with adaptive traffic control, logistics, and urban planning systems. The observed strong dependence of traffic variables on static road features (e.g., speed limits, pavement, crosswalks) underscores the necessity of attribute exploitation in model design. Figure 5

Figure 5

Figure 5: Visualization of city-traffic-M, highlighting the dense and heterogeneous urban road network.

Conclusion

This work provides a significant advance in urban traffic forecasting by releasing large-scale, fine-grained datasets and proposing a scalable GNN-based model that outperforms existing baselines in both accuracy and efficiency. The findings highlight the limitations of current spatiotemporal architectures and benchmarks, and the necessity of scalable, attribute-aware models for real-world deployment. Future research should build on these datasets and modeling insights to develop holistic, efficient, and interpretable traffic forecasting systems for smart cities.

Dice Question Streamline Icon: https://streamlinehq.com

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

List To Do Tasks Checklist Streamline Icon: https://streamlinehq.com

Collections

Sign up for free to add this paper to one or more collections.

Youtube Logo Streamline Icon: https://streamlinehq.com