Single Block Encoder-Decoder Transformer Model for Multi-Step Traffic Flow Forecasting
Accurate traffic flow forecasting is crucial for managing and planning urban transportation systems. Despite the widespread use of sequence modelling models like Long Short-Term Memory (LSTM) for this purpose, the potential of Transformer models remains underexplored. This is particularly true for the simplest form of a single block encoder-decoder Transformer model, which can be finely tuned through optimised hyperparameters. This paper examines the performance of a singular horizon-step forecasting method for multi-step traffic flow forecasting using a proposed Single Block Encoder-Decoder Transformer model optimised with a Grid Search algorithm. Results demonstrate that this model can enhance forecasting accuracy compared to the state-of-the-art LSTM model typically used for multi-step forecasting. The model effectively captures long-range temporal dependencies within a single road traffic flow dataset. It was tested on hourly traffic flow data to forecast the next 24 hours for the I5-North freeway in California, sourced from the Caltrans Performance Measurement System. The optimal configuration included an embedding dimension of 32, a feed-forward dimension of 128, and 8 attention heads. Results show a significant improvement, with a 4.7% reduction in Root Mean Squared Error compared to an LSTM model with two hidden layers of 100 neurons each, showcasing the potential of Single Block Encoder-Decoder Transformer models for real-world traffic prediction applications.
Authors
- Mohd Nazmin Maslan (ORCID: https://orcid.org/0000-0002-8676-4452)
- Fitri Yakub (ORCID: https://orcid.org/0000-0002-6603-2406)
- Mohamad Sofian Abu Talip (ORCID: https://orcid.org/0000-0003-1111-5770)
- Vijay Kumar Sinha (ORCID: https://orcid.org/0000-0002-2384-9109)
- Muljono Muljono
- Mas Omar
Institutions
- Technical University of Malaysia Malacca (MY)
- University of Malaya (MY)
- Universitas Dian Nuswantoro (ID)
- University of Technology Malaysia (MY)
- Chitkara University (IN)
Publication Details
- Published
- 2024-08-10
- DOI
- https://doi.org/10.1109/isci62787.2024.10667997
- Citations
- 4
- Primary Topic
- Traffic Prediction and Management Techniques
- Type
- article
- Field-Weighted Citation Impact
- 1.06
Funders
- Ministry of Higher Education