Hybrid Approach of TabNet and Transformer-XGBoost for Predicting Traffic Flow in Smart Cities
- 28 February 2025
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-8
Abstract
A smart city's transportation system can be en-hanced if there is an accurate prediction of the traffic flow which develops in an area as time goes on. This article investigates the relative accuracy of predicting traffic flow at target intersections in a city, taking advantage of two models: Tab Net and a hybrid Transformer-XGBoost. Several metrics including Mean Squared Error (MSE) and Coefficient of determination (R2 score) among others were employed to evaluate the models employed. A sequential deep learning model known as Tab Net triumphing in the competition with MSE, RMSE, and MAE being 34.48, 5.87, and 3.73 respectively, and R2 score as high as 0.917, although performing well while enhancing identification of features such as year and junction. On the other hand, while reporting similar R2 score as low as 0.184, the Transformer-XGBoost hybrid model had structuring limitations where complex interdependencies and time variations were involved recording MSE, RMSE and MAE as 338.52, 18.40 and 13.24 respectively. The graphs of residuals and QQ plots served to uncover that the hybrid model failed making a right prediction during high traffic volume days, as general tabnet results shown in the final graphs are more stable. Following investigation of the models in this study, the researchers suggest implementing TabNet as a better option for traffic management explaining its high accuracy and providing valuable guidance for cities. This would result in improvement of the traffic flow prediction, which is highly needed for effective urban mobility solutions.Keywords
This publication has 25 references indexed in Scilit:
- Advanced Exciplex Sensitized Green InP‐Based Quantum Dot Light Emitting Diodes for Extended LifespanAdvanced Optical Materials, 2024
- Optimization the potential of solution process fluorine passivated zinc oxide electron transport layer for stable InP-quantum dot light emitting diodesOrganic Electronics, 2024
- Design GA & PSO- Based High-Efficiency SEPIC DC-DC Converter for Context-Aware Duty Cycle ControlElectric Power Components and Systems, 2023
- F2PMSMD: Design of a Fusion Model to Identify Fake Profiles from Multimodal Social Media Datasets2023
- Transformer Based Traffic Flow Forecasting in SDN-VANETIEEE Access, 2023
- Short-Term Prediction of City Traffic Flow via Convolutional Deep LearningIEEE Access, 2022
- An attention‐based deep learning model for traffic flow prediction using spatiotemporal features towards sustainable smart cityInternational Journal of Communication Systems, 2020
- Short-term traffic flow prediction based on spatio-temporal analysis and CNN deep learningTransportmetrica A: Transport Science, 2019
- Short-Term Traffic Flow Prediction Based on XGBoost2018
- A Comparison of Traffic Flow Prediction Methods Based on DBN2016