NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Enhancing Spatio-temporal Quantile Forecasting with Curriculum Learning: Lessons Learned

Du Yin, Jinliang Deng, Shuang Ao, Zechen Li, Hao Xue, Arian Prabowo, Renhe Jiang, Xuan Song, Flora D. Salim

Abstract

Spatio-temporal (ST) traffic forecasting is a critical component of modern urban planning, yet it faces significant challenges due to the inherent noise and complexity of real-world data. While traditional point forecasting provides single-value estimates, quantile forecasting is essential for understanding the range of possibilities and uncertainty. This paper introduces STQCL, a framework that applies curriculum learning to ST traffic forecasting. By gradually increasing the difficulty of training data across spatial, temporal, and quantile dimensions using a novel group-level scheduling approach, STQCL improves both prediction accuracy and uncertainty estimation across multiple state-of-the-art models without sacrificing computational efficiency.

Introduction

Predicting traffic flow and speed is notoriously difficult because the data is "messy"—it involves complex dependencies across both space (road networks) and time (daily and seasonal cycles). Training deep learning models directly on this raw, diverse data often leads to sub-optimal performance because models can be overwhelmed by "hard" instances early in the training process.

Curriculum Learning (CL), the practice of training a model on easy examples before moving to harder ones, has shown success in computer vision and natural language processing. However, applying CL to spatio-temporal data is challenging. Standard instance-level scheduling creates computational "gaps" in data matrices, leading to GPU inefficiency. Furthermore, most research in the field focuses on developing better network architectures rather than refining the training process itself. The STQCL framework addresses these gaps by optimizing the training strategy for existing architectures.

The STQCL Framework

The core innovation of the Spatio-Temporal-Quantile Curriculum Learning (STQCL) framework is the transition from instance-level scheduling to group-level scheduling. This ensures that the data matrices used by GPUs remain dense, maintaining high computational efficiency.

Specialized Schedulers

The framework utilizes three distinct schedulers to manage the learning progression:

  1. Spatial CL Scheduler: Ranks difficulty based on specific variables, such as sensors or road segments that exhibit more predictable patterns versus those with high volatility.
  2. Temporal CL Scheduler: Ranks difficulty based on time intervals, gradually introducing more complex temporal patterns (e.g., transitioning from nighttime traffic to peak-hour congestion).
  3. Quantile CL Scheduler: A novel approach that adjusts the "boundaries" of the quantile loss function. This manages the difficulty of predicting uncertainty limits, helping the model learn the distribution of the data more effectively.

Stacking Fusion Predictor

To integrate these dimensions, the authors employ a Stacking Fusion Predictor. Rather than selecting a single curriculum, the model processes data through all three modules simultaneously. A simple linear layer then fuses these insights, ensuring the model learns from spatial, temporal, and probabilistic perspectives in parallel.

Key Methodological Insights

  • The "Early Model" Necessity: The researchers found that a curriculum should not begin with a completely untrained model. A brief period of initial training (the "Early Model") is essential to accurately estimate which data points are "hard" or "easy" before the scheduling begins.
  • Counter-intuitive Quantile Learning: While spatial and temporal curricula are most effective when moving from Easy-to-Hard, the Quantile curriculum performs better when moving from Hard-to-Easy. By starting with lower tolerance levels for error and gradually relaxing them, the model becomes more robust at predicting upper and lower boundaries.
  • Efficiency via Grouping: By scheduling "rows" or "columns" of data rather than individual points, STQCL avoids the memory "vacuums" that typically slow down curriculum learning for graph-based data. In practice, this implementation actually reduced memory usage compared to some baseline models.

Experimental Results

The STQCL framework was evaluated on six public traffic benchmarks, including PEMS03, PEMS04, PEMS07, PEMS08, METR-LA, and PEMSBAY. The framework was "plugged into" several top-tier models, such as STGCN, DCRNN, GWN, and STAEFormer.

Key findings include: * Universal Improvement: Every base model saw a performance boost in both point forecasting (RMSE, MAE) and quantile forecasting (Q10, Q50, Q90). * Error Reduction: On the PEMS04 dataset, integrating STQCL into the STGCN model reduced the RMSE from 34.699 to 34.177 and the MAE from 22.236 to 21.540. * Superiority over Specialized Models: Modified models (e.g., STAEF-STQCL) outperformed traditional quantile forecasting models like DeepAR and MQRNN, suggesting that a superior training strategy can be more impactful than a specialized architecture.

Limitations and Future Work

While STQCL offers significant benefits, the authors noted that the total training time is extended because the model must process data through three different curriculum modules. Additionally, the current framework is designed for 1D/2D spatio-temporal data; adapting it to higher-dimensional data, such as 3D weather volumes, remains a challenge. Future research will focus on adaptive curriculum learning, where the model automatically adjusts its learning pace based on real-time performance rather than fixed hyperparameters.

Conclusion

STQCL demonstrates that curriculum learning, when properly adapted for the structural requirements of spatio-temporal data, can significantly enhance the robustness and accuracy of traffic forecasts. By focusing on the how of training rather than just the what of architecture, the framework provides a versatile tool for improving uncertainty estimation in complex urban systems.

Summary updated

BibTeX
@inproceedings{yin2024enhancing,
  author = {Du Yin and Jinliang Deng and Shuang Ao and Zechen Li and Hao Xue and Arian Prabowo and Renhe Jiang and Xuan Song and Flora D. Salim},
  title = {{Enhancing Spatio-temporal Quantile Forecasting with Curriculum Learning: Lessons Learned}},
  booktitle = {SIGSPATIAL/GIS},
  year = {2024},
  url = {https://openreview.net/forum?id=rFFY3CmbuW},
}
Figure