When Do Contrastive Learning Signals Help Spatio-Temporal Graph Forecasting?
Not on the map. Why?
Abstract (arXiv)
Deep learning models are modern tools for spatio-temporal graph (STG) forecasting. Though successful, we argue that data scarcity is a key factor limiting their recent improvements. Meanwhile, contrastive learning has been an effective method for providing self-supervision signals and addressing data scarcity in various domains. In view of this, one may ask: can we leverage the additional signals from contrastive learning to alleviate data scarcity, so as to benefit STG forecasting? To answer this question, we present the first systematic exploration on incorporating contrastive learning into STG forecasting. Specifically, we first elaborate two potential schemes for integrating contrastive learning. We then propose two feasible and efficient designs of contrastive tasks that are performed on the node or graph level. The empirical study on STG benchmarks demonstrates that integrating graph-level contrast with the joint learning scheme achieves the best performance. In addition, we introduce four augmentations for STG data, which perturb the data in terms of graph structure, time domain, and frequency domain. Experimental results reveal that the model is not sensitive to the proposed augmentations' semantics. Lastly, we extend the classic contrastive loss via a rule-based strategy that filters out the most semantically similar negatives, yielding performance gains. We also provide explanations and insights based on the above experimental findings. Code is available at https://github.com/liuxu77/STGCL.
Key facts. Cited by 36 papers in the map (data through 7 Oct 2026). Builds on 29 of its 48 references that are in the map. First posted on arXiv 26 Aug 2021.
Builds on
29 of 48 references.
References · 29
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2017Graph Attention Networkscited by 8,854
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2020Supervised Contrastive Learningcited by 2,803
- 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,360
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
- 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,393
- 2020Graph Contrastive Learning with Augmentationscited by 1,203
- 2015Multi-Scale Context Aggregation by Dilated Convolutionscited by 1,128
- 2018Deep Graph Infomaxcited by 1,101
17 more
- 2019Graph WaveNet for Deep Spatial-Temporal Graph Modelingcited by 820
- 2020Contrastive Multi-View Representation Learning on Graphscited by 651
- 2020Connecting the Dots: Multivariate Time Series Forecasting with Graph Neural Networkscited by 563
- 2020Adaptive Graph Convolutional Recurrent Network for Traffic Forecastingcited by 525
- 2020Graph Contrastive Learning with Adaptive Augmentationcited by 519
- 2020GCC: Graph Contrastive Coding for Graph Neural Network Pre-Trainingcited by 461
- 2016Deep Spatio-Temporal Residual Networks for Citywide Crowd Flows Predictioncited by 330
- 2020GPT-GNN: Generative Pre-Training of Graph Neural Networkscited by 302
- 2021Spectral Temporal Graph Neural Network for Multivariate Time-series Forecastingcited by 298
- 2021Graph Self-Supervised Learning: A Surveycited by 289
- 2020Self-supervised Co-training for Video Representation Learningcited by 232
- 2020Spatial-Temporal Fusion Graph Neural Networks for Traffic Flow Forecastingcited by 212
- 2021Dynamic Graph Convolutional Recurrent Network for Traffic Prediction: Benchmark and Solutioncited by 156
- 2020When Does Self-Supervision Help Graph Convolutional Networks?cited by 121
- 2020Contrastive Self-supervised Learning for Graph Classificationcited by 68
- 2019Semi-Supervised Hierarchical Recurrent Graph Neural Network for City-Wide Parking Availability Predictioncited by 30
- 2020Iterative Graph Self-Distillationcited by 21
Built on by
Citing papers per year: 2022: 2; 2023: 9; 2024: 15; 2025: 7; 2026: 3.
36 papers.
Sort:
By area:
- 2024Foundation Models for Time Series Analysis: A Tutorial and Surveycited by 234
- 2023Spatio-Temporal Graph Neural Networks for Predictive Learning in Urban Computing: A Surveycited by 140
- 2023LargeST: A Benchmark Dataset for Large-Scale Traffic Forecastingcited by 116
- 2023Large Models for Time Series and Spatio-Temporal Data: A Survey and Outlookcited by 109
- 2024UniST: A Prompt-Empowered Universal Model for Urban Spatio-Temporal Predictioncited by 86
- 2022Contrastive Trajectory Similarity Learning with Dual-Feature Attentioncited by 44
- 2024Towards Graph Contrastive Learning: A Survey and Beyondcited by 26
- 2024Towards Urban General Intelligence: A Review and Outlook of Urban Foundation Modelscited by 23
- 2025Foundation Models for Spatio-Temporal Data Science: A Tutorial and Surveycited by 23
- 2023Do We Really Need Graph Neural Networks for Traffic Forecasting?cited by 20
- 2025Empowering Time Series Analysis with Synthetic Data: A Survey and Outlook in the Era of Foundation Modelscited by 15
- 2024A Survey of Generative Techniques for Spatial-Temporal Data Miningcited by 14
24 more
- 2023Traffic Forecasting on New Roads Using Spatial Contrastive Pre-Training (SCPT)cited by 11
- 2023Spatio-Temporal Meta Contrastive Learningcited by 11
- 2022Data Augmentation on Graphs: A Technical Surveycited by 10
- 2025Unraveling Spatio-Temporal Foundation Models via the Pipeline Lens: A Comprehensive Reviewcited by 10
- 2024STGformer: Efficient Spatiotemporal Graph Transformer for Traffic Forecastingcited by 9
- 2024Personalized Federated Learning for Spatio-Temporal Forecasting: A Dual Semantic Alignment-Based Contrastive Approachcited by 8
- 2024Self-Supervised Representation Learning for Geospatial Objects: A Surveycited by 8
- 2023STS-CCL: Spatial-Temporal Synchronous Contextual Contrastive Learning for Urban Traffic Forecastingcited by 5
- 2023SimPSI: A Simple Strategy to Preserve Spectral Information in Time Series Data Augmentationcited by 5
- 2023Revealing the Power of Masked Autoencoders in Traffic Forecastingcited by 4
- 2024LSTTN: A Long-Short Term Transformer-based Spatio-temporal Neural Network for Traffic Flow Forecastingcited by 4
- 2024DualCast: A Model to Disentangle Aperiodic Events from Traffic Seriescited by 4
- 2024Dynamic Graph Representation with Contrastive Learning for Financial Market Prediction: Integrating Temporal Evolution and Static Relationscited by 3
- 2024PreMixer: MLP-Based Pre-training Enhanced MLP-Mixers for Large-scale Traffic Forecastingcited by 2
- 2025Fusing Cross-Domain Knowledge from Multimodal Data to Solve Problems in the Physical Worldcited by 2
- 2026Learning to Factorize and Adapt: A Versatile Approach Toward Universal Spatio-Temporal Foundation Modelscited by 2
- 2024TEAFormers: TEnsor-Augmented Transformers for Multi-Dimensional Time Series Forecastingcited by 1
- 2024Enhancing Graph Neural Networks in Large-scale Traffic Incident Analysis with Concurrency Hypothesiscited by 1
- 2025Generalising Traffic Forecasting to Regions without Traffic Observationscited by 1
- 2026Enhancing IMU-Based Online Handwriting Recognition via Contrastive Learning with Zero Inference Overheadcited by 1
- 2024A Hierarchical Framework with Spatio-Temporal Consistency Learning for Emergence Detection in Complex Adaptive Systemscited by 0
- 2025GeoMAE: Masking Representation Learning for Spatio-Temporal Graph Forecasting with Missing Valuescited by 0
- 2025Beyond the Individual: Introducing Group Intention Forecasting with SHOT Datasetcited by 0
- 2026SCOT: Multi-Source Cross-City Transfer with Optimal-Transport Soft-Correspondence Objectivecited by 0
- 2026SCOT: Multi-Source Cross-City Transfer with Optimal-Transport Soft-Correspondence Objective8 Apr 2026
- 2026Enhancing IMU-Based Online Handwriting Recognition via Contrastive Learning with Zero Inference Overhead4 Feb 2026
- 2026Learning to Factorize and Adapt: A Versatile Approach Toward Universal Spatio-Temporal Foundation Models17 Jan 2026
- 2025Beyond the Individual: Introducing Group Intention Forecasting with SHOT Dataset25 Sep 2025
- 2025GeoMAE: Masking Representation Learning for Spatio-Temporal Graph Forecasting with Missing Values13 Aug 2025
- 2025Generalising Traffic Forecasting to Regions without Traffic Observations12 Aug 2025
- 2025Unraveling Spatio-Temporal Foundation Models via the Pipeline Lens: A Comprehensive Review2 Jun 2025
- 2025Fusing Cross-Domain Knowledge from Multimodal Data to Solve Problems in the Physical World20 May 2025
- 2025Empowering Time Series Analysis with Synthetic Data: A Survey and Outlook in the Era of Foundation Models14 Mar 2025
- 2025Foundation Models for Spatio-Temporal Data Science: A Tutorial and Survey12 Mar 2025
- 2024PreMixer: MLP-Based Pre-training Enhanced MLP-Mixers for Large-scale Traffic Forecasting18 Dec 2024
- 2024Dynamic Graph Representation with Contrastive Learning for Financial Market Prediction: Integrating Temporal Evolution and Static Relations5 Dec 2024
24 more
- 2024DualCast: A Model to Disentangle Aperiodic Events from Traffic Series27 Nov 2024
- 2024Enhancing Graph Neural Networks in Large-scale Traffic Incident Analysis with Concurrency Hypothesis4 Nov 2024
- 2024TEAFormers: TEnsor-Augmented Transformers for Multi-Dimensional Time Series Forecasting27 Oct 2024
- 2024STGformer: Efficient Spatiotemporal Graph Transformer for Traffic Forecasting1 Oct 2024
- 2024Self-Supervised Representation Learning for Geospatial Objects: A Survey22 Aug 2024
- 2024Towards Graph Contrastive Learning: A Survey and Beyond20 May 2024
- 2024A Survey of Generative Techniques for Spatial-Temporal Data Mining15 May 2024
- 2024Personalized Federated Learning for Spatio-Temporal Forecasting: A Dual Semantic Alignment-Based Contrastive Approach4 Apr 2024
- 2024LSTTN: A Long-Short Term Transformer-based Spatio-temporal Neural Network for Traffic Flow Forecasting25 Mar 2024
- 2024Foundation Models for Time Series Analysis: A Tutorial and Survey21 Mar 2024
- 2024UniST: A Prompt-Empowered Universal Model for Urban Spatio-Temporal Prediction19 Feb 2024
- 2024Towards Urban General Intelligence: A Review and Outlook of Urban Foundation Models30 Jan 2024
- 2024A Hierarchical Framework with Spatio-Temporal Consistency Learning for Emergence Detection in Complex Adaptive Systems18 Jan 2024
- 2023SimPSI: A Simple Strategy to Preserve Spectral Information in Time Series Data Augmentation10 Dec 2023
- 2023Spatio-Temporal Meta Contrastive Learning26 Oct 2023
- 2023Large Models for Time Series and Spatio-Temporal Data: A Survey and Outlook16 Oct 2023
- 2023Revealing the Power of Masked Autoencoders in Traffic Forecasting26 Sep 2023
- 2023STS-CCL: Spatial-Temporal Synchronous Contextual Contrastive Learning for Urban Traffic Forecasting5 Jul 2023
- 2023LargeST: A Benchmark Dataset for Large-Scale Traffic Forecasting14 Jun 2023
- 2023Traffic Forecasting on New Roads Using Spatial Contrastive Pre-Training (SCPT)9 May 2023
- 2023Spatio-Temporal Graph Neural Networks for Predictive Learning in Urban Computing: A Survey25 Mar 2023
- 2023Do We Really Need Graph Neural Networks for Traffic Forecasting?30 Jan 2023
- 2022Data Augmentation on Graphs: A Technical Survey20 Dec 2022
- 2022Contrastive Trajectory Similarity Learning with Dual-Feature Attention11 Oct 2022
- 2024Foundation Models for Time Series Analysis: A Tutorial and Surveycited by 234
- 2023Spatio-Temporal Graph Neural Networks for Predictive Learning in Urban Computing: A Surveycited by 140
- 2023LargeST: A Benchmark Dataset for Large-Scale Traffic Forecastingcited by 116
- 2023Large Models for Time Series and Spatio-Temporal Data: A Survey and Outlookcited by 109
- 2024UniST: A Prompt-Empowered Universal Model for Urban Spatio-Temporal Predictioncited by 86
- 2022Contrastive Trajectory Similarity Learning with Dual-Feature Attentioncited by 44
- 2024Towards Graph Contrastive Learning: A Survey and Beyondcited by 26
- 2024Towards Urban General Intelligence: A Review and Outlook of Urban Foundation Modelscited by 23
- 2025Foundation Models for Spatio-Temporal Data Science: A Tutorial and Surveycited by 23
- 2023Do We Really Need Graph Neural Networks for Traffic Forecasting?cited by 20
- 2024A Survey of Generative Techniques for Spatial-Temporal Data Miningcited by 14
- 2023Traffic Forecasting on New Roads Using Spatial Contrastive Pre-Training (SCPT)cited by 11
12 most cited of 35 All 35 (JSON)
- 2026SCOT: Multi-Source Cross-City Transfer with Optimal-Transport Soft-Correspondence Objective8 Apr 2026
- 2026Enhancing IMU-Based Online Handwriting Recognition via Contrastive Learning with Zero Inference Overhead4 Feb 2026
- 2026Learning to Factorize and Adapt: A Versatile Approach Toward Universal Spatio-Temporal Foundation Models17 Jan 2026
- 2025Beyond the Individual: Introducing Group Intention Forecasting with SHOT Dataset25 Sep 2025
- 2025GeoMAE: Masking Representation Learning for Spatio-Temporal Graph Forecasting with Missing Values13 Aug 2025
- 2025Generalising Traffic Forecasting to Regions without Traffic Observations12 Aug 2025
- 2025Unraveling Spatio-Temporal Foundation Models via the Pipeline Lens: A Comprehensive Review2 Jun 2025
- 2025Fusing Cross-Domain Knowledge from Multimodal Data to Solve Problems in the Physical World20 May 2025
- 2025Foundation Models for Spatio-Temporal Data Science: A Tutorial and Survey12 Mar 2025
- 2024PreMixer: MLP-Based Pre-training Enhanced MLP-Mixers for Large-scale Traffic Forecasting18 Dec 2024
- 2024Dynamic Graph Representation with Contrastive Learning for Financial Market Prediction: Integrating Temporal Evolution and Static Relations5 Dec 2024
- 2024DualCast: A Model to Disentangle Aperiodic Events from Traffic Series27 Nov 2024
12 newest of 35 All 35 (JSON)