Skip to main content
QUICK REVIEW

[Paper Review] An investigation into machine learning approaches for forecasting spatio-temporal demand in ride-hailing service

Ismaïl Saadi, Melvin Wong|arXiv (Cornell University)|Mar 7, 2017
Transportation and Mobility InnovationsEngineering13 references29 citations
TL;DR

This study proposes and evaluates machine learning models—specifically gradient boosting, random forests, neural networks, and ensemble decision trees—for short-term spatio-temporal demand forecasting in ride-hailing services using real DiDi Chuxing data from January 2016. Gradient boosting trees achieved the highest accuracy (RMSE = 16.41), outperforming other models while minimizing overfitting, demonstrating strong predictive capability for balancing supply and demand in urban mobility systems.

ABSTRACT

In this paper, we present machine learning approaches for characterizing and forecasting the short-term demand for on-demand ride-hailing services. We propose the spatio-temporal estimation of the demand that is a function of variable effects related to traffic, pricing and weather conditions. With respect to the methodology, a single decision tree, bootstrap-aggregated (bagged) decision trees, random forest, boosted decision trees, and artificial neural network for regression have been adapted and systematically compared using various statistics, e.g. R-square, Root Mean Square Error (RMSE), and slope. To better assess the quality of the models, they have been tested on a real case study using the data of DiDi Chuxing, the main on-demand ride hailing service provider in China. In the current study, 199,584 time-slots describing the spatio-temporal ride-hailing demand has been extracted with an aggregated-time interval of 10 mins. All the methods are trained and validated on the basis of two independent samples from this dataset. The results revealed that boosted decision trees provide the best prediction accuracy (RMSE=16.41), while avoiding the risk of over-fitting, followed by artificial neural network (20.09), random forest (23.50), bagged decision trees (24.29) and single decision tree (33.55).

Motivation & Objective

  • To develop and compare machine learning models for short-term spatio-temporal demand forecasting in on-demand ride-hailing services.
  • To identify the most accurate and efficient model for predicting demand fluctuations across time and geographic districts.
  • To assess the impact of external variables—such as traffic, pricing, and weather—on ride-hailing demand patterns.
  • To provide a scalable, nonparametric modeling framework that handles high-dimensional, complex, and skewed demand data.
  • To support ride-hailing platforms in proactively managing supply-demand imbalances during peak and off-peak hours.

Proposed method

  • The study uses a dataset of 199,584 10-minute time slots from DiDi Chuxing’s service in January 2016, aggregated at the district level.
  • Feature selection is performed using RreliefF to identify the most relevant predictors, including traffic, pricing, and weather conditions.
  • Five regression-based machine learning models are evaluated: single decision tree, bagged decision trees, random forest, gradient boosted decision trees (GBDT), and artificial neural networks (ANN).
  • Model performance is assessed using standard regression metrics: R-squared, Root Mean Square Error (RMSE), and slope of predicted vs. actual values.
  • Models are trained and validated on two independent data samples to ensure robustness and generalization.
  • Computational efficiency and overfitting risks are evaluated, with GBDT and ANN showing favorable runtime and generalization trade-offs.

Experimental results

Research questions

  • RQ1Which machine learning model provides the highest predictive accuracy for short-term spatio-temporal ride-hailing demand?
  • RQ2How do external factors such as traffic, pricing, and weather influence demand patterns across different districts and time intervals?
  • RQ3How do ensemble-based models compare to single models and neural networks in terms of accuracy and computational efficiency?
  • RQ4Can nonparametric models effectively handle the high dimensionality and left-skewed nature of real-world ride-hailing demand data?
  • RQ5Why were SVM-based models excluded despite their use in similar forecasting tasks?

Key findings

  • Gradient boosted decision trees (GBDT) achieved the best prediction accuracy with an RMSE of 16.41, outperforming all other models.
  • Artificial neural networks (ANN) showed moderate performance with an RMSE of 20.09, indicating strong but not optimal predictive capability.
  • Random forest (RMSE = 23.50) and bagged decision trees (RMSE = 24.29) demonstrated lower accuracy, suggesting reduced generalization on complex demand patterns.
  • Single decision trees performed the worst (RMSE = 33.55), indicating high overfitting and poor generalization on the dataset.
  • Support Vector Machines (SVM) were abandoned due to excessive computational cost and exponential runtime growth with dataset size.
  • The RreliefF feature selection method effectively identified relevant predictors, enhancing model performance and interpretability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.