Forecasting of Bicycle and Pedestrian Traffic Using Flexible and Efficient Hybrid Deep Learning Approach

Recently, increasing interest in managing pedestrian and bicycle flows has been demonstrated by cities and transportation professionals aiming to reach community goals related to health, safety, and the environment. Precise forecasting of pedestrian and bicycle traffic flow is crucial for identifyin...

Full description

Bibliographic Details
Main Authors: Fouzi Harrou, Abdelkader Dairi, Abdelhafid Zeroual, Ying Sun
Format: Article
Language:English
Published: MDPI AG 2022-04-01
Series:Applied Sciences
Subjects:
Online Access:https://www.mdpi.com/2076-3417/12/9/4482
_version_ 1797505603574169600
author Fouzi Harrou
Abdelkader Dairi
Abdelhafid Zeroual
Ying Sun
author_facet Fouzi Harrou
Abdelkader Dairi
Abdelhafid Zeroual
Ying Sun
author_sort Fouzi Harrou
collection DOAJ
description Recently, increasing interest in managing pedestrian and bicycle flows has been demonstrated by cities and transportation professionals aiming to reach community goals related to health, safety, and the environment. Precise forecasting of pedestrian and bicycle traffic flow is crucial for identifying the potential use of bicycle and pedestrian infrastructure and improving bicyclists’ safety and comfort. Advances in sensory technology enable collecting massive traffic flow data, including road traffic, bicycle, and pedestrian traffic flow. This paper introduces a novel deep hybrid learning model with a fully guided-attention mechanism to improve bicycles and pedestrians’ traffic flow forecasting. Notably, the proposed approach extends the modeling capability of the Variational Autoencoder (VAE) by merging a long short-term memory (LSTM) model with the VAE’s decoder and using a self-attention mechanism at multi-stage of the VAE model (i.e., decoder and before data resampling). Specifically, LSTM improves the VAE decoder’s capacity in learning temporal dependencies, and the guided-attention units enable selecting relevant features based on the self-attention mechanism. This proposed deep hybrid learning model with a multi-stage guided-attention mechanism is called GAHD-VAE. Proposed methods were validated with traffic measurements from six publicly available pedestrian and bicycle traffic flow datasets. The proposed method provides promising forecasting results but requires no assumptions that the data are drawn from a given distribution. Results revealed that the GAHD-VAE methodology can efficiently enhance the traffic forecasting accuracy and achieved better performance than the deep learning methods VAE, LSTM, gated recurrent units (GRUs), bidirectional LSTM, bidirectional GRU, convolutional neural network (CNN), and convolutional LSTM (ConvLSTM), and four shallow methods, linear regression, lasso regression, ridge regression, and support vector regression.
first_indexed 2024-03-10T04:20:58Z
format Article
id doaj.art-7dd1116f1f2f414c8847a9d5fff6e02b
institution Directory Open Access Journal
issn 2076-3417
language English
last_indexed 2024-03-10T04:20:58Z
publishDate 2022-04-01
publisher MDPI AG
record_format Article
series Applied Sciences
spelling doaj.art-7dd1116f1f2f414c8847a9d5fff6e02b2023-11-23T07:49:39ZengMDPI AGApplied Sciences2076-34172022-04-01129448210.3390/app12094482Forecasting of Bicycle and Pedestrian Traffic Using Flexible and Efficient Hybrid Deep Learning ApproachFouzi Harrou0Abdelkader Dairi1Abdelhafid Zeroual2Ying Sun3Computer, Electrical and Mathematical Sciences and Engineering (CEMSE) Division, King Abdullah University of Science and Technology (KAUST), Thuwal 23955-6900, Saudi ArabiaLaboratoire des Technologies de l’Environnement LTE, BP 1523 Al M’naouar ENP Oran, University of Science and Technology of Oran-Mohamed Boudiaf (USTO-MB), El Mnaouar, BP 1505, Bir El Djir 31000, AlgeriaFaculty of Technology, University of 20 August 1955, Skikda 21000, AlgeriaComputer, Electrical and Mathematical Sciences and Engineering (CEMSE) Division, King Abdullah University of Science and Technology (KAUST), Thuwal 23955-6900, Saudi ArabiaRecently, increasing interest in managing pedestrian and bicycle flows has been demonstrated by cities and transportation professionals aiming to reach community goals related to health, safety, and the environment. Precise forecasting of pedestrian and bicycle traffic flow is crucial for identifying the potential use of bicycle and pedestrian infrastructure and improving bicyclists’ safety and comfort. Advances in sensory technology enable collecting massive traffic flow data, including road traffic, bicycle, and pedestrian traffic flow. This paper introduces a novel deep hybrid learning model with a fully guided-attention mechanism to improve bicycles and pedestrians’ traffic flow forecasting. Notably, the proposed approach extends the modeling capability of the Variational Autoencoder (VAE) by merging a long short-term memory (LSTM) model with the VAE’s decoder and using a self-attention mechanism at multi-stage of the VAE model (i.e., decoder and before data resampling). Specifically, LSTM improves the VAE decoder’s capacity in learning temporal dependencies, and the guided-attention units enable selecting relevant features based on the self-attention mechanism. This proposed deep hybrid learning model with a multi-stage guided-attention mechanism is called GAHD-VAE. Proposed methods were validated with traffic measurements from six publicly available pedestrian and bicycle traffic flow datasets. The proposed method provides promising forecasting results but requires no assumptions that the data are drawn from a given distribution. Results revealed that the GAHD-VAE methodology can efficiently enhance the traffic forecasting accuracy and achieved better performance than the deep learning methods VAE, LSTM, gated recurrent units (GRUs), bidirectional LSTM, bidirectional GRU, convolutional neural network (CNN), and convolutional LSTM (ConvLSTM), and four shallow methods, linear regression, lasso regression, ridge regression, and support vector regression.https://www.mdpi.com/2076-3417/12/9/4482variational autoencoderself-attentionhybrid deep learningtraffic flow forecasting
spellingShingle Fouzi Harrou
Abdelkader Dairi
Abdelhafid Zeroual
Ying Sun
Forecasting of Bicycle and Pedestrian Traffic Using Flexible and Efficient Hybrid Deep Learning Approach
Applied Sciences
variational autoencoder
self-attention
hybrid deep learning
traffic flow forecasting
title Forecasting of Bicycle and Pedestrian Traffic Using Flexible and Efficient Hybrid Deep Learning Approach
title_full Forecasting of Bicycle and Pedestrian Traffic Using Flexible and Efficient Hybrid Deep Learning Approach
title_fullStr Forecasting of Bicycle and Pedestrian Traffic Using Flexible and Efficient Hybrid Deep Learning Approach
title_full_unstemmed Forecasting of Bicycle and Pedestrian Traffic Using Flexible and Efficient Hybrid Deep Learning Approach
title_short Forecasting of Bicycle and Pedestrian Traffic Using Flexible and Efficient Hybrid Deep Learning Approach
title_sort forecasting of bicycle and pedestrian traffic using flexible and efficient hybrid deep learning approach
topic variational autoencoder
self-attention
hybrid deep learning
traffic flow forecasting
url https://www.mdpi.com/2076-3417/12/9/4482
work_keys_str_mv AT fouziharrou forecastingofbicycleandpedestriantrafficusingflexibleandefficienthybriddeeplearningapproach
AT abdelkaderdairi forecastingofbicycleandpedestriantrafficusingflexibleandefficienthybriddeeplearningapproach
AT abdelhafidzeroual forecastingofbicycleandpedestriantrafficusingflexibleandefficienthybriddeeplearningapproach
AT yingsun forecastingofbicycleandpedestriantrafficusingflexibleandefficienthybriddeeplearningapproach