A Comparative Study of Loss Functions: Traffic Predictions in Regular and Congestion Scenarios
Yangxinyu Xie, Tanwi Mallick

TL;DR
This paper evaluates various loss functions for traffic forecasting using spatiotemporal graph neural networks, focusing on improving congestion prediction accuracy without sacrificing regular traffic speed forecasts.
Contribution
It introduces and assesses loss functions inspired by heavy tail analysis and imbalanced classification, demonstrating their effectiveness in congestion scenario forecasting.
Findings
MAE-Focal Loss outperforms others with MAE optimization.
Gumbel Loss is most effective with MSE optimization.
Enhanced congestion forecasting improves traffic management reliability.
Abstract
Spatiotemporal graph neural networks have achieved state-of-the-art performance in traffic forecasting. However, they often struggle to forecast congestion accurately due to the limitations of traditional loss functions. While accurate forecasting of regular traffic conditions is crucial, a reliable AI system must also accurately forecast congestion scenarios to maintain safe and efficient transportation. In this paper, we explore various loss functions inspired by heavy tail analysis and imbalanced classification problems to address this issue. We evaluate the efficacy of these loss functions in forecasting traffic speed, with an emphasis on congestion scenarios. Through extensive experiments on real-world traffic datasets, we discovered that when optimizing for Mean Absolute Error (MAE), the MAE-Focal Loss function stands out as the most effective. When optimizing Mean Squared Error…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTraffic Prediction and Management Techniques · Transportation Planning and Optimization · Traffic control and management
MethodsSPEED: Separable Pyramidal Pooling EncodEr-Decoder for Real-Time Monocular Depth Estimation on Low-Resource Settings
