Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to main content

Forecasting vehicular traffic flow using MLP and LSTM

  • Original Article
  • Published:
Neural Computing and Applications Aims and scope Submit manuscript

Abstract

This work presents an analysis of Artificial Neural Network (ANN) based forecasting models for vehicular traffic flow. The forecasting was performed for three periods of time: 1 week, 1 month and 1 year. The vehicular traffic flow data analysed were collected from Interstate 87, a highway located within the U.S. state of New York. Temporal and climate information, such as weekday, time of day, precipitation, visibility and temperature, were provided to the ANNs. Two different architectures were implemented to forecast vehicular traffic flow: Multilayer Perceptron (MLP) and Long Short-Term Memory (LSTM). The performance was evaluated using the Root Mean Square Error (RMSE) and comparing the predicted flow with the real data in the evaluated period. The MLP resulted in RMSE of 113.96, 185.98 and 201.19, and MAP of 9.56%, 15.49% and 16.95% for a forecasting interval of 1 week, 1 month and 1 year, respectively. Similarly, the LSTM network resulted in RMSE of 122.20, 179.55 and 203.63 and MAPE of 14.66%, 17.89% and 24.10% for the same time periods. Additionally, the two developed ANNs were evaluated to perform a forecasting vehicular traffic flow for another highway, the Interstate 88. The results from the two ANNs are similar, the MLP network resulted in MAPE of 17.15%, 25.65% and 19.76% for a forecasting interval of 1 week, 1 month and 1 year, respectively. On the other hand, the LSTM network presented RMSE of 19.14%, 31.87% and 22.97%. The results obtained come close to the similar work results when considered shorter prediction periods. The results for longer prediction time could not be compared to the literature due to the lack of work in this area, being a novelty of the current work. Moreover, the models implemented in this paper were precise and stable and can be used as strategy information to help road and cities planning. In addition, results have shown that the model can be replicated for other roads in the same region or either from other states or countries.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4

Similar content being viewed by others

References

  1. Dixit VVea (2011) Quality of traffic flow on urban arterial streets and its relationship with safety. Accid Anal Prev 43(5):1610–1616

    Article  Google Scholar 

  2. Dia H (2001) An object-oriented neural network approach to short-term traffic forecasting. Eur J Oper Res 131(2):253–261

    Article  Google Scholar 

  3. Shahgholian M, Gharavian D (2018) Advanced traffic management systems: an overview and a development strategy. Signal Process. arXiv:1810.02530

  4. Sea Yang (2015) Spatiotemporal context awareness for urban traffic modeling and prediction: sparse representation based variable selection. PLoS ONE 10(10):1–22

    Google Scholar 

  5. Zea C (2018) Deep bidirectional and unidirectional lstm recurrent neural network for network-wide traffic speed prediction. In: Proceedings of international workshop on urban computing

  6. Haykin S (ed) (2008) Neural networks and learning machines. Prentice Hall/Pearson, Hoboken

    Google Scholar 

  7. Hodge VJea (2014) Short-term prediction of traffic flow using a binary neural network. Neural Comput Appl 25(7–8):1639–1655

    Article  Google Scholar 

  8. Dudek G (2016) Multilayer perceptron for gefcom2014 probabilistic electricity price forecasting. Int J Forecast 32(3):1057–1060. https://doi.org/10.1016/j.ijforecast.2015.11.009

    Article  Google Scholar 

  9. Liu Z, Li Z, Wu K, Li M (2018) Urban traffic prediction from mobility data using deep learning. IEEE Network 32(4):40–46. https://doi.org/10.1109/MNET.2018.1700411

    Article  Google Scholar 

  10. Li Rea (2020) T2f-lstm method for long-term traffic volume prediction. IEEE Trans Fuzzy Syst 28:3256

    Article  Google Scholar 

  11. Williams BM, Hoel LA (2003) Modeling and forecasting vehicular traffic flow as a seasonal arima process: theoretical basis and empirical results. J Transp Eng 129(3):664–672

    Article  Google Scholar 

  12. Stathakis D (2009) How many hidden layers and nodes? Int J Remote Sens 30(8):2133–2147. https://doi.org/10.1080/01431160802549278

    Article  Google Scholar 

  13. Lazli L, Boukadoum M (2013) Hidden neural network for complex pattern recognition: a comparison study with multi- neural network based approach. Int J Life Sci Med Res 3:234–245. https://doi.org/10.5963/LSMR0306003

    Article  Google Scholar 

  14. Hou Z, Li X (2016) Repeatability and similarity of freeway traffic flow and long-term prediction under big data. IEEE Trans Intell Transp Syst 17(6):1786–1796

    Article  Google Scholar 

Download references

Funding

No funding was received for conducting this study.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Mariana Rampinelli.

Ethics declarations

Conflict of interest

The authors declare no conflict of interest.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Oliveira, D.D., Rampinelli, M., Tozatto, G.Z. et al. Forecasting vehicular traffic flow using MLP and LSTM. Neural Comput & Applic 33, 17245–17256 (2021). https://doi.org/10.1007/s00521-021-06315-w

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00521-021-06315-w

Keywords