IDEAS home Printed from https://ideas.repec.org/a/eee/phsmap/v634y2024ics0378437123010038.html
   My bibliography  Save this article

MFOA-Bi-LSTM: An optimized bidirectional long short-term memory model for short-term traffic flow prediction

Author

Listed:
  • Naheliya, Bharti
  • Redhu, Poonam
  • Kumar, Kranti

Abstract

Within Intelligent Transportation Systems (ITSs), modeling of traffic flow assumes a pivotal role, as it is crucial for alleviating traffic congestion and reducing carbon emissions. Developing a reliable and sustainable model for predicting traffic flow is highly challenging due to the fluctuations and nonlinear characteristics of traffic flow. In addition to being a practical problem, accurately forecasting traffic flow provides substantial challenges to the researchers working in this area. The aim of this study is to develop a complex framework for forecasting short-term traffic flow with the purpose of improving prediction accuracy. In order to attain this goal, a Bidirectional Long Short-Term Memory (Bi-LSTM) model with a Modified Firefly Optimization Algorithm (MFOA) known as MFOA-Bi-LSTM has been proposed. The MFOA optimization technique has been utilized to optimize the hyperparameters of the deep learning models. Moreover, the optimization of the Bi-LSTM network prediction model is achieved through the application of the MFOA technique, which is renowned for its ability to converge quickly, maintain robustness and perform extensive global searches. To better capture complex patterns in the input data and increase prediction accuracy, model’s architecture makes use of the bidirectional capabilities of Bi-LSTM layers. This combination of Bi-LSTM and FOA is proposed for optimizing complex sequence modeling tasks where selecting the right hyperparameters for the model is challenging and it allows for automated hyperparameter tuning and often leads to improved model performance. In terms of performance metrics including Root Mean Square Error (RMSE), Mean Absolute Error (MAE), Mean Absolute Percentage Error (MAPE) and Correlation Coefficient (r), the proposed model significantly outperforms the other selected models and study findings confirm its appropriateness for the predictive task.

Suggested Citation

  • Naheliya, Bharti & Redhu, Poonam & Kumar, Kranti, 2024. "MFOA-Bi-LSTM: An optimized bidirectional long short-term memory model for short-term traffic flow prediction," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 634(C).
  • Handle: RePEc:eee:phsmap:v:634:y:2024:i:c:s0378437123010038
    DOI: 10.1016/j.physa.2023.129448
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0378437123010038
    Download Restriction: Full text for ScienceDirect subscribers only. Journal offers the option of making the article available online on Science direct for a fee of $3,000

    File URL: https://libkey.io/10.1016/j.physa.2023.129448?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Isaac Oyeyemi Olayode & Lagouge Kwanda Tartibu & Modestus O. Okwu & Alessandro Severino, 2021. "Comparative Traffic Flow Prediction of a Heuristic ANN Model and a Hybrid ANN-PSO Model in the Traffic Flow Modelling of Vehicles at a Four-Way Signalized Road Intersection," Sustainability, MDPI, vol. 13(19), pages 1-28, September.
    2. Li, Shaoying & Zhuang, Caigang & Tan, Zhangzhi & Gao, Feng & Lai, Zhipeng & Wu, Zhifeng, 2021. "Inferring the trip purposes and uncovering spatio-temporal activity patterns from dockless shared bike dataset in Shenzhen, China," Journal of Transport Geography, Elsevier, vol. 91(C).
    3. Dong, Shaojiang & Xiao, Jiafeng & Hu, Xiaolin & Fang, Nengwei & Liu, Lanhui & Yao, Jinbao, 2023. "Deep transfer learning based on Bi-LSTM and attention for remaining useful life prediction of rolling bearing," Reliability Engineering and System Safety, Elsevier, vol. 230(C).
    4. Hou, Qinzhong & Leng, Junqiang & Ma, Guosheng & Liu, Weiyi & Cheng, Yuxing, 2019. "An adaptive hybrid model for short-term urban traffic flow prediction," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 527(C).
    5. Shahid, Farah & Zameer, Aneela & Muneeb, Muhammad, 2020. "Predictions for COVID-19 with deep learning models of LSTM, GRU and Bi-LSTM," Chaos, Solitons & Fractals, Elsevier, vol. 140(C).
    6. Li, Shaoying & Lyu, Dijiang & Huang, Guanping & Zhang, Xiaohu & Gao, Feng & Chen, Yuting & Liu, Xiaoping, 2020. "Spatially varying impacts of built environment factors on rail transit ridership at station level: A case study in Guangzhou, China," Journal of Transport Geography, Elsevier, vol. 82(C).
    7. Redhu, Poonam & Gupta, Arvind Kumar, 2015. "Jamming transitions and the effect of interruption probability in a lattice traffic flow model with passing," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 421(C), pages 249-260.
    8. Yao Mao & Guojin Qin & Pingan Ni & Qian Liu, 2022. "Analysis of road traffic speed in Kunming plateau mountains: a fusion PSO-LSTM algorithm," International Journal of Urban Sciences, Taylor & Francis Journals, vol. 26(1), pages 87-107, January.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Shubham Mehta & Raveena Dangi & Vikash Siwach & Poonam Redhu, 2025. "Effect of weather’s visibility on traffic dynamics: a novel lattice hydrodynamic model for curved roads with passing," The European Physical Journal B: Condensed Matter and Complex Systems, Springer;EDP Sciences, vol. 98(1), pages 1-9, January.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Gao, Kun & Yang, Ying & Gil, Jorge & Qu, Xiaobo, 2023. "Data-driven interpretation on interactive and nonlinear effects of the correlated built environment on shared mobility," Journal of Transport Geography, Elsevier, vol. 110(C).
    2. Wang, Fang & Li, Shaoying & Liu, Lin & Gao, Feng & Feng, Yanfen & Chen, Zilong, 2024. "A novel index for assessing the rural population hollowing at fine spatial resolutions based on Tencent social media big data: A case study in Guangdong Province, China," Land Use Policy, Elsevier, vol. 137(C).
    3. Caigang, Zhuang & Shaoying, Li & Zhangzhi, Tan & Feng, Gao & Zhifeng, Wu, 2022. "Nonlinear and threshold effects of traffic condition and built environment on dockless bike sharing at street level," Journal of Transport Geography, Elsevier, vol. 102(C).
    4. Cui, Xuezhu & Zhuang, Caigang & Jiao, Zhenzhi & Tan, Zhangzhi & Li, Shaoying, 2023. "How can urban built environment (BE) influence on-road (OR) carbon emissions? A road segment scale quantification based on massive vehicle trajectory big data," Journal of Transport Geography, Elsevier, vol. 111(C).
    5. Yulan Li & Kun Ma, 2022. "A Hybrid Model Based on Improved Transformer and Graph Convolutional Network for COVID-19 Forecasting," IJERPH, MDPI, vol. 19(19), pages 1-17, September.
    6. Zhao, Xinxing & Li, Kainan & Ang, Candice Ke En & Cheong, Kang Hao, 2023. "A deep learning based hybrid architecture for weekly dengue incidences forecasting," Chaos, Solitons & Fractals, Elsevier, vol. 168(C).
    7. Masum, Mohammad & Masud, M.A. & Adnan, Muhaiminul Islam & Shahriar, Hossain & Kim, Sangil, 2022. "Comparative study of a mathematical epidemic model, statistical modeling, and deep learning for COVID-19 forecasting and management," Socio-Economic Planning Sciences, Elsevier, vol. 80(C).
    8. Yan, Jianhai & Ye, Zhi-Sheng & He, Shuguang & He, Zhen, 2024. "A feature disentanglement and unsupervised domain adaptation of remaining useful life prediction for sensor-equipped machines," Reliability Engineering and System Safety, Elsevier, vol. 242(C).
    9. Tong, Zhaomin & Zhang, Ziyi & An, Rui & Liu, Yaolin & Chen, Huiting & Xu, Jiwei & Fu, Shihang, 2024. "Detecting anomalous commuting patterns: Mismatch between urban land attractiveness and commuting activities," Journal of Transport Geography, Elsevier, vol. 116(C).
    10. Ali Unlu & Abdulhamit Subasi, 2025. "Substance use prediction using artificial intelligence techniques," Journal of Computational Social Science, Springer, vol. 8(1), pages 1-40, February.
    11. Jinyuan Liu & Shouxi Wang & Nan Wei & Yi Yang & Yihao Lv & Xu Wang & Fanhua Zeng, 2023. "An Enhancement Method Based on Long Short-Term Memory Neural Network for Short-Term Natural Gas Consumption Forecasting," Energies, MDPI, vol. 16(3), pages 1-14, January.
    12. Kaur, Ramanpreet & Sharma, Sapna, 2018. "Modeling and simulation of driver’s anticipation effect in a two lane system on curved road with slope," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 499(C), pages 110-120.
    13. Zhang, Ziru & Krishnakumari, Panchamy & Schulte, Frederik & van Oort, Niels, 2023. "Improving the service of E-bike sharing by demand pattern analysis: A data-driven approach," Research in Transportation Economics, Elsevier, vol. 101(C).
    14. Zhang, Zhaolin & Zhai, Guocong & Xie, Kun & Xiao, Feng, 2022. "Exploring the nonlinear effects of ridesharing on public transit usage: A case study of San Diego," Journal of Transport Geography, Elsevier, vol. 104(C).
    15. He, Jia & He, Zhengbing & Fan, Bo & Chen, Yanyan, 2020. "Optimal location of lane-changing warning point in a two-lane road considering different traffic flows," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 540(C).
    16. Li, Chuan-Yao & Huang, Hai-Jun & Tang, Tie-Qiao, 2017. "Analysis of user equilibrium for staggered shifts in a single-entry traffic corridor with no late arrivals," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 474(C), pages 8-18.
    17. Shao, Feng & Shao, Hu & Wang, Dongle & Lam, William H.K., 2024. "A multi-task spatio-temporal generative adversarial network for prediction of travel time reliability in peak hour periods," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 638(C).
    18. Pan, Huijun & Huang, Yu, 2024. "TOD typology and station area vibrancy: An interpretable machine learning approach," Transportation Research Part A: Policy and Practice, Elsevier, vol. 186(C).
    19. Kang, Yi-rong & Tian, Chuan, 2024. "A new curved road lattice model integrating the multiple prediction effect under V2X environment," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 643(C).
    20. Zhichao Li, 2022. "Forecasting Weekly Dengue Cases by Integrating Google Earth Engine-Based Risk Predictor Generation and Google Colab-Based Deep Learning Modeling in Fortaleza and the Federal District, Brazil," IJERPH, MDPI, vol. 19(20), pages 1-16, October.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:phsmap:v:634:y:2024:i:c:s0378437123010038. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.journals.elsevier.com/physica-a-statistical-mechpplications/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.