| Literature DB >> 35746265 |
Fernando José Braz1, João Ferreira2, Francisco Gonçalves2, Kawan Weege3, João Almeida4, Fabiano Baldo3, Pedro Gonçalves5.
Abstract
Forecasting road flow has strong importance for both allowing authorities to guarantee safety conditions and traffic efficiency, as well as for road users to be able to plan their trips according to space and road occupation. In a summer resort, such as beaches near cities, traffic depends directly on weather conditions, variables that should be of great impact on the quality of forecasts. Will the use of a dataset with information on transit flows enhanced with meteorological information allow the construction of a precise traffic flow forecasting model, allowing predictions to be made in advance of the traffic flow in suitable time? The present work evaluates different machine learning methods, namely long short-term memory, autoregressive LSTM, and a convolutional neural network, and data attributes to predict traffic flows based on radar and meteorological sensor information. The models trained to predict the traffic flow have shown that weather conditions were essential for this forecast, and thus, these variables were employed in the evaluated deep-learning models. The results pointed out that it is possible to forecast the traffic flow at a reasonable error level for one-hour periods, and the CNN model presented the lowest prediction error values and consumed the least time to build its predictions.Entities:
Keywords: deep learning; highway traffic; method comparison; weather-based traffic prediction
Mesh:
Year: 2022 PMID: 35746265 PMCID: PMC9227396 DOI: 10.3390/s22124485
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.847
Abbreviation table.
| Acronym | Full Form |
|---|---|
|
| Autoencoder long short-term memory |
|
| Autoregressive integrated moving average |
|
| Autoregressive long short-term memory |
|
| Connected and automated vehicles |
|
| Convolutional neural network |
|
| Early stopping rounds adjustment mechanism |
|
| Elman recurrent neural network |
|
| Graph convolution network |
|
| Intelligent transportation systems |
|
| K-nearest neighbor |
|
| Long short-term memory |
|
| Mean absolute error |
|
| Mean absolute percentage error |
|
| Mean absolute scaled error |
|
| Machine learning |
|
| Mean relative error |
|
| Random forest |
|
| Root-mean-square error |
|
| Recurrent neural network |
|
| Symmetric mean absolute percentage error |
|
| Temporal convolution network |
|
| Traffic state estimation |
Related work summary.
| Ref. | Data Source(s) | Processing Techniques | Application | Year | Limitations |
|---|---|---|---|---|---|
| [ | Datasets from Korean highway system | Bayesian optimization and meta-learning | Hyperparameter tunning for traffic prediction | 2020 | Different purpose |
| [ | 139 routes in 7 districts in Tehran | Modified Elman recurrent neural network model | Traffic forecast | 2020 | Very different route topology |
| [ | 157 sensor stations from USA highway dataset | Temporal convolution network (TCN) and a graph convolution network | Traffic speed prediction | 2021 | Different purpose |
| [ | PeMS unspecified dataset | AutoEncoder and LSTM | Traffic flow prediction | 2019 | No information about dataset |
| [ | 37,002 km of roads Czech Republic. | Composed model: case-based model, linear regression and fallback | Traffic flow prediction | 2020 | Very different route topology |
| [ | Shaoxing, Zhejiang Province, China road network traffic from 1 September to 19 November 2019 | XGBoost-based spatio-temporal method with the EAM | Traffic flow | 2021 | No information about dataset |
| [ | Travel time/speed dataset from northwestern part of the D.C. travel time/speed dataset, from Philadelphia center traffic flow dataset in PeMSD4, and from San Francisco Bay Area | Graph convolution recurrent neural network spatial-temporal features of the traffic data by a graph convolution gated recurrent unit | Traffic prediction | 2020 | Very different dataset |
| [ | 9 detectors of a 7 km long section in M6 highway accessed by Lyon’s city center tunnel | Gaussian mixture model and a k-means method | Real-time traffic and travel time estimation | 2021 | Different aims |
| [ | 269 highway toll stations in Henan Province | Convolutional method based on deep learning | Highway traffic toll flow prediction | 2021 | Different aims and dataset |
Figure 1PASMO radar and meteorological station locations: (a) Radars; (b) Radars and meteorological stations.
Figure 2Methodology for data preparation and model training.
Original data attributes.
| Attribute | Content |
|---|---|
|
| Object ID |
|
| Record timestamp |
|
| Identification of the radar |
|
| Latitude radar coordinate |
|
| Longitude radar coordinate |
|
| |
|
|
Meteorological data.
| Attribute | Contents |
|---|---|
|
| Station ID |
|
| Year |
|
| Month |
|
| Day |
|
| Hour |
|
| Minute |
|
| Mean temperature |
|
| Maximum temperature |
|
| Minimum temperature |
|
| Mean wind direction |
|
| Maximum wind direction |
|
| Mean wind speed |
|
| Maximum wind speed |
|
| Rainfall |
|
| Solar radiation |
Processed radar data.
| Attribute | Contents |
|---|---|
|
| Record timestamp |
|
| Year |
|
| Month |
|
| Day |
|
| Hour |
|
| Minute (ten minute intervals) |
|
| Identification of the radar |
|
| Speed mean |
|
| Speed maximal |
|
| Speed minimal |
|
| Quantity of objects |
|
| Movement |
Final Processed Radar Data.
| Attribute | Contents |
|---|---|
|
| Year |
|
| Month |
|
| Day |
|
| Hour |
|
| Minute (ten-minute intervals) |
|
| Speed mean approximating radar |
|
| Speed maximal approximating radar |
|
| Speed minimal approximating radar |
|
| Speed mean detaching radar |
|
| Speed maximal detaching radar |
|
| Speed minimal detaching radar |
|
| Traffic flow at Barra |
|
| Traffic flow at Costa |
Processed Meteorological data.
| Attribute | Contents |
|---|---|
|
| Year |
|
| Month |
|
| Day |
|
| Hour |
|
| Minute |
|
| Mean temperature |
|
| Maximum temperature |
|
| Minimum temperature |
|
| Maximum wind speed |
|
| Rainfall |
|
| Solar radiation |
|
| Mean wind speed |
|
| Wind direction—cardinal points |
Final Dataset.
| Attribute | Contents |
|---|---|
|
| Year |
|
| Month |
|
| Day |
|
| Hour |
|
| Minute (ten-minute intervals) |
|
| Mean temperature |
|
| Maximum temperature |
|
| Minimum temperature |
|
| Maximum wind speed |
|
| Rainfall |
|
| Solar radiation |
|
| Mean wind speed |
|
| Wind direction—cardinal points |
|
| Speed mean approximating radar |
|
| Speed maximal approximating radar |
|
| Speed minimal approximating radar |
|
| Speed mean detaching radar |
|
| Speed maximal detaching radar |
|
| Speed minimal detaching radar |
|
| Traffic flow at Barra |
|
| Traffic flow at Costa |
Figure 3Time-ordered subsets.
Figure 4Traffic flow: (left) training; (middle) validation; (right) testing.
Figure 5(a) Single step; (b) multi step.
CNN.
| Beach | Input | Output | MAE/Mean | Std | Time/Mean | Std |
|---|---|---|---|---|---|---|
| Barra | 1 | 1 | 6.79 | 0.41 | 56.42 | 16.38 |
| 2 | 2 | 6.81 | 0.41 | 63.42 | 14.86 | |
| 3 | 3 | 7.28 | 0.58 | 55.81 | 26.43 | |
| 4 | 4 | 7.31 | 0.55 | 60.14 | 17.59 | |
| 5 | 5 | 8.05 | 0.59 | 63.27 | 18.97 | |
| 6 | 6 | 8.47 | 0.53 | 66.22 | 29.52 | |
| Costa | 1 | 1 | 6.74 | 0.23 | 59.40 | 16.87 |
| 2 | 2 | 6.88 | 0.47 | 66.62 | 22.93 | |
| 3 | 3 | 6.96 | 0.45 | 70.03 | 18.63 | |
| 4 | 4 | 7.53 | 0.53 | 55.54 | 19.20 | |
| 5 | 5 | 7.73 | 0.32 | 62.59 | 18.89 | |
| 6 | 6 | 8.79 | 0.36 | 54.19 | 12.88 |
LSTM.
| Beach | Input | Output | MAE/Mean | Std | Time/Mean | Std |
|---|---|---|---|---|---|---|
| Barra | 1 | 1 | 14.91 | 1.41 | 920.80 | 108.14 |
| 2 | 2 | 13.84 | 2.39 | 1038.09 | 125.18 | |
| 3 | 3 | 13.71 | 1.94 | 1190.37 | 142.13 | |
| 4 | 4 | 13.83 | 1.61 | 1370.07 | 180.46 | |
| 5 | 5 | 13.94 | 3.35 | 1661.48 | 267.81 | |
| 6 | 6 | 14.73 | 1.17 | 1872.14 | 264.06 | |
| Costa | 1 | 1 | 13.49 | 1.88 | 991.62 | 101.98 |
| 2 | 2 | 14.29 | 1.73 | 1080.23 | 132.31 | |
| 3 | 3 | 14.29 | 1.92 | 1188.94 | 203.84 | |
| 4 | 4 | 14.47 | 2.07 | 1399.33 | 143.40 | |
| 5 | 5 | 14.92 | 1.16 | 1744.69 | 168.46 | |
| 6 | 6 | 14.97 | 1.23 | 1641.91 | 268.67 |
AR LSTM.
| Beach | Input | Output | MAE/Mean | Std | Time/Mean | Std |
|---|---|---|---|---|---|---|
| Barra | 1 | 1 | 16.97 | 4.67 | 902.99 | 48.63 |
| 2 | 2 | 9.21 | 1.42 | 649.23 | 146.02 | |
| 3 | 3 | 8.52 | 0.57 | 811.02 | 121.65 | |
| 4 | 4 | 8.34 | 0.35 | 1006.01 | 96.47 | |
| 5 | 5 | 8.80 | 0.90 | 1320.48 | 218.51 | |
| 6 | 6 | 9.51 | 1.60 | 1413.75 | 370.97 | |
| Costa | 1 | 1 | 17.89 | 6.14 | 898.62 | 65.68 |
| 2 | 2 | 8.76 | 0.63 | 730.98 | 154.28 | |
| 3 | 3 | 8.74 | 1.20 | 891.32 | 129.97 | |
| 4 | 4 | 8.66 | 0.95 | 1014.53 | 105.89 | |
| 5 | 5 | 9.29 | 1.02 | 1254.10 | 265.74 | |
| 6 | 6 | 11.92 | 2.67 | 1386.19 | 298.42 |
Figure 6Barra prevision: (a) MAE evolution; (b) Execution time evolution.
Figure 7Costa Nova prevision: (a) MAE evolution; (b) Execution time evolution.