The Bayesian Model Averaging (BMA) approach is proposed to combine the traffic speed prediction results of three Transformer models to enhance intelligent transportation management and facilitate route planning. This approach addresses a key limitation in existing literature, which often overlooks the model uncertainty between different traffic speed prediction models. By utilizing a multi-head attention mechanism, the Transformer models can identify stable long-term speed trends. To assess the prediction performance of BMA approach, the model was tested using traffic speed data from an interstate freeway in Minnesota for time interval from 5 minutes to 60 minutes. When compared to the three single Transformer models, the BMA approach demonstrated superior accuracy in predicting short-term freeway traffic speeds.
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Copyright (c) 2024 Yajie Zou