Please use this identifier to cite or link to this item: https://hdl.handle.net/10216/140911
Author(s): Selim Reza
Marta Campos Ferreira
José Joaquim M. Machado
João Manuel R. S. Tavares
Title: A multi-head attention-based transformer model for traffic flow forecasting with a comparative analysis to recurrent neural networks
Issue Date: 2022-09
Abstract: Traffic flow forecasting is an essential component of an intelligent transportation system to mitigate congestion. Recurrent neural networks, particularly gated recurrent units and long short-term memory, have been the stateof-the-art traffic flow forecasting models for the last few years. However, a more sophisticated and resilient model is necessary to effectively acquire long-range correlations in the time-series data sequence under analysis. The dominant performance of transformers by overcoming the drawbacks of recurrent neural networks in natural language processing might tackle this need and lead to successful time-series forecasting. This article presents a multi-head attention based transformer model for traffic flow forecasting with a comparative analysis between a gated recurrent unit and a long-short term memory-based model on PeMS dataset in this context. The model uses 5 heads with 5 identical layers of encoder and decoder and relies on Square Subsequent Masking techniques. The results demonstrate the promising performance of the transform-based model in predicting long-term traffic flow patterns effectively after feeding it with substantial amount of data. It also demonstrates its worthiness by increasing the mean squared errors and mean absolute percentage errors by (1.25 - 47.8)% and (32.4 - 83.8)%, respectively, concerning the current baselines.
Subject: Ciências Tecnológicas, Ciências da engenharia e tecnologias
Technological sciences, Engineering and technology
Scientific areas: Ciências da engenharia e tecnologias
Engineering and technology
DOI: 10.1016/j.eswa.2022.117275
URI: https://hdl.handle.net/10216/140911
Related Information: info:eu-repo/grantAgreement/Agência para o Investimento e Comércio Externo de Portugal, E.P.E/Regime Contratual de Investimento/POCI-01-0247-FEDER-041435 (Safe Cities)/Safe Cities - Inovação para Construir Cidades Seguras/Safe Cities
Document Type: Artigo em Revista Científica Internacional
Rights: openAccess
Appears in Collections:FEUP - Artigo em Revista Científica Internacional

Files in This Item:
File Description SizeFormat 
554002.1.png1st Page500.27 kBimage/pngThumbnail
View/Open
554002.pdfPaper draft2 MBAdobe PDFThumbnail
View/Open


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.