Abstract
Accurate real-time traffic forecast is critical for intelligent transportation systems (ITS) and it serves as the cornerstone of various smart mobility applications. Though this research area is dominated by deep learning, recent studies indicate that the accuracy improvement by developing new model structures is becoming marginal. Instead, we envision that the improvement can be achieved by transferring the "forecasting-related knowledge" across cities with different data distributions and network topologies. To this end, this paper aims to propose a novel transferable traffic forecasting framework: Domain Adversarial Spatial-Temporal Network (DASTNet). DASTNet is pre-trained on multiple source networks and fine-tuned with the target network's traffic data. Specifically, we leverage the graph representation learning and adversarial domain adaptation techniques to learn the domain-invariant node embeddings, which are further incorporated to model the temporal traffic data. To the best of our knowledge, we are the first to employ adversarial multi-domain adaptation for network-wide traffic forecasting problems. DASTNet consistently outperforms all state-of-the-art baseline methods on three benchmark datasets. The trained DASTNet is applied to Hong Kong's new traffic detectors, and accurate traffic predictions can be delivered immediately (within one day) when the detector is available. Overall, this study suggests an alternative to enhance the traffic forecasting methods and provides practical implications for cities lacking historical traffic data.
Introduction: The Cold-Start Problem in Traffic Forecasting
Most modern traffic forecasting relies on deep learning models, such as Graph Neural Networks (GNNs) and Long Short-Term Memory (LSTM) networks, which are notoriously "data-hungry." To predict traffic accurately in a specific city, these models typically require months of historical data to understand local spatial-temporal patterns. This creates a significant "cold-start" problem: when a city installs new sensors or a developing city begins its smart-mobility journey, it cannot utilize state-of-the-art forecasting for a long period.
Furthermore, the authors note that simply tweaking model architectures is yielding diminishing returns. Instead, they argue the next major advancement will come from Transfer Learning—taking the "knowledge" of traffic behavior from data-rich cities and applying it to new locations with minimal historical records.
Methodology: The DASTNet Framework
The authors propose the Domain Adversarial Spatial-Temporal Network (DASTNet), a novel framework designed to extract universal, city-agnostic traffic patterns.
DASTNet consists of three main components:
- Spatial Encoder: Uses Graph Isomorphism Networks (GIN) and node2vec to transform road network topologies into mathematical embeddings. This allows the model to understand the "role" of a road (e.g., a highway vs. a local street) regardless of the city.
- Temporal Forecaster: An adapted Gated Recurrent Unit (GRU) that fuses spatial embeddings with historical traffic flow data to predict future states.
- Domain Classifier & Gradient Reversal Layer (GRL): This is the core innovation. During pre-training on multiple "source" cities, a classifier attempts to identify which city a piece of data originated from. Simultaneously, the GRL works to confuse this classifier. This adversarial process forces the spatial encoder to ignore city-specific quirks and focus only on domain-invariant features—patterns that are fundamentally true for traffic everywhere.
The workflow occurs in two stages: a pre-training stage where the model learns general traffic physics across multiple source cities, and a fine-tuning stage where the model is refined using a small amount of data from the target city.
Datasets and Real-World Deployment
The researchers evaluated DASTNet on standard benchmark datasets (PEMS04, PEMS07, and PEMS08) from the Caltrans Performance Measurement System in California. To test real-world applicability, they also deployed the model using data from 614 newly installed traffic detectors in Hong Kong collected in early 2022.
Key Results and Insights
DASTNet outperformed state-of-the-art baselines across all benchmark datasets, achieving average improvements of 9.4% in Mean Absolute Error (MAE). The model's advantage was most pronounced in "few-shot" settings; when using only one day of data, DASTNet's MAE was roughly 42% lower than standard spatial-temporal models.
Key insights from the study include:
- Adversarial Invariance: To make a model transferable, it must be intentionally "blinded" to the specific city it is analyzing. By forcing embeddings to be indistinguishable across domains, the model captures the fundamental laws of traffic flow.
- Topology over Geography: Unlike previous transfer methods that used grid-based maps, DASTNet treats cities as graphs, respecting the actual topological relationships of road networks.
- Immediate Deployment: The Hong Kong case study demonstrated that DASTNet could provide accurate predictions for new sensors within just 24 hours, whereas traditional models would require weeks of data collection.
Conclusion
While DASTNet shows remarkable performance, the authors noted that accuracy can degrade during periods of very low traffic flow. Future work will focus on making the model more robust to such edge cases and expanding the transferable framework to other urban tasks, such as air pollution forecasting or population density estimation.
Summary updated