Traffic Forecasting on New Roads Using Spatial Contrastive Pre-Training (SCPT)
Not on the map. Why?
Abstract (arXiv)
New roads are being constructed all the time. However, the capabilities of previous deep forecasting models to generalize to new roads not seen in the training data (unseen roads) are rarely explored. In this paper, we introduce a novel setup called a spatio-temporal (ST) split to evaluate the models' capabilities to generalize to unseen roads. In this setup, the models are trained on data from a sample of roads, but tested on roads not seen in the training data. Moreover, we also present a novel framework called Spatial Contrastive Pre-Training (SCPT) where we introduce a spatial encoder module to extract latent features from unseen roads during inference time. This spatial encoder is pre-trained using contrastive learning. During inference, the spatial encoder only requires two days of traffic data on the new roads and does not require any re-training. We also show that the output from the spatial encoder can be used effectively to infer latent node embeddings on unseen roads during inference time. The SCPT framework also incorporates a new layer, named the spatially gated addition (SGA) layer, to effectively combine the latent features from the output of the spatial encoder to existing backbones. Additionally, since there is limited data on the unseen roads, we argue that it is better to decouple traffic signals to trivial-to-capture periodic signals and difficult-to-capture Markovian signals, and for the spatial encoder to only learn the Markovian signals. Finally, we empirically evaluated SCPT using the ST split setup on four real-world datasets. The results showed that adding SCPT to a backbone consistently improves forecasting performance on unseen roads. More importantly, the improvements are greater when forecasting further into the future. The codes are available on GitHub: https://github.com/cruiseresearchgroup/forecasting-on-new-roads .
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 35 of its 63 references that are in the map. First posted on arXiv 9 May 2023.
Builds on
35 of 63 references.
References · 35
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
- 2018How Powerful are Graph Neural Networks?cited by 4,393
- 2017Prototypical Networks for Few-shot Learningcited by 3,015
- 2016Convolutional Neural Networks on Graphs with Fast Localized Spectral Filteringcited by 2,089
- 2016WaveNet: A Generative Model for Raw Audiocited by 1,722
- 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,405
- 2017Spatio-Temporal Graph Convolutional Networks: A Deep Learning Framework for Traffic Forecastingcited by 1,136
- 2019Graph WaveNet for Deep Spatial-Temporal Graph Modelingcited by 829
- 2022data2vec: A General Framework for Self-supervised Learning in Speech, Vision and Languagecited by 727
- 2020Connecting the Dots: Multivariate Time Series Forecasting with Graph Neural Networkscited by 566
23 more
- 2020Adaptive Graph Convolutional Recurrent Network for Traffic Forecastingcited by 530
- 2021TS2Vec: Towards Universal Representation of Time Seriescited by 471
- 2021R-Drop: Regularized Dropout for Neural Networkscited by 202
- 2021Discrete Graph Structure Learning for Forecasting Multiple Time Seriescited by 171
- 2022Decoupled Dynamic Spatial-Temporal Graph Neural Network for Traffic Forecastingcited by 123
- 2021DL-Traff: Survey and Benchmark of Deep Learning Models for Urban Traffic Predictioncited by 73
- 2022Spectral Feature Augmentation for Graph Contrastive Learning and Beyondcited by 49
- 2022COSTA: Covariance-Preserving Feature Augmentation for Graph Contrastive Learningcited by 39
- 2021When Do Contrastive Learning Signals Help Spatio-Temporal Graph Forecasting?cited by 36
- 2023Transductive Few-shot Learning with Prototype-based Label Propagation by Iterative Graph Refinementcited by 30
- 2022Contrastive Laplacian Eigenmapscited by 24
- 2022Temporal-Viewpoint Transportation Plan for Skeletal Few-shot Action Recognitioncited by 22
- 2020Deep Learning for Road Traffic Forecasting: Does it Make a Difference?cited by 21
- 2022Uncertainty-DTW for Time Series and Sequencescited by 21
- 2019Graph-Partitioning-Based Diffusion Convolutional Recurrent Neural Network for Large-Scale Traffic Forecastingcited by 16
- 2019Graph Markov Network for Traffic Forecasting with Missing Datacited by 14
- 2018Second-order Democratic Aggregationcited by 12
- 20213D Skeleton-based Few-shot Action Recognition with JEANIE is not so Na"ivecited by 10
- 2022Forecasting Unobserved Node States with spatio-temporal Graph Neural Networkscited by 9
- 2023Because Every Sensor Is Unique, so Is Every Pair: Handling Dynamicity in Traffic Forecastingcited by 9
- 2019COLTRANE: ConvolutiOnaL TRAjectory NEtwork for Deep Map Inferencecited by 8
- 2019Flight Delay Prediction using Airport Situational Awareness Mapcited by 5
- 2021Predicting Flight Delay with Spatio-Temporal Trajectory Convolutional Network and Airport Situational Awareness Mapcited by 5
Built on by
Citing papers per year: 2023: 1; 2024: 5; 2025: 3; 2026: 2.
11 papers.
- 2025Foundation Models for Spatio-Temporal Data Science: A Tutorial and Surveycited by 24
- 2024XXLTraffic: Expanding and Extremely Long Traffic forecasting beyond test adaptationcited by 6
- 2024Inductive Graph Few-shot Class Incremental Learningcited by 3
- 2023Navigating Out-of-Distribution Electricity Load Forecasting during COVID-19: Benchmarking energy load forecasting models without and with continual learningcited by 2
- 2024Enhancing Spatio-temporal Quantile Forecasting with Curriculum Learning: Lessons Learnedcited by 2
- 2024On the Regularization of Learnable Embeddings for Time Series Forecastingcited by 1
- 2025Structure-preserving contrastive learning for spatial time seriescited by 1
- 2026From XXLTraffic to EvoXXLTraffic: Scaling Traffic Forecasting to Sensor-Evolving Networkscited by 1
- 2024A Gap in Time: The Challenge of Processing Heterogeneous IoT Data in Digitalized Buildingscited by 0
- 2025Embedding spatial context in urban traffic forecasting with contrastive pre-trainingcited by 0
- 2026A Road-Conditioned Traffic Movie Prediction Network with Spatiotemporal and Structure-Consistent Learningcited by 0
- 2026From XXLTraffic to EvoXXLTraffic: Scaling Traffic Forecasting to Sensor-Evolving Networks28 May 2026
- 2026A Road-Conditioned Traffic Movie Prediction Network with Spatiotemporal and Structure-Consistent Learning27 May 2026
- 2025Embedding spatial context in urban traffic forecasting with contrastive pre-training19 Mar 2025
- 2025Foundation Models for Spatio-Temporal Data Science: A Tutorial and Survey12 Mar 2025
- 2025Structure-preserving contrastive learning for spatial time series10 Feb 2025
- 2024Inductive Graph Few-shot Class Incremental Learning11 Nov 2024
- 2024On the Regularization of Learnable Embeddings for Time Series Forecasting18 Oct 2024
- 2024Enhancing Spatio-temporal Quantile Forecasting with Curriculum Learning: Lessons Learned18 Jun 2024
- 2024XXLTraffic: Expanding and Extremely Long Traffic forecasting beyond test adaptation18 Jun 2024
- 2024A Gap in Time: The Challenge of Processing Heterogeneous IoT Data in Digitalized Buildings23 May 2024
- 2023Navigating Out-of-Distribution Electricity Load Forecasting during COVID-19: Benchmarking energy load forecasting models without and with continual learning8 Sep 2023