IDEAS home Printed from https://ideas.repec.org/a/gam/jsusta/v14y2022i20p13568-d948609.html
   My bibliography  Save this article

Spatiotemporal Prediction of Urban Online Car-Hailing Travel Demand Based on Transformer Network

Author

Listed:
  • Shuoben Bi

    (School of Geographical Sciences, Nanjing University of Information Science & Technology, Nanjing 210044, China)

  • Cong Yuan

    (School of Geographical Sciences, Nanjing University of Information Science & Technology, Nanjing 210044, China)

  • Shaoli Liu

    (School of Geographical Sciences, Nanjing University of Information Science & Technology, Nanjing 210044, China)

  • Luye Wang

    (School of Geographical Sciences, Nanjing University of Information Science & Technology, Nanjing 210044, China)

  • Lili Zhang

    (School of Geographical Sciences, Nanjing University of Information Science & Technology, Nanjing 210044, China)

Abstract

Online car-hailing has brought convenience to daily travel, whose accurate prediction benefits drivers and helps managers to grasp the characteristics of urban travel, so as to facilitate decisions. Spatiotemporal prediction in the transportation field has usually been based on a recurrent neural network (RNN), which has problems such as lengthy computation and backpropagation. This paper describes a model based on a Transformer, which has shown success in computer vision. The study area is divided into grids, and the structure of travel data is converted into video frames by time period, based on predicted spatiotemporal travel demand. The predictions of the model are closest to the real data in terms of spatial distribution and travel demand when the data are divided into 10 min intervals, and the travel demand in the first two hours is used to predict demand in the next hour. We experimentally compare the proposed model with the three most commonly used spatiotemporal prediction models, and the results show that our model has the best accuracy and training speed.

Suggested Citation

  • Shuoben Bi & Cong Yuan & Shaoli Liu & Luye Wang & Lili Zhang, 2022. "Spatiotemporal Prediction of Urban Online Car-Hailing Travel Demand Based on Transformer Network," Sustainability, MDPI, vol. 14(20), pages 1-21, October.
  • Handle: RePEc:gam:jsusta:v:14:y:2022:i:20:p:13568-:d:948609
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2071-1050/14/20/13568/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2071-1050/14/20/13568/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Wu, Tian & Wang, Shouyang & Wang, Lining & Tang, Xiao, 2022. "Contribution of China's online car-hailing services to its 2050 carbon target: Energy consumption assessment based on the GCAM-SE model," Energy Policy, Elsevier, vol. 160(C).
    2. Alberto Mozo & Bruno Ordozgoiti & Sandra Gómez-Canaval, 2018. "Forecasting short-term data center network traffic load with convolutional neural networks," PLOS ONE, Public Library of Science, vol. 13(2), pages 1-31, February.
    3. Xiaohui Huang & Jie Tang & Zhiying Peng & Zhiyi Chen & Hui Zeng & Rahib Abiyev, 2022. "A Sparse Gating Convolutional Recurrent Network for Traffic Flow Prediction," Mathematical Problems in Engineering, Hindawi, vol. 2022, pages 1-14, February.
    4. Yuhan Guo & Yu Zhang & Youssef Boulaksil & Ning Tian, 2022. "Multi-dimensional spatiotemporal demand forecasting and service vehicle dispatching for online car-hailing platforms," International Journal of Production Research, Taylor & Francis Journals, vol. 60(6), pages 1832-1853, March.
    Full references (including those not matched with items on IDEAS)

    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. Weifan Zhong & Lijing Du, 2023. "Predicting Traffic Casualties Using Support Vector Machines with Heuristic Algorithms: A Study Based on Collision Data of Urban Roads," Sustainability, MDPI, vol. 15(4), pages 1-18, February.
    2. Kambombo Mtonga & Santhi Kumaran & Chomora Mikeka & Kayalvizhi Jayavel & Jimmy Nsenga, 2019. "Machine Learning-Based Patient Load Prediction and IoT Integrated Intelligent Patient Transfer Systems," Future Internet, MDPI, vol. 11(11), pages 1-24, November.
    3. Isabella Yunfei Zeng & Jingrui Chen & Ziheng Niu & Qingfei Liu & Tian Wu, 2022. "The GHG Emissions Assessment of Online Car-Hailing Development under the Intervention of Evaluation Policies in China," Sustainability, MDPI, vol. 14(3), pages 1-25, February.
    4. Xingsheng Shu & Wei Ding & Yong Peng & Ziru Wang & Jian Wu & Min Li, 2021. "Monthly Streamflow Forecasting Using Convolutional Neural Network," Water Resources Management: An International Journal, Published for the European Water Resources Association (EWRA), Springer;European Water Resources Association (EWRA), vol. 35(15), pages 5089-5104, December.
    5. Tian, Zhongda, 2020. "Chaotic characteristic analysis of network traffic time series at different time scales," Chaos, Solitons & Fractals, Elsevier, vol. 130(C).
    6. Chenhua Ni & Xiandong Ma, 2018. "Prediction of Wave Power Generation Using a Convolutional Neural Network with Multiple Inputs," Energies, MDPI, vol. 11(8), pages 1-18, August.
    7. Renjie Wang & Yuanyuan Song & Honglei Xu & Yue Li & Jie Liu, 2022. "Life Cycle Assessment of Energy Consumption and CO 2 Emission from HEV, PHEV and BEV for China in the Past, Present and Future," Energies, MDPI, vol. 15(18), pages 1-16, September.

    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:gam:jsusta:v:14:y:2022:i:20:p:13568-:d:948609. 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    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.